diff options
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/Manifest.gz | bin | 25858 -> 25860 bytes | |||
-rw-r--r-- | media-video/bino/Manifest | 6 | ||||
-rw-r--r-- | media-video/bino/bino-1.6.8.ebuild | 16 | ||||
-rw-r--r-- | media-video/bino/files/bino-1.6.8-respect-AR.patch | 21 | ||||
-rw-r--r-- | media-video/bino/files/bino-1.6.8-time-include.patch | 23 | ||||
-rw-r--r-- | media-video/bino/metadata.xml | 3 | ||||
-rw-r--r-- | media-video/tsmuxer/Manifest | 6 | ||||
-rw-r--r-- | media-video/tsmuxer/metadata.xml | 3 | ||||
-rw-r--r-- | media-video/tsmuxer/tsmuxer-2.6.11-r1.ebuild | 38 | ||||
-rw-r--r-- | media-video/tsmuxer/tsmuxer-2.6.16_p20220706.ebuild | 40 | ||||
-rw-r--r-- | media-video/vlc/Manifest | 2 | ||||
-rw-r--r-- | media-video/vlc/vlc-3.0.17.4.ebuild | 2 | ||||
-rw-r--r-- | media-video/yle-dl/Manifest | 2 | ||||
-rw-r--r-- | media-video/yle-dl/yle-dl-20220830.ebuild | 66 |
14 files changed, 181 insertions, 47 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz Binary files differindex 998ad0c3820b..947a0807108c 100644 --- a/media-video/Manifest.gz +++ b/media-video/Manifest.gz diff --git a/media-video/bino/Manifest b/media-video/bino/Manifest index a2fb05864f18..b80dcb624f03 100644 --- a/media-video/bino/Manifest +++ b/media-video/bino/Manifest @@ -1,6 +1,8 @@ AUX bino-1.6.7-gcc11.patch 883 BLAKE2B 612ff39d9294567d65809f88c4dc9d77011f2dbf5aa318a827299a7323f6706bbc4d82f8834ad8dd180fdef47de8d7fa0b861e93b91f2e2b2016cc09a522ca53 SHA512 3cf037566f6cb1d3eb2eeaf332e657e9eb088627c70752da2c27e5e22956a803fde3bca9071e75ede097c348e0f0e013e9c6d2cd0c15ff80f8b2059cfcab4646 +AUX bino-1.6.8-respect-AR.patch 559 BLAKE2B 2c24d3082cb446ecbc269f93fa6d427f273ffd903bb5f79fe07a604ee0a6264fd592892455435b26cfed3e0d9d0af60637df4194788497978ee1a7f4faeb6eb9 SHA512 9c6866256dfb8bd1c3ccc894a33a88d1c557d99d876c95bc0b7a51e0351379ed0853a8ed539f939870a3c69f876bc2ffe59da487827ba809beca146ae32048f6 +AUX bino-1.6.8-time-include.patch 662 BLAKE2B 6100dd865f2fcac6110e247dcc7576a5cf3a1ab7304e29d45b87331c3814101927193fb704f97a2216eae1878ae1a522502ed0725088ac3e4dfa0ffe4677dd69 SHA512 60426c7cd1f80ea370fe6b38d25f5dfc308e0ea0ed554cffdec2d3cc7b06baaf37d19c63705f34bc27f574ac773d7105880e1244b424f15ea273ccb983217082 DIST bino-1.6.7.tar.xz 825068 BLAKE2B d9019a793838f33ea1315849aa994b20a1c6127995315dc03972fe6c64a742c73434c07ba06402a1e2bd5357781d18aaf3d19ab2d61788745b2aa99ad3f4c6f4 SHA512 ae8f72b200100664b9fd55963371ce64a2f39e240676494d69b422d662f2295560ba458eb04707b82f88d3c6b3fab98a1ecb40d74799300f96b8eb8be680c9b8 DIST bino-1.6.8.tar.xz 836712 BLAKE2B 801d6f1ffbf1a7fbaabcdbb2c4bd649662d3b14b08189431a418702177f5de28a8961763c83962fd72cbf6f762fad34ed0b616efc68a723f65b6c72823618897 SHA512 d8cf5be356add4ed3fb36673038b5ffd92d0dc840798cc616fa4b11fec221c7f114347dfc7cdb7a3a24c5599b56301cddc99f84d3862d8e874612960281319cc EBUILD bino-1.6.7.ebuild 1480 BLAKE2B f7841fc972fa8ae1f69fd8cd5c6fe7deffa9deebc12de70df06a7468f90cfcccc50f505a0399d430e537a695dc4e38c9542a13c66b18aa41959fa8cdc0debb09 SHA512 1600712530afc3cdef216324decb214f2c1a907b8dbb195c41c7a83456d60cae130efd94b442b60d1bce6efa19423302368cfa2d76f3bbf9248af591df49ba59 -EBUILD bino-1.6.8.ebuild 1515 BLAKE2B c53f5230459a32bc4d2c63f2232471cbe9f462e2dbdb8f7c5c2965d34b7e8e63064c87c7e6b015334278675edd846fe751a151b343c1a3a5cad6114dc9af9b0d SHA512 d4e684d64a8e8427bdba68ba78fb2b978993619a735fe6c9c74fde6fb733991f5adea74a667e2ce24ef15adcc4f3f59bf8cfce4f668f4006f249ff6d10855d09 -MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 +EBUILD bino-1.6.8.ebuild 1691 BLAKE2B b28102ac3932f17568e51bc2be1d5b2b3f4c72a22b427d25237ee78b118000b3b40dbb2ef090ca3d4bb4f7ed82fe7bbd31fe903f2f55c82a7e5c8a583c0a5508 SHA512 6d42a7e573b9192af4d7623225272dcd9cdf1c21fe1bc314dede33821b71cc67ac98d65be151cf0eac930e8c1206220481b3c17ecb6cd4f9396421371b7bfcd0 +MISC metadata.xml 251 BLAKE2B d8d3e540aec003dfab0b6663c9087bee59dbf7dbff2128c27883615d7250c03073926b9e023cf27925cce18736f86ca20ac3cb2a66d5fcaa0c009471ae95f822 SHA512 de4a63914b8a58e54b0d04d2461cc66199ad857191a11668b0f5b1c0f8713a3486cf22ea3d4df58ba8087775524608fb3d399cee3393f64770fdaa872f818467 diff --git a/media-video/bino/bino-1.6.8.ebuild b/media-video/bino/bino-1.6.8.ebuild index 0cdd8ab1a37c..d7bdc7c2def6 100644 --- a/media-video/bino/bino-1.6.8.ebuild +++ b/media-video/bino/bino-1.6.8.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit flag-o-matic qmake-utils xdg +inherit autotools flag-o-matic qmake-utils xdg DESCRIPTION="Stereoscopic and multi-display media player" HOMEPAGE="https://bino3d.org/" @@ -11,7 +11,7 @@ SRC_URI="https://bino3d.org/releases/${P}.tar.xz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug doc lirc video_cards_nvidia" RDEPEND=" @@ -30,6 +30,18 @@ DEPEND="${RDEPEND}" BDEPEND="sys-devel/gettext virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${PN}-1.6.8-time-include.patch + "${FILESDIR}"/${PN}-1.6.8-respect-AR.patch +) + +src_prepare() { + default + + # Needed for AR patch + eautoreconf +} + src_configure() { if use video_cards_nvidia; then append-cppflags "-I${ESYSROOT}/usr/include/NVCtrl" diff --git a/media-video/bino/files/bino-1.6.8-respect-AR.patch b/media-video/bino/files/bino-1.6.8-respect-AR.patch new file mode 100644 index 000000000000..8bf545ba11e8 --- /dev/null +++ b/media-video/bino/files/bino-1.6.8-respect-AR.patch @@ -0,0 +1,21 @@ +https://git.marlam.de/gitweb/?p=bino.git;a=commitdiff;h=94fbab21a6d98fe6f6fffa0283b60da30f1d7c20 + +From: Sam James <sam@gentoo.org> +Date: Fri, 2 Sep 2022 02:04:00 +0100 +Subject: [PATCH 1/2] build: respect AR + +Search for AR using the normal mechanisms like e.g. CC +to allow it to be easily overridden in the environment. + +Bug: https://bugs.gentoo.org/804486 +Signed-off-by: Sam James <sam@gentoo.org> +--- a/configure.ac ++++ b/configure.ac +@@ -38,6 +38,7 @@ AC_PROG_CXX + AC_PROG_INSTALL + AC_PROG_RANLIB + AC_PROG_LN_S ++AM_PROG_AR + AC_LANG([C++]) + AC_C_BIGENDIAN + diff --git a/media-video/bino/files/bino-1.6.8-time-include.patch b/media-video/bino/files/bino-1.6.8-time-include.patch new file mode 100644 index 000000000000..e331f9a29cfe --- /dev/null +++ b/media-video/bino/files/bino-1.6.8-time-include.patch @@ -0,0 +1,23 @@ +https://git.marlam.de/gitweb/?p=bino.git;a=commit;h=99a9fe61134ba9ca379d2bddb52e8322cad769e5 + +From: Sam James <sam@gentoo.org> +Date: Fri, 2 Sep 2022 02:04:26 +0100 +Subject: [PATCH 2/2] Fix build with GCC 12 and musl (missing <ctime> include) + +Fixes build errors like: +``` +../../src/base/str.h:146:30: error: 'time_t' was not declared in this scope + 146 | std::string rfc2822_time(time_t t); +``` + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/src/base/str.h ++++ b/src/base/str.h +@@ -31,6 +31,7 @@ + #include <vector> + #include <cstdarg> + #include <cerrno> ++#include <ctime> + + #ifdef __GNUC__ + # define STR_AFP(a, b) __attribute__ ((format (printf, a, b))) diff --git a/media-video/bino/metadata.xml b/media-video/bino/metadata.xml index 115e9d64a669..063b7cd3b4ca 100644 --- a/media-video/bino/metadata.xml +++ b/media-video/bino/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> + <upstream> + <remote-id type="github">marlam/bino-mirror</remote-id> + </upstream> </pkgmetadata> diff --git a/media-video/tsmuxer/Manifest b/media-video/tsmuxer/Manifest index 1d6de811f70a..16a9a963b119 100644 --- a/media-video/tsmuxer/Manifest +++ b/media-video/tsmuxer/Manifest @@ -1,3 +1,3 @@ -DIST tsmuxer-2.6.11.tar.gz 538798 BLAKE2B 18f5f9002e356664ae84343afbadcddd447743404bcdcca709ba039ebb2ab05e5fba7eda0f30c86c29e18040d646004d1aec7dec34ed008ddbdb15228c63f09d SHA512 25b552153b76231ac1b88858d2178564d22edd18c6b08dc872765ac214ca6fd1ff6df5c5fff0f24647ea35f3f990e364bfb8adff5dd79c69cc12875fafb4f137 -EBUILD tsmuxer-2.6.11-r1.ebuild 787 BLAKE2B a47275e8bdb863a8323c82a777d738547ae7d94a4182e37e0aadfcd1a21c7947553f7531ca8b1d09cc7185f087dcedf81d744e87d665716462e13f1822b44cd2 SHA512 e0bc8f16c0a7ba1c9546c14e1eeb1325d9958720a1e6c57dca2b7f1f0e06930481ea8f2f628dd915740f91ec2dce6d34d2ece90169e5022d306c2cd15e27b59c -MISC metadata.xml 573 BLAKE2B 324a4a4396cf858d2da5d3c2b4183310adb33aeecef814980cab79bbb094b9a8c0e0f5d984737df564e5895a62ca519d36795b6216641fe4768a27ca2013fd6f SHA512 a84cbfc78aaddca9576bbb744d162794c1cd5297fda1f2672d37b8b05519d3d677561e8ef5a2a8a58b5fb4fccb74a573f0f5d202635051e394f3b14e551e912d +DIST tsmuxer-2.6.16_p20220706.tar.gz 699612 BLAKE2B 101f97b0846a1051c7920878c304e62d6e4d42a3c85c0d1e0fe8cd7cf2ebfd49ad0c75966c0b5e171a6e878d19ff6a03481b29bac4d0b1994285c24893597349 SHA512 96ffaf04a02a0f7cc643a49b54d299648bff551aa03263547d17abeb7871cdb867d98d13becea6e69d1d5691afffc9011ce502a3e7e9bd78f5025bff79d3ad76 +EBUILD tsmuxer-2.6.16_p20220706.ebuild 817 BLAKE2B d4e8a8681922a00a081ab7a69aacc87ef46c57f6b692d7eb11ce5b14e38a4c8f2adb5867d1318f5d8934a6e9769ad14c9e2893f58e3c8b6421617743616ccc65 SHA512 758af7bd8ec5e167553ff6a87c949c137ac7518846c0219e28028d12ef0b5deee3f7946783533226241841a957c028dfc78a406c01baec576b967e03b6d3e332 +MISC metadata.xml 655 BLAKE2B 9cfd9d850b1495a3d856a79aef4e0ae94b5da92b673cb060cb751261e85ef1d338911e6fa46005163e6deae2c49c65246d4f423898a4d159b223c3300df44cf5 SHA512 e1dccfe195f791682ffea86f1edadffea63324d95e14fe863e23adaae9672c31aa91e278ca1b9d1280784062048a8fb3f228b7c17ca635c222546a47b45aa06d diff --git a/media-video/tsmuxer/metadata.xml b/media-video/tsmuxer/metadata.xml index 3f59174a7177..5cb1a1ccb7e0 100644 --- a/media-video/tsmuxer/metadata.xml +++ b/media-video/tsmuxer/metadata.xml @@ -11,4 +11,7 @@ Dune HD Ultra, Sony Playstation3 and others). tsMuxeR is a part of SmartCONTENT, content preparation solution. </longdescription> + <upstream> + <remote-id type="github">justdan96/tsMuxer</remote-id> + </upstream> </pkgmetadata> diff --git a/media-video/tsmuxer/tsmuxer-2.6.11-r1.ebuild b/media-video/tsmuxer/tsmuxer-2.6.11-r1.ebuild deleted file mode 100644 index 4ddb8bb9da41..000000000000 --- a/media-video/tsmuxer/tsmuxer-2.6.11-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Utility to create and demux TS and M2TS files" -HOMEPAGE="http://forum.doom9.org/showthread.php?t=168539" -SRC_URI="https://drive.google.com/uc?export=download&id=0B0VmPcEZTp8NekJxLUVJRWMwejQ -> ${P}.tar.gz" - -LICENSE="SmartLabs" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -QA_FLAGS_IGNORED="opt/${PN}/bin/tsMuxeR opt/${PN}/bin/tsMuxerGUI" - -DEPEND="|| ( - >=app-arch/upx-3.01[lzma] - >=app-arch/upx-bin-3.01 -)" -RDEPEND=" - >=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)] -" - -S="${WORKDIR}" - -src_prepare() { - default - upx -d tsMuxeR tsMuxerGUI || die -} - -src_install() { - dodir /opt/bin - exeinto /opt/${PN}/bin - - doexe tsMuxeR - dosym ../${PN}/bin/tsMuxeR /opt/bin/tsMuxeR -} diff --git a/media-video/tsmuxer/tsmuxer-2.6.16_p20220706.ebuild b/media-video/tsmuxer/tsmuxer-2.6.16_p20220706.ebuild new file mode 100644 index 000000000000..963a534a2470 --- /dev/null +++ b/media-video/tsmuxer/tsmuxer-2.6.16_p20220706.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +COMMIT="fafc3cd747457906290df773063ad8022684a33a" +MY_PN="tsMuxer" + +DESCRIPTION="Utility to create and demux TS and M2TS files" +HOMEPAGE="https://github.com/justdan96/tsMuxer" +SRC_URI="https://github.com/justdan96/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt5" + +BDEPEND="virtual/pkgconfig + qt5? ( dev-qt/linguist-tools:5 )" +DEPEND="qt5? ( + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + ) + media-libs/freetype + sys-libs/zlib" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${COMMIT}" + +DOCS=( README.md ) + +src_configure() { + local mycmakeargs=( + -DTSMUXER_STATIC_BUILD=OFF + -DTSMUXER_GUI=$(usex qt5) + ) + cmake_src_configure +} diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest index 58ac1f94a89a..e70132f28400 100644 --- a/media-video/vlc/Manifest +++ b/media-video/vlc/Manifest @@ -14,7 +14,7 @@ DIST vlc-3.0.17.3.tar.xz 26393440 BLAKE2B 5079caa779335647394eb4af631ae89098b225 DIST vlc-3.0.17.4.tar.xz 26567148 BLAKE2B 4f36e7a9695d9e839fbebe92ec85c9411fa5b980b18332caf3dacfe51c6fea30cae71ee4cb0dad8b5536dd7d9b8801987f87a3c978eec17e444eaeacda603881 SHA512 dac14c6586603c064294672eb878253e52b3a7bef431fb10303345e5400591b5c1f2d452a2af03f503db0ca186582a84be06fdf05ab011c33f7b0bd5389c51fb EBUILD vlc-3.0.16-r8.ebuild 13840 BLAKE2B 7dfa1bf55d9ad0ccfb899f14c15479ad78c0eb6bd16061d6b78ce1b2ea6c131961ab56cfb485e57d85b62025d0f5ef4a999aeebb099a3b2db98a9d0af159202b SHA512 5c045d13dc3ca796a4ba670ea89ed3a5177bcd34af08e91ebd673d9bcf913b17d704aa29f0f03a507685a30730a1ba5469f01c92b04433726013fa21427589bb EBUILD vlc-3.0.17.3-r2.ebuild 13552 BLAKE2B 16a9ecb6a011dd4d2f85e5d837edfb4d767a9c73d11b6c445d5351fa45ebb2f7888278fd02632d74c37a19aa63796219e20f292f7bab3cbfc2722529fb8f30db SHA512 df4818976c7082b590c1fda7ce7198649f229240412c012ddd8c9139c9e1d2697808d7edd7a78c09392dde57e686b3e6bc48ed41f2b69776272876c3f230c305 -EBUILD vlc-3.0.17.4.ebuild 13572 BLAKE2B 643129b6df988d258e3d4a2fc62f9b1ee74fd163e52644938b8993713c1e8f96e13aebfaccb3c67578097b0d57e69c9f8e689b7f557c24b2db3de5dc66786cd4 SHA512 c8587800290d03fb508a45b1cf311803ca934bf708548c421dc609bd78c7db686effbf10cf739e8a118d72c054a74709837a1ec9d7e67f5ce22dbf54b89f1375 +EBUILD vlc-3.0.17.4.ebuild 13571 BLAKE2B c3de3913dbf5440f8aad2774bfa54cb20393ae21cc47fe4233f0d08bc62aa2c2921e3b789827c8454f30456225f9e42a4e72f39b2459236d8b398145bea86d55 SHA512 1d3c6cca5051dc52be85edba0c7543022ddaf68dfc6792b6558ea2beabe08a666286e5120b50c0ade04a06fd931f0ec113558b6a3d772eeb27b7d05d368438f3 EBUILD vlc-3.0.9999.ebuild 13433 BLAKE2B 8712b957e2829bf0f33c2d4ea0c2164f82da322a50b44c0dbf1e6c670d63acb8704b9b4b754d94207b0e6a11038b42004ba46fdb7e2fce0bb7cb2b1a160b9729 SHA512 8c89645dd3a33133a19dde64faaf76fd4bfe5ff1e3b1fb34901d92849aed9f3d65b5c09e9d1ca63f4ef9159bf71902448b9ed7782d1c173c7650d388dda64e4d EBUILD vlc-9999.ebuild 13488 BLAKE2B 006133119bf236b523954aae0172a87e4c8db79b8d986d408cd262fb17c439d419c941ad9135ead5099a2b33f465ee15bc76d07b6addd2cce1ce6dcfe3a8c0b8 SHA512 298dc503c597272872a3537232a8e40d381fa082c23533aa66e1d27ab4c506feec94e8b5a5d76cf1ac6d19b6d1f91d3873077ad025885086f8e25054d1459da5 MISC metadata.xml 4923 BLAKE2B b115bd6bc666f1da6a0ba4d5b6237fedfff4baada406e56eff9c0f9574968177490c456e2d8f0ad07cf73b8e52bcc122931ae9f800d6a29e41cbfdd4ed6780fe SHA512 4b953a8662e31a66af1fb710e166316106b393d136fca7c1c5b61e78bd285bc578037fc11b7ae07202a6fae2a4a6e43f7f6560400bab8d92457012a4fa7e3045 diff --git a/media-video/vlc/vlc-3.0.17.4.ebuild b/media-video/vlc/vlc-3.0.17.4.ebuild index 7d9eb9eb5587..4030e620d8f5 100644 --- a/media-video/vlc/vlc-3.0.17.4.ebuild +++ b/media-video/vlc/vlc-3.0.17.4.ebuild @@ -20,7 +20,7 @@ else else SRC_URI="https://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" fi - KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv -sparc x86" + KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv -sparc x86" fi inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index 338e47de5907..0fef84fc0e8a 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1,3 +1,5 @@ DIST yle-dl-20220704.tar.gz 69784 BLAKE2B 4eed09f2531693a45683958f245df7251fe1df6736443b16b4b6079c25b656fcc53d92147456b80e4144766965b5147bf17c5db0b1c73a8d4c3f519c4639d8f2 SHA512 2aba4ef471b487d174d32762d12f8d6da0f40d0709a4f894dbf7f3d0717e347929dee9f620f795b298b8c714f6d433bb8f8321eeba61648a4684eacc0796711f +DIST yle-dl-20220830.tar.gz 72087 BLAKE2B 1ee31b399daca34ed1ec5bb51fcb38ce439249a4b205e2f0f7219ddd3a438e3a8719c92836ad165112acb7506a5501bb53bb8073960bc2a26635d8eff90dfa8f SHA512 e3ec7c81259901a243f19689666eef415a23f264a04b7f281be11e200f914a0fddea871637afa1e85169bc565f01cbcc0ff91dd800bb07af5b0e6e577041b940 EBUILD yle-dl-20220704.ebuild 1430 BLAKE2B 3ea51921728f6d674d764f1c583daaebba56c43c28ec21f30e9518fe20b6a93076e19deb0c1dc0c01bae446ff04c6891fb18c4450e79cf11b2fac9517bf286e8 SHA512 e875d3adb2b0a6b859a4700772849c00bc4c9ca0c91a8100a670819b45882ced1f1e9dce8337a665728d3439341d4a93a62d15b86c0c4f5c71dcbdc8c525fb99 +EBUILD yle-dl-20220830.ebuild 2038 BLAKE2B 1c768e751b420b4cd4781d1c2d6188d9d366d0e23b7cf5bc1b61c2b3fd4674356492a308c8a39edc7742dc118bac91c3a9a35b5c1c7035e915dfec9d7c4f2ae8 SHA512 ade97597bf92a3d90c0dd9f18c6f479062a7eb8bfbeafd222e359c17103156e2879602519b8c4fc91ff62b9d5abdb703abf58f317a04a72a3dfba7fce14055e1 MISC metadata.xml 280 BLAKE2B 30756c19f90277ebe700cf4641848ae376453c6031a019f348f04ee8d4c30146947ec383fa4bf12b669df790417eec9285df363210138e39f611d345d127ed27 SHA512 cf301b82fada2d4ca02e1dd9ba7b5234c42b7c63f87b96d81cb06ebc7853934533b75d0fc77eff0dc39f3c0a9e2d468b6bc03ac98fcb3834da67a11b254a0b77 diff --git a/media-video/yle-dl/yle-dl-20220830.ebuild b/media-video/yle-dl/yle-dl-20220830.ebuild new file mode 100644 index 000000000000..c721a6b525a6 --- /dev/null +++ b/media-video/yle-dl/yle-dl-20220830.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Download media files from Yle Areena" +HOMEPAGE="https://aajanki.github.io/yle-dl/ https://github.com/aajanki/yle-dl" +SRC_URI="https://github.com/aajanki/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Requires an active internet connection during tests, +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND="media-video/ffmpeg + net-misc/wget + >=dev-python/attrs-18.1.0[${PYTHON_USEDEP}] + >=dev-python/ConfigArgParse-0.13.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/progress[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}]" +BDEPEND="test? ( + ${RDEPEND} + media-video/ffmpeg[gnutls] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +DOCS=( COPYING ChangeLog README.fi README.md yledl.conf.sample ) + +src_prepare() { + distutils-r1_src_prepare + + # Skip 404'd files. + sed -i -e "/def test_radio_series_redirect():/i@pytest.mark.xfail(reason='Video expired.')" \ + -e "/def test_radio_metadata_2020():/i@pytest.mark.xfail(reason='Video expired.')" \ + -e "/def test_radio_episodes_sort_order_latest_last_source():/i@pytest.mark.xfail(reason='Video expired.')" \ + -e "/def test_radio_episodes_sort_order_latest_first_source():/i@pytest.mark.xfail(reason='Video expired.')" \ + -e "/def test_radio_latest():/i@pytest.mark.xfail(reason='Video expired.')" \ + tests/integration/test_areena_radio_it.py || die +} + +src_install() { + docompress -x "/usr/share/doc/${PF}/yledl.conf.sample" + distutils-r1_src_install +} + +pkg_postinst() { + elog "Sample configuration file has been installed to " + elog " /usr/share/doc/yle-dl-${PVR}/yledl.conf.sample" + elog + optfeature "youtube-dl download engine" net-misc/youtube-dl net-misc/yt-dlp +} |