diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-02 02:07:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-02 02:07:07 +0000 |
commit | d4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch) | |
tree | 180032f5afeb689db6a270d612f3e3364ed8fd2b /net-misc | |
parent | c635a4b7ddb6105bfc6fef130b188a087726677b (diff) |
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 54302 -> 54283 bytes | |||
-rw-r--r-- | net-misc/libteam/Manifest | 4 | ||||
-rw-r--r-- | net-misc/libteam/libteam-1.32-r1.ebuild | 2 | ||||
-rw-r--r-- | net-misc/libteam/libteam-9999.ebuild | 2 | ||||
-rw-r--r-- | net-misc/networkmanager/Manifest | 4 | ||||
-rw-r--r-- | net-misc/networkmanager/networkmanager-1.48.10-r1.ebuild | 2 | ||||
-rw-r--r-- | net-misc/networkmanager/networkmanager-1.48.4-r1.ebuild | 2 | ||||
-rw-r--r-- | net-misc/oidc-agent/Manifest | 2 | ||||
-rw-r--r-- | net-misc/oidc-agent/oidc-agent-5.2.3.ebuild | 102 | ||||
-rw-r--r-- | net-misc/tigervnc-xorg-module/Manifest | 1 | ||||
-rw-r--r-- | net-misc/tigervnc-xorg-module/tigervnc-xorg-module-1.14.0.ebuild | 18 | ||||
-rw-r--r-- | net-misc/tigervnc/Manifest | 6 | ||||
-rw-r--r-- | net-misc/tigervnc/files/tigervnc-1.14.0-typo-VncAuth.patch | 21 | ||||
-rw-r--r-- | net-misc/tigervnc/tigervnc-1.14.0-r2.ebuild | 240 | ||||
-rw-r--r-- | net-misc/tigervnc/tigervnc-9999.ebuild | 6 | ||||
-rw-r--r-- | net-misc/youtube-viewer/Manifest | 2 | ||||
-rw-r--r-- | net-misc/youtube-viewer/youtube-viewer-3.11.3.ebuild | 79 |
17 files changed, 195 insertions, 298 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex 28c4024714e7..adc7cd77ba70 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/libteam/Manifest b/net-misc/libteam/Manifest index f56ac690d876..e8fbbc73ab6f 100644 --- a/net-misc/libteam/Manifest +++ b/net-misc/libteam/Manifest @@ -1,4 +1,4 @@ DIST libteam-1.32.tar.gz 177184 BLAKE2B dd3e988d52a373c3c006e749ffee35b12f7b26f0cd154479769b4426d97a23509a52d0b50430ef4220bce4ef6ee73c827b3eeb3fe28537f40f65c45fcacb18b6 SHA512 38a0926f22733000dedb5669e8ba29bd9bce61b00dbdc713220eee520e10ce6eb979b02408f785463cd7b61ff3e57a78b43ed6baffb305e63a0fab0883493507 -EBUILD libteam-1.32-r1.ebuild 1531 BLAKE2B bbc6151a01b4c2ccad1e725e3ca5d7f172ed5eb9b9f8cd654b7b1954bccaf4307b39c8b5566001589799334c5be599f41293ca7fc7c35203c618a7d165c39f6d SHA512 1281f32015bd56724987966de78d9d92ded92f0a5f59c4261d7f4707e5348726054601f59a72146086a2d0e3265d3e8d70889c892eda886d22c2f204398d4002 -EBUILD libteam-9999.ebuild 1536 BLAKE2B 530700358726ff283cf4aca7ce976d78f893fcf0ba5e1f751b954066e0c26a9c190cfc5deb10f58c54017cb39a24074cd5f6a53bd69185a3b3a1bf015ecdef71 SHA512 2ab3e5081c9a19f3bab18668f3e7f68193dde789483b468b2a18e064bad8019d25fd96b38a6f27dbaf7e654045cb86141abaf53c05eb59a9751260f826bd695d +EBUILD libteam-1.32-r1.ebuild 1537 BLAKE2B d9b24a7f6dd11d04b280178f4de6b10a33e5cfdce61197d5662df7e7f186c627ca6431505d7ca6b0917c159a25ef92210cd975fc0e94a258fffdcae81b7e06f0 SHA512 d14e2292a033fddb90d895ea15df1582fa3dce2096979ac16783c31eb6e70aa6d845636fd743d485c51e2b2398c81a18c66269f0c4f730cfeeb88a6d74694fb0 +EBUILD libteam-9999.ebuild 1542 BLAKE2B 7f0e8084740b8438c40782449137e56bcfba73d635560db1b4ea1f882d34e2ed957071a8c50051bcbc6eed2b5e74ae79a7dad906cd34c3c34dfff4f9701b96b2 SHA512 72faef4e26cfb57873fd31d469981696450217cb7e70392d1e1d1fa675784dd31d12365a41b65c2efee021a22ebe6432b5588de2cc5ad29a35645212217bcd0e MISC metadata.xml 335 BLAKE2B 481d37450ef0da0cd8a77fd8b73d67fee888f13bd984d52764c8e1694f5e128ad0dafa76c2851780ebc14a72d32a31cf0e598dee6960e9b10bfeca443dbb58ed SHA512 a6cb9893ad138246b783e91995b343d5b99d2becf776917bd413e64946373bfab7389fd958e8096061e1a8f2c52bb35ad69538bbddc6a0a9cba42ccfc1703c00 diff --git a/net-misc/libteam/libteam-1.32-r1.ebuild b/net-misc/libteam/libteam-1.32-r1.ebuild index c2da265182f1..9343f67a5b47 100644 --- a/net-misc/libteam/libteam-1.32-r1.ebuild +++ b/net-misc/libteam/libteam-1.32-r1.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/jpirko/libteam/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" + KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86" fi DESCRIPTION="Library and tools set for controlling team network device" diff --git a/net-misc/libteam/libteam-9999.ebuild b/net-misc/libteam/libteam-9999.ebuild index bd9779d7355e..b42392c42dc9 100644 --- a/net-misc/libteam/libteam-9999.ebuild +++ b/net-misc/libteam/libteam-9999.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/jpirko/libteam/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" fi DESCRIPTION="Library and tools set for controlling team network device" diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest index c8e17522162a..d8f9724d5235 100644 --- a/net-misc/networkmanager/Manifest +++ b/net-misc/networkmanager/Manifest @@ -8,6 +8,6 @@ DIST NetworkManager-1.46.0.tar.xz 7033296 BLAKE2B db190876105d83c8d2ef7e827fa653 DIST NetworkManager-1.48.10.tar.xz 6085272 BLAKE2B 8f615b1afec72ac600fd2cbe458644c4e83312e76c5ecf0e84484dce60510867350ec1fc2fb68fdee40ae4aca3d9e935ef8e433ea60ebe431b96699c0ce01222 SHA512 baef2ecc7da5c2f00278e8596f47c9304321896f1b79a6f304e27365c89a5fbaac6fbb68433a8fad94eeeffa56561968d0afee1adb24df6a8e6f2dba978cc620 DIST NetworkManager-1.48.4.tar.xz 6080980 BLAKE2B b5d216e064043e688ce8fc582e4bfae859a3e746fce2bc13f43a871a6886270c75b77cb1c73f4b9c89e89619683a8cdce698cfe1bd249bd68108f02b982dea04 SHA512 73c9399d528b78fe1393ad2015f641d9dcfe8a1134b65a65e051aa08eece6574f44a340d140d1de525000b365370bc2615da0e682b16c2da28dc597961e6410d EBUILD networkmanager-1.46.0-r2.ebuild 11944 BLAKE2B 8f20550d23c892ac8d30adc98c3ee1e351dfc1e3e31f1e91f8df6c905eab6ea2dee570f65ed4525be1c6316b1f7650dd6f422b0e300524804d435ff84a5f58c4 SHA512 600fea678e8cb7286a449479db9aaa56cc8f97d2c2817a9818cc1e665bd57852a82632f4de340c21b13a8983572e84a5f8a986fe156b4c3b99561c32f4961d37 -EBUILD networkmanager-1.48.10-r1.ebuild 12043 BLAKE2B f79de077ca9b92b332e2b4de70a31b94095f8d6fcd2bc5e8a5b695310a11212a61142ff611f4684f1e39700395cfcc1b659e9f5e2829e83e288a0e222f5c6af6 SHA512 820626f4b5d702b0ec867e2a9110bdba4caa61ae7ea6b4ac90a6014bc118f707be0449efad36cdcc29536c2e38ebce6c8cbabb14538aed5a305088cd77a1656a -EBUILD networkmanager-1.48.4-r1.ebuild 12035 BLAKE2B 3bacdcf0b873522021b06eda8ac6c3f0feec4ffd0007c61c6551f247284fd123a93ea0203ba38de3aa0e22378f2052d7999b92ea0f658b738716c15bf79fcbb7 SHA512 a7d0e8ee3c2f001db5fa13d2baf534912c557c4f82ce0e4136e9e4ec8bb8b4513cbf5e7744cdb455113d4af7500a3fc3e1784f099aaa053fd671cf122b08ba8d +EBUILD networkmanager-1.48.10-r1.ebuild 12049 BLAKE2B 0f637e51971ae7b0d648e9ec866f43bf59785d4ece25b8da6af4e8af281cb2560e11d15a69cbbd650bdc2da1741520a793b94713d62bebe3dc9af0deb9aa1db7 SHA512 0c213a37e4e29ab579274c235c614f01dd056fc2c725accafe94a7552fc03cdfc4e95c65ba675f1cb78757481f8c9c02393209d689d45c5ff24a1336aa5ca4fb +EBUILD networkmanager-1.48.4-r1.ebuild 12041 BLAKE2B 4a72d682cc083dab1d5d050c83d992f8ee7ae3edfe8e0c8a1f4cfffdcff805f08095566864bc082cafda79f99d47653426d41002198f6c7d3ee129699fce24dd SHA512 45c378e9e6cd25f5ad2d6277d13335efd903cacc50c93a1456a8c379de05005c994445ec10d16be346cc3ddbfd6821c559c3de5e8a4ba546c0334dba5c7d0050 MISC metadata.xml 2360 BLAKE2B 0d95733c3909e35ef555ad32c44e706d48347e6b8a5f7f915831edf7a43376e973fa32c7704325818704b59082fbbb2e4610e075848f09ac7c818d8fdbb94830 SHA512 c4478c41989eca2b777bb59767ce7660d70b261f61bc42673bc61e7e4db528c45f921c384de5454e7f901f4cfdb3cf1303e183397671606ed43c1fdaa59762c7 diff --git a/net-misc/networkmanager/networkmanager-1.48.10-r1.ebuild b/net-misc/networkmanager/networkmanager-1.48.10-r1.ebuild index 37997347f0d0..1130d26e9dfb 100644 --- a/net-misc/networkmanager/networkmanager-1.48.10-r1.ebuild +++ b/net-misc/networkmanager/networkmanager-1.48.10-r1.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://gitlab.freedesktop.org/NetworkManager/NetworkManager" LICENSE="GPL-2+ LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" IUSE="audit bluetooth +concheck connection-sharing debug dhclient dhcpcd elogind gnutls +gtk-doc +introspection iptables iwd psl libedit +nss nftables +modemmanager ofono ovs policykit +ppp resolvconf selinux syslog systemd teamd test +tools vala +wext +wifi" RESTRICT="!test? ( test )" diff --git a/net-misc/networkmanager/networkmanager-1.48.4-r1.ebuild b/net-misc/networkmanager/networkmanager-1.48.4-r1.ebuild index aff3e4c028ba..46b50b141857 100644 --- a/net-misc/networkmanager/networkmanager-1.48.4-r1.ebuild +++ b/net-misc/networkmanager/networkmanager-1.48.4-r1.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" LICENSE="GPL-2+ LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="audit bluetooth +concheck connection-sharing debug dhclient dhcpcd elogind gnutls +gtk-doc +introspection iptables iwd psl libedit +nss nftables +modemmanager ofono ovs policykit +ppp resolvconf selinux syslog systemd teamd test +tools vala +wext +wifi" RESTRICT="!test? ( test )" diff --git a/net-misc/oidc-agent/Manifest b/net-misc/oidc-agent/Manifest index 12d0c2d29b12..2fe0b8a37209 100644 --- a/net-misc/oidc-agent/Manifest +++ b/net-misc/oidc-agent/Manifest @@ -6,8 +6,10 @@ DIST oidc-agent-4.5.2.tar.gz 1766905 BLAKE2B 0558778a5162fbbbe29be9a476838d745ab DIST oidc-agent-5.0.1.tar.gz 1802435 BLAKE2B 75bc66bb2c6cc89293c7ad155d35b7a7adb73ad7f8a5aadeb029b43a095e2a80f0fc4505737a0c53c60e6f601acbcab990ad4b572b659050fe36e5dd2e7c4092 SHA512 caffa9d7733690917472d2d48ca58092ab722c5f049750de37169dc0a76ccbe374ae3fb5e56b8c578465e84a2f40795eaa26018281b4f851f7a7c94571d2a124 DIST oidc-agent-5.1.0.tar.gz 1803314 BLAKE2B 8ce1de7ec6dffa3155200664a93433db4f4a116325d8ce60ffff885d534b3d2367e40577b6b22987e817d92f0020fea97e2224947b27ba10847bb0c347dcdf3a SHA512 f3ecda4445478ea02e833b0b9ed75a517c1ff91f5b0c2cb258cc3a7eacb62cb75b56697e15fa755d9cf45e7a0293c8bd2f6ab8d998dd8680726c4143b1e011bc DIST oidc-agent-5.2.2.tar.gz 1812670 BLAKE2B f17c8ef8d95e509f12ab3cf9a6a3bf4b3550f9f119070843ec40adad1ef959c870caacd74c4a144936b214212671227125eb268d8808261c4cf5f242fa87d036 SHA512 1953c465f0918d005d39ef93a6d792aea1287ac87f337d7d33ce8296920f457a8e420afcdd18343f255c97f504c5e58446a16d683a559952654491e78ed2c5a8 +DIST oidc-agent-5.2.3.tar.gz 1813729 BLAKE2B ab5f3130686783c444a60e764471203ba04f3b10c690e1f42cc7b41d9b98fc0f01e17f24fc262cf6fa905f235f1baec30a5f2c91959edf46736ed9062eb52d6e SHA512 91486dfd866f9a5840a2f1aabf3f7c2b6f0470fe218ec9c93c2f6cc9e8163e8033a9fda9e02b07b34acd13f570c970f9cbfcbce386e7eb933504577f0308ac0f EBUILD oidc-agent-4.5.2.ebuild 2387 BLAKE2B ad75c9735389ccbcba1885b0ac75f3d5505af0c4080e660607613be15630ce8aca24caed63be250c23656333877b7b50b8af4c24341a3f80c10b6d12075f6c9d SHA512 cd56c2250a6a9e6afe114cf02ff069b6bb1f31564f9355467543e0f4ac9c71d175b23d70c8addff75e1b56903a606bdddb848b8178d0cc8375ff9f59cc5a4f2e EBUILD oidc-agent-5.0.1.ebuild 2632 BLAKE2B f756650c3c90fa58ce20c72a9856a9a001c89177e767f59a64c3f5779b7aa69ee2606e544873a8eb4c40db95a95ffe19ea8d478a0980642b03aaeae37151a417 SHA512 ef1db7d05d683b45a25d26d65e7cd2260aab08130392ae5b492525ff505e8b5768456abcd16577a3924dafa8dd6db27fcfdb0057cc16c7555e571e1963fdd671 EBUILD oidc-agent-5.1.0.ebuild 2633 BLAKE2B f46b6946cd6a27c7011eab3edd2265185a4dbca78649469f55771879047812b826b0d64fcbb66e46137d07cb7f4ff16d3088a84f2174602f51f6ead04bba6e2d SHA512 4ab82b0b1049a81226ca434acb0a6d9eb0972d3471018bbffac155175f835c5a5c63b8f7e23bad16316e07ad6d7c8ce034e711a63cad7dfa183d24c4edb037e4 EBUILD oidc-agent-5.2.2.ebuild 2668 BLAKE2B 92591946b9170d268a0bad74b276d4ce7c283a42bb7b8f9bfc70d4a5ea464515b0c27c4969d01792836b459564dcac6501efdb6e401a40c12fc405b440db5031 SHA512 01c3812ab9d6d5cb435e4b4bd42cbff972d6ca2933e9478c254efbafaa05f3041b39a992e24c1b91ee4182d568ef2b7a18516ae8901592bb77f471cf6b65a043 +EBUILD oidc-agent-5.2.3.ebuild 2668 BLAKE2B 92591946b9170d268a0bad74b276d4ce7c283a42bb7b8f9bfc70d4a5ea464515b0c27c4969d01792836b459564dcac6501efdb6e401a40c12fc405b440db5031 SHA512 01c3812ab9d6d5cb435e4b4bd42cbff972d6ca2933e9478c254efbafaa05f3041b39a992e24c1b91ee4182d568ef2b7a18516ae8901592bb77f471cf6b65a043 MISC metadata.xml 942 BLAKE2B a64f641edcd54e37a41dd92229e39b2f08fd44bd5c52ec8e38849fde71a2889c930be0965a72c4448e2f6c07d8d986a908024a86d717aa65ca94abf1748dcf34 SHA512 d59f8fdaea7a5f98190bc30df8a829e221e4449bb5826a359a1d7f70c1e37fb09e968df2d007d58d6f957783b693bf0cc0b5445f7d8a36ec0b3f6159966f1e54 diff --git a/net-misc/oidc-agent/oidc-agent-5.2.3.ebuild b/net-misc/oidc-agent/oidc-agent-5.2.3.ebuild new file mode 100644 index 000000000000..1066f0d838dc --- /dev/null +++ b/net-misc/oidc-agent/oidc-agent-5.2.3.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit tmpfiles xdg-utils + +DESCRIPTION="Agent and tools for managing OpenID Connect tokens on the command line" +HOMEPAGE="https://github.com/indigo-dc/oidc-agent" +SRC_URI="https://github.com/indigo-dc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" +IUSE="test" + +DEPEND="app-crypt/libsecret + dev-libs/cJSON + dev-libs/glib:2 + dev-libs/libsodium:= + media-gfx/qrencode:= + net-libs/libmicrohttpd:= + net-libs/webkit-gtk:4.1 + net-misc/curl + x11-libs/gtk+:3 + elibc_musl? ( sys-libs/argp-standalone )" +RDEPEND="${DEPEND}" +BDEPEND="sys-apps/help2man + test? ( dev-libs/check )" + +RESTRICT="!test? ( test )" + +src_prepare() { + xdg_environment_reset + default + sed -i -e 's|^\(\s\+\)@|\1|' Makefile || die "Failed to increase verbosity in Makefile" +} + +oidc_emake() { + local mymakeargs=( + USE_CJSON_SO=1 + USE_LIST_SO=0 + USE_MUSTACHE_SO=0 + USE_ARGP_SO=$(usex elibc_musl 1 0) + CONFIG_AFTER_INST_PATH="${EPREFIX}"/etc + BIN_AFTER_INST_PATH="${EPREFIX}"/usr + ) + + emake "${mymakeargs[@]}" $@ +} + +src_compile() { + oidc_emake -j1 create_obj_dir_structure create_picobj_dir_structure # Bug #880157 + oidc_emake +} + +src_install() { + oidc_emake \ + PREFIX="${ED}" \ + BIN_AFTER_INST_PATH="/usr" \ + INCLUDE_PATH="${ED}"/usr/include \ + LIB_PATH="${ED}"/usr/$(get_libdir) \ + install + + # This file is not compatible with Gentoo and in any case, we generally + # let the users load such agents themselves. + rm "${ED}"/etc/X11/Xsession.d/91${PN} || die +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf + + xdg_desktop_database_update + + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog + elog "You should use oidc-gen to initially generate your account configuration" + elog "before it can be loaded into oidc-agent using oidc-add. For details, please" + elog "consult the man page of oidc-gen, or full documentation at" + elog " https://indigo-dc.gitbooks.io/oidc-agent/" + elog + else + local old_ver + for old_ver in ${REPLACING_VERSIONS}; do + if [[ $(ver_cut 1 ${old_ver}) != 5 ]]; then + ewarn "${PN} 5 is a major release with quite some usability improvements but unfortunately also some breaking changes." + ewarn "Please consult" + ewarn " https://indigo-dc.gitbook.io/oidc-agent/oidc-agent5" + ewarn "for instructions on how to upgrade your configuration to this version" + ewarn + ewarn "Furthermore, please restart any running instances of ${PN}" + ewarn "to make sure they are compatible with the updated clients." + ewarn + break + fi + done + fi +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/net-misc/tigervnc-xorg-module/Manifest b/net-misc/tigervnc-xorg-module/Manifest index 63cf1cd0b9c7..c380e72db3a9 100644 --- a/net-misc/tigervnc-xorg-module/Manifest +++ b/net-misc/tigervnc-xorg-module/Manifest @@ -1,3 +1,2 @@ -EBUILD tigervnc-xorg-module-1.14.0.ebuild 447 BLAKE2B 71f6623a95854d1795f4379302c2278401ee55c41556db7b6e2de21708f3ec4f413e8e699a9f64910ca5255e7b6bff15a6279dace1c907a6f8838be7d8ede540 SHA512 4bff3f4d8af5143693fdfd46c992e08076ef691bd688ff9c03de56d10f66f6f2067ee08436921b691781e3855c6ac405a75d6d2c46e840ea2d33457fe16cb4a1 EBUILD tigervnc-xorg-module-1.14.1.ebuild 447 BLAKE2B 71f6623a95854d1795f4379302c2278401ee55c41556db7b6e2de21708f3ec4f413e8e699a9f64910ca5255e7b6bff15a6279dace1c907a6f8838be7d8ede540 SHA512 4bff3f4d8af5143693fdfd46c992e08076ef691bd688ff9c03de56d10f66f6f2067ee08436921b691781e3855c6ac405a75d6d2c46e840ea2d33457fe16cb4a1 MISC metadata.xml 331 BLAKE2B a429af641beadf65a9af48b70d47442530df38a6653daa75a67bae2f86dafe206ee745086336ef10af5e1d11ed6df08c017a99e2f434c0d8015549e78c8825f2 SHA512 dca884d6e2edf72771b5062195aa3d379ded3d0b9c74f9f7bd4c6f5ae432128e93d53c8b24bcfe76963b9705be325668edab703cd2f8724123b1c70fda59c786 diff --git a/net-misc/tigervnc-xorg-module/tigervnc-xorg-module-1.14.0.ebuild b/net-misc/tigervnc-xorg-module/tigervnc-xorg-module-1.14.0.ebuild deleted file mode 100644 index 2d1a5d24cea5..000000000000 --- a/net-misc/tigervnc-xorg-module/tigervnc-xorg-module-1.14.0.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -XSERVER_VERSION="21.1.13" - -DESCRIPTION="Metapackage for the xorg module provided by tigervnc" -HOMEPAGE="https://tigervnc.org/" - -LICENSE="metapackage" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" - -RDEPEND=" - ~net-misc/tigervnc-${PV}[server] - =x11-base/xorg-server-${XSERVER_VERSION%.*}* -" diff --git a/net-misc/tigervnc/Manifest b/net-misc/tigervnc/Manifest index 98327185853e..0b9f1b591b17 100644 --- a/net-misc/tigervnc/Manifest +++ b/net-misc/tigervnc/Manifest @@ -1,15 +1,11 @@ AUX tigervnc-1.11.0-install-java-viewer.patch 788 BLAKE2B b3da744d21030bf988dc21bca66a17811b1180ad89fcbc6e3ca8b70b8803c284456cc14393dddf5f2f395d9044d90e8ac8ee50d155be7779b08c14d7bbcb270b SHA512 5f9650a6f8589ab952506cbf6a67f603fc720a70dd76a505da69812c039fb9a0a4137c9667ce11e253a35bade056a18d2fa584ac23cda8111ff1fe17e90f025a AUX tigervnc-1.12.80-disable-server-and-pam.patch 1394 BLAKE2B fcda4d2199dce67a189e3b3aba7e88e41d2325e79147de7a5e0a414aff2583ac0bda1de7e372b907527177612eaeb2462294dbf578f5342701e9d274f09e4f78 SHA512 ec1fa15f70ff508636c02cf3b945b7e372fb391c674e47c6c0cbfc871400a3fc6f0847dae62cf7eb5d56afae121b9aec8d19359319ca0e7e04df03b3bec3cc5e -AUX tigervnc-1.14.0-typo-VncAuth.patch 763 BLAKE2B 6e0f209159aac2f6ed78784606b7d3fd4a3bb618321249eb75452441f8781571e08da8a83fb657559e75e81f0ebf5d55affb5f965c0523adf5cdf349aa2cfcd3 SHA512 8c4c80b735060a15e25eec17ec155e321f1b6fa3bf5367838cbaababc3850a0894ae89fb53821b8efced801cc97295b8602b19d9a99e72767e00b402288d990a AUX tigervnc-1.14.0-xsession-path.patch 1008 BLAKE2B f73bbab10b21a8b27b5b1773e43b254ca5e5017efd84aba8916ad6b5549c2cffabcbac7c14c0b1d8dbb2fb280299d580ceab45399b593abc8f520d692988024b SHA512 cc3ead0af6c618b00914a131723fcf401f913a10e3398e92702387e805dc94f7878558deff4ee12d58e8f2608a7d268ba937a8fcc34ed303b9e3328e77b98bf6 AUX tigervnc-1.14.0.confd 530 BLAKE2B 1152c237744ee69ab317a8d979a8282abb259cb359500b251c31faf6a683ec11c31ef283749e420f5fce54a9f5bec7e97df4ccfdae41871173d30458c8669137 SHA512 75dbae29d2bab1e1b56f9d2d73bb674cbd968a9919e085bc1d356726caed91b469474753176d657c0b5ef2afe6fdf691b661d2224062b22bc39a9752951ac6d4 AUX tigervnc-1.14.0.initd 2996 BLAKE2B 675bc890a23805aceeeb1ee559d192c4a39ee7251d520cc5d98cfd2c2f075737fb3ed192903a08f850603847ce7769e3ae01b2c29dc4591cb3444edf835c6e0d SHA512 0e4043df37125e48d4314fc87400bf5e4eb9ca9848d2afead2f34b4f94422a03b939c3cf246a40c44b91e9cf0aec261f35a3c98e9861810db2f5a73f384a3c60 AUX tigervnc-1.14.1-pam.patch 959 BLAKE2B 384b065ac6f273ff302f8469c039e81f0bc7a98f684162aa8883af5332bc3450032e2a87f12d0f0c576df167817b3b7875b6675cc8af26de14f0c0147077b353 SHA512 d6ee39c53cab920a9f3432012714aaaa7f87db90763156bfcea26e394e381fa47eed8cbe62a956cb983059b28811932b16e79dc0445390a59288c27fc77d6caa -DIST tigervnc-1.14.0.tar.gz 2090452 BLAKE2B 5211dadae0ed66b2b286609f2555f45d3d9b45eef738e6deac3193f433ac6b6858ae6245af621d5a001336d91b99237b0a4976e4642111b27f4f668dbcc79803 SHA512 ee36f0aa40957274fb00fd755624a8bea80432d797d6c183645ed1251058ab30594d2261693b5655c5ca85a22e53f93029eeccc51fe86780398d1a017fa2311c DIST tigervnc-1.14.1.tar.gz 2097932 BLAKE2B 44593837154e019562f63cad54afaa41d1af7a5199988571002019dc60af193162a54b4c3f4e57a3cef2c824253bec5d83f029ba489a7f5459873255b1968cba SHA512 d7a6cff4a3a1e4c30e2dbd6e17ad2d76145e76f5c1a93abbaf32b1c488377a4eaf936d4e8a24a97863948138ba40031c862f9da1c1cd427da35ebffa8eaa4f31 -DIST xorg-server-21.1.13.tar.xz 4963952 BLAKE2B f6b05439e54b9709ce7a5b5f3702053ebc586ac8f8976bb6de9955ab34eac7201e027e1076584cf5b6d8c2639703e3a908b9e38f5dc52d4897aac8650f462502 SHA512 a55fbeeed227c12c67f166f2c06a7f4f8d78feeea04c6e73509dbc723185fd0772349aa23f7c44cf0828ac0a0e2f9e4b26cffb220e6dfa7186d60f88b25ccaf1 DIST xorg-server-21.1.14.tar.xz 5016608 BLAKE2B b64ff9bbcd1d1c632b588800acb1531d6295a52347294d323d684a7149a4f803fb38357a102d715525511c8bb8554daf2e71c28149ccb650b1c7c1990351f53e SHA512 833d36ca4a409363dc021a50702bc29dbb32d074de319d6910a158b6e4d8f51a20c3b0de0486d9613d4e526fe4fd60ca306b3c9fcce7d014ca8cc10185afd973 -EBUILD tigervnc-1.14.0-r2.ebuild 5714 BLAKE2B c5d1883b824ef6ae63ef62dbe192c0b0b0d29c59161bfe74c44558b7b45928d00a97b2a2e2ea3ba3a1867ac3e9b311c31fc412312aa6c565937cfd6b01806755 SHA512 283dc18afaf801a2cacd4deda7feb865af4449973c9c2dd550035aeba9ad1fd2a5bc2f1e51f2bfd2e5ff62a86e15431a47dcba08c2c7e32a457d264c47af999a EBUILD tigervnc-1.14.1-r2.ebuild 5537 BLAKE2B e974553e7d9fb0a7513723ba08f2f43c3ebba0a0bb46401b3e2fe6b91100595c48bb9c776c91e0d162bde22897b02b97c0a1caaf61d7582c8972dd0611caec9e SHA512 4c5d65a4e9266dd341fcd804bf4449b2987c6e0dd4253bf163dabd428fdc588e39056d39d9b4a1822eb1993111f8a806b81bab6a340b476f0402cfd25ecb8e6c -EBUILD tigervnc-9999.ebuild 5704 BLAKE2B 533c2e4e58426108e0436555d1849d17978c9a6135bcfe3778005bf692b789c390a7ff7dd43b3d9e7d8bc6d1b6ffb311350095918c3fca788bc6275a099b3b72 SHA512 f32eafb73811f138386e88b25f2649899cf12f8641a6f162e7e44de50afb22dc032782075f7e22409ff415b3cdc2163fdd1e3dc7ddf3632eb089487587ada51f +EBUILD tigervnc-9999.ebuild 5542 BLAKE2B 8edb8cfe98d6a0d2a7438cbe776d15f994b4ba5c455b745e58de47a92dd9f1489a793974d5066336420c457fa11d6cc779fb358cdb3363eccbd392cf3c2b1b56 SHA512 9279f578c2665dbe96561d595b80ac000a942134e6c56a572af52c64e753d3e11087eb491441ef370429de2c9c4a5ec244b4358bbc50b7aa398f1b56c922bfea MISC metadata.xml 602 BLAKE2B cd3ae9a2fa5758627621230b5bc005b46c65d028764c5578d7684ae7aaa6403d301a59476e2aae6fa4a7a1f38cd0d8c23a7db3a784666aa2f375267444c48658 SHA512 16c1ccff038df995cbe4bace496636e41f1de9c28ad25c45d49f63485d3b7b71d9682866ff1b005acc7b401d66112c1709048298a77fb1c0baadc879fa236743 diff --git a/net-misc/tigervnc/files/tigervnc-1.14.0-typo-VncAuth.patch b/net-misc/tigervnc/files/tigervnc-1.14.0-typo-VncAuth.patch deleted file mode 100644 index 8408fb77db5f..000000000000 --- a/net-misc/tigervnc/files/tigervnc-1.14.0-typo-VncAuth.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.gentoo.org/938694 -https://github.com/TigerVNC/tigervnc/commit/4f6a3521874da5a67fd746389cfa9b6199eb3582 - -From 4f6a3521874da5a67fd746389cfa9b6199eb3582 Mon Sep 17 00:00:00 2001 -From: Pierre Ossman <ossman@cendio.se> -Date: Mon, 29 Jul 2024 16:16:08 +0200 -Subject: [PATCH] Add missing comma in default security type list - -Otherwise it merges with the next entry, removing both of them from the -default list. ---- a/common/rfb/SecurityClient.cxx -+++ b/common/rfb/SecurityClient.cxx -@@ -60,7 +60,7 @@ StringParameter SecurityClient::secTypes - "X509Plain,TLSPlain,X509Vnc,TLSVnc,X509None,TLSNone," - #endif - #ifdef HAVE_NETTLE -- "RA2,RA2_256,RA2ne,RA2ne_256,DH,MSLogonII" -+ "RA2,RA2_256,RA2ne,RA2ne_256,DH,MSLogonII," - #endif - "VncAuth,None", - ConfViewer); diff --git a/net-misc/tigervnc/tigervnc-1.14.0-r2.ebuild b/net-misc/tigervnc/tigervnc-1.14.0-r2.ebuild deleted file mode 100644 index b17a47cb25bb..000000000000 --- a/net-misc/tigervnc/tigervnc-1.14.0-r2.ebuild +++ /dev/null @@ -1,240 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_IN_SOURCE_BUILD=1 -inherit autotools cmake flag-o-matic java-pkg-opt-2 optfeature systemd xdg - -XSERVER_VERSION="21.1.13" -XSERVER_PATCH_VERSION="21" - -DESCRIPTION="Remote desktop viewer display system" -HOMEPAGE="https://tigervnc.org" -SRC_URI="server? ( ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${XSERVER_VERSION}.tar.xz )" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/TigerVNC/tigervnc/" -else - SRC_URI+=" https://github.com/TigerVNC/tigervnc/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="dri3 +drm gnutls java nls +opengl +server +viewer xinerama" -REQUIRED_USE=" - dri3? ( drm ) - java? ( viewer ) - opengl? ( server ) - || ( server viewer ) -" - -# TODO: sys-libs/libselinux -COMMON_DEPEND=" - dev-libs/gmp:= - dev-libs/nettle:= - media-libs/libjpeg-turbo:= - sys-libs/zlib:= - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXrandr - x11-libs/pixman - gnutls? ( net-libs/gnutls:= ) - nls? ( virtual/libiconv ) - server? ( - dev-libs/openssl:0= - sys-libs/pam - x11-libs/libXau - x11-libs/libXdamage - x11-libs/libXdmcp - x11-libs/libXfixes - x11-libs/libXfont2 - x11-libs/libXtst - x11-libs/pixman - x11-apps/xauth - x11-apps/xinit - x11-apps/xkbcomp - x11-apps/xsetroot - x11-misc/xkeyboard-config - dri3? ( - media-libs/mesa[opengl] - x11-libs/libxshmfence - ) - opengl? ( media-libs/libglvnd[X] ) - !net-misc/turbovnc[server] - ) - viewer? ( - media-video/ffmpeg:= - x11-libs/fltk:1 - x11-libs/libXi - x11-libs/libXrender - !net-misc/turbovnc[viewer] - ) -" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) - server? ( dev-lang/perl ) -" -DEPEND="${COMMON_DEPEND} - java? ( >=virtual/jdk-1.8:* ) - drm? ( x11-libs/libdrm ) - server? ( - media-fonts/font-util - x11-base/xorg-proto - x11-libs/libxcvt - x11-libs/libXi - x11-libs/libxkbfile - x11-libs/libXrender - x11-libs/xtrans - x11-misc/util-macros - opengl? ( media-libs/mesa ) - ) -" -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -PATCHES=( - # Restore Java viewer - "${FILESDIR}"/${PN}-1.11.0-install-java-viewer.patch - "${FILESDIR}"/${PN}-1.14.0-xsession-path.patch - "${FILESDIR}"/${PN}-1.12.80-disable-server-and-pam.patch - "${FILESDIR}"/${P}-typo-VncAuth.patch # bug #938694 -) - -src_unpack() { - if [[ ${PV} == *9999 ]]; then - git-r3_src_unpack - use server && unpack xorg-server-${XSERVER_VERSION}.tar.xz - else - default - fi -} - -src_prepare() { - if use server; then - cp -r "${WORKDIR}"/xorg-server-${XSERVER_VERSION}/. unix/xserver || die - fi - - cmake_src_prepare - - if use server; then - cd unix/xserver || die - eapply ../xserver${XSERVER_PATCH_VERSION}.patch - eautoreconf - sed -i '/strcmp.*-fakescreenfps/,/^ \}/d' os/utils.c || die - - if use drm; then - cd "${WORKDIR}" && \ - sed -i 's:\(drm_fourcc.h\):libdrm/\1:' $(grep drm_fourcc.h -rl .) || die - fi - fi -} - -src_configure() { - if use arm || use hppa; then - append-flags "-fPIC" - fi - - local mycmakeargs=( - -DENABLE_GNUTLS=$(usex gnutls) - -DENABLE_NLS=$(usex nls) - -DBUILD_JAVA=$(usex java) - -DBUILD_SERVER=$(usex server) - -DBUILD_VIEWER=$(usex viewer) - ) - - cmake_src_configure - - if use server; then - cd unix/xserver || die - econf \ - $(use_enable opengl glx) \ - $(use_enable drm libdrm) \ - --disable-config-hal \ - --disable-config-udev \ - --disable-devel-docs \ - --disable-dri \ - $(use_enable dri3) \ - --disable-glamor \ - --disable-kdrive \ - --disable-libunwind \ - --disable-linux-acpi \ - --disable-record \ - --disable-selective-werror \ - --disable-static \ - --disable-unit-tests \ - --disable-xephyr \ - $(use_enable xinerama) \ - --disable-xnest \ - --disable-xorg \ - --disable-xvfb \ - --disable-xwin \ - --enable-dri2 \ - --with-pic \ - --without-dtrace \ - --with-sha1=libcrypto - fi -} - -src_compile() { - cmake_src_compile - - if use server; then - # deps of the vnc module and the module itself - local d subdirs=( - fb xfixes Xext dbe $(usex opengl glx "") $(usev dri3) randr render - damageext miext Xi xkb composite dix mi os present hw/vnc - ) - for d in "${subdirs[@]}"; do - emake -C unix/xserver/"${d}" - done - fi -} - -src_install() { - cmake_src_install - - if use server; then - emake -C unix/xserver/hw/vnc DESTDIR="${D}" install - rm -v "${ED}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la || die - - newconfd "${FILESDIR}"/${PN}-1.14.0.confd ${PN} - newinitd "${FILESDIR}"/${PN}-1.14.0.initd ${PN} - - systemd_douserunit unix/vncserver/vncserver@.service - - # comment out pam_selinux.so, the server does not start if missing - # part of bug #746227 - sed -i -e '/pam_selinux/s/^/#/' "${ED}"/etc/pam.d/tigervnc || die - - # install vncserver to /usr/bin too, see bug #836620 - dosym -r /usr/libexec/vncserver /usr/bin/vncserver - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - use server && [[ -n ${REPLACING_VERSIONS} ]] && ver_test "${REPLACING_VERSIONS}" -lt 1.13.1-r3 && { - elog 'OpenRC users: please migrate to one service per display as documented here:' - elog 'https://wiki.gentoo.org/wiki/TigerVNC#Migrating_from_1.13.1-r2_or_lower:' - elog - } - - use server && { - elog 'PLEASE NOTE:' - elog ' The default config directory is now ${XDG_CONFIG_HOME}/tigervnc or' - elog ' ~/.config/tigervnc instead of ~/.vnc' - elog - } - - local OPTIONAL_DM="gnome-base/gdm x11-misc/lightdm x11-misc/sddm x11-misc/slim" - use server && \ - optfeature "keeping track of the xorg-server module" net-misc/tigervnc-xorg-module && \ - optfeature_header "Install any additional display manager package:" && \ - optfeature "proper session support" ${OPTIONAL_DM} -} diff --git a/net-misc/tigervnc/tigervnc-9999.ebuild b/net-misc/tigervnc/tigervnc-9999.ebuild index d19c1b53cdd3..0569447b5b6c 100644 --- a/net-misc/tigervnc/tigervnc-9999.ebuild +++ b/net-misc/tigervnc/tigervnc-9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 CMAKE_IN_SOURCE_BUILD=1 inherit autotools cmake flag-o-matic java-pkg-opt-2 optfeature systemd xdg -XSERVER_VERSION="21.1.13" +XSERVER_VERSION="21.1.14" XSERVER_PATCH_VERSION="21" DESCRIPTION="Remote desktop viewer display system" @@ -207,10 +207,6 @@ src_install() { systemd_douserunit unix/vncserver/vncserver@.service - # comment out pam_selinux.so, the server does not start if missing - # part of bug #746227 - sed -i -e '/pam_selinux/s/^/#/' "${ED}"/etc/pam.d/tigervnc || die - # install vncserver to /usr/bin too, see bug #836620 dosym -r /usr/libexec/vncserver /usr/bin/vncserver fi diff --git a/net-misc/youtube-viewer/Manifest b/net-misc/youtube-viewer/Manifest index 72f060529921..061f7bc56e23 100644 --- a/net-misc/youtube-viewer/Manifest +++ b/net-misc/youtube-viewer/Manifest @@ -1,4 +1,6 @@ DIST youtube-viewer-3.11.2.tar.gz 268972 BLAKE2B f4312bf82ef977374abe9f0366dc38fccf0fc2571796dfb6eeb7e42fdf2ed4a879ee35fa5ec43c37d6e2bbd38ef4f8080476c57a31cfa5139cf0438f661e64cc SHA512 8640fff8bf87d00d8a7649f0ff5c602fd2513ffd28cf741b9a29b6b0292fff733cde70382ef36810c9c3f6431371f6f3ddea34aaba1ac9064782aec1b315650e +DIST youtube-viewer-3.11.3.tar.gz 269693 BLAKE2B a304bd0905e694f2bdf67607391dd0ec2be823c5bb0c256395fd05e7ef48654da80d4eb0c96a4102d4d1fdb6f0bf1371a8c5c0ebb10b1516025399a453beb1ad SHA512 1dea38a3d445227fd5ddc6655df970262e4ffcf209a74f35ee4e68585591f3619f67ca2e4cb9ab7e48e26a2b898d2a43d64932a78335224f5d0dc6e78333d8aa EBUILD youtube-viewer-3.11.2.ebuild 2151 BLAKE2B 4626432aa325396ff7950ec6bb670d865a84bb9db39204ac66efdd8f82e787f853f190a62680c379741e95ae06ca1a254318fb2d3af62e162007495a18ee33af SHA512 92d1f840baa7ad63765614b2fea6cd1b794876541eb4d89aad506b6f34cbd777ecb981289269ff0dc2d706a12c31f251ffc92c455b6460a4859b8fed555b1687 +EBUILD youtube-viewer-3.11.3.ebuild 2151 BLAKE2B 4626432aa325396ff7950ec6bb670d865a84bb9db39204ac66efdd8f82e787f853f190a62680c379741e95ae06ca1a254318fb2d3af62e162007495a18ee33af SHA512 92d1f840baa7ad63765614b2fea6cd1b794876541eb4d89aad506b6f34cbd777ecb981289269ff0dc2d706a12c31f251ffc92c455b6460a4859b8fed555b1687 EBUILD youtube-viewer-9999.ebuild 1896 BLAKE2B ffb298118063d05f495884e595ea89bbc848d0bdb0b925d0d6ebbcaeb6de20df8a3a0079e7f50cca86e3abf7089b5004564a1ef31a158d24321ff0dbd0286298 SHA512 20f37fb30a8a89d3fc88ffe2ad432cd0c711ef1e1fc1e7688ba57a944012a8a74df42154a9ceac7915f23539922f60c262582641976ff4e792f0210c216267d1 MISC metadata.xml 856 BLAKE2B 669dd186f7ce3cbe787ad2fc06dce3104597050d4eef4c02bb26d8256dabb082dc2e5826c2184ffcb6fc18217189d9953d902245b8e2119d3419eccfcb7a7636 SHA512 a3ca8ef08797a5fe27ce5f29a35f7989b736364f8597c2c9726dd92db0f2534c61fc7745f7f674614c832b7c314ee5e3cedce54f570679d81b52781fb7124f1d diff --git a/net-misc/youtube-viewer/youtube-viewer-3.11.3.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.11.3.ebuild new file mode 100644 index 000000000000..bbdbd05ff1c1 --- /dev/null +++ b/net-misc/youtube-viewer/youtube-viewer-3.11.3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_TEST="do" +inherit desktop optfeature perl-module xdg-utils + +DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" +HOMEPAGE="https://github.com/trizen/youtube-viewer" +SRC_URI="https://github.com/trizen/youtube-viewer/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Artistic-2 GPL-1+ )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk" + +RDEPEND=" + dev-perl/Data-Dump + dev-perl/JSON + dev-perl/libwww-perl[ssl] + dev-perl/LWP-Protocol-https + dev-perl/Term-ReadLine-Gnu + virtual/perl-Encode + virtual/perl-File-Path + virtual/perl-File-Spec + virtual/perl-Getopt-Long + virtual/perl-Scalar-List-Utils + virtual/perl-Term-ANSIColor + virtual/perl-Term-ReadLine + virtual/perl-Text-ParseWords + virtual/perl-Text-Tabs+Wrap + gtk? ( + dev-perl/Gtk3 + dev-perl/File-ShareDir + virtual/freedesktop-icon-theme + x11-libs/gdk-pixbuf:2[jpeg] + ) + || ( media-video/ffmpeg[openssl] media-video/ffmpeg[gnutls] ) + || ( media-video/mpv media-video/mplayer media-video/vlc gtk? ( media-video/smplayer ) )" +DEPEND="${RDEPEND}" +BDEPEND="dev-perl/Module-Build" + +src_configure() { + local myconf + if use gtk; then + myconf="--gtk3" + fi + + perl-module_src_configure +} + +src_install() { + perl-module_src_install + + if use gtk; then + domenu share/gtk-youtube-viewer.desktop + doicon share/icons/gtk-youtube-viewer.png + fi +} + +pkg_postinst() { + use gtk && xdg_icon_cache_update + optfeature "local cache support" dev-perl/LWP-UserAgent-Cached + optfeature "faster JSON to HASH conversion" dev-perl/JSON-XS + optfeature "printing results in a fixed-width format (--fixed-width, -W)" dev-perl/Text-CharWidth + optfeature "live streams support" net-misc/yt-dlp + elog + elog "Check the configuration file in ~/.config/youtube-viewer/" + elog "and configure your video player backend." + elog + ewarn "Starting with version 3.7.4, youtube-viewer requires the user to" + ewarn "get their own API key to function. Please refer to README.md or" + ewarn "https://github.com/trizen/youtube-viewer#logging-in for details!" +} + +pkg_postrm() { + use gtk && xdg_icon_cache_update +} |