diff options
Diffstat (limited to 'net-misc/youtube-viewer')
-rw-r--r-- | net-misc/youtube-viewer/Manifest | 4 | ||||
-rw-r--r-- | net-misc/youtube-viewer/youtube-viewer-3.2.8.ebuild | 4 | ||||
-rw-r--r-- | net-misc/youtube-viewer/youtube-viewer-3.3.3.ebuild | 74 |
3 files changed, 79 insertions, 3 deletions
diff --git a/net-misc/youtube-viewer/Manifest b/net-misc/youtube-viewer/Manifest index e77650dc4290..b95dc429034a 100644 --- a/net-misc/youtube-viewer/Manifest +++ b/net-misc/youtube-viewer/Manifest @@ -3,10 +3,12 @@ DIST youtube-viewer-3.2.0.tar.gz 222528 BLAKE2B 13492d444130218ab54337f2e6a578d1 DIST youtube-viewer-3.2.4.tar.gz 224282 BLAKE2B 3905e6cb7c014a279ee239bd63418508f2626fd6ba22161508833f962b0a8ad5c2d2137a43509061e0fdd878f1844096d969e57289d2bb4f97eec2478e814356 SHA512 06bb763460b90f26aa1671c29056374df62d4e840acb3a800f4840160535fef30e60e6655b1d4ba7423a0424384acdfc00aa068a420aa836110974a5f7152ec2 DIST youtube-viewer-3.2.5.tar.gz 228801 BLAKE2B 7407419ee5334a6bc78ede0151e8b3110aa11bfbebb9a7d4a75ea83b751e179d5448ce3c6566ffb6821c76c964d84769bc057e28e3f5683735001ffb90e1a843 SHA512 093c62a3fcbfdf538ae5a205b4263ef91408e4aa7f1824a12f4b5d7b387437fe48af5914e792d743b135e1389534ddba89aaa9a1226969d3cc360515a0d885ae DIST youtube-viewer-3.2.8.tar.gz 233912 BLAKE2B 87e3d96a54d3a83de6e805eeb420a5cfb633ca33a030f619b5b9db52b3c079da4969b0bb7fc76203adea59eb2f82d89962d2140a1f4281367d5b0ea307660da6 SHA512 ae4012f164ff86208975968efe3460774f6740ada9badbfbb373b1e4a22b9983667d96c0f8d857431a6b344bbd061895abab39d353e850662b0b131ef9016f45 +DIST youtube-viewer-3.3.3.tar.gz 232856 BLAKE2B 68f3529edeaeb443203f1c6bf4a9967346a5015d05d40ffeca65a1deeacb73cb9bd7fbc79ed2c70f161c82a03df8461b3d39b071ccbe480b10d4259eba08d430 SHA512 ca624c456d33aa804398f71f1dd4a095f7b9ca5ae5a1cb255b9e8a3dea671a8b0f986977428e797f1fc1f96d69087a66c71185e37cc521d668c036c4e7a5825f EBUILD youtube-viewer-3.1.9.ebuild 2425 BLAKE2B 3eba068cd806ed7e7162ad2023ab35857a518c8373381c7e3bd2d733e3ee9e16272658c2ebf0dd69ca67c6465cd43987a9b9ce745b0ac6b2c2fac5d52e8a50bf SHA512 3314727682ff9d77b761b391fcae9d70d541321f2d3dc5e2ca0bab3f87bf36cda06ec0f84a085172caae9df621722bb0c0c21e6c20af7452ef11b9468e3be56c EBUILD youtube-viewer-3.2.0.ebuild 2335 BLAKE2B eeb267da1690c4322bede79f6a7173c5057d786de48d4f94708ba3968ed782170266c5861d4b55e218bc3caf898fc58036680f91f3b9eb36606307bd3e4d0676 SHA512 ab8c7996de65d8b439356360815f4fa744837785bfaee9db454ec3d4f419d290cad98517b03c4e97acff046d76983051dfe738dd5d88de5c2635be71536f5ad6 EBUILD youtube-viewer-3.2.4.ebuild 2302 BLAKE2B 709a44a8c589bf8b8b143e8465e9aeaa17a8d42ea94c30f453276b61e31a10d6fcb5ef1039b8b2f48738beff63b64cba0599c8fdcdeba380f7f53efda7edc20b SHA512 401d3e44d86c4fcf8397e39ae2b05e06664c6ac53c7048d419138851e2ec5b21ee5beed3e170bb9156e313c3c36b91b11adf6ecd1704e75031194e322cb5775d EBUILD youtube-viewer-3.2.5.ebuild 2258 BLAKE2B 12b8ac05908daa5b28c301620ed3c0e5a1538fd4ae22112c2baa7a17f1c6c750d248d8aa2c47cf4d8502c31eb0e89e704af7d4bb7858ae6574dfe89493467708 SHA512 1b2d4d344fb4406a0a9fa8ca70c6e73ea0c597069a92a95684b2f34111799f2bd94d1d4e9eae23f67a3355f5545c8f3237122de80264b2e465d04cd5d363ea87 -EBUILD youtube-viewer-3.2.8.ebuild 2027 BLAKE2B a95a46c8c5cddce769d4478622744c0425eb8c6abbecc9a352a721e4f7076ccdf7c8a568ede7f2bdfe14b4d18a02845f186d402fbbf4065d8cc248c873b3476e SHA512 c860812a399f1fbc482ba4baf8794f7cad8b265fa6fa417b20074fef9ac24ee9ec2e025c41ba509b7484e6a7298c3e56484beccd0056a42b0de9ee446677c930 +EBUILD youtube-viewer-3.2.8.ebuild 2025 BLAKE2B 390f88f32c0c4bfaca84c8265ac73dc1b712868b481d949f15f0c96bd83b780e42039d2d422faaaeeea557c5794164abe40694d4dd74c36e9e2519ef42661933 SHA512 2fa5e47ed3c5dca68f1176c26a468862c4e9f31782a8dc7328aca3754791114fb0f4090cd4936468c8b04f485919701eaa6c4a56301866dc7ddbe6eb97a0f726 +EBUILD youtube-viewer-3.3.3.ebuild 2027 BLAKE2B d090963e37b0a6198e6aaea0c358c860b36c59c8201cef648c42acb59d970aa28283eb63d1dc1173be74624e7161d4a284f0a2757416bce826a1cd68ba9c47a1 SHA512 a62061be86dfe9a526790673f3c47ce60146537956cbc2d1f1b0c64cdfec6954044662d770ac74ad8e3b8245f4da9e6c194d5175631a81e82deb89494f2f97b8 EBUILD youtube-viewer-9999.ebuild 2252 BLAKE2B 5cb27656f5f6ff899760f9f200ea3ddaae1f3a721bbeff90b8b7c3fe4b0c38f09b2ce7cc9be2a19cbd7b41c03d54426cc1e2e1d62dab1038d866b27e876e6875 SHA512 15f2acb1b4346ada4d71913569ef91852657ac52861ff89b6b7952903ef20c6a9bcb438f89a024aaab030c9e0a4820c2f0cab08a7ce4fbe92884a5d3e4044f04 MISC metadata.xml 1001 BLAKE2B ea9aae31db72d91c37e3f37b672404262ad303a26461df31c78d4a45050ac27c46e9ed18b160eb96f34d15b08bd6250139ed2960834b0aa93923c2651bd19e58 SHA512 2136df64736fa79cae9cda680d3412ff700c03b943c19184a0d1c94d51f161b34eddefee88468ef63a99e87a553973caeb1241226fbac13eabb5462990d98fd6 diff --git a/net-misc/youtube-viewer/youtube-viewer-3.2.8.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.2.8.ebuild index 537ee784c3de..4e5e8e27bcb5 100644 --- a/net-misc/youtube-viewer/youtube-viewer-3.2.8.ebuild +++ b/net-misc/youtube-viewer/youtube-viewer-3.2.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/trizen/youtube-viewer/archive/${PV}.tar.gz -> ${P}.t LICENSE="|| ( Artistic GPL-1+ )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="gtk" RDEPEND=" diff --git a/net-misc/youtube-viewer/youtube-viewer-3.3.3.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.3.3.ebuild new file mode 100644 index 000000000000..0a797691ff7f --- /dev/null +++ b/net-misc/youtube-viewer/youtube-viewer-3.3.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gnome2-utils perl-module + +DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" +HOMEPAGE="https://trizenx.blogspot.com/2012/03/gtk-youtube-viewer.html" +SRC_URI="https://github.com/trizen/youtube-viewer/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Artistic GPL-1+ )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk" + +RDEPEND=" + dev-perl/Data-Dump + dev-perl/JSON + dev-perl/libwww-perl[ssl] + dev-perl/Term-ReadLine-Gnu + dev-perl/LWP-Protocol-https + 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/File-ShareDir + >=dev-perl/Gtk2-1.244.0 + virtual/freedesktop-icon-theme + x11-libs/gdk-pixbuf:2[X,jpeg] + ) + || ( media-video/ffmpeg[openssl] media-video/ffmpeg[gnutls] ) + || ( media-video/mpv media-video/mplayer media-video/vlc gtk? ( media-video/smplayer ) )" +DEPEND="dev-perl/Module-Build" + +src_configure() { + local myconf + if use gtk ; then + myconf="--gtk-youtube-viewer" + 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 && gnome2_icon_cache_update + elog "Optional dependencies:" + optfeature "cache support" dev-perl/LWP-UserAgent-Cached + optfeature "faster JSON to HASH conversion" dev-perl/JSON-XS + optfeature "the case if there are SSL problems" dev-perl/Mozilla-CA + optfeature "printing results in a fixed-width format (--fixed-width, -W)" dev-perl/Text-CharWidth + optfeature "threads support" virtual/perl-threads + elog + elog "Check the configuration file in ~/.config/youtube-viewer/" + elog "and configure your video player backend." +} + +pkg_postrm() { + use gtk && gnome2_icon_cache_update +} |