media-video/iptvnator-bin: new package

This commit is contained in:
gouwazi 2024-11-28 22:37:56 +08:00 committed by peeweep
parent 30bbdc31cf
commit aef9aa5025
4 changed files with 51 additions and 0 deletions

View File

@ -1012,6 +1012,13 @@ source = "github"
github = "tsl0922/ImPlay"
use_latest_release = true
["media-video/iptvnator-bin"]
source = "github"
github = "4gray/iptvnator"
use_latest_release = true
prefix = "v"
github_account = "gouwazi"
["media-video/mpv-handler"]
source = "github"
github = "akiirui/mpv-handler"

View File

@ -0,0 +1 @@
DIST iptvnator_0.16.0_amd64.deb 93814790 BLAKE2B 0bca9dc8d5cbd02c1bd01cb96267e96990b9629ceee166e8ee9eade511cceef690abc73be38c43ea14ebcc52c731246288d52746cbca0e7e5a1e9be11e533d32 SHA512 8963f0767c1d30147208d3e65baf55f3156657069f885767b8e03b2cb28640d9cb1a480eee15df02d587b896fe0a2212a2b7cf97aaaf8e2d3044bfee9f1783cc

View File

@ -0,0 +1,32 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker desktop xdg
DESCRIPTION="Cross-platform IPTV player application with multiple features"
HOMEPAGE="https://iptvnator.vercel.app/"
SRC_URI="https://github.com/4gray/iptvnator/releases/download/v${PV}/iptvnator_${PV}_amd64.deb"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
src_install() {
insinto /opt/IPTVnator
doins -r "${S}"/opt/IPTVnator/.
fperms +x /opt/IPTVnator/iptvnator
fperms +x /opt/IPTVnator/chrome-sandbox
fperms +x /opt/IPTVnator/chrome_crashpad_handler
domenu "${S}"/usr/share/applications/iptvnator.desktop
for size in 192 256 512 1024; do
doicon -s ${size} "${S}"/usr/share/icons/hicolor/${size}x${size}/apps/iptvnator.png
done
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>gouwazi</name>
<email>gouwazi@protonmail.com</email>
</maintainer>
<upstream>
<remote-id type="github">4gray/iptvnator</remote-id>
</upstream>
</pkgmetadata>