diff options
Diffstat (limited to 'media-tv')
27 files changed, 651 insertions, 752 deletions
diff --git a/media-tv/Manifest.gz b/media-tv/Manifest.gz Binary files differindex 7e0c3596e2ff..6dc8af319c8e 100644 --- a/media-tv/Manifest.gz +++ b/media-tv/Manifest.gz diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest index 142243532097..6e2466ec8833 100644 --- a/media-tv/kodi/Manifest +++ b/media-tv/kodi/Manifest @@ -1,9 +1,9 @@ DIST ffmpeg-kodi-4.3.1-Matrix-Beta1.tar.gz 13477440 BLAKE2B 49415f76fd2a888b0efadb19597bd89db65c3d9e1224ab529ff0d73ab5734a23982b4d4905ddeb105ce59a816c4642cdb9f5568b0c39c29f5fb9431f9623d4ec SHA512 ce43390e816dabeed4ca231f5f7adade6c721c38e17996a57810fb6025ea49b812133c2a6e29aac7c674d4e4af3a21dbd7e605d85fb966935a01bda983b884ac -DIST kodi-19.0RC1.tar.gz 52332966 BLAKE2B 305793e2a5f16f07853a82e8f1953a56baa4159c9eee762aee40e8b6692c317cb83e7713d99cbb767cff0c1ac2a2d8bfc3837525d8ad4c854f114f900ebdb294 SHA512 c00d73d46f949eace856f762f9bd2b854e4c8db271366a54c26e18a9b960e04b26f2d4344656be18c79cfa42dfdffc6cd75e4df941268ca9bcfa17f4a987fc81 +DIST kodi-19.0.tar.gz 52311355 BLAKE2B 543936b8fb607d1d629a8f2abd9cd0cb3bf6114aa93647c7e8ccee2f99ff1f84a2740bb57f0cbf675b3efa5914e98c57effb28ecd8e9df83a39d67ee708280a2 SHA512 d6c9fe7414b64d33d919d6c3de1ddb4800e36b786a460d2d2f5c1e5346cd4819487e54f212c37778103d44dd051f7df6c74e0a98a0b21d1e4dc9bedaa8570422 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da SHA512 5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355 SHA512 11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72 DIST libdvdread-6.0.0-Leia-Alpha-3.tar.gz 130649 BLAKE2B 0c206acdaf0776841ab792c74e023af07d9539eb72e03ae164382a31ed950f60e5e15f1d055979d28f1398924471b294d11f064b11b8373353b3962a3777ff3c SHA512 b3419ba0a1a2dd70f1bb6236afdfe1c6e88c9ad4264198b289e3bba9375e077cecf7f89848c7b09debaa445327f3507101f3d157e692f7a7163b2bb52643e1e7 -EBUILD kodi-19.0_rc1-r2.ebuild 10298 BLAKE2B 7661224d6b58c9be818f63fb8f25e5f71029045d58f40e42808fd963c403127f30924e145947d127df4d18d940954134f118aad2b1bdc453ad0cbe089c5f49d1 SHA512 e8b9a1ecdd2fb6b81f2c04c64e8f6d485d52aaab567fd1ddac54a73d740640f17d2ac43b27860564183f643bb9c80b577e6846dbb5e62adb8d5c2f764f76ec21 -EBUILD kodi-19.9999.ebuild 10298 BLAKE2B 7661224d6b58c9be818f63fb8f25e5f71029045d58f40e42808fd963c403127f30924e145947d127df4d18d940954134f118aad2b1bdc453ad0cbe089c5f49d1 SHA512 e8b9a1ecdd2fb6b81f2c04c64e8f6d485d52aaab567fd1ddac54a73d740640f17d2ac43b27860564183f643bb9c80b577e6846dbb5e62adb8d5c2f764f76ec21 -EBUILD kodi-9999.ebuild 10298 BLAKE2B 7661224d6b58c9be818f63fb8f25e5f71029045d58f40e42808fd963c403127f30924e145947d127df4d18d940954134f118aad2b1bdc453ad0cbe089c5f49d1 SHA512 e8b9a1ecdd2fb6b81f2c04c64e8f6d485d52aaab567fd1ddac54a73d740640f17d2ac43b27860564183f643bb9c80b577e6846dbb5e62adb8d5c2f764f76ec21 -MISC metadata.xml 2049 BLAKE2B 0cea6e04954a26b69e8a5c76c4e40b72e66d53df51f6565497db18ef92c3711105d2e0dff441cf7a25ae9ca308b8e78d917111d6f7c3d519841cbfd7b04d530d SHA512 5fe5d82b46e4f02d52e3b4d3d8b6f1d0f985cdcca22e0ca5fe7d0df2a2381bac8903a4957af4af54278f4dd8dc253e629e326382fdaf6f3f04922eab8cee1c22 +EBUILD kodi-19.0.ebuild 10993 BLAKE2B b6a7569f8d957ac23d20365539f3c7e18b54a9daf02c679ea7b47b4363bd8780d80f23812a99b105d9d1fe42b85895fac25522393b0d257341ea8abaa602d073 SHA512 334e4c773a029b2d8b723f64ba0ec00b5feb1d14e1bbd798d6bf5cabb1f24d3c7ca57f6395dc7c3c6e388fd7c55651b8e586b246660abb23279d6227e361d065 +EBUILD kodi-19.9999.ebuild 10993 BLAKE2B b6a7569f8d957ac23d20365539f3c7e18b54a9daf02c679ea7b47b4363bd8780d80f23812a99b105d9d1fe42b85895fac25522393b0d257341ea8abaa602d073 SHA512 334e4c773a029b2d8b723f64ba0ec00b5feb1d14e1bbd798d6bf5cabb1f24d3c7ca57f6395dc7c3c6e388fd7c55651b8e586b246660abb23279d6227e361d065 +EBUILD kodi-9999.ebuild 10971 BLAKE2B 921863fe8859275dbefe33f282352ee8e1b0f0eae6e0132bd9cd29165338f52a00fab498310663660b5cc542b669356a195c4119717557a2acec8e2b9a0ab7ac SHA512 1cba85287830d14262d627fb06fde06f8213ad194576cb797a7289b3d35145b464f90b00857f6e9aa6734703b8cb640d0ae8d66a2e03f06fea3526e1cda23f3e +MISC metadata.xml 2707 BLAKE2B 647da6ee38f710be18a87b3b3267dddcbe1f4e23f3008a73f6d800e8c765a58dbdcf4b0ec165aa45be843276712b5a1feee5754b8553a43ba149993702cf2252 SHA512 04ad8ecd819f0c7779bdac2860bf31f89b7308c633c527a9f70600bfb1d82681874d4304c59f394a91c18fdac1441e5d97dee2ab81ace1589985c0c422a672b0 diff --git a/media-tv/kodi/kodi-19.0_rc1-r2.ebuild b/media-tv/kodi/kodi-19.0.ebuild index cb070312eded..0c01abfd0056 100644 --- a/media-tv/kodi/kodi-19.0_rc1-r2.ebuild +++ b/media-tv/kodi/kodi-19.0.ebuild @@ -17,6 +17,7 @@ SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz - !system-ffmpeg? ( https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )" if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/xbmc/xbmc.git" + EGIT_BRANCH="Matrix" inherit git-r3 else MY_PV=${PV/_p/_r} @@ -39,11 +40,10 @@ SLOT="0" # use flag is called libusb so that it doesn't fool people in thinking that # it is _required_ for USB support. Otherwise they'll disable udev and # that's going to be worse. -IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" +IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus eventclients gbm gles lcms libressl libusb lirc mariadb mysql nfs +optical power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" IUSE="${IUSE} cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_arm_neon" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} - || ( gles opengl ) || ( gbm wayland X ) ?? ( mariadb mysql ) bluray? ( udf ) @@ -51,10 +51,22 @@ REQUIRED_USE=" udisks? ( dbus ) upower? ( dbus ) power-control? ( dbus ) + vdpau? ( + X + !gles + !gbm + ) + zeroconf? ( dbus ) " RESTRICT="!test? ( test )" -COMMON_DEPEND="${PYTHON_DEPS} +COMMON_DEPEND=" + >=dev-libs/lzo-2.04 + >=dev-libs/flatbuffers-1.11.0 + >=media-libs/libjpeg-turbo-2.0.4:= + >=media-libs/libpng-1.6.26:0= +" +COMMON_TARGET_DEPEND="${PYTHON_DEPS} airplay? ( >=app-pda/libplist-2.0.0 net-libs/shairplay @@ -65,14 +77,10 @@ COMMON_DEPEND="${PYTHON_DEPS} caps? ( sys-libs/libcap ) dbus? ( sys-apps/dbus ) dev-db/sqlite - dev-libs/expat - >=dev-libs/flatbuffers-1.11.0 + dev-libs/crossguid >=dev-libs/fribidi-1.0.5 cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] ) dev-libs/libpcre[cxx] - >=dev-libs/libinput-1.10.5 - >=dev-libs/libxml2-2.9.4 - >=dev-libs/lzo-2.04 >=dev-libs/spdlog-1.5.0:= dev-libs/tinyxml[stl] $(python_gen_cond_dep ' @@ -82,7 +90,11 @@ COMMON_DEPEND="${PYTHON_DEPS} >=dev-libs/libcdio-2.1.0[cxx] >=dev-libs/libfmt-6.1.2 dev-libs/libfstrcmp - gbm? ( media-libs/mesa[gbm] ) + gbm? ( + >=dev-libs/libinput-1.10.5 + media-libs/mesa[gbm] + x11-libs/libxkbcommon + ) gles? ( !raspberry-pi? ( media-libs/mesa[gles2] ) ) @@ -90,7 +102,6 @@ COMMON_DEPEND="${PYTHON_DEPS} libusb? ( virtual/libusb:1 ) virtual/ttf-fonts media-fonts/roboto - >=media-libs/fontconfig-2.13.1 >=media-libs/freetype-2.10.1 >=media-libs/libass-0.13.4 !raspberry-pi? ( media-libs/mesa[egl] ) @@ -100,12 +111,15 @@ COMMON_DEPEND="${PYTHON_DEPS} libressl? ( media-video/ffmpeg[libressl,-openssl] ) !libressl? ( media-video/ffmpeg[-libressl,openssl] ) ) - !system-ffmpeg? ( dav1d? ( media-libs/dav1d ) ) + !system-ffmpeg? ( + app-arch/bzip2 + dav1d? ( media-libs/dav1d ) + ) mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= ) >=net-misc/curl-7.68.0[http2] nfs? ( >=net-fs/libnfs-2.0.0:= ) - opengl? ( media-libs/glu ) + !gles? ( media-libs/glu ) !libressl? ( >=dev-libs/openssl-1.0.2l:0= ) libressl? ( dev-libs/libressl:0= ) raspberry-pi? ( @@ -118,7 +132,7 @@ COMMON_DEPEND="${PYTHON_DEPS} udev? ( virtual/udev ) vaapi? ( x11-libs/libva:= - opengl? ( x11-libs/libva[opengl] ) + !gles? ( x11-libs/libva[opengl] ) system-ffmpeg? ( media-video/ffmpeg[vaapi] ) vdpau? ( x11-libs/libva[vdpau] ) wayland? ( x11-libs/libva[wayland] ) @@ -133,41 +147,43 @@ COMMON_DEPEND="${PYTHON_DEPS} >=dev-cpp/waylandpp-0.2.3:= media-libs/mesa[wayland] >=dev-libs/wayland-protocols-1.7 + >=x11-libs/libxkbcommon-0.4.1 ) webserver? ( >=net-libs/libmicrohttpd-0.9.55[messages(+)] ) X? ( media-libs/mesa[X] + !gles? ( media-libs/libglvnd[X] ) x11-libs/libX11 x11-libs/libXrandr x11-libs/libXrender system-ffmpeg? ( media-video/ffmpeg[X] ) ) x11-libs/libdrm - >=x11-libs/libxkbcommon-0.4.1 - xslt? ( dev-libs/libxslt ) + xslt? ( + dev-libs/libxslt + >=dev-libs/libxml2-2.9.4 + ) zeroconf? ( net-dns/avahi[dbus] ) " -RDEPEND="${COMMON_DEPEND} +RDEPEND="${COMMON_DEPEND} ${COMMON_TARGET_DEPEND} lirc? ( app-misc/lirc ) power-control? ( || ( sys-apps/systemd sys-auth/elogind ) ) udisks? ( sys-fs/udisks:2 ) upower? ( sys-power/upower ) " -DEPEND="${COMMON_DEPEND} - app-arch/bzip2 - app-arch/xz-utils - dev-lang/swig - dev-libs/crossguid +DEPEND="${COMMON_DEPEND} ${COMMON_TARGET_DEPEND} dev-libs/rapidjson + test? ( >=dev-cpp/gtest-1.10.0 ) +" +BDEPEND="${COMMON_DEPEND} + dev-lang/swig dev-util/cmake - dev-util/gperf media-libs/giflib + >=dev-libs/flatbuffers-1.11.0 >=media-libs/libjpeg-turbo-2.0.4:= >=media-libs/libpng-1.6.26:0= - test? ( >=dev-cpp/gtest-1.10.0 ) virtual/pkgconfig virtual/jre - x86? ( dev-lang/nasm ) " CONFIG_CHECK="~IP_MULTICAST" @@ -242,10 +258,14 @@ src_configure() { -DENABLE_BLUETOOTH=$(usex bluetooth) -DENABLE_BLURAY=$(usex bluray) -DENABLE_CCACHE=OFF - -DENABLE_ISO9660PP=ON + -DENABLE_CLANGFORMAT=OFF + -DENABLE_CLANGTIDY=OFF + -DENABLE_CPPCHECK=OFF + -DENABLE_ISO9660PP=$(usex optical) -DENABLE_CEC=$(usex cec) -DENABLE_DBUS=$(usex dbus) -DENABLE_DVDCSS=$(usex css) + -DENABLE_EVENTCLIENTS=ON # alway enable to have 'kodi-send' and filter extra staff in 'src_install()' -DENABLE_INTERNAL_CROSSGUID=OFF -DENABLE_INTERNAL_RapidJSON=OFF -DENABLE_INTERNAL_FMT=OFF @@ -265,8 +285,8 @@ src_configure() { -DENABLE_MYSQLCLIENT=$(usex mysql) -DENABLE_NFS=$(usex nfs) -DENABLE_OPENGLES=$(usex gles) - -DENABLE_OPENGL=$(usex opengl) - -DENABLE_OPTICAL=$(usex dvd) + -DENABLE_OPENGL=$(usex !gles) + -DENABLE_OPTICAL=$(usex optical) -DENABLE_PLIST=$(usex airplay) -DENABLE_PULSEAUDIO=$(usex pulseaudio) -DENABLE_SMBCLIENT=$(usex samba) @@ -283,11 +303,13 @@ src_configure() { -Dlibdvdcss_URL="${DISTDIR}/libdvdcss-${LIBDVDCSS_VERSION}.tar.gz" -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" -DPYTHON_LIBRARY="$(python_get_library_path)" - -DAPP_RENDER_SYSTEM="$(usex opengl gl gles)" + -DAPP_RENDER_SYSTEM="$(usex gles gles gl)" -DCORE_PLATFORM_NAME="${core_platform_name}" ) - use libusb && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) ) + use !udev && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) ) + + use X && use !gles && mycmakeargs+=( -DENABLE_GLX=ON ) if use system-ffmpeg; then mycmakeargs+=( -DWITH_FFMPEG="yes" ) @@ -323,6 +345,13 @@ src_install() { dosym ../../../../fonts/roboto/Roboto-Thin.ttf \ usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf - python_domodule tools/EventClients/lib/python/xbmcclient.py - python_newscript "tools/EventClients/Clients/KodiSend/kodi-send.py" kodi-send + if use !eventclients ; then + rm -f "${ED}"/usr/bin/kodi-ps3remote || die + rm -f "${D}"$(python_get_sitedir)/kodi/ps3_remote.py || die + rm -rf "${D}"$(python_get_sitedir)/kodi/ps3 || die + rm -rf "${D}"$(python_get_sitedir)/kodi/bt || die + rm -rf "${ED}"/usr/share/doc/${PF}/kodi-eventclients-dev || die + fi + + python_optimize "${D}$(python_get_sitedir)" } diff --git a/media-tv/kodi/kodi-19.9999.ebuild b/media-tv/kodi/kodi-19.9999.ebuild index cb070312eded..0c01abfd0056 100644 --- a/media-tv/kodi/kodi-19.9999.ebuild +++ b/media-tv/kodi/kodi-19.9999.ebuild @@ -17,6 +17,7 @@ SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz - !system-ffmpeg? ( https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )" if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/xbmc/xbmc.git" + EGIT_BRANCH="Matrix" inherit git-r3 else MY_PV=${PV/_p/_r} @@ -39,11 +40,10 @@ SLOT="0" # use flag is called libusb so that it doesn't fool people in thinking that # it is _required_ for USB support. Otherwise they'll disable udev and # that's going to be worse. -IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" +IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus eventclients gbm gles lcms libressl libusb lirc mariadb mysql nfs +optical power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" IUSE="${IUSE} cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_arm_neon" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} - || ( gles opengl ) || ( gbm wayland X ) ?? ( mariadb mysql ) bluray? ( udf ) @@ -51,10 +51,22 @@ REQUIRED_USE=" udisks? ( dbus ) upower? ( dbus ) power-control? ( dbus ) + vdpau? ( + X + !gles + !gbm + ) + zeroconf? ( dbus ) " RESTRICT="!test? ( test )" -COMMON_DEPEND="${PYTHON_DEPS} +COMMON_DEPEND=" + >=dev-libs/lzo-2.04 + >=dev-libs/flatbuffers-1.11.0 + >=media-libs/libjpeg-turbo-2.0.4:= + >=media-libs/libpng-1.6.26:0= +" +COMMON_TARGET_DEPEND="${PYTHON_DEPS} airplay? ( >=app-pda/libplist-2.0.0 net-libs/shairplay @@ -65,14 +77,10 @@ COMMON_DEPEND="${PYTHON_DEPS} caps? ( sys-libs/libcap ) dbus? ( sys-apps/dbus ) dev-db/sqlite - dev-libs/expat - >=dev-libs/flatbuffers-1.11.0 + dev-libs/crossguid >=dev-libs/fribidi-1.0.5 cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] ) dev-libs/libpcre[cxx] - >=dev-libs/libinput-1.10.5 - >=dev-libs/libxml2-2.9.4 - >=dev-libs/lzo-2.04 >=dev-libs/spdlog-1.5.0:= dev-libs/tinyxml[stl] $(python_gen_cond_dep ' @@ -82,7 +90,11 @@ COMMON_DEPEND="${PYTHON_DEPS} >=dev-libs/libcdio-2.1.0[cxx] >=dev-libs/libfmt-6.1.2 dev-libs/libfstrcmp - gbm? ( media-libs/mesa[gbm] ) + gbm? ( + >=dev-libs/libinput-1.10.5 + media-libs/mesa[gbm] + x11-libs/libxkbcommon + ) gles? ( !raspberry-pi? ( media-libs/mesa[gles2] ) ) @@ -90,7 +102,6 @@ COMMON_DEPEND="${PYTHON_DEPS} libusb? ( virtual/libusb:1 ) virtual/ttf-fonts media-fonts/roboto - >=media-libs/fontconfig-2.13.1 >=media-libs/freetype-2.10.1 >=media-libs/libass-0.13.4 !raspberry-pi? ( media-libs/mesa[egl] ) @@ -100,12 +111,15 @@ COMMON_DEPEND="${PYTHON_DEPS} libressl? ( media-video/ffmpeg[libressl,-openssl] ) !libressl? ( media-video/ffmpeg[-libressl,openssl] ) ) - !system-ffmpeg? ( dav1d? ( media-libs/dav1d ) ) + !system-ffmpeg? ( + app-arch/bzip2 + dav1d? ( media-libs/dav1d ) + ) mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= ) >=net-misc/curl-7.68.0[http2] nfs? ( >=net-fs/libnfs-2.0.0:= ) - opengl? ( media-libs/glu ) + !gles? ( media-libs/glu ) !libressl? ( >=dev-libs/openssl-1.0.2l:0= ) libressl? ( dev-libs/libressl:0= ) raspberry-pi? ( @@ -118,7 +132,7 @@ COMMON_DEPEND="${PYTHON_DEPS} udev? ( virtual/udev ) vaapi? ( x11-libs/libva:= - opengl? ( x11-libs/libva[opengl] ) + !gles? ( x11-libs/libva[opengl] ) system-ffmpeg? ( media-video/ffmpeg[vaapi] ) vdpau? ( x11-libs/libva[vdpau] ) wayland? ( x11-libs/libva[wayland] ) @@ -133,41 +147,43 @@ COMMON_DEPEND="${PYTHON_DEPS} >=dev-cpp/waylandpp-0.2.3:= media-libs/mesa[wayland] >=dev-libs/wayland-protocols-1.7 + >=x11-libs/libxkbcommon-0.4.1 ) webserver? ( >=net-libs/libmicrohttpd-0.9.55[messages(+)] ) X? ( media-libs/mesa[X] + !gles? ( media-libs/libglvnd[X] ) x11-libs/libX11 x11-libs/libXrandr x11-libs/libXrender system-ffmpeg? ( media-video/ffmpeg[X] ) ) x11-libs/libdrm - >=x11-libs/libxkbcommon-0.4.1 - xslt? ( dev-libs/libxslt ) + xslt? ( + dev-libs/libxslt + >=dev-libs/libxml2-2.9.4 + ) zeroconf? ( net-dns/avahi[dbus] ) " -RDEPEND="${COMMON_DEPEND} +RDEPEND="${COMMON_DEPEND} ${COMMON_TARGET_DEPEND} lirc? ( app-misc/lirc ) power-control? ( || ( sys-apps/systemd sys-auth/elogind ) ) udisks? ( sys-fs/udisks:2 ) upower? ( sys-power/upower ) " -DEPEND="${COMMON_DEPEND} - app-arch/bzip2 - app-arch/xz-utils - dev-lang/swig - dev-libs/crossguid +DEPEND="${COMMON_DEPEND} ${COMMON_TARGET_DEPEND} dev-libs/rapidjson + test? ( >=dev-cpp/gtest-1.10.0 ) +" +BDEPEND="${COMMON_DEPEND} + dev-lang/swig dev-util/cmake - dev-util/gperf media-libs/giflib + >=dev-libs/flatbuffers-1.11.0 >=media-libs/libjpeg-turbo-2.0.4:= >=media-libs/libpng-1.6.26:0= - test? ( >=dev-cpp/gtest-1.10.0 ) virtual/pkgconfig virtual/jre - x86? ( dev-lang/nasm ) " CONFIG_CHECK="~IP_MULTICAST" @@ -242,10 +258,14 @@ src_configure() { -DENABLE_BLUETOOTH=$(usex bluetooth) -DENABLE_BLURAY=$(usex bluray) -DENABLE_CCACHE=OFF - -DENABLE_ISO9660PP=ON + -DENABLE_CLANGFORMAT=OFF + -DENABLE_CLANGTIDY=OFF + -DENABLE_CPPCHECK=OFF + -DENABLE_ISO9660PP=$(usex optical) -DENABLE_CEC=$(usex cec) -DENABLE_DBUS=$(usex dbus) -DENABLE_DVDCSS=$(usex css) + -DENABLE_EVENTCLIENTS=ON # alway enable to have 'kodi-send' and filter extra staff in 'src_install()' -DENABLE_INTERNAL_CROSSGUID=OFF -DENABLE_INTERNAL_RapidJSON=OFF -DENABLE_INTERNAL_FMT=OFF @@ -265,8 +285,8 @@ src_configure() { -DENABLE_MYSQLCLIENT=$(usex mysql) -DENABLE_NFS=$(usex nfs) -DENABLE_OPENGLES=$(usex gles) - -DENABLE_OPENGL=$(usex opengl) - -DENABLE_OPTICAL=$(usex dvd) + -DENABLE_OPENGL=$(usex !gles) + -DENABLE_OPTICAL=$(usex optical) -DENABLE_PLIST=$(usex airplay) -DENABLE_PULSEAUDIO=$(usex pulseaudio) -DENABLE_SMBCLIENT=$(usex samba) @@ -283,11 +303,13 @@ src_configure() { -Dlibdvdcss_URL="${DISTDIR}/libdvdcss-${LIBDVDCSS_VERSION}.tar.gz" -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" -DPYTHON_LIBRARY="$(python_get_library_path)" - -DAPP_RENDER_SYSTEM="$(usex opengl gl gles)" + -DAPP_RENDER_SYSTEM="$(usex gles gles gl)" -DCORE_PLATFORM_NAME="${core_platform_name}" ) - use libusb && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) ) + use !udev && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) ) + + use X && use !gles && mycmakeargs+=( -DENABLE_GLX=ON ) if use system-ffmpeg; then mycmakeargs+=( -DWITH_FFMPEG="yes" ) @@ -323,6 +345,13 @@ src_install() { dosym ../../../../fonts/roboto/Roboto-Thin.ttf \ usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf - python_domodule tools/EventClients/lib/python/xbmcclient.py - python_newscript "tools/EventClients/Clients/KodiSend/kodi-send.py" kodi-send + if use !eventclients ; then + rm -f "${ED}"/usr/bin/kodi-ps3remote || die + rm -f "${D}"$(python_get_sitedir)/kodi/ps3_remote.py || die + rm -rf "${D}"$(python_get_sitedir)/kodi/ps3 || die + rm -rf "${D}"$(python_get_sitedir)/kodi/bt || die + rm -rf "${ED}"/usr/share/doc/${PF}/kodi-eventclients-dev || die + fi + + python_optimize "${D}$(python_get_sitedir)" } diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index cb070312eded..234e0adf22e4 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -39,11 +39,10 @@ SLOT="0" # use flag is called libusb so that it doesn't fool people in thinking that # it is _required_ for USB support. Otherwise they'll disable udev and # that's going to be worse. -IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" +IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus eventclients gbm gles lcms libressl libusb lirc mariadb mysql nfs +optical power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" IUSE="${IUSE} cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_arm_neon" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} - || ( gles opengl ) || ( gbm wayland X ) ?? ( mariadb mysql ) bluray? ( udf ) @@ -51,10 +50,22 @@ REQUIRED_USE=" udisks? ( dbus ) upower? ( dbus ) power-control? ( dbus ) + vdpau? ( + X + !gles + !gbm + ) + zeroconf? ( dbus ) " RESTRICT="!test? ( test )" -COMMON_DEPEND="${PYTHON_DEPS} +COMMON_DEPEND=" + >=dev-libs/lzo-2.04 + >=dev-libs/flatbuffers-1.11.0 + >=media-libs/libjpeg-turbo-2.0.4:= + >=media-libs/libpng-1.6.26:0= +" +COMMON_TARGET_DEPEND="${PYTHON_DEPS} airplay? ( >=app-pda/libplist-2.0.0 net-libs/shairplay @@ -65,14 +76,10 @@ COMMON_DEPEND="${PYTHON_DEPS} caps? ( sys-libs/libcap ) dbus? ( sys-apps/dbus ) dev-db/sqlite - dev-libs/expat - >=dev-libs/flatbuffers-1.11.0 + dev-libs/crossguid >=dev-libs/fribidi-1.0.5 cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] ) dev-libs/libpcre[cxx] - >=dev-libs/libinput-1.10.5 - >=dev-libs/libxml2-2.9.4 - >=dev-libs/lzo-2.04 >=dev-libs/spdlog-1.5.0:= dev-libs/tinyxml[stl] $(python_gen_cond_dep ' @@ -82,7 +89,11 @@ COMMON_DEPEND="${PYTHON_DEPS} >=dev-libs/libcdio-2.1.0[cxx] >=dev-libs/libfmt-6.1.2 dev-libs/libfstrcmp - gbm? ( media-libs/mesa[gbm] ) + gbm? ( + >=dev-libs/libinput-1.10.5 + media-libs/mesa[gbm] + x11-libs/libxkbcommon + ) gles? ( !raspberry-pi? ( media-libs/mesa[gles2] ) ) @@ -90,7 +101,6 @@ COMMON_DEPEND="${PYTHON_DEPS} libusb? ( virtual/libusb:1 ) virtual/ttf-fonts media-fonts/roboto - >=media-libs/fontconfig-2.13.1 >=media-libs/freetype-2.10.1 >=media-libs/libass-0.13.4 !raspberry-pi? ( media-libs/mesa[egl] ) @@ -100,12 +110,15 @@ COMMON_DEPEND="${PYTHON_DEPS} libressl? ( media-video/ffmpeg[libressl,-openssl] ) !libressl? ( media-video/ffmpeg[-libressl,openssl] ) ) - !system-ffmpeg? ( dav1d? ( media-libs/dav1d ) ) + !system-ffmpeg? ( + app-arch/bzip2 + dav1d? ( media-libs/dav1d ) + ) mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= ) >=net-misc/curl-7.68.0[http2] nfs? ( >=net-fs/libnfs-2.0.0:= ) - opengl? ( media-libs/glu ) + !gles? ( media-libs/glu ) !libressl? ( >=dev-libs/openssl-1.0.2l:0= ) libressl? ( dev-libs/libressl:0= ) raspberry-pi? ( @@ -118,7 +131,7 @@ COMMON_DEPEND="${PYTHON_DEPS} udev? ( virtual/udev ) vaapi? ( x11-libs/libva:= - opengl? ( x11-libs/libva[opengl] ) + !gles? ( x11-libs/libva[opengl] ) system-ffmpeg? ( media-video/ffmpeg[vaapi] ) vdpau? ( x11-libs/libva[vdpau] ) wayland? ( x11-libs/libva[wayland] ) @@ -133,41 +146,43 @@ COMMON_DEPEND="${PYTHON_DEPS} >=dev-cpp/waylandpp-0.2.3:= media-libs/mesa[wayland] >=dev-libs/wayland-protocols-1.7 + >=x11-libs/libxkbcommon-0.4.1 ) webserver? ( >=net-libs/libmicrohttpd-0.9.55[messages(+)] ) X? ( media-libs/mesa[X] + !gles? ( media-libs/libglvnd[X] ) x11-libs/libX11 x11-libs/libXrandr x11-libs/libXrender system-ffmpeg? ( media-video/ffmpeg[X] ) ) x11-libs/libdrm - >=x11-libs/libxkbcommon-0.4.1 - xslt? ( dev-libs/libxslt ) + xslt? ( + dev-libs/libxslt + >=dev-libs/libxml2-2.9.4 + ) zeroconf? ( net-dns/avahi[dbus] ) " -RDEPEND="${COMMON_DEPEND} +RDEPEND="${COMMON_DEPEND} ${COMMON_TARGET_DEPEND} lirc? ( app-misc/lirc ) power-control? ( || ( sys-apps/systemd sys-auth/elogind ) ) udisks? ( sys-fs/udisks:2 ) upower? ( sys-power/upower ) " -DEPEND="${COMMON_DEPEND} - app-arch/bzip2 - app-arch/xz-utils - dev-lang/swig - dev-libs/crossguid +DEPEND="${COMMON_DEPEND} ${COMMON_TARGET_DEPEND} dev-libs/rapidjson + test? ( >=dev-cpp/gtest-1.10.0 ) +" +BDEPEND="${COMMON_DEPEND} + dev-lang/swig dev-util/cmake - dev-util/gperf media-libs/giflib + >=dev-libs/flatbuffers-1.11.0 >=media-libs/libjpeg-turbo-2.0.4:= >=media-libs/libpng-1.6.26:0= - test? ( >=dev-cpp/gtest-1.10.0 ) virtual/pkgconfig virtual/jre - x86? ( dev-lang/nasm ) " CONFIG_CHECK="~IP_MULTICAST" @@ -242,10 +257,14 @@ src_configure() { -DENABLE_BLUETOOTH=$(usex bluetooth) -DENABLE_BLURAY=$(usex bluray) -DENABLE_CCACHE=OFF - -DENABLE_ISO9660PP=ON + -DENABLE_CLANGFORMAT=OFF + -DENABLE_CLANGTIDY=OFF + -DENABLE_CPPCHECK=OFF + -DENABLE_ISO9660PP=$(usex optical) -DENABLE_CEC=$(usex cec) -DENABLE_DBUS=$(usex dbus) -DENABLE_DVDCSS=$(usex css) + -DENABLE_EVENTCLIENTS=ON # alway enable to have 'kodi-send' and filter extra staff in 'src_install()' -DENABLE_INTERNAL_CROSSGUID=OFF -DENABLE_INTERNAL_RapidJSON=OFF -DENABLE_INTERNAL_FMT=OFF @@ -265,8 +284,8 @@ src_configure() { -DENABLE_MYSQLCLIENT=$(usex mysql) -DENABLE_NFS=$(usex nfs) -DENABLE_OPENGLES=$(usex gles) - -DENABLE_OPENGL=$(usex opengl) - -DENABLE_OPTICAL=$(usex dvd) + -DENABLE_OPENGL=$(usex !gles) + -DENABLE_OPTICAL=$(usex optical) -DENABLE_PLIST=$(usex airplay) -DENABLE_PULSEAUDIO=$(usex pulseaudio) -DENABLE_SMBCLIENT=$(usex samba) @@ -283,11 +302,13 @@ src_configure() { -Dlibdvdcss_URL="${DISTDIR}/libdvdcss-${LIBDVDCSS_VERSION}.tar.gz" -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" -DPYTHON_LIBRARY="$(python_get_library_path)" - -DAPP_RENDER_SYSTEM="$(usex opengl gl gles)" + -DAPP_RENDER_SYSTEM="$(usex gles gles gl)" -DCORE_PLATFORM_NAME="${core_platform_name}" ) - use libusb && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) ) + use !udev && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) ) + + use X && use !gles && mycmakeargs+=( -DENABLE_GLX=ON ) if use system-ffmpeg; then mycmakeargs+=( -DWITH_FFMPEG="yes" ) @@ -323,6 +344,13 @@ src_install() { dosym ../../../../fonts/roboto/Roboto-Thin.ttf \ usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf - python_domodule tools/EventClients/lib/python/xbmcclient.py - python_newscript "tools/EventClients/Clients/KodiSend/kodi-send.py" kodi-send + if use !eventclients ; then + rm -f "${ED}"/usr/bin/kodi-ps3remote || die + rm -f "${D}"$(python_get_sitedir)/kodi/ps3_remote.py || die + rm -rf "${D}"$(python_get_sitedir)/kodi/ps3 || die + rm -rf "${D}"$(python_get_sitedir)/kodi/bt || die + rm -rf "${ED}"/usr/share/doc/${PF}/kodi-eventclients-dev || die + fi + + python_optimize "${D}$(python_get_sitedir)" } diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml index a30254b912a9..b33526329c7c 100644 --- a/media-tv/kodi/metadata.xml +++ b/media-tv/kodi/metadata.xml @@ -8,23 +8,27 @@ <use> <flag name="airplay">enable AirPlay support</flag> <flag name="bluray">Enable playback of Blu-ray filesystems</flag> + <flag name="bluetooth">Enable JSON-RPC over BT for remote control connected via bluetooth</flag> <flag name="caps">Use <pkg>sys-libs/libcap</pkg> to bind to privileged ports as non-root</flag> <flag name="cec">Enable support for HDMI-CEC devices via libcec</flag> + <flag name="eventclients">Install full set of Kodi python evenclients and evenclients examples</flag> <flag name="gbm">Use the Graphics Buffer Manager for EGL on KMS.</flag> - <flag name="gles">Enable support for GLES</flag> + <flag name="gles">Use simplified OpenGLES instead of full-scale OpenGL</flag> <flag name="lirc">Enable support for IR remote controls using <pkg>app-misc/lirc</pkg></flag> - <flag name="mariadb">Add MariaDB support</flag> + <flag name="mariadb">Enable support store of media library metadata on local or remote MariaDB</flag> + <flag name="mysql">Enable support store of media library metadata on local or remote MySQL</flag> <flag name="dav1d">Enables AV1 decoding via <pkg>media-libs/dav1d</pkg></flag> <flag name="nfs">Enable NFS client support</flag> - <flag name="dvd">Enable optical (CD/DVD drive) support</flag> + <flag name="optical">Enable Audio CD playback, optical disks detection and reading (CD-ROM, Video CD, and others), and ISO optical disk images direct reading. DVD disks may require additional 'udf' flag.</flag> <flag name="power-control">Enable control of shutdown, reboot, suspend, and hibernate</flag> <flag name="raspberry-pi">Enable support for the Raspberry Pi</flag> <flag name="system-ffmpeg">Use system ffmpeg instead of the bundled one</flag> <flag name="libusb">Use <pkg>virtual/libusb</pkg> for usb device hotplug support. This flag should only be enabled if you're running a non-Linux kernel or you don't want to use <pkg>sys-fs/udev</pkg>.</flag> <flag name="udf">Enable UDF support. Required for playing blurays.</flag> <flag name="udev">Use <pkg>sys-fs/udev</pkg> rules to handle devices' permissions and hotplug support. Unless you know what you're doing do not disable this flag on Linux kernels. This is provided as an option for completeness.</flag> + <flag name="upower">Use <pkg>sys-power/upower</pkg> to get battery level and active power source</flag> <flag name="webserver">Enable internal webserver</flag> - <flag name="xslt">Enable XSLT support using <pkg>dev-libs/libxslt</pkg></flag> + <flag name="xslt">Enable metadata XSLT scrapers support with <pkg>dev-libs/libxslt</pkg></flag> </use> <upstream> <bugs-to>https://trac.kodi.tv/</bugs-to> diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest index e19363d1f600..ecb595fa1caf 100644 --- a/media-tv/mythtv/Manifest +++ b/media-tv/mythtv/Manifest @@ -10,5 +10,7 @@ AUX mythtv-31.0-Remove_ldconfig.patch 399 BLAKE2B 26b480b30ccb779523a06fc81ec653 AUX mythtv.logrotate.d-r4 235 BLAKE2B 4f6df360f5191aaf4a2b55bd3edc7bc4aab92c46dbd7b7bc1295371b7ef451056f902d92e3209654463850d2cbca579c60d25c1f9065ac80ce3e57fa1fe8e661 SHA512 8dd8936599acabfa55ad7efb870de431e03cb86c3c96156c2c0eee6675962dcc527391260f2ba66e3d54c1d41373001ef25c9d2421e83940c686d14b5f29fff7 AUX xinitrc-r1 234 BLAKE2B 0227ea065f1c43e1b2f1583bcbc798db76e9a08d345bbd8ed8837a6ba424b187c814e3ff0d7690d2d9f7a7617f4fbcce20df926e43bc6e89aec3e352aab6de8f SHA512 885adfe395fe553f6d5cf518856be7be9a6bf6073888f8e055271ed7c3d9ad85a162e9e9ff95a68e54047948ac280796c69ef55d0b4e549eb0beabbf0fec1188 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb SHA512 d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e +DIST mythtv-31.0_p20210225.tar.gz 102623768 BLAKE2B 560d3e08abb7bacbb58499a541f0d96a7b7813deb74d7e7692625dfdb09c5ec126e3f5fd014f7bd6c0640e52dd62b5bab87db40426deb9768d6de1d84b9c0d59 SHA512 832fab6d0094e43f0601485d5ca1249d95a8e293cd5bfe53208c482a43ff19396a435fa7c63c21f728fdc47fc55cb135eb766140f67ec60114965c83500e99e8 EBUILD mythtv-31.0-r5.ebuild 12338 BLAKE2B 51da4268224542e713b2b8d5c7581c792a6809595461c12c9156fea5b06a70cca5b64a7fe721a049542e88c27b7036edcf635a0513cdcab65e31f0bc37cc2532 SHA512 22c9121e4c6a19f922ca5dc596c7172a5481ecb7ddd12fc910ba860b85a5fecf74dfddf925744a82b39e0b16181f700605296baf0c4a1e5277e2fb4a2b386418 +EBUILD mythtv-31.0_p20210225.ebuild 12445 BLAKE2B 0aace4c5922d58204ec859386608b0768c02716478078df7302aa57baa3a49da72f5cfee74697cf2b0b00a4a54c3b3ceb9cf1f4798bf5e74ff92397c68362fec SHA512 d1fb6ade3cd1e8cf12ada4d0bed0a6baff0acc6ff17e8056ce389f057a4114217893eaccdcaecf850a736732cd79e03afc35154718341072d7cb227a110c54c8 MISC metadata.xml 2208 BLAKE2B ce791c95b02ccd293b326fa9463f35f3f6d48c53e7d44d2defbd8974e3d17795d2358b9258c5e7ddd2472dceb11b6ce3a991162694918086b3dea6f0d33be629 SHA512 86ae2e427699c268fd885ff16fec16912da42fe28556dcb8dd131af40e332f37b7b0d21bd3e6ec960aa4aaaf7660b8ca95ea132ea6c8a36c925d842283468846 diff --git a/media-tv/mythtv/mythtv-31.0_p20210225.ebuild b/media-tv/mythtv/mythtv-31.0_p20210225.ebuild new file mode 100644 index 000000000000..afb8c5cb9cc0 --- /dev/null +++ b/media-tv/mythtv/mythtv-31.0_p20210225.ebuild @@ -0,0 +1,435 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit eutils flag-o-matic python-any-r1 qmake-utils readme.gentoo-r1 systemd user-info + +MY_COMMIT="b6ddf202a496dac180218a6581344251804f2086" + +DESCRIPTION="Open Source DVR and media center hub" +HOMEPAGE="https://www.mythtv.org https://github.com/MythTV/mythtv" +if [[ $(ver_cut 3) == "p" ]] ; then + SRC_URI="https://github.com/MythTV/mythtv/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + # mythtv and mythplugins are separate builds in the github MythTV project + S="${WORKDIR}/mythtv-${MY_COMMIT}/mythtv" +else + SRC_URI="https://github.com/MythTV/mythtv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + # mythtv and mythplugins are separate builds in the github mythtv project + S="${WORKDIR}/${P}/mythtv" +fi +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2+" +SLOT="0" + +IUSE_INPUT_DEVICES="input_devices_joystick" +IUSE_VIDEO_CAPTURE_DEVICES="v4l ivtv ieee1394 hdpvr hdhomerun vbox ceton" +IUSE="alsa altivec asi autostart bluray cdda cdr cec debug dvd dvb egl exif fftw jack java + +lame lcd libass lirc nvdec +opengl oss perl pulseaudio python raw systemd vaapi vdpau vpx + +wrapper x264 x265 +xml xmltv +xvid +X zeroconf + ${IUSE_INPUT_DEVICES} ${IUSE_VIDEO_CAPTURE_DEVICES}" + +REQUIRED_USE=" + bluray? ( xml ) + cdr? ( cdda ) +" +RDEPEND=" + acct-user/mythtv + dev-libs/glib:2 + dev-libs/lzo + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtscript:5 + dev-qt/qtsql:5[mysql] + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + media-fonts/corefonts + media-fonts/dejavu + media-fonts/liberation-fonts + media-fonts/tex-gyre + media-gfx/exiv2:= + media-libs/freetype:2 + media-libs/libsamplerate + media-libs/taglib + sys-libs/zlib + alsa? ( media-libs/alsa-lib ) + autostart? ( + net-dialup/mingetty + x11-apps/xset + x11-wm/evilwm + ) + bluray? ( + dev-libs/libcdio:= + media-libs/libbluray:=[java?] + sys-fs/udisks:2 + ) + cec? ( dev-libs/libcec ) + dvd? ( + dev-libs/libcdio:= + media-libs/libdvdcss + sys-fs/udisks:2 + ) + egl? ( media-libs/mesa[egl] ) + fftw? ( sci-libs/fftw:3.0=[threads] ) + hdhomerun? ( media-libs/libhdhomerun ) + ieee1394? ( + media-libs/libiec61883 + sys-libs/libavc1394 + sys-libs/libraw1394 + ) + jack? ( virtual/jack ) + java? ( dev-java/ant-core ) + lame? ( media-sound/lame ) + lcd? ( app-misc/lcdproc ) + libass? ( media-libs/libass:= ) + lirc? ( app-misc/lirc ) + nvdec? ( x11-drivers/nvidia-drivers ) + opengl? ( dev-qt/qtopengl:5 ) + pulseaudio? ( media-sound/pulseaudio ) + systemd? ( sys-apps/systemd:= ) + vaapi? ( x11-libs/libva:=[opengl] ) + vdpau? ( x11-libs/libvdpau ) + vpx? ( media-libs/libvpx:= ) + x264? ( media-libs/x264:= ) + X? ( + x11-apps/xinit + x11-libs/libX11:= + x11-libs/libXext:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXv:= + x11-libs/libXxf86vm:= + x11-misc/wmctrl:= + ) + x265? ( media-libs/x265 ) + xml? ( dev-libs/libxml2:2 ) + xmltv? ( + dev-perl/XML-LibXML + media-tv/xmltv + ) + xvid? ( media-libs/xvid ) + zeroconf? ( + dev-libs/openssl:= + net-dns/avahi[mdnsresponder-compat] + ) +" +BDEPEND=" + virtual/pkgconfig + opengl? ( virtual/opengl ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND=" + ${RDEPEND} + dev-lang/yasm + x11-base/xorg-proto + perl? ( + dev-perl/DBD-mysql + dev-perl/DBI + dev-perl/HTTP-Message + dev-perl/IO-Socket-INET6 + dev-perl/LWP-Protocol-https + dev-perl/Net-UPnP + dev-perl/XML-Simple + ) + python? ( + $(python_gen_any_dep ' + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mysqlclient[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + ') + ) +" +python_check_deps() { + use python || return 0 + has_version "dev-python/python-dateutil[${PYTHON_USEDEP}]" && + has_version "dev-python/future[${PYTHON_USEDEP}]" && + has_version "dev-python/lxml[${PYTHON_USEDEP}]" && + has_version "dev-python/mysqlclient[${PYTHON_USEDEP}]" && + has_version "dev-python/requests-cache[${PYTHON_USEDEP}]" && + has_version "dev-python/simplejson[${PYTHON_USEDEP}]" +} + +PATCHES=( + "${FILESDIR}/${PN}-30.0_p20190808-respect_LDFLAGS.patch" +) + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Support for metadata lookup changes is added. User configuration required. +Details at: https://www.mythtv.org/wiki/Metadata_Lookup_Changes_March_2021 + +Suppport for Python 2.7 is removed. + +If a MYSQL server is installed, a mythtv MySQL user and mythconverg database +is created if it does not already exist. +You will be prompted for your MySQL root password. + +A mythtv user is maintained by acct-user/mythtv. An existing mythtv user +may be modified to the configuration defined by acct-user/mythtv. +The mythtv user's primary group is now mythtv. (formerly video) +An existing mythtv user may be changed which may alter some functionality. +If it breaks mythtv you may need to (choose one): + * Restore the original mythtv user + * Create custom acct-user/mythtv overlay for your system + * Fix you system to use mythtv as daemon only (recommended) +Failure to emerge acct-user/mythtv indicates that the existing mythtv user +is customized and not changed. Corrective action (choose one): + * Ignore emerge failure + * Create custom acct-user/mythtv overlay for your system + * Fix you system to use mythtv as daemon only + * Delete existing user and try again (dangerous) + +Mythtv is updated to use correct FHS/Gentoo policy paths. +Updating mythtv installations may report: + * mythtv is in use, cannot update home + * There was an error when attempting to update the home directory for mythtv + * Please update it manually on your system (as root): + * usermod -d "/var/lib/mythtv" "mythtv" +This can be ignored. The previous default was "/home/mythtv". +Use caution if you change the home directory. + +To have this machine operate as recording host for MythTV, +mythbackend must be running. Run the following: +rc-update add mythbackend default + +Your recordings folder must be owned 'mythtv'. e.g. +chown -R mythtv /var/lib/mythtv + +Want mythfrontend to start automatically? +Set USE=autostart. Details can be found at: +https://dev.gentoo.org/~cardoe/mythtv/autostart.html +" + +pkg_setup() { + use python && python-any-r1_pkg_setup + # The acct-user/mythtv package creates/manages the user 'mythtv' +} + +src_prepare() { + default + + # Perl bits need to go into vender_perl and not site_perl + sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ + -i "${S}"/bindings/perl/Makefile || die "Cannot convert site_perl to vendor_perl!" + +} + +src_configure() { + local -a myconf + + # Setup paths + myconf+=(--prefix="${EPREFIX}"/usr) + myconf+=(--libdir="${EPREFIX}"/usr/$(get_libdir)) + myconf+=(--libdir-name=$(get_libdir)) + myconf+=(--mandir="${EPREFIX}"/usr/share/man) + + if use debug; then + myconf+=(--compile-type=debug) + myconf+=(--disable-stripping) # FIXME: does not disable for all files, only for some + myconf+=(--enable-valgrind) # disables timeouts for valgrind memory debugging + else + myconf+=(--compile-type=release) + fi + + # Build boosters + has ccache "${FEATURES}" || myconf+=(--disable-ccache) + has distcc "${FEATURES}" || myconf+=(--disable-distcc) + + # CPU settings + # Mythtv's configure is borrowed from ffmpeg, + # Bug #172723 + # Try to get cpu type based on CFLAGS. + # We need to do this so that features of that CPU will be better used + # If they contain an unknown CPU it will not hurt since ffmpeg's configure + # will just ignore it. + for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do + [ "${i}" = "native" ] && i="host" # bug #273421 + myconf+=(--cpu="${i}") + break + done + myconf+=($(use_enable altivec)) + + # Sound Output Support + myconf+=( + $(use_enable oss audio-oss) + $(use_enable alsa audio-alsa) + $(use_enable jack audio-jack) + $(use_enable pulseaudio audio-pulseoutput) + ) + + # Input Support + myconf+=( + $(use_enable lirc) + $(use_enable input_devices_joystick joystick-menu) + $(use_enable cec libcec) + $(use_enable ieee1394 firewire) + $(use_enable hdhomerun) + $(use_enable vbox) + $(use_enable ceton) + $(use_enable v4l v4l2) + $(use_enable ivtv) + $(use_enable hdpvr) + $(use_enable dvb) + $(use_enable asi) + ) + + # Video Output Support + myconf+=( + $(use_enable X x11) + $(use_enable X xrandr) + ) + + # Hardware accellerators + myconf+=( + $(use_enable nvdec) + $(use_enable vaapi) + $(use_enable vdpau) + $(use_enable opengl) + $(use_enable libass) + ) + + # System tools + myconf+=( + $(use_enable systemd systemd_notify) + $(use_enable systemd systemd_journal) + $(use_enable xml libxml2) + $(use_enable zeroconf libdns-sd) + ) + + # Bindings + if use perl && use python; then + myconf+=(--with-bindings=perl,python) + elif use perl; then + myconf+=(--without-bindings=python) + myconf+=(--with-bindings=perl) + elif use python; then + myconf+=(--without-bindings=perl) + myconf+=(--with-bindings=python) + else + myconf+=(--without-bindings=perl,python) + fi + use python && myconf+=(--python="${EPYTHON}") + myconf+=($(use_enable java bdjava)) + + # External codec library options (used for mythffmpeg and streaming transcode) + # lame is required for some broadcasts for silence detection of commercials + # default enable in IUSE with +lame + myconf+=( + $(use_enable lame libmp3lame) + $(use_enable xvid libxvid) + $(use_enable x264 libx264) + $(use_enable x265 libx265) + $(use_enable vpx libvpx) + ) + + # Clean up DSO load times and other compiler bits + myconf+=(--enable-symbol-visibility) + myconf+=(--enable-pic) + + if tc-is-cross-compiler ; then + myconf+=(--enable-cross-compile --arch=$(tc-arch-kernel)) + myconf+=(--cross-prefix="${CHOST}"-) + fi + + myconf+=($(use_enable bluray libbluray_external)) + + # econf sets these options that are not handled by configure: + # --build --host --infodir --localstatedir --sysconfdir + + einfo "Running ./configure ${myconf[@]} - THIS MAY TAKE A WHILE." + ./configure \ + --prefix="${EPREFIX}/usr" \ + --cc="$(tc-getCC)" \ + --cxx="$(tc-getCXX)" \ + --ar="$(tc-getAR)" \ + --optflags="${CFLAGS}" \ + --extra-cflags="${CFLAGS}" \ + --extra-cxxflags="${CXXFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --qmake=$(qt5_get_bindir)/qmake \ + "${myconf[@]}" +} + +src_install() { + emake STRIP="true" INSTALL_ROOT="${D}" install + use python && python_optimize # does all packages by default + dodoc AUTHORS UPGRADING README + readme.gentoo_create_doc + + insinto /usr/share/mythtv/database + doins database/* + + newinitd "${FILESDIR}"/mythbackend.init-r3 mythbackend + newconfd "${FILESDIR}"/mythbackend.conf-r1 mythbackend + if use systemd; then + systemd_newunit "${FILESDIR}"/mythbackend.service-28 mythbackend.service + fi + + dodoc keys.txt + + keepdir /etc/mythtv + fowners -R mythtv /etc/mythtv + keepdir /var/log/mythtv + fowners -R mythtv /var/log/mythtv + + insinto /etc/logrotate.d + newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv + + insinto /usr/share/mythtv/contrib + # Ensure we don't install scripts needing the perl bindings (bug #516968) Finding none is OK. + if ! use perl; then + find contrib/ -name '*.pl' -exec rm {} \; + fi + # Ensure we don't install scripts needing the python bindings (bug #516968) Finding none is OK. + if ! use python; then + find contrib/ -name '*.py' -exec rm {} \; + fi + doins -r contrib/* + + # Install our mythfrontend wrapper which is similar to Mythbuntu's + if use wrapper; then + mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" || die "Failed to install mythfrontend.real" + newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend + newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend + fi + + if use autostart; then + newenvd - 95mythtv <<- _EOF_ + CONFIG_PROTECT=\"$(egethome mythtv)\" + _EOF_ + insinto $(egethome mythtv) + newins "${FILESDIR}"/bash_profile .bash_profile + newins "${FILESDIR}"/xinitrc-r1 .xinitrc + fi + + # Make Python files executable but not files named "__init__.py" + find "${ED}/usr/share/mythtv" -type f -name '*.py' -exec expr \( {} : '.*__init__.py' \) = 0 \; \ + -exec chmod a+x {} \; || die "Failed to make python file $(basename ${file}) executable" + + # Ensure that Python scripts are executed by Python 2 + use python && python_fix_shebang "${ED}/usr/share/mythtv" + + # Make shell & perl scripts executable + find "${ED}" -type f \( -name '*.sh' -o -name '*.pl' \) -exec chmod a+x {} \; || die "Failed to make script executable" +} + +pkg_postinst() { + readme.gentoo_print_elog +} + +pkg_info() { + return +} + +pkg_config() { + if [[ -e "${EROOT}"/usr/bin/mysql ]]; then + "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql + fi +} diff --git a/media-tv/tvnamer/Manifest b/media-tv/tvnamer/Manifest index c16a55fdce92..8498dfa8e669 100644 --- a/media-tv/tvnamer/Manifest +++ b/media-tv/tvnamer/Manifest @@ -1,3 +1,5 @@ DIST tvnamer-2.5.tar.gz 46030 BLAKE2B 4bad31df673b11671c8fb57c8e5d4ec8e7513ac63df6bf09d02943e06acab1c8d5f4d40f1d56b5e6a489ab27810aa85f82257df0b795a3ad5fdc4f63fcf5d976 SHA512 56233576a4f6e0b93535667f7d4e823cccba2bce785aaaed10415f5da1a3883fc29396a20fbffdca367fb9d3d748c6efa5b670eee43eece2631b28d640a5c180 +DIST tvnamer-3.0.2.tar.gz 47662 BLAKE2B a6a472e6258563d0929a4abd678b161728efb84d1b072a9b7d5684e031a3dfb4c999a8252504ee8d9a6a94638dba5273eaabe4761ea979ff2e25781512c8b43d SHA512 c4ee5573b759450f65fa75d7a28f0cf1f44a8d794fc1565291b15272243bb157525a369e0067ca8c10860374209ad2ddfe54ad2c70dcfb570bf636da9357b383 EBUILD tvnamer-2.5.ebuild 496 BLAKE2B 3a78b7c95e94fd14d37e252cb10896d2727bcb937aa41eb28146bb4a968b7b7890f8581adb75137f2b18db81b854447fbe752e8c2e705f1007dfd05a52e54f37 SHA512 bc7e424e20b99f31bd45afa9ec5fba49a0a7e8e7d8326918729bf8fce4fbdc0ac700872ebde5fac64edc3ba1ab53c7a399ff04ba433d5c7ddd2ea1210bac2720 +EBUILD tvnamer-3.0.2.ebuild 446 BLAKE2B 104dee77f89712ceb41e4bfed9f7bfa3c67225ef79564e7a423fb4743b452489214e0b5ee52363e26790bf839721e6cef5c7e73f5269cf8e26701c28c4bacafe SHA512 e492b21ca127b04946445a264446a62e8699dc561b616923d0cb40d31296b53b691a64de535e35c79c18d599f743d27daabe839dc49b4184fc96f7243af2f254 MISC metadata.xml 379 BLAKE2B 79d429f9497154662e75f4693ab95c5251d65ed6ea06d3870e1f2a639cd470a9207d02ade929f10f9d0d7b0e91ad9629a899546ea02f40b6a4e5aeb5f846716e SHA512 d7a09db1fcdc1ec0b6fb78769fd219248bb4c5e858273d45554d5ac2021678a5d97f9b81cfbcd2ae05a1f9446c1c218463e8375d195335613df5834617463ae6 diff --git a/media-tv/tvnamer/tvnamer-3.0.2.ebuild b/media-tv/tvnamer/tvnamer-3.0.2.ebuild new file mode 100644 index 000000000000..9c5a6df68497 --- /dev/null +++ b/media-tv/tvnamer/tvnamer-3.0.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="Automatic TV episode file renamer, data from thetvdb.com" +HOMEPAGE="https://github.com/dbr/tvnamer" +SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=dev-python/tvdb_api-3*[${PYTHON_USEDEP}]" diff --git a/media-tv/v4l-dvb-saa716x/Manifest b/media-tv/v4l-dvb-saa716x/Manifest index 0410daede848..1c1059654748 100644 --- a/media-tv/v4l-dvb-saa716x/Manifest +++ b/media-tv/v4l-dvb-saa716x/Manifest @@ -1,24 +1,8 @@ -AUX OSD_RAW_CMD_patch_2.diff 843 BLAKE2B 5bfe6200c3cb86cf42e359fd345af1b92f01bd88ca28cf467b1aa50998601444270fda755b566d17f89d5a9c412f72a4740c898796bd8de3fb39360d564ff862 SHA512 57688acc06ac9fcde332e3fba9d4048ac962d7c65c3844ff60e1d48956f7fe0f02315859f427cd5e21695ffa0c3d5cbd46ff953d7d1eca4b3e2ab165f6985e71 -AUX v4l-dvb-saa716x-3.19-set_gpio.patch 733 BLAKE2B d85a95e36fb0bb1d81035e7e2ed0b43b8e1b1fe0ba5da7ae5c76c285a83ee14ed58cb87f6489d0c5b4597db159368f28159cf1be5ca36ea7e470d5591b2eecd8 SHA512 e713779f02ebdc090a364e2339217c7f4fa2d54ba53d26f61a1a0241d19078e0278da14c8ba6520354d8a037c6834ae90271e39cdda279cfd8f4047277f24116 -AUX v4l-dvb-saa716x-4.10-fix-compile.patch 515 BLAKE2B 1617e86b85b411dd807a50353fe97ed6230362b3df79272cdcc2775e0b1a212bd394731e33ccfcfb72d85e4051ec7ee97480d3488ef40c7345628ef50b034d8f SHA512 6dc1b7b24c0d4c4b21f765ee0ac72f8b48f85ec40bb2cb7d51e589d03e64521d026a4e49f4b8c5d0e5b46b4e9332ac3785fa9a682a19dbad94f3b7ac50950653 -AUX v4l-dvb-saa716x-4.14.0-fix-compile.patch 572 BLAKE2B 28e625d28b81899e3cdb9cdbcdf01b7b14d359d3861de0507f0d4d1dcde5dd4d112c7de551a6a58fd2147d6f24c49d3c76272522ed34d49dadf976adde08d83e SHA512 b57bdd443d3ad33c170d4b40f35e7e8c5bb9a9bc7ba5f3defd2deff08c8ec377ffdae14c0d5fc8fab3ea1df10607fe9883904757ea359b4048ce43004645c453 -AUX v4l-dvb-saa716x-4.15-fix-autorepeat.patch 3274 BLAKE2B 60e6fb292be26b4a142eed4405c30c0aed973d81fbb76637894e7df90440278a23840a1dc953de66e5fd1d2feb16835aec08df440f6924e388d0bdc962231619 SHA512 7f65d977ae200714d04dc8ced2285f67e6059aed284b7e6a9efddd22a15e1ae59ae4024ee5d78e5ddb244892a2a97a6c3e29cd94eb78601b55f44b3f68ddc9b4 -AUX v4l-dvb-saa716x-4.15-fix-timers.patch 1399 BLAKE2B 9cf740de7b20e7bc62cd0835fe82d9e56fe8979ccbb3896b2ee6c5877658ccdcf7e0ea64f3c2188d1048ec4693369ab5b6522a72f27fd2d93564f4e50fce05ec SHA512 1383b1cb401311d94b47e07bd9d4b98bdb1aa3d9e378ae5a19c3405bd87ac79ea73f939540730f27240d55b8548b1c1b0e67d091e0eb302055f88110b3ae133d -AUX v4l-dvb-saa716x-4.16-fix-compile.patch 2239 BLAKE2B 59bbe5d68bd09ef2a39ea83d96a4f6b3d5d4b830f0d65035dde5a15d2aa7d00cc891647e2655b341053c61576b41314a44fc338a5802bce00588017e8bbd2d32 SHA512 739049a4960f7aa697b05c19784ad82414865bfe1349546b0eaa3b9f206440df72454e676b2520daa3c04d9cd5df757df8a2589561eec039c45f0e53f0b31c0d -AUX v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch 434 BLAKE2B e7177501d016d2d7615a1d2acba1eba3d178a725fd32f1a102c02db57b189bb72dd5c2d2f982297c30ea3034000223451e3eb9f79ab7b3033ee7aa0463fa22c3 SHA512 5ccab631d70e499dc9b247e9b5f94c0dbef2b4ee2d6aede8fa7b1d06193dafc88b0155eba16195597212bf822bfeef3ffcdb7e61130eb16bd9891dfba2edfb01 -AUX v4l-dvb-saa716x-4.2-fix-compile.patch 2397 BLAKE2B f6b82c6441524d5045971e3b1fc723074733e95bfac85da03c7cdf39ee327ca0ceda98b1715feaea38d1cb5cf47cb00c996beba9c31251b7778f2e4f9e5fefba SHA512 621852c315437a9f5ada9f5624f08d25154d331cd0a95c479f3835ba9452cd0a17ecf6fdc4b37b5eb7504456ab8565e8d6670be8680e4ea6052b5f5c22c15c12 -AUX v4l-dvb-saa716x-4.5.2-fix-compile.patch 498 BLAKE2B 584300132b72ef0385c3e0b430df36788b57ff49884ee874b610d15fba024a949a81a014883c24b5ac4de77393bbc645715d68b55ec44139d8d5c6006421c9ed SHA512 3c94389b3ffb380a585d51b7e27e3fdf36b053524983fd58531e1d00b1ade2680759822df41363fa2e2ef279570f364178c7f4870c9c6b2fb52124f83eb4afb1 -AUX v4l-dvb-saa716x-4.6.0-fix-compile.patch 692 BLAKE2B f3dd9279abafc087f38233f8285409e3d6f4991e3fdd0b7593b5ec816f737ff2d2fc3e457ae6370efa6396e844af314de6986902e0e7de90cf294ff839b31e48 SHA512 64b03e316d938a3830b7aad3c6b6431a9360202470e62d3c696c4203ee98b15595be3bda727468b28a6f43b539931530a408582aab6fe280b8a0200224f2b96f -AUX v4l-dvb-saa716x-4.9-fix-warnings.patch 6368 BLAKE2B 178bb6bf0c391ce3c2a9e2a69c2b1938ebb6137891eab2d18e3bda42547efbfdea98677a4175bb610b21a45c4b3d543166791b517b8d116ea1361b645d612170 SHA512 e697a87b14727d8877ecc78622050bb9d8e5b0d964796c5c3275a8d72359712ec85a578e2189a102b23eedcdb17381533de9641a22103982ad5b0c9702e77901 AUX v4l-dvb-saa716x-5.6-fix-compile.patch 2085 BLAKE2B 117b7bb63174dcf49e33b1a4b350736c3ba7223f591265aa159a2c286049350aedf514bda0b5aff3aae84e6754311f47b3148acad88220984f8991c7893bce16 SHA512 53e27d1893d391a942af25b6032d9b4f0a49e6bd32186aac71c665ac80e78d608ae3e8e4ef8d0dc7436f7737de262cd5700ee6647f09698608bb75043da97c9e -AUX v4l-dvb-saa716x-Makefilepatch-2.diff 562 BLAKE2B 77adb5d5c67e14dddfce8462a98d565bc092b4e2f4dc48016602dfe0f1fa98d87e2c1317c0c3db1d1d1de8b91076e84cdd50d5b86350c060400fc2dd7ae9e5c1 SHA512 e0ff1c5a79f7b02323eff281bf6dc6ebb7a8fe7a43eb83ebd4a7379468924d3992790899bfabbbf2ee411cda6366ad6a677d8ad004a306e14b55d891f6f69dc0 AUX v4l-dvb-saa716x-up-to-4.14.patch 1182 BLAKE2B c8712113bdd071689820139fe026bba4464d392c055cd44b9aaabcc40d61f9dbdc42d5cd354db053ca69acd42bd25994dbdc486979856d3b8c11b182e39d186e SHA512 2865922c53c701aa8ef334c54b6ef4f55765bff054c3ab5a10eff6c4f550d3f9573696a845e830c9a6ee172e1fbd604c18c6d13a73ed2ba0ca60359c718fb702 AUX v4l-dvb-saa716x-up-to-4.17.patch 7545 BLAKE2B f213886abd2a30e61a7220785213d873d6a475ee71b308bde0415cd6ea437a3ddfdf5d57a74c4151977e3a9e871cb1663a3a01364595238c3f324812c6edec0a SHA512 c506bd0b1f54141b1df087cec234ef9496f8b67fd9105b8365029c40557638283811cf4c8a25c47dc621fc1ded700caa3ce48d96799c2348ba3dbf40768678b8 AUX v4l-dvb-saa716x-up-to-4.4.patch 3627 BLAKE2B a33f468400d820911782428375fe634fe9dfd47f09e71866d85a6988ae2c3ad973854ea9e6f390b33485fd8924649a1f4c9758728b28aa7bb196fbdb1f164f45 SHA512 181a835b475847548355621d284cb820c808d8652e8be2b50b9363720c2acf305e9a06237ecb04bae3931d1e3cdb6b50134339b50154130efe92680e0ba4290f AUX v4l-dvb-saa716x-up-to-4.9.patch 7704 BLAKE2B 3798312ef3938f2f162164c9891c251745570bca69704316b366bfecab9b6cc6c6c1c853091636e348d4a9646d874528f67f25c755dc219492347006c6c3f443 SHA512 efac2cf501f4cf0f3831f88cba184ae3bab367c3426adedeec8ee0f0efd3f2921c8c1bd840a2e6a45058b8c5228459bf6c95be0efceeaa4c6f7705e752b0e898 DIST v4l-dvb-saa716x-0.0.1_p20160322.tar.bz2 4070134 BLAKE2B 2c03d11ecd1f527ad066b2b14fcd2539e50fd07cefe2060be1bce96fd932d9ae83529f65b658ac550886f0c1f2b69a64d910011c80746353ffaed062865f1d6f SHA512 2ffb2acf00818b61af37a557e3b95a96b129b34ef80d24084483adfa35c0bb853b0abb626dbbf68bd9aa443c7436034542666274246fd47a603642a8e75ec83e -DIST v4l-dvb-saa716x-0.0.1_p20160322.tar.gz 5028181 BLAKE2B 6d0917e7c72a7c77ff376b1bb1e55a36421568cc7b9221f4724c9e24a9bb6334c201d99f48c92965365ada2cd085b22ca9758e55ca621deb5eb65de3ef3e9a38 SHA512 94a41467688a0363586c654102e35366071218432042bc324d041298ad4812139201f8df17eadb37ebb9baf2b097447fc0859270bcc4e8e0c73b17e0b8045343 -EBUILD v4l-dvb-saa716x-0.0.1_p20170225-r3.ebuild 2014 BLAKE2B 00761e3d2f40454ea374b33dc42c57f237f730ccbe4c7147e4f397c97b20ef95f70446cef5ea00b9f62874cb74178c4d30692a0a89dd41c29370566889a670ae SHA512 27de01b280bddc3c330f37176ec6b2b10789ae04a10387553812cfbd081f03e5aafdf634ef026c0e213203a68ef1d80bade167a7b8c2d1577d918b6b4451ef02 -EBUILD v4l-dvb-saa716x-0.0.1_p20170225-r4.ebuild 2474 BLAKE2B 86781a21de92635dc96d811423062ec87025055b74650262657ce1f07f5d957c2ef50769ee98d3babb0c362e085c9a509c6f40143feb3ff24a55b2682a25ba74 SHA512 5c33f05cd604f14dad0795c845964313829e34ac2c2cc7a39b2eb9ee52afc5d9a993da109e23489c8959a97df694f8b77d0faa8b535d60963a4e7a0334759a7d EBUILD v4l-dvb-saa716x-0.0.1_p20170225-r5.ebuild 1765 BLAKE2B ae903e7aeb0cffb4007a30f5017b8d06c8f075cda96cf7a7997f255b6efa291bb4848ce296e28c5d405858ad80933d602e1a5664be42c5c1fa2f8fdbae42d272 SHA512 ce4a5dc9d7fb08f9fd042ca5154ee5dbcf0278d5ba507609b6c69ced0ef6b6ba56a78c4139f27df1f4b432fdf6666121d3e677f1ab8ed3ab01b5e0002981734e -MISC metadata.xml 522 BLAKE2B 4fac71b04452341c84053cf601897155086cbe2d50bd0f04287ecae47ab06fb6b613197296ded88ebc8ac50230caa9d343449172eb73847d5ea763141bb6e3ba SHA512 651ce09fe8afac13810b4733051ccd326e8a468fae099c2a600fab0afac1071b2bba26837122fad5db235ddad25c80d56825d11b47e03eac8b0ca30dab1b3a61 +MISC metadata.xml 459 BLAKE2B 1d8433bb12454d60cb5a4bb5bf2edc5bdb2b4bd519d28138dc750bc8f021b742bc42dfa19b86305b3f7ab553cc95ef377a30c3400d33223e2189bd679a38bf85 SHA512 251f29b11dd2ec9ce4fd72cbf16986839dd8321902b1005ba922aad499dba61251dc41c2ae428442499a616d5844d3bd7b2af6d985966ae3a152dbce569b50ed diff --git a/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_2.diff b/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_2.diff deleted file mode 100644 index 7f09a1d60f1a..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_2.diff +++ /dev/null @@ -1,27 +0,0 @@ ---- linux/drivers/media/common/saa716x/saa716x_ff_cmd.h.orig 2011-11-12 14:46:51.175700236 +0100 -+++ linux/drivers/media/common/saa716x/saa716x_ff_cmd.h 2011-11-12 14:45:10.103702959 +0100 -@@ -1,6 +1,24 @@ - #ifndef __SAA716x_FF_CMD_H - #define __SAA716x_FF_CMD_H - -+#if !defined OSD_RAW_CMD -+typedef struct osd_raw_cmd_s { -+ const void *cmd_data; -+ int cmd_len; -+ void *result_data; -+ int result_len; -+} osd_raw_cmd_t; -+ -+typedef struct osd_raw_data_s { -+ const void *data_buffer; -+ int data_length; -+ int data_handle; -+} osd_raw_data_t; -+ -+#define OSD_RAW_CMD _IOWR('o', 162, osd_raw_cmd_t) -+#define OSD_RAW_DATA _IOWR('o', 163, osd_raw_data_t) -+#endif -+ - extern int sti7109_cmd_init(struct sti7109_dev *sti7109); - extern int sti7109_raw_cmd(struct sti7109_dev * sti7109, - osd_raw_cmd_t * cmd); diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-3.19-set_gpio.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-3.19-set_gpio.patch deleted file mode 100644 index 895caa4449e0..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-3.19-set_gpio.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- v4l-dvb-saa716x-d7e98fc59230-orig/linux/drivers/media/common/saa716x/saa716x_budget.c 2014-11-09 15:44:55.000000000 +0100 -+++ v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_budget.c 2015-02-28 13:58:01.258743639 +0100 -@@ -497,10 +497,10 @@ - break; - } - -- err = stv090x_set_gpio(fe, 2, 0, en, 0); -+ err = skystar2_stv090x_config.set_gpio(fe, 2, 0, en, 0); - if (err < 0) - goto exit; -- err = stv090x_set_gpio(fe, 3, 0, sel, 0); -+ err = skystar2_stv090x_config.set_gpio(fe, 3, 0, sel, 0); - if (err < 0) - goto exit; - -@@ -519,7 +519,7 @@ - else - value = 0; - -- err = stv090x_set_gpio(fe, 4, 0, value, 0); -+ err = skystar2_stv090x_config.set_gpio(fe, 4, 0, value, 0); - if (err < 0) - goto exit; - diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.10-fix-compile.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.10-fix-compile.patch deleted file mode 100644 index 4086da102b80..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.10-fix-compile.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/linux/drivers/media/common/saa716x/saa716x_ff.h -+++ b/linux/drivers/media/common/saa716x/saa716x_ff.h -@@ -1,7 +1,6 @@ - #ifndef __SAA716x_FF_H - #define __SAA716x_FF_H - --#include "dvb_filter.h" - #include "dvb_ringbuffer.h" - #include <linux/version.h> - #include <linux/workqueue.h> -@@ -95,6 +94,7 @@ - #define MAX_RESULT_LEN 256 - #define MAX_DATA_LEN (1024 * 1024) - -+#define TS_SIZE 188 - #define TSOUT_LEN (1024 * TS_SIZE) - #define TSOUT_LEVEL_FILL (350 * TS_SIZE) - #define TSOUT_LEVEL_HIGH (30 * TS_SIZE) diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.14.0-fix-compile.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.14.0-fix-compile.patch deleted file mode 100644 index fce2d5177985..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.14.0-fix-compile.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/linux/drivers/media/common/saa716x/saa716x_pci.c 2018-03-24 11:39:20.777643694 +0100 -+++ b/linux/drivers/media/common/saa716x/saa716x_pci.c 2018-03-24 11:41:02.135696671 +0100 -@@ -39,7 +39,7 @@ - for (i = 0; i < SAA716x_MSI_MAX_VECTORS; i++) - saa716x->msix_entries[i].entry = i; - -- ret = pci_enable_msix(pdev, saa716x->msix_entries, SAA716x_MSI_MAX_VECTORS); -+ ret = pci_enable_msix_range(pdev, saa716x->msix_entries, SAA716x_MSI_MAX_VECTORS, SAA716x_MSI_MAX_VECTORS); - if (ret < 0) - dprintk(SAA716x_ERROR, 1, "MSI-X request failed <%d>", ret); - if (ret > 0) diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.15-fix-autorepeat.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.15-fix-autorepeat.patch deleted file mode 100644 index e3a3a737663f..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.15-fix-autorepeat.patch +++ /dev/null @@ -1,107 +0,0 @@ -# Source: https://github.com/s-moch/linux-saa716x/commit/0b2276ee2e6383ad577fce5c694f8c4062d5334b.patch - -From 0b2276ee2e6383ad577fce5c694f8c4062d5334b Mon Sep 17 00:00:00 2001 -From: Soeren Moch <smoch@web.de> -Date: Sat, 2 Dec 2017 20:51:10 +0100 -Subject: [PATCH] saa716x_ff: Remove autorepeat handling - -Let the input layer handle autorepeat for the IR remote. -So no repeat_key timer is required anymore. - -Signed-off-by: Soeren Moch <smoch@web.de> ---- - drivers/media/common/saa716x/saa716x_ff_ir.c | 45 ++++++++-------------------- - 1 file changed, 12 insertions(+), 33 deletions(-) - -diff --git a/drivers/media/common/saa716x/saa716x_ff_ir.c b/drivers/media/common/saa716x/saa716x_ff_ir.c -index 35624789aa862..ad6f38611026c 100644 ---- a/linux/drivers/media/common/saa716x/saa716x_ff_ir.c -+++ b/linux/drivers/media/common/saa716x/saa716x_ff_ir.c -@@ -40,7 +40,7 @@ struct infrared { - u8 protocol; - u16 last_key; - u16 last_toggle; -- bool delay_timer_finished; -+ bool key_pressed; - }; - - #define IR_RC5 0 -@@ -52,11 +52,12 @@ static void ir_emit_keyup(unsigned long parm) - { - struct infrared *ir = (struct infrared *) parm; - -- if (!ir || !test_bit(ir->last_key, ir->input_dev->key)) -+ if (!ir || !ir->key_pressed) - return; - - input_report_key(ir->input_dev, ir->last_key, 0); - input_sync(ir->input_dev); -+ ir->key_pressed = false; - } - - -@@ -114,28 +115,18 @@ static void ir_emit_key(unsigned long parm) - return; - } - -- if (timer_pending(&ir->keyup_timer)) { -- del_timer(&ir->keyup_timer); -- if (ir->last_key != keycode || toggle != ir->last_toggle) { -- ir->delay_timer_finished = false; -- input_event(ir->input_dev, EV_KEY, ir->last_key, 0); -- input_event(ir->input_dev, EV_KEY, keycode, 1); -- input_sync(ir->input_dev); -- } else if (ir->delay_timer_finished) { -- input_event(ir->input_dev, EV_KEY, keycode, 2); -- input_sync(ir->input_dev); -- } -- } else { -- ir->delay_timer_finished = false; -- input_event(ir->input_dev, EV_KEY, keycode, 1); -- input_sync(ir->input_dev); -- } -+ if (ir->key_pressed && -+ (ir->last_key != keycode || toggle != ir->last_toggle)) -+ input_event(ir->input_dev, EV_KEY, ir->last_key, 0); - -+ input_event(ir->input_dev, EV_KEY, keycode, 1); -+ input_sync(ir->input_dev); -+ -+ ir->key_pressed = true; - ir->last_key = keycode; - ir->last_toggle = toggle; - -- ir->keyup_timer.expires = jiffies + UP_TIMEOUT; -- add_timer(&ir->keyup_timer); -+ mod_timer(&ir->keyup_timer, jiffies + UP_TIMEOUT); - - } - -@@ -166,16 +157,6 @@ static void ir_register_keys(struct infrared *ir) - ir->input_dev->keycodemax = ARRAY_SIZE(ir->key_map); - } - -- --/* called by the input driver after rep[REP_DELAY] ms */ --static void ir_repeat_key(unsigned long parm) --{ -- struct infrared *ir = (struct infrared *) parm; -- -- ir->delay_timer_finished = true; --} -- -- - /* interrupt handler */ - void saa716x_ir_handler(struct saa716x_dev *saa716x, u32 ir_cmd) - { -@@ -236,9 +217,7 @@ int saa716x_ir_init(struct saa716x_dev *saa716x) - ir->key_map[i] = i+1; - ir_register_keys(ir); - -- /* override repeat timer */ -- input_dev->timer.function = ir_repeat_key; -- input_dev->timer.data = (unsigned long) ir; -+ input_enable_softrepeat(input_dev, 800, 200); - - tasklet_init(&ir->tasklet, ir_emit_key, (unsigned long) saa716x); - saa716x->ir_priv = ir; diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.15-fix-timers.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.15-fix-timers.patch deleted file mode 100644 index 841c32e0515a..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.15-fix-timers.patch +++ /dev/null @@ -1,41 +0,0 @@ -# Source: https://github.com/s-moch/linux-saa716x/commit/1002d79c4ba60de0dbeacba0f289119556d7450d.patch - -From 1002d79c4ba60de0dbeacba0f289119556d7450d Mon Sep 17 00:00:00 2001 -From: Soeren Moch <smoch@web.de> -Date: Sat, 2 Dec 2017 21:23:34 +0100 -Subject: [PATCH] saa716x_ff: Convert to new timer API - -Convert to new timer API in linux-4.15. - -Signed-off-by: Soeren Moch <smoch@web.de> ---- - drivers/media/common/saa716x/saa716x_ff_ir.c | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -diff --git a/drivers/media/common/saa716x/saa716x_ff_ir.c b/drivers/media/common/saa716x/saa716x_ff_ir.c -index ad6f38611026c..7894adff4d4f6 100644 ---- a/linux/drivers/media/common/saa716x/saa716x_ff_ir.c -+++ b/linux/drivers/media/common/saa716x/saa716x_ff_ir.c -@@ -48,9 +48,9 @@ struct infrared { - - - /* key-up timer */ --static void ir_emit_keyup(unsigned long parm) -+static void ir_emit_keyup(struct timer_list *t) - { -- struct infrared *ir = (struct infrared *) parm; -+ struct infrared *ir = from_timer(ir, t, keyup_timer); - - if (!ir || !ir->key_pressed) - return; -@@ -184,9 +184,7 @@ int saa716x_ir_init(struct saa716x_dev *saa716x) - if (!ir) - return -ENOMEM; - -- init_timer(&ir->keyup_timer); -- ir->keyup_timer.function = ir_emit_keyup; -- ir->keyup_timer.data = (unsigned long) ir; -+ timer_setup(&ir->keyup_timer, ir_emit_keyup, 0); - - input_dev = input_allocate_device(); - if (!input_dev) diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.16-fix-compile.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.16-fix-compile.patch deleted file mode 100644 index d6e63ef3b5a0..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.16-fix-compile.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -Naur powARman-v4l-dvb-saa716x-3b9fce66666a.orig/linux/drivers/media/common/saa716x/saa716x_adap.c powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_adap.c ---- powARman-v4l-dvb-saa716x-3b9fce66666a.orig/linux/drivers/media/common/saa716x/saa716x_adap.c 2018-04-04 08:24:59.454708009 +0200 -+++ powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_adap.c 2018-04-04 08:25:36.263560559 +0200 -@@ -1,9 +1,9 @@ - #include <linux/bitops.h> - --#include "dmxdev.h" --#include "dvbdev.h" --#include "dvb_demux.h" --#include "dvb_frontend.h" -+#include <media/dmxdev.h> -+#include <media/dvbdev.h> -+#include <media/dvb_demux.h> -+#include <media/dvb_frontend.h> - - #include "saa716x_mod.h" - #include "saa716x_spi.h" -diff -Naur powARman-v4l-dvb-saa716x-3b9fce66666a.orig/linux/drivers/media/common/saa716x/saa716x_ff.h powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff.h ---- powARman-v4l-dvb-saa716x-3b9fce66666a.orig/linux/drivers/media/common/saa716x/saa716x_ff.h 2018-04-04 08:24:59.458708101 +0200 -+++ powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff.h 2018-04-04 08:25:36.263560559 +0200 -@@ -1,7 +1,7 @@ - #ifndef __SAA716x_FF_H - #define __SAA716x_FF_H - --#include "dvb_ringbuffer.h" -+#include <media/dvb_ringbuffer.h> - #include <linux/version.h> - #include <linux/workqueue.h> - -diff -Naur powARman-v4l-dvb-saa716x-3b9fce66666a.orig/linux/drivers/media/common/saa716x/saa716x_priv.h powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_priv.h ---- powARman-v4l-dvb-saa716x-3b9fce66666a.orig/linux/drivers/media/common/saa716x/saa716x_priv.h 2018-04-04 08:24:59.458708101 +0200 -+++ powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_priv.h 2018-04-04 08:25:36.263560559 +0200 -@@ -18,11 +18,11 @@ - #include "saa716x_spi.h" - #include "saa716x_vip.h" - --#include "dvbdev.h" --#include "dvb_demux.h" --#include "dmxdev.h" --#include "dvb_frontend.h" --#include "dvb_net.h" -+#include <media/dvbdev.h> -+#include <media/dvb_demux.h> -+#include <media/dmxdev.h> -+#include <media/dvb_frontend.h> -+#include <media/dvb_net.h> - - #define SAA716x_ERROR 0 - #define SAA716x_NOTICE 1 diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch deleted file mode 100644 index 8e418c82868e..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/linux/drivers/media/common/saa716x/saa716x_ff.h 2018-11-08 15:44:10.479886225 +0100 -+++ b/linux/drivers/media/common/saa716x/saa716x_ff.h 2018-11-08 15:45:19.981237523 +0100 -@@ -108,6 +108,9 @@ - #define VIDEO_CAPTURE_OFF 0 - #define VIDEO_CAPTURE_ONE_SHOT 1 - -+#ifndef AUDIO_GET_PTS -+#define AUDIO_GET_PTS _IOR('o', 19, __u64) -+#endif - - /* place to store all the necessary device information */ - struct sti7109_dev { diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.2-fix-compile.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.2-fix-compile.patch deleted file mode 100644 index 392ef2583075..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.2-fix-compile.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -urN powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_budget.c v4l-dvb-saa716x-0.0.1_p20141109-r1/work/powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_budget.c ---- powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_budget.c 2015-09-03 00:30:08.662553247 +0200 -+++ v4l-dvb-saa716x-0.0.1_p20141109-r1/work/powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_budget.c 2015-09-03 00:31:03.899206845 +0200 -@@ -306,7 +306,7 @@ - #define SAA716x_MODEL_TWINHAN_VP1028 "Twinhan/Azurewave VP-1028" - #define SAA716x_DEV_TWINHAN_VP1028 "DVB-S" - --static int vp1028_dvbs_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage) -+static int vp1028_dvbs_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) - { - struct saa716x_dev *saa716x = fe->dvb->priv; - -diff -urN powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_hybrid.c v4l-dvb-saa716x-0.0.1_p20141109-r1/work/powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_hybrid.c ---- powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_hybrid.c 2014-11-09 15:44:55.000000000 +0100 -+++ v4l-dvb-saa716x-0.0.1_p20141109-r1/work/powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_hybrid.c 2015-09-03 00:31:03.899206845 +0200 -@@ -321,7 +321,7 @@ - .request_firmware = tda1004x_vp6090_request_firmware, - }; - --static int vp6090_dvbs_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage) -+static int vp6090_dvbs_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) - { - struct saa716x_dev *saa716x = fe->dvb->priv; - -diff -urN powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_pci.c v4l-dvb-saa716x-0.0.1_p20141109-r1/work/powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_pci.c ---- powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_pci.c 2014-11-09 15:44:55.000000000 +0100 -+++ v4l-dvb-saa716x-0.0.1_p20141109-r1/work/powARman-v4l-dvb-saa716x-d7e98fc59230/linux/drivers/media/common/saa716x/saa716x_pci.c 2015-09-03 00:31:03.900206839 +0200 -@@ -1,3 +1,5 @@ -+#include <asm/atomic.h> -+#include <linux/spinlock_types.h> - #include <asm/io.h> - #include <asm/pgtable.h> - #include <asm/page.h> - diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.5.2-fix-compile.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.5.2-fix-compile.patch deleted file mode 100644 index ac499acdccbc..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.5.2-fix-compile.patch +++ /dev/null @@ -1,13 +0,0 @@ -fix compile with kernel >= 4.5.2 -wrt bug 581450 -Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> 2016/05/05 ---- a/linux/drivers/media/common/saa716x/saa716x_pci.c.old 2016-04-27 20:59:51.000000000 +0200 -+++ b/linux/drivers/media/common/saa716x/saa716x_pci.c 2016-04-27 21:19:03.117822874 +0200 -@@ -1,6 +1,7 @@ - #include <asm/atomic.h> - #include <linux/spinlock_types.h> - #include <asm/io.h> -+#include <asm/processor.h> - #include <asm/pgtable.h> - #include <asm/page.h> - #include <linux/kmod.h> diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.6.0-fix-compile.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.6.0-fix-compile.patch deleted file mode 100644 index 5aeaabd29af1..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.6.0-fix-compile.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/linux/drivers/media/common/saa716x/saa716x_pci.c 2017-02-26 18:48:27.196949325 +0100 -+++ b/linux/drivers/media/common/saa716x/saa716x_pci.c 2017-02-26 18:50:28.149283794 +0100 -@@ -1,9 +1,6 @@ - #include <asm/atomic.h> - #include <linux/spinlock_types.h> --#include <asm/io.h> - #include <asm/processor.h> --#include <asm/pgtable.h> --#include <asm/page.h> - #include <linux/kmod.h> - #include <linux/vmalloc.h> - #include <linux/init.h> -@@ -20,11 +17,6 @@ - - #define DRIVER_NAME "SAA716x Core" - --static irqreturn_t saa716x_msi_handler(int irq, void *dev_id) --{ -- return IRQ_HANDLED; --} -- - static int saa716x_enable_msi(struct saa716x_dev *saa716x) - { - struct pci_dev *pdev = saa716x->pdev; diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.9-fix-warnings.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.9-fix-warnings.patch deleted file mode 100644 index a32ab60868a6..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.9-fix-warnings.patch +++ /dev/null @@ -1,146 +0,0 @@ ---- a/linux/drivers/media/common/saa716x/saa716x_rom.c 2015-12-29 19:40:55.000000000 +0100 -+++ a/linux/drivers/media/common/saa716x/saa716x_rom.c 2017-07-11 00:51:19.149941914 +0200 -@@ -113,7 +113,7 @@ - memcpy(rom_header, &buf[*offset], sizeof (struct saa716x_romhdr)); - if (rom_header->header_size != sizeof (struct saa716x_romhdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%zd bytes, Expected=%d", - sizeof (struct saa716x_romhdr), - rom_header->header_size); - -@@ -237,7 +237,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_decoder_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_decoder_hdr)); - -@@ -268,7 +268,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_gpio_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_gpio_hdr)); - -@@ -305,7 +305,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_video_decoder_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_video_decoder_hdr)); - -@@ -386,7 +386,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_audio_decoder_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_audio_decoder_hdr)); - -@@ -417,7 +417,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_evsrc_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_evsrc_hdr)); - -@@ -448,7 +448,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_xbar_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_xbar_hdr)); - -@@ -486,7 +486,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_tuner_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_tuner_hdr)); - -@@ -516,7 +516,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_pll_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_pll_hdr)); - -@@ -546,7 +546,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_channel_decoder_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_channel_decoder_hdr)); - -@@ -576,7 +576,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_encoder_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_encoder_hdr)); - -@@ -606,7 +606,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_ir_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_ir_hdr)); - -@@ -637,7 +637,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_eeprom_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_eeprom_hdr)); - -@@ -668,7 +668,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_filter_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_filter_hdr)); - -@@ -699,7 +699,7 @@ - saa716x_descriptor_dbg(saa716x, buf, offset, header.size, header.ext_data); - if (header.size != sizeof (struct saa716x_streamdev_hdr)) { - dprintk(SAA716x_ERROR, 1, -- "ERROR: Header size mismatch! Read size=%d bytes, Expected=%d", -+ "ERROR: Header size mismatch! Read size=%d bytes, Expected=%zd", - header.size, - sizeof (struct saa716x_streamdev_hdr)); - -@@ -789,7 +789,7 @@ - - memcpy(device, &buf[*offset], sizeof (struct saa716x_devinfo)); - if (device->struct_size != sizeof (struct saa716x_devinfo)) { -- dprintk(SAA716x_ERROR, 1, "ERROR: Device size mismatch! Read=%d bytes, expected=%d bytes", -+ dprintk(SAA716x_ERROR, 1, "ERROR: Device size mismatch! Read=%d bytes, expected=%zd bytes", - device->struct_size, - sizeof (struct saa716x_devinfo)); - diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch-2.diff b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch-2.diff deleted file mode 100644 index 78ba021fb4fe..000000000000 --- a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch-2.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- v4l-dvb-saa716x-cfa4b4faab67/linux/drivers/media/common/saa716x/Makefile.orig 2013-03-02 07:44:51.112642592 +0100 -+++ v4l-dvb-saa716x-cfa4b4faab67/linux/drivers/media/common/saa716x/Makefile 2013-03-02 07:46:56.703138542 +0100 -@@ -24,3 +24,5 @@ - obj-$(CONFIG_DVB_SAA716X_FF) += saa716x_ff.o - - EXTRA_CFLAGS = -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ -Idrivers/media/dvb-core/ -Idrivers/media/dvb-frontends/ -+EXTRA_CFLAGS += -Idrivers/media/common/tuners/ # up to kernel 3.6 -+EXTRA_CFLAGS += -Idrivers/media/tuners/ # kernel 3.7+ diff --git a/media-tv/v4l-dvb-saa716x/metadata.xml b/media-tv/v4l-dvb-saa716x/metadata.xml index 953cd1bea14f..bbd5b755d9bd 100644 --- a/media-tv/v4l-dvb-saa716x/metadata.xml +++ b/media-tv/v4l-dvb-saa716x/metadata.xml @@ -9,9 +9,6 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> - <use> - <flag name="firmware">Install firmware</flag> - </use> <upstream> <remote-id type="bitbucket">powARman/v4l-dvb-saa716x</remote-id> </upstream> diff --git a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r3.ebuild b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r3.ebuild deleted file mode 100644 index 331af00aebdc..000000000000 --- a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info linux-mod - -DESCRIPTION="driver for saa716x based dvb cards like TT S2-6400 or Skystar 2 eXpress HD" -HOMEPAGE="https://bitbucket.org/powARman/v4l-dvb-saa716x/overview" - -HG_REVISION="3b9fce66666a" -HG_REVISION_DATE="20160322" - -SRC_URI="https://bitbucket.org/powARman/v4l-dvb-saa716x/get/${HG_REVISION}.tar.gz --> v4l-dvb-saa716x-0.0.1_p${HG_REVISION_DATE}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="+firmware" - -DEPEND="" -RDEPEND="${DEPEND} - firmware? ( sys-firmware/tt-s2-6400-firmware )" - -S="${WORKDIR}/powARman-v4l-dvb-saa716x-${HG_REVISION}" - -BUILD_TARGETS="modules" -MODULE_NAMES="saa716x_ff(misc:${EROOT%/}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) - saa716x_core(misc:${EROOT%/}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) - saa716x_budget(misc:${EROOT%/}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) - saa716x_hybrid(misc:${EROOT%/}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)" - -CONFIG_CHECK="DVB_CORE DVB_STV6110x DVB_STV090x" - -src_prepare() { - default - - eapply -p0 "${FILESDIR}/OSD_RAW_CMD_patch_2.diff" - eapply "${FILESDIR}/v4l-dvb-saa716x-Makefilepatch-2.diff" - kernel_is ge 3 19 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-3.19-set_gpio.patch" - kernel_is ge 4 2 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.2-fix-compile.patch" - kernel_is ge 4 5 2 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.5.2-fix-compile.patch" - kernel_is ge 4 6 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.6.0-fix-compile.patch" - kernel_is ge 4 9 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.9-fix-warnings.patch" - kernel_is ge 4 10 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.10-fix-compile.patch" -} - -src_compile() { - BUILD_PARAMS="SUBDIRS=${S}/linux/drivers/media/common/saa716x \ - CONFIG_SAA716X_CORE=m CONFIG_DVB_SAA716X_FF=m CONFIG_DVB_SAA716X_BUDGET=m \ - CONFIG_DVB_SAA716X_HYBRID=m" - addpredict "${EROOT%/}"/usr/src/linux/ - linux-mod_src_compile -} diff --git a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r4.ebuild b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r4.ebuild deleted file mode 100644 index 01a1f825cf79..000000000000 --- a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20170225-r4.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod - -DESCRIPTION="driver for saa716x based dvb cards like TT S2-6400 or Skystar 2 eXpress HD" -HOMEPAGE="https://bitbucket.org/powARman/v4l-dvb-saa716x" - -REVISION="83f3bfd93a95" -REVISION_DATE="20160322" - -SRC_URI="https://bitbucket.org/powARman/v4l-dvb-saa716x/get/${REVISION}.tar.bz2 --> v4l-dvb-saa716x-0.0.1_p${REVISION_DATE}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+firmware" - -DEPEND="" -RDEPEND="${DEPEND} - firmware? ( sys-firmware/tt-s2-6400-firmware )" - -S="${WORKDIR}/powARman-v4l-dvb-saa716x-${REVISION}" - -BUILD_TARGETS="modules" -MODULE_NAMES=" - saa716x_ff(misc:${EROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) - saa716x_core(misc:${EROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) - saa716x_budget(misc:${EROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) - saa716x_hybrid(misc:${EROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)" - -CONFIG_CHECK="DVB_CORE DVB_STV6110x DVB_STV090x" - -src_prepare() { - default - - eapply -p0 "${FILESDIR}/OSD_RAW_CMD_patch_2.diff" - eapply "${FILESDIR}/v4l-dvb-saa716x-Makefilepatch-2.diff" - kernel_is ge 3 19 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-3.19-set_gpio.patch" - kernel_is ge 4 2 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.2-fix-compile.patch" - kernel_is ge 4 5 2 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.5.2-fix-compile.patch" - kernel_is ge 4 6 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.6.0-fix-compile.patch" - kernel_is ge 4 9 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.9-fix-warnings.patch" - kernel_is ge 4 10 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.10-fix-compile.patch" - kernel_is ge 4 14 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.14.0-fix-compile.patch" - kernel_is ge 4 15 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.15-fix-autorepeat.patch" - kernel_is ge 4 15 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.15-fix-timers.patch" - kernel_is ge 4 16 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.16-fix-compile.patch" - kernel_is ge 4 17 0 && eapply "${FILESDIR}/v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch" -} - -src_compile() { - kernel_is le 5 0 && BUILD_PARAMS="SUBDIRS" || BUILD_PARAMS="M" - BUILD_PARAMS+="=${S}/linux/drivers/media/common/saa716x CONFIG_SAA716X_CORE=m \ - CONFIG_DVB_SAA716X_FF=m CONFIG_DVB_SAA716X_BUDGET=m CONFIG_DVB_SAA716X_HYBRID=m" - addpredict "${EROOT}"/usr/src/linux/ - linux-mod_src_compile -} |