summaryrefslogtreecommitdiff
path: root/media-video
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-08 12:25:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-08 12:25:04 +0100
commita5442e2318cb4df55867389654e322dbac82067e (patch)
tree6ee33490658219395df804dbba0ea77f8b0d8c3b /media-video
parent5d8ffbc273ca664e15618d557ced3e02de1a884b (diff)
gentoo auto-resync : 08:07:2024 - 12:25:03
Diffstat (limited to 'media-video')
-rw-r--r--media-video/Manifest.gzbin23873 -> 23870 bytes
-rw-r--r--media-video/imagination/Manifest2
-rw-r--r--media-video/imagination/imagination-3.6.ebuild4
-rw-r--r--media-video/mkclean/Manifest2
-rw-r--r--media-video/mkclean/mkclean-0.8.10-r1.ebuild (renamed from media-video/mkclean/mkclean-0.8.10.ebuild)14
-rw-r--r--media-video/vcsi/Manifest2
-rw-r--r--media-video/vcsi/vcsi-7.0.16.ebuild4
-rw-r--r--media-video/webcamoid/Manifest4
-rw-r--r--media-video/webcamoid/webcamoid-9.1.1.ebuild9
-rw-r--r--media-video/webcamoid/webcamoid-9999.ebuild27
-rw-r--r--media-video/yle-dl/Manifest2
-rw-r--r--media-video/yle-dl/yle-dl-20240706.ebuild57
12 files changed, 101 insertions, 26 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz
index 68d491ae5608..507bb3c2b304 100644
--- a/media-video/Manifest.gz
+++ b/media-video/Manifest.gz
Binary files differ
diff --git a/media-video/imagination/Manifest b/media-video/imagination/Manifest
index 4821aa5381dd..d05e15df00b4 100644
--- a/media-video/imagination/Manifest
+++ b/media-video/imagination/Manifest
@@ -5,5 +5,5 @@ AUX imagination-3.6-cflags.patch 275 BLAKE2B f27f43ad89d9d4d444bfddfddbe59df393f
DIST imagination-3.0.tar.gz 3327784 BLAKE2B 0322a68ab6c44e2b0d47bb89de6522249ca3507808ee3733f2f195923c4269591c2225271ef27b24c648cb6784a5c85bd6ca97142072e52641bdf7f80b9a9bc7 SHA512 0780ab572d8f4fc1e728befef79f974169438d723f67205e677c06cbe0dac06745868936e7d3eab5fc42728902f6b06eb5f9d7e836532c289df005ddab2104b8
DIST imagination-3.6.tar.gz 3553509 BLAKE2B 39b345b073b123e68ab6a025b03ca23a38191cb2d2f5163d8b7722a8891d254f9fc7b54461c7d741ba6d2e7b25cb2029d9eec55e5115a5b8504dd85985c740aa SHA512 673651cf59baded805ba3993c6f9dff83f20ae9174d5f5e07b99d9d590eb817e6733cbc130a3d32502a84fa29bd78c4f1dd093c01aaedfef5f9425a59125865d
EBUILD imagination-3.0-r2.ebuild 774 BLAKE2B 043db5a705f94591273cbb975a77e721e4e0093bf4a037b869b9ffc7e2ed90ad84653c51dac87fc9612964e5a62c1822160358c25bdd25840eed0afc1e26b99e SHA512 02dc59a17618aedd99e5f1fefada5fcbcb1a95ccbeec925c21b17c81dda92ff8e9ffc0fcf702a90f68eb5aab62fd5a1d51c3e0770619a44cd77f21e8c602cf11
-EBUILD imagination-3.6.ebuild 868 BLAKE2B f635f621c4e41596c7cd001e195e1649d6a7f9692a0455b9283835f01951019c7f27069c0199dc26e3157de588160e467a59bc94cd6ef00ddda8af4642f315c5 SHA512 760523b728c18cd8381eaa037e4fea5a5725d9a02636c423021ba535d8dd33d72a7dcd1ae228123f4bba1f367a0dee189239a2a736ee8b9da32b0b414a04e1b0
+EBUILD imagination-3.6.ebuild 967 BLAKE2B 88d0a39675c1ad1bb6cee2df27b164e0f846d5f15b22d7c552c960b86fd4bfa155d0774cea20303fafa5068dac7ca674d22c2947f9d851e20793055a6aaab99f SHA512 c7d65d5b7ad89cbf8e068867cb820aa97af730db3a1a54a31e30c5e47fbf3390b1f9fe29f16c4540d371216dd7902111c7d166997f87fea1908c44470f3126a4
MISC metadata.xml 249 BLAKE2B fc87a15c81ffa3a74c326b64bc9a7cd57d053407734ca63b1c3211bb22520522549b16830ec787fcfd4f6494a3ae07faac117e1da6460804aee8d4b97d950820 SHA512 11d82d0f33dd66a691ce86adf94938b19ba1ddda75814cfbe4fa46bec59a5969aedbede7593fd54c28c8d032fbbe8f815e648fc26349cfb1f6edf43c51ab210f
diff --git a/media-video/imagination/imagination-3.6.ebuild b/media-video/imagination/imagination-3.6.ebuild
index cdaa8278caa5..c09c160a3638 100644
--- a/media-video/imagination/imagination-3.6.ebuild
+++ b/media-video/imagination/imagination-3.6.ebuild
@@ -24,6 +24,10 @@ RDEPEND="${DEPEND}
media-video/ffmpeg"
BDEPEND="dev-util/intltool"
+# restricting tests as they're no practical tests
+# to run ayway, see bug #935691
+RESTRICT="test"
+
PATCHES=(
"${FILESDIR}"/${P}-cflags.patch
"${FILESDIR}"/${PN}-3.0-fix-htmldir.patch
diff --git a/media-video/mkclean/Manifest b/media-video/mkclean/Manifest
index 898e905bf97b..dc2b7259955b 100644
--- a/media-video/mkclean/Manifest
+++ b/media-video/mkclean/Manifest
@@ -1,3 +1,3 @@
DIST mkclean-0.8.10.tar.bz2 764380 BLAKE2B 94ce2f7eda5865312e6fdc48b001d824b2216625c36a3a728dd78e93444e23a02e07cacb67281f97e77009e15348c99cdfab19f1c066c4b675c124373196fae9 SHA512 8e12ac906205b14c162f0fd29d9e1a56ee854e7946706adf22c3df40376ddeb2c23a02c499d8146aeafc945381eabb96e16ca33da1323dda5929a1fc1f337892
-EBUILD mkclean-0.8.10.ebuild 1062 BLAKE2B 361eef4e832426f474985bfd4e4728affa2654096e71a21bcbbc81864c06fdffb5af104c4d665d3e52b7ce7a1185ee7783f588422b485f39e66f43901d8f6047 SHA512 906710e27bbb95b8a21f396ef915c4d4772cc8c511df41c5079d64ad68983655edc142af90366368e315f88ea78e980822f933f5bba7dc0047e4a0617d832f85
+EBUILD mkclean-0.8.10-r1.ebuild 1284 BLAKE2B 37578e67587826ad47b2c85d305375093b3b00b4b1c0514bb6670f043ececcb923a3b25eca356cbcf97734f9302d57bbf4d54a602fb6d882185b9368aab82bf8 SHA512 bab9c66c19a7efd442826fb4f3634cd045344d6998510db0ca65eee8a63722e1106a5f7c7003a2df6c4e49bca6fddc37e72526a5d703d6939123c36ac197d6b2
MISC metadata.xml 948 BLAKE2B c47e59e7fc9562d77e7aff7a96bc5257f788a45aa8157b3435e4d310e3058e4acc9e936a600233b36dcc4353155ea6107cb2499a0c35b3f91757cd896f2623d6 SHA512 89187ce2ffeb99410d72ae37871b2346f5f38e0f7899c7ec01b9498a2b666b64c9551957587132abb5039e4b57782a68f36f90972481248fdb49569d13aa52df
diff --git a/media-video/mkclean/mkclean-0.8.10.ebuild b/media-video/mkclean/mkclean-0.8.10-r1.ebuild
index ffa8489edb8c..4e916bbb2f48 100644
--- a/media-video/mkclean/mkclean-0.8.10.ebuild
+++ b/media-video/mkclean/mkclean-0.8.10-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="mkclean is a command line tool to clean and optimize Matroska files"
HOMEPAGE="https://www.matroska.org/downloads/mkclean.html"
@@ -14,6 +14,14 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/861134
+ # https://github.com/Matroska-Org/foundation-source/issues/145
+ #
+ # Do not trust with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
tc-export CC CXX
emake -C corec/tools/coremake
diff --git a/media-video/vcsi/Manifest b/media-video/vcsi/Manifest
index 6ea16d7be766..003ca3115517 100644
--- a/media-video/vcsi/Manifest
+++ b/media-video/vcsi/Manifest
@@ -1,3 +1,3 @@
DIST vcsi-7.0.16-r1.tar.gz 36775 BLAKE2B 02d850c1a2bcf69387d3b3b9bfcddc0a34c746af88604f848bb567ba975763eecf03c122a0ee88ab68b3254f669a2133fb64cffb77270557034d9ceb8ffd7894 SHA512 1e9f77a2cd1f4fca0cf051ea6f0600d2307136d2adbe8b51b2a81371136fd3cac5ea2c18a1ac00ef7e85e10f536582224c613fbbfc7acf1b8eb70fdfb32b0889
-EBUILD vcsi-7.0.16.ebuild 804 BLAKE2B 548cfa8efb4c7f6703ad3102116cc257712c2598f59b70295c726120d951c46131827c3e0ed94b531f9c1e430e7046695b355049fe00e5d39a55e62fe28dc0ba SHA512 c01b71fd052ddb17203f843487ef46566c834af360b64294098b70a778fd3c767f0aac646385b5cbad9d1c82da1c4d70846bbab522683ca354477affa06d0873
+EBUILD vcsi-7.0.16.ebuild 804 BLAKE2B 572e4024e1683a23c748b977736a4e8c934267c46e3667c995b2654437e49d8b4a25709d3b2c8b8679ca60eaebbb282dbc9c0a23db0c4db29ae09352ce3afb07 SHA512 d4a938a5899b433739f33411348c628031ebf7ed0d63236fe0b868cbda82532775660c4f2674c7e99c278047cc023996e685f32f4b560953c79f6f20b38f2af2
MISC metadata.xml 360 BLAKE2B ce24ac556a68afcb83ed4743d9325e022db13f1a7822c48a12d04b1de0bdac9c007d133637a79db2543fa478b518ea2492e52de5f0eb70cdf8b84bb78d43e793 SHA512 e12514604784ae5f5de50c692fada83d0fe7a5735c5d21346f08303d74e0722427fa7c10caaf5c84fb03ff484227948d77c3429a35d3532eea67f7cd9e20f448
diff --git a/media-video/vcsi/vcsi-7.0.16.ebuild b/media-video/vcsi/vcsi-7.0.16.ebuild
index 70c52ec64f44..d855b6fb8cd1 100644
--- a/media-video/vcsi/vcsi-7.0.16.ebuild
+++ b/media-video/vcsi/vcsi-7.0.16.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
diff --git a/media-video/webcamoid/Manifest b/media-video/webcamoid/Manifest
index ad57f210f814..0de73a37e10d 100644
--- a/media-video/webcamoid/Manifest
+++ b/media-video/webcamoid/Manifest
@@ -1,6 +1,6 @@
DIST webcamoid-9.0.0.tar.gz 9257331 BLAKE2B df7044650c92fd1e557043e2a721079dcc2531a59fb9859c19e02f95bd091fb33cec5e69bbc323baf8c11faad404824f875afe643e9d21085d3496a78acc04f4 SHA512 0de39dc6a5bc3fb8d6477728d971bca933c57e354a6d041389b33c3e48ec7c7912007f6f87bc9be5db303f58ddc5143bb28dc1b475c9ca361f579e1532b515a4
DIST webcamoid-9.1.1.tar.gz 9288681 BLAKE2B 2444240c6ed90eac761c26860c2aabf2467578fec7eca1d488dad3adff63b1638525ff677c9f7d8a49971c9158f245b826390c45251697c7310fde32787998b4 SHA512 aebf413a358ee3397712d0a0935da0b4a8ae595019197450e1c2cd4ac33f9afc16e174ab06d0f8ca9c7fba25c6d71de14cbbdf36ad8f7bfb55428a432e06bb90
EBUILD webcamoid-9.0.0-r1.ebuild 1942 BLAKE2B 88c603e7ae76ac807729c680205698ec7eafb25dfe3b79c52c6d5d5c000b32d5ecedaa0aa4f2473083226b52e3819659ee74807a61420d7c8b5b754cf8216645 SHA512 1dc39423350cf0cbcfefa98fab112715375d53946c2e448c88df900a5ac1849c5df2abde8c6677c2263caabfd90716a7b18a491e82b2903bee925ae730d9c8b7
-EBUILD webcamoid-9.1.1.ebuild 2242 BLAKE2B de99d3c90f6a5f025d393d8ab2944131259667cf9b3ff82e531f370ef7411075c0495ce99142579f400a4b67347e9b234ab2233cb217a1d93a9a5beb7cedfabe SHA512 58d34e96d62245c9621d4aee99b970286854abc187307b398abefe9ed300c129255bac208e8f2811b1f9873963cef35b5ebd8448552603f877049fe15fa296c3
-EBUILD webcamoid-9999.ebuild 2242 BLAKE2B de99d3c90f6a5f025d393d8ab2944131259667cf9b3ff82e531f370ef7411075c0495ce99142579f400a4b67347e9b234ab2233cb217a1d93a9a5beb7cedfabe SHA512 58d34e96d62245c9621d4aee99b970286854abc187307b398abefe9ed300c129255bac208e8f2811b1f9873963cef35b5ebd8448552603f877049fe15fa296c3
+EBUILD webcamoid-9.1.1.ebuild 2370 BLAKE2B bab09ef659dc8b388bcda1e824767cefeac22a85c605e4b95c4977404a52765cfd64822e97dd3cb949a6c7a9a0a660ee68c58558d7ca4fc94a5fa8afdb64f037 SHA512 3a13460753f3da633b6d2dd9dca4e0ed618578abb9e298b6924175db89e1d9d001c12724002cef9c570551a4b2bf9ed2ed3a75c0a0cd3a85f587e129f251298b
+EBUILD webcamoid-9999.ebuild 2308 BLAKE2B 75204087fa0ed5370d587cf56400cf5241dc2dac9b348317001c0eda44c7585ffaf3d91069b553d4c7bbd3eb67d111a641bfda2ad56bba82b8149c5f2e203719 SHA512 a0ac94014bf839f2feed51c7a7c8581d36d33809e48751bcc4b5f9c5ebf1c7b0bb2a70b7ac7418734d0c47a26c1c26fb2371c3e4823f7c6e60d1735711610738
MISC metadata.xml 678 BLAKE2B 028401bc59fc788005dc114d893c2331d0ab12c26bc86492ea35285152e101e85ef6f51f500e870af5ffba6c5e35cf7fc31a2a70b5f060f326018e7c66a58e75 SHA512 73020b100d9863e747d9b8666c220768e850bb208ff1b4b258d6604cc3b00257bcb71b216d3276f747de14580bc5cd4515c93a097bffbe057ab26eeece0fae34
diff --git a/media-video/webcamoid/webcamoid-9.1.1.ebuild b/media-video/webcamoid/webcamoid-9.1.1.ebuild
index c539d8831d38..012242abe5a0 100644
--- a/media-video/webcamoid/webcamoid-9.1.1.ebuild
+++ b/media-video/webcamoid/webcamoid-9.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
DESCRIPTION="Full featured webcam capture application"
HOMEPAGE="https://webcamoid.github.io"
@@ -52,6 +52,11 @@ RDEPEND="${COMMON_DEPEND}
"
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/927104
+ # https://github.com/webcamoid/webcamoid/issues/702
+ filter-lto
+
#Disable git in package source. If not disabled the cmake configure process will show
#a lot of "fatal not a git repository" errors
sed -i 's|find_program(GIT_BIN git)|#find_program(GIT_BIN git)|' libAvKys/cmake/ProjectCommons.cmake || die
diff --git a/media-video/webcamoid/webcamoid-9999.ebuild b/media-video/webcamoid/webcamoid-9999.ebuild
index c539d8831d38..2bcfa8ebd343 100644
--- a/media-video/webcamoid/webcamoid-9999.ebuild
+++ b/media-video/webcamoid/webcamoid-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
DESCRIPTION="Full featured webcam capture application"
HOMEPAGE="https://webcamoid.github.io"
@@ -24,23 +24,16 @@ IUSE="alsa ffmpeg gstreamer jack libuvc oss portaudio pulseaudio qtaudio qtcamer
REQUIRED_USE="v4lutils? ( v4l )"
COMMON_DEPEND="
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtdeclarative:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtopengl:5
- dev-qt/qtquickcontrols2:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
+ dev-qt/qtbase:6[concurrent,dbus,gui,network,opengl,widgets]
+ dev-qt/qtdeclarative:6
+ dev-qt/qtsvg:6
ffmpeg? ( media-video/ffmpeg:= )
gstreamer? ( >=media-libs/gstreamer-1.6.0 )
jack? ( virtual/jack )
libuvc? ( media-libs/libuvc )
pulseaudio? ( media-libs/libpulse )
- qtaudio? ( dev-qt/qtmultimedia:5 )
- qtcamera? ( dev-qt/qtmultimedia:5 )
+ qtaudio? ( dev-qt/qtmultimedia:6 )
+ qtcamera? ( dev-qt/qtmultimedia:6 )
sdl? ( media-libs/libsdl2 )
v4l? ( media-libs/libv4l )
"
@@ -52,6 +45,11 @@ RDEPEND="${COMMON_DEPEND}
"
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/927104
+ # https://github.com/webcamoid/webcamoid/issues/702
+ filter-lto
+
#Disable git in package source. If not disabled the cmake configure process will show
#a lot of "fatal not a git repository" errors
sed -i 's|find_program(GIT_BIN git)|#find_program(GIT_BIN git)|' libAvKys/cmake/ProjectCommons.cmake || die
@@ -64,6 +62,7 @@ src_configure() {
"-DNOPIPEWIRE=1"
"-DNOPORTAUDIO=1" # PortAudio not packaged for gentoo
"-DNOALSA=$(usex alsa 0 1)"
+ "-DNOQTAUDIO=$(usex qtaudio 0 1)"
"-DNOQTCAMERA=$(usex qtcamera 0 1)"
"-DNOFFMPEG=$(usex ffmpeg 0 1)"
"-DNOGSTREAMER=$(usex gstreamer 0 1)"
diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest
index 83dc1cbba708..098f560fb7b0 100644
--- a/media-video/yle-dl/Manifest
+++ b/media-video/yle-dl/Manifest
@@ -1,3 +1,5 @@
DIST yle-dl-20240429.tar.gz 78464 BLAKE2B d42eaf30bb93125c00007072c1c96fbadccc755bbac3bd11599b58a7b5aad2b1fc0ab06aadfb83a3c66155f7fe1d271f54ad929ea3047758b8719987b74800fa SHA512 73a0eedbfafe97ab9c9857c088d309462e70f916de78be0d2b5399cec8ad50bee5701f0748d07e92dc2c3dca2a73273f367948dd7dd571dd022bce68bcc5f010
+DIST yle-dl-20240706.tar.gz 78964 BLAKE2B 5ed0a9ba391853566c3abbbd88d6fcce33c7f7e88183e89f3c272f6cae6c519ff272f648934e8fa58e0a7d59f87677189e14f1532cbadbbd6f73312810b4994e SHA512 c54a99bfa1ff71296e4ae40cb62408338942144e60f8df25fa8e7a9d53ff8d3c61e0b3c85e8404c716a18f54986e242b72dd4424c65ffe24f2ea4b128f7cf27a
EBUILD yle-dl-20240429.ebuild 1645 BLAKE2B dfaf08491d68989ca75e38acb9affe10072e6a63ef1ff220223a9bf3cbf8c72bb0b21bb30cf7f93927d1cb81774f09c7501267f7f0f229eb331bb32268c575d3 SHA512 be707b7dc0923fe99fbe35de6f1fdec25697691b0e9ac280cc4eb0ec38283f57ad57e423209ef641ddb22df6e3d1d8b453d4acfbdce16bbed068c6ce03bf2fcc
+EBUILD yle-dl-20240706.ebuild 1647 BLAKE2B bac141003962b789c48bb03d917ee0d0b300b6aff7421c5a85487bbd0df688f6c08beb81119d2cdb6e64b8868424ec48569d2b8f7d10ed3e8e630ba12aa08ef5 SHA512 deffc77072dc064daf0a1982997e408ea4e12dc8d29ab141f81fdd971f5a25e7a718c39fff6d158ee07b53a0376de4beeffcfd0df9a4c82afb7a38a9faaa13a1
MISC metadata.xml 363 BLAKE2B b27761ed00c4849b5e9a0c51fdf699ab7e1589acc017be236339e8e5044fbe05ad62ad8c7104f6e9e43de0779ad6f9f3fe4144fc57376d87d0304f7c7c3fe7cf SHA512 1b061009279fcf8271bec4958ddb93d93e1455686e42d623a64ef51a65e4f852d23873c59d5e547bbf66d6c596f542fd29f78de5c7b33f484918b01beb76dc92
diff --git a/media-video/yle-dl/yle-dl-20240706.ebuild b/media-video/yle-dl/yle-dl-20240706.ebuild
new file mode 100644
index 000000000000..b64611d3bbe0
--- /dev/null
+++ b/media-video/yle-dl/yle-dl-20240706.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=flit
+
+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/yle-dl/archive/refs/tags/${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.md README.sv.md README.md yledl.conf.sample )
+
+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 "automatically detect filesystems that require restricted character sets" dev-python/psutil
+ optfeature "store metadata as extended file attributes" dev-python/pyxattr
+ optfeature "youtube-dl download engine" net-misc/yt-dlp
+}