app-shells/zfe: add nvchecker
[gentoo-zh.git] / media-video / iptvnator-bin / iptvnator-bin-0.16.0.ebuild
blob30b1436b62c4a3c98311263d9afc26f0bd62ea4a
1 # Copyright 2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit unpacker desktop xdg
8 DESCRIPTION="Cross-platform IPTV player application with multiple features"
9 HOMEPAGE="https://iptvnator.vercel.app/"
10 SRC_URI="https://github.com/4gray/iptvnator/releases/download/v${PV}/iptvnator_${PV}_amd64.deb"
12 S="${WORKDIR}"
13 LICENSE="MIT"
15 SLOT="0"
16 KEYWORDS="~amd64"
18 RESTRICT="strip"
20 src_install() {
21 insinto /opt/IPTVnator
22 doins -r "${S}"/opt/IPTVnator/.
23 fperms +x /opt/IPTVnator/iptvnator
24 fperms +x /opt/IPTVnator/chrome-sandbox
25 fperms +x /opt/IPTVnator/chrome_crashpad_handler
27 domenu "${S}"/usr/share/applications/iptvnator.desktop
29 for size in 192 256 512 1024; do
30 doicon -s ${size} "${S}"/usr/share/icons/hicolor/${size}x${size}/apps/iptvnator.png
31 done