diff options
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/Manifest.gz | bin | 3762 -> 3761 bytes | |||
-rw-r--r-- | media-tv/kodi/Manifest | 2 | ||||
-rw-r--r-- | media-tv/kodi/kodi-19.0_beta2.ebuild | 303 | ||||
-rw-r--r-- | media-tv/mythtv/Manifest | 10 | ||||
-rw-r--r-- | media-tv/mythtv/files/mythtv-29.1-Fix_create_webbrowser_window.patch | 61 | ||||
-rw-r--r-- | media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch | 34 | ||||
-rw-r--r-- | media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch | 22 | ||||
-rw-r--r-- | media-tv/mythtv/metadata.xml | 1 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild | 432 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-31.0-r4.ebuild (renamed from media-tv/mythtv/mythtv-31.0-r3.ebuild) | 6 | ||||
-rw-r--r-- | media-tv/w_scan/Manifest | 3 | ||||
-rw-r--r-- | media-tv/w_scan/files/w_scan-20170107-fno-common.patch | 24 | ||||
-rw-r--r-- | media-tv/w_scan/w_scan-20170107.ebuild | 13 |
13 files changed, 341 insertions, 570 deletions
diff --git a/media-tv/Manifest.gz b/media-tv/Manifest.gz Binary files differindex 106e2e5b97b1..ea5ae42e51c4 100644 --- a/media-tv/Manifest.gz +++ b/media-tv/Manifest.gz diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest index f08dae08115e..51511b443135 100644 --- a/media-tv/kodi/Manifest +++ b/media-tv/kodi/Manifest @@ -1,9 +1,11 @@ DIST ffmpeg-kodi-4.3.1-Matrix-Beta1.tar.gz 13477440 BLAKE2B 49415f76fd2a888b0efadb19597bd89db65c3d9e1224ab529ff0d73ab5734a23982b4d4905ddeb105ce59a816c4642cdb9f5568b0c39c29f5fb9431f9623d4ec SHA512 ce43390e816dabeed4ca231f5f7adade6c721c38e17996a57810fb6025ea49b812133c2a6e29aac7c674d4e4af3a21dbd7e605d85fb966935a01bda983b884ac DIST kodi-19.0b1.tar.gz 52314501 BLAKE2B 35090e969160f7ea6619d6c720f92a3ecf97391d12548927fcfd03ccc15091132f795f4636a4c4b8c15b2a623ee8b892c4b395e2e4e811152c63ffc19474ff90 SHA512 51a5a060c9ee51dd05303259cf59164bf273b05430f0987998a90879dfb52c1e95669e1c432476df65247fb70e920058119713a627ed7e12bf8dcd13645ffc40 +DIST kodi-19.0b2.tar.gz 52329859 BLAKE2B 79b9606b48d1a4a2a2ad7c2799bddf539edd04e1954892299507f245fd1c1db057dc22f753877fd0ba56f414c1addb32168c73328d5cf62dec1428941eebb590 SHA512 0f6598c90fbe0a1e2bee2bea5c6fe3d6579e7b0bd58c68590023629f92dd35d092b4de9b697759558ceb381f558cc53d8a74a412567b14683847b3c5e3d6a314 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_beta1-r1.ebuild 9173 BLAKE2B 7dc5c2e5b1dd25c84d375f89785923c7d8cb968fa53bc0799af95ebf454cf6a349e7a78e39e6de8a8f3133c246bc3b88d28673a6e899f81c1835a59f3b432776 SHA512 75a50ad6336947ccaf73e61268a7c715b7b73207f5b664150a5fffddef3ad3ba3ae747d7ac50559f79360bb75ffd11f679b78a0f5490b46492aac476538b0479 +EBUILD kodi-19.0_beta2.ebuild 9173 BLAKE2B 7dc5c2e5b1dd25c84d375f89785923c7d8cb968fa53bc0799af95ebf454cf6a349e7a78e39e6de8a8f3133c246bc3b88d28673a6e899f81c1835a59f3b432776 SHA512 75a50ad6336947ccaf73e61268a7c715b7b73207f5b664150a5fffddef3ad3ba3ae747d7ac50559f79360bb75ffd11f679b78a0f5490b46492aac476538b0479 EBUILD kodi-19.9999.ebuild 9173 BLAKE2B 7dc5c2e5b1dd25c84d375f89785923c7d8cb968fa53bc0799af95ebf454cf6a349e7a78e39e6de8a8f3133c246bc3b88d28673a6e899f81c1835a59f3b432776 SHA512 75a50ad6336947ccaf73e61268a7c715b7b73207f5b664150a5fffddef3ad3ba3ae747d7ac50559f79360bb75ffd11f679b78a0f5490b46492aac476538b0479 EBUILD kodi-9999.ebuild 9173 BLAKE2B 7dc5c2e5b1dd25c84d375f89785923c7d8cb968fa53bc0799af95ebf454cf6a349e7a78e39e6de8a8f3133c246bc3b88d28673a6e899f81c1835a59f3b432776 SHA512 75a50ad6336947ccaf73e61268a7c715b7b73207f5b664150a5fffddef3ad3ba3ae747d7ac50559f79360bb75ffd11f679b78a0f5490b46492aac476538b0479 MISC metadata.xml 1796 BLAKE2B da81fcbb0abedc4f78e82fa6f9453e4ffe824b1cedefcc9a1261dc09e0bd43482a7bd03e908f959d1a3033c284188d79644a1a9bca5064836eb3d0908b7d0d7f SHA512 d76d9f8d4683df4ab488dd30852437649810d0b093f0590db8f95404445f25aca7efdaa9d706d3222d67104cb2c4b02896154fcd7df1173b0bfe7e2557d73847 diff --git a/media-tv/kodi/kodi-19.0_beta2.ebuild b/media-tv/kodi/kodi-19.0_beta2.ebuild new file mode 100644 index 000000000000..db37201ab5ac --- /dev/null +++ b/media-tv/kodi/kodi-19.0_beta2.ebuild @@ -0,0 +1,303 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_REQ_USE="libressl?,sqlite,ssl" +LIBDVDCSS_VERSION="1.4.2-Leia-Beta-5" +LIBDVDREAD_VERSION="6.0.0-Leia-Alpha-3" +LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3" +FFMPEG_VERSION="4.3.1" +CODENAME="Matrix" +FFMPEG_KODI_VERSION="Beta1" +PYTHON_COMPAT=( python3_{6,7,8,9} ) +SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz -> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz + https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz -> libdvdread-${LIBDVDREAD_VERSION}.tar.gz + https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz -> libdvdnav-${LIBDVDNAV_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" + inherit git-r3 +else + MY_PV=${PV/_p/_r} + MY_PV=${MY_PV/_alpha/a} + MY_PV=${MY_PV/_beta/b} + MY_PV=${MY_PV/_rc/rc} + MY_P="${PN}-${MY_PV}" + SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}-${CODENAME}.tar.gz -> ${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" + S=${WORKDIR}/xbmc-${MY_PV}-${CODENAME} +fi + +inherit autotools cmake desktop linux-info pax-utils python-single-r1 xdg + +DESCRIPTION="A free and open source media-player and entertainment hub" +HOMEPAGE="https://kodi.tv/ https://kodi.wiki/" + +LICENSE="GPL-2+" +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 dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl pulseaudio raspberry-pi samba systemd +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + || ( gles opengl ) + || ( gbm wayland X ) + ?? ( mariadb mysql ) + bluray? ( udf ) + udev? ( !libusb ) + udisks? ( dbus ) + upower? ( dbus ) +" +RESTRICT="!test? ( test )" + +COMMON_DEPEND="${PYTHON_DEPS} + airplay? ( + >=app-pda/libplist-2.0.0 + net-libs/shairplay + ) + alsa? ( >=media-libs/alsa-lib-1.1.4.1 ) + bluetooth? ( net-wireless/bluez ) + bluray? ( >=media-libs/libbluray-1.1.2 ) + caps? ( sys-libs/libcap ) + dbus? ( sys-apps/dbus ) + dev-db/sqlite + dev-libs/expat + >=dev-libs/flatbuffers-1.11.0 + >=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 ' + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + dev-python/pycryptodome[${PYTHON_MULTI_USEDEP}] + ') + >=dev-libs/libcdio-2.1.0 + >=dev-libs/libfmt-6.1.2 + dev-libs/libfstrcmp + gbm? ( media-libs/mesa[gbm] ) + gles? ( + !raspberry-pi? ( media-libs/mesa[gles2] ) + ) + lcms? ( media-libs/lcms:2 ) + libusb? ( virtual/libusb:1 ) + virtual/ttf-fonts + media-fonts/roboto + media-libs/dav1d + >=media-libs/fontconfig-2.13.1 + >=media-libs/freetype-2.10.1 + >=media-libs/libass-0.13.4 + !raspberry-pi? ( media-libs/mesa[egl] ) + >=media-libs/taglib-1.11.1 + system-ffmpeg? ( + >=media-video/ffmpeg-${FFMPEG_VERSION}:=[dav1d,encode,postproc] + libressl? ( media-video/ffmpeg[libressl,-openssl] ) + !libressl? ( media-video/ffmpeg[-libressl,openssl] ) + ) + 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 ) + !libressl? ( >=dev-libs/openssl-1.0.2l:0= ) + libressl? ( dev-libs/libressl:0= ) + raspberry-pi? ( + || ( media-libs/raspberrypi-userland media-libs/raspberrypi-userland-bin media-libs/mesa[egl,gles2,video_cards_vc4] ) + ) + pulseaudio? ( media-sound/pulseaudio ) + samba? ( >=net-fs/samba-3.4.6[smbclient(+)] ) + >=sys-libs/zlib-1.2.11 + udf? ( >=dev-libs/libudfread-1.0.0 ) + udev? ( virtual/udev ) + vaapi? ( + x11-libs/libva:= + opengl? ( x11-libs/libva[opengl] ) + system-ffmpeg? ( media-video/ffmpeg[vaapi] ) + vdpau? ( x11-libs/libva[vdpau] ) + wayland? ( x11-libs/libva[wayland] ) + X? ( x11-libs/libva[X] ) + ) + virtual/libiconv + vdpau? ( + || ( >=x11-libs/libvdpau-1.1 >=x11-drivers/nvidia-drivers-180.51 ) + system-ffmpeg? ( media-video/ffmpeg[vdpau] ) + ) + wayland? ( + >=dev-cpp/waylandpp-0.2.3:= + media-libs/mesa[wayland] + >=dev-libs/wayland-protocols-1.7 + ) + webserver? ( >=net-libs/libmicrohttpd-0.9.55[messages(+)] ) + X? ( + media-libs/mesa[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 ) + zeroconf? ( net-dns/avahi[dbus] ) +" +RDEPEND="${COMMON_DEPEND} + lirc? ( app-misc/lirc ) + 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 + dev-libs/rapidjson + dev-util/cmake + dev-util/gperf + media-libs/giflib + >=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" +ERROR_IP_MULTICAST=" +In some cases Kodi needs to access multicast addresses. +Please consider enabling IP_MULTICAST under Networking options. +" + +pkg_setup() { + check_extra_config + python-single-r1_pkg_setup +} + +src_unpack() { + if [[ ${PV} == *9999 ]] ; then + git-r3_src_unpack + else + default + fi +} + +src_prepare() { + cmake_src_prepare + + # avoid long delays when powerkit isn't running #348580 + sed -i \ + -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \ + xbmc/platform/linux/*.cpp || die + + # Prepare tools and libs witch are configured with autotools during compile time + AUTOTOOLS_DIRS=( + "${S}"/tools/depends/native/TexturePacker/src + "${S}"/tools/depends/native/JsonSchemaBuilder/src + ) + + local d + for d in "${AUTOTOOLS_DIRS[@]}" ; do + pushd ${d} >/dev/null || die + AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" eautoreconf + popd >/dev/null || die + done + elibtoolize + + # Prevent autoreconf rerun + sed -e 's/autoreconf -vif/echo "autoreconf already done in src_prepare()"/' -i \ + "${S}"/tools/depends/native/TexturePacker/src/autogen.sh \ + "${S}"/tools/depends/native/JsonSchemaBuilder/src/autogen.sh \ + || die +} + +src_configure() { + local platform=() + use gbm && platform+=( gbm ) + use wayland && platform+=( wayland ) + use X && platform+=( x11 ) + local core_platform_name="${platform[@]}" + local mycmakeargs=( + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + -DENABLE_LDGOLD=OFF # https://bugs.gentoo.org/show_bug.cgi?id=606124 + -DENABLE_ALSA=$(usex alsa) + -DENABLE_AIRTUNES=$(usex airplay) + -DENABLE_AVAHI=$(usex zeroconf) + -DENABLE_BLUETOOTH=$(usex bluetooth) + -DENABLE_BLURAY=$(usex bluray) + -DENABLE_CCACHE=OFF + -DENABLE_CEC=$(usex cec) + -DENABLE_DBUS=$(usex dbus) + -DENABLE_DVDCSS=$(usex css) + -DENABLE_INTERNAL_CROSSGUID=OFF + -DENABLE_INTERNAL_FFMPEG="$(usex !system-ffmpeg)" + -DENABLE_INTERNAL_FSTRCMP=OFF + -DENABLE_INTERNAL_GTEST=OFF + -DENABLE_INTERNAL_UDFREAD=OFF + -DENABLE_CAP=$(usex caps) + -DENABLE_LCMS2=$(usex lcms) + -DENABLE_LIRCCLIENT=$(usex lirc) + -DENABLE_MARIADBCLIENT=$(usex mariadb) + -DENABLE_MICROHTTPD=$(usex webserver) + -DENABLE_MYSQLCLIENT=$(usex mysql) + -DENABLE_NFS=$(usex nfs) + -DENABLE_OPENGLES=$(usex gles) + -DENABLE_OPENGL=$(usex opengl) + -DENABLE_OPTICAL=$(usex dvd) + -DENABLE_PLIST=$(usex airplay) + -DENABLE_PULSEAUDIO=$(usex pulseaudio) + -DENABLE_SMBCLIENT=$(usex samba) + -DENABLE_TESTING=$(usex test) + -DENABLE_UDEV=$(usex udev) + -DENABLE_UDFREAD=$(usex udf) + -DENABLE_UPNP=$(usex upnp) + -DENABLE_VAAPI=$(usex vaapi) + -DENABLE_VDPAU=$(usex vdpau) + -DENABLE_XSLT=$(usex xslt) + -Dlibdvdread_URL="${DISTDIR}/libdvdread-${LIBDVDREAD_VERSION}.tar.gz" + -Dlibdvdnav_URL="${DISTDIR}/libdvdnav-${LIBDVDNAV_VERSION}.tar.gz" + -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)" + -DCORE_PLATFORM_NAME="${core_platform_name}" + ) + + use libusb && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) ) + + if use system-ffmpeg; then + mycmakeargs+=( -DWITH_FFMPEG="yes" ) + else + mycmakeargs+=( -DFFMPEG_URL="${DISTDIR}/ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz" ) + fi + + cmake_src_configure +} + +src_compile() { + cmake_src_compile all +} + +src_test() { + # see https://github.com/xbmc/xbmc/issues/17860#issuecomment-630120213 + KODI_HOME="${BUILD_DIR}" cmake_build check +} + +src_install() { + cmake_src_install + + pax-mark Em "${ED}"/usr/$(get_libdir)/${PN}/${PN}.bin + + newicon media/icon48x48.png kodi.png + + rm "${ED}"/usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf || die + 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 +} diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest index 4c42b387377b..9db9c0746b58 100644 --- a/media-tv/mythtv/Manifest +++ b/media-tv/mythtv/Manifest @@ -5,17 +5,11 @@ AUX mythbackend.init-r3 2051 BLAKE2B b7e6d008b076bb51a14b9898c45e27ec9e9a0aac54c AUX mythbackend.service-28 2689 BLAKE2B 1141975d442d5308700d05710030114cc4c428879eaed030b065a7dc4a0d23f839f26cba0e6b660c938e15faf9e9ac3f5b36a979226068d0989f4b044e73ccee SHA512 945cd721c7114e7c9a334063c6f85de40c2dd8a40271b1755b31881ae2c067b67d34685e1cb2d9b09fdaa9bf58ea2763e4e314b288e53f8bfcef7b6942ce5dd1 AUX mythfrontend.conf 474 BLAKE2B d81e2e91bb4a8afef746268ec832129ac6b02c27d0e7414a912a04ac2edec69ca59367d24fa8d80d5f6c8d6b0f462cb022d4307070a267e970405a9cf0448d64 SHA512 8b3967f5e7d719fefe50b8868dc1b974c3f6337335e7e65799ddb331abe07df0fadb4cb619758fefeaa0c4d0d1dac6f00e0982736cab5acac993bdaced0051c2 AUX mythfrontend.wrapper 794 BLAKE2B f4f8cf24665f75d38d932551534c14d3d93673384719cd494abc77a308bbc1c5842965c39540ff6bdfe5fed660594acd9f9e2767fba8fa7c782ba525eb287d33 SHA512 d69676d3b981c76988bbe60277f74028668c851db7db3c37a60ecc95ae18d9f77cd38511fcd3deb95d1f87bf659d7b0bcd7f1dd469801950d28f7b3f6f6947e3 -AUX mythtv-29.1-Fix_create_webbrowser_window.patch 1564 BLAKE2B aa1eeb57d2943c95a5e46a024c16fee91e6d473881a670a9ac07993d141c3d1062c769a82a616a6cb35dafe01d0fe19553c9664b211e6d14c66e7a2172210cc6 SHA512 645f4bd29d67cbb2b2e9f00a273111c9d9dbcaab42273938cecc41cf4f2088310cb3b70477192dd9b0434db02f23ca3a0ff9128defa63453317ec9005b1e0b49 -AUX mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch 1913 BLAKE2B b5ea6ec46961ded89331b041434a5bcb861bac632475611986e1fd1db9b186392249a770f634a7a4a97847f9b36fbabd3a1edc5447068a79fcee41131908ef55 SHA512 51d66f7044e15adad7bad94dac89eaeb6bc8c42d793c57565c48061359ec4486ca754471a64bee0dc36d5da0346a462488ad24c2cb7a74b82d22acf8103a3c64 -AUX mythtv-30.0_p20190808-Fix_unitialized_variables.patch 659 BLAKE2B ff947ef9e669cb47c2e7ec9081963e855596843ca0da9e248e3ec0c2111a50dd1fd1b38f700b0c31d7281959e05219c1548ec6b631347e22583b96b083fe5715 SHA512 e92bd3b13a0ded212d10423063c228fffc24fad6401d8ee371cd766f73e23832b6cdc7e46d729362b4d1ba8ce4704cb7d4a841ad7a0560a297e7e5b8b3944aa6 AUX mythtv-30.0_p20190808-respect_LDFLAGS.patch 334 BLAKE2B 1e0ab12773e49fb349aa0b1c243f8d740ec9783e845307ded5763cf7872e090fbe19d74506e5dbea346c099a84fa395ac4c63dc45a03d20a04372b62bb39e3c1 SHA512 90cf1d4809df7859e611502590cbb1c2bdaea23e6f0a47351042be6287e2b5030ef0645e22f722bec5a029701fd3c2227c5dfb3509a2322b56a1aef60bcb2c33 AUX mythtv-31.0-Include_QPainterPath.patch 404 BLAKE2B 226a49e58457d8a23cd0cb45aebb3e469a1732c79f979e7f558a85eac28129c5a5f363ec15cc0784fef1db4f0f4b897ce49f934a8c6ed2ea669d2e5ef5b1908d SHA512 e0fd7a3e897a94b5077814adc951e649de0792c1f0d3d9d10e002b31dc5e11c09ed110994397e69e66419fb0f648bc8a6de4155a43cd05947605cbdcf9390f8c AUX mythtv-31.0-Remove_ldconfig.patch 399 BLAKE2B 26b480b30ccb779523a06fc81ec6535a3f2a5c7660d86d6a31ab64975b83339ea9c175fdcffdf96942315c30f6bf3b33bb348e5bba4695d1805810f046e629ed SHA512 7460f8e5a4981b16f07c4be6b227da62c3106fa7da499a12348309538a57f6d271998de75503941d91afadefbc975c3870195123c5a9856ce779360a9636f1a4 AUX mythtv.logrotate.d-r4 235 BLAKE2B 4f6df360f5191aaf4a2b55bd3edc7bc4aab92c46dbd7b7bc1295371b7ef451056f902d92e3209654463850d2cbca579c60d25c1f9065ac80ce3e57fa1fe8e661 SHA512 8dd8936599acabfa55ad7efb870de431e03cb86c3c96156c2c0eee6675962dcc527391260f2ba66e3d54c1d41373001ef25c9d2421e83940c686d14b5f29fff7 AUX xinitrc-r1 234 BLAKE2B 0227ea065f1c43e1b2f1583bcbc798db76e9a08d345bbd8ed8837a6ba424b187c814e3ff0d7690d2d9f7a7617f4fbcce20df926e43bc6e89aec3e352aab6de8f SHA512 885adfe395fe553f6d5cf518856be7be9a6bf6073888f8e055271ed7c3d9ad85a162e9e9ff95a68e54047948ac280796c69ef55d0b4e549eb0beabbf0fec1188 -DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59 SHA512 c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe -DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a SHA512 c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb SHA512 d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e -EBUILD mythtv-30.0_p20190808-r3.ebuild 12691 BLAKE2B 4fd603369eca68ba6fc5525faac4a0c8c61e2d2443f470881322e29fb7c066fdc8105d8379ecd9d2e64030ab11fc0c3593af70f053fef33aaa2f9d2234f79f28 SHA512 de4804b6ed4d713671d569bf7950c028f896e6064057e04198e60c756ae176cbaa8e5266831f1d026e3a1aa2a17006642a321b56577b353888f1f7777382781d -EBUILD mythtv-31.0-r3.ebuild 12429 BLAKE2B dc865772d4db73c2378c70e179e03e99c371f0996fedd7f62e1ca0ac9bb527051ca3d0387abba599c6299c5a1c50b438b49aadcf35b52f2e355a004271f55389 SHA512 8d3df7c1daf3d561b52620328f31126420efea81bc7e384b4b28c3bca32994a59754686edeb2450b8f5ea25c64e03b3f958d3d08919504cfc1fc627973ed4893 -MISC metadata.xml 2295 BLAKE2B 8c68aa90049846e866bc16a4c0512011e110ce853fc4cf35e6b4c380face9e6cbf620aa044162dd62a337894f0408c26da56c414641ae43c166719f387fe300e SHA512 0e621c55dfb72be00eeb00b6cd033ad7be99c3383a5273f2af03904ead91220bac03faa5a4a6e2b0520dc53796485d3911e879e6202ae4abc9cbc440bb271c3c +EBUILD mythtv-31.0-r4.ebuild 12338 BLAKE2B 7d10cf83bab8d70d380f8b7b604a56f063d6bd990023af677d2beeac038c4fcc27ece5ab9f81ed7689d68982f04760c16c3a6b3fbcf0da2ff1d5f495d08feadf SHA512 51d267ffee95622ae924a54b25aa4fec6ba1764e1169513af79df9c8937a477b295fba1c65d9cf0fa47c13f005ba724c585080ad4e043dea72170e59b0c7e5ce +MISC metadata.xml 2208 BLAKE2B ce791c95b02ccd293b326fa9463f35f3f6d48c53e7d44d2defbd8974e3d17795d2358b9258c5e7ddd2472dceb11b6ce3a991162694918086b3dea6f0d33be629 SHA512 86ae2e427699c268fd885ff16fec16912da42fe28556dcb8dd131af40e332f37b7b0d21bd3e6ec960aa4aaaf7660b8ca95ea132ea6c8a36c925d842283468846 diff --git a/media-tv/mythtv/files/mythtv-29.1-Fix_create_webbrowser_window.patch b/media-tv/mythtv/files/mythtv-29.1-Fix_create_webbrowser_window.patch deleted file mode 100644 index 168c23379423..000000000000 --- a/media-tv/mythtv/files/mythtv-29.1-Fix_create_webbrowser_window.patch +++ /dev/null @@ -1,61 +0,0 @@ -Index: mythtv/libs/libmythui/mythuiwebbrowser.cpp -Mythtv bug #13544 -=================================================================== ---- a/libs/libmythui/mythuiwebbrowser.cpp -+++ b/libs/libmythui/mythuiwebbrowser.cpp -@@ -873,4 +873,8 @@ - void MythUIWebBrowser::Init(void) - { -+ // only do the initialisation for widgets not being stored in the global object store -+ if (parent() == GetGlobalObjectStore()) -+ return; -+ - if (m_initialized) - return; -@@ -1128,4 +1132,7 @@ - void MythUIWebBrowser::SetActive(bool active) - { -+ if (!m_browser) -+ return; -+ - if (m_active == active) - return; -@@ -1326,4 +1333,7 @@ - void MythUIWebBrowser::Scroll(int dx, int dy) - { -+ if (!m_browser) -+ return; -+ - QPoint startPos = m_browser->page()->currentFrame()->scrollPosition(); - QPoint endPos = startPos + QPoint(dx, dy); -@@ -1435,4 +1445,7 @@ - void MythUIWebBrowser::UpdateScrollBars(void) - { -+ if (!m_browser) -+ return; -+ - QPoint position = m_browser->page()->currentFrame()->scrollPosition(); - if (m_verticalScrollbar) -@@ -1461,5 +1474,5 @@ - UpdateScrollBars(); - -- if (!m_image) -+ if (!m_image || !m_browser) - return; - -@@ -1480,4 +1493,7 @@ - void MythUIWebBrowser::Pulse(void) - { -+ if (!m_browser) -+ return; -+ - if (m_scrollAnimation.IsActive() && - m_destinationScrollPos != -@@ -1522,4 +1538,7 @@ - bool MythUIWebBrowser::keyPressEvent(QKeyEvent *event) - { -+ if (!m_browser) -+ return false; -+ - QStringList actions; - bool handled = false; diff --git a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch deleted file mode 100644 index bc0751c887c3..000000000000 --- a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/libs/libmythfreemheg/Programs.cpp -+++ b/libs/libmythfreemheg/Programs.cpp -@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const MHObjectRef &success, co - for (int i = 0; i < format.Size(); i++) - { - unsigned char ch = format.GetAt(i); -- char buffer[5]; // Largest text is 4 chars for a year + null terminator -+ // Largest text is 4 chars for a year + null terminator -+ // But... adding a constant to the value might be 5 chars + null terminator -+ // Using 6 gets rid of compiler warning -+ char buffer[6]; - - if (ch == '%') - { -@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const MHObjectRef &success, co - switch (ch) - { - case 'Y': -- sprintf(buffer, "%04d", timeStr->tm_year + 1900); -+ sprintf(buffer, "%04d", (unsigned short)(timeStr->tm_year + 1900)); - break; - case 'y': - sprintf(buffer, "%02d", timeStr->tm_year % 100); - break; - case 'X': -- sprintf(buffer, "%02d", timeStr->tm_mon + 1); -+ sprintf(buffer, "%02d", (unsigned short)(timeStr->tm_mon + 1)); - break; - case 'x': -- sprintf(buffer, "%1d", timeStr->tm_mon + 1); -+ sprintf(buffer, "%1d", (unsigned short)(timeStr->tm_mon + 1)); - break; - case 'D': - sprintf(buffer, "%02d", timeStr->tm_mday); diff --git a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch deleted file mode 100644 index db296242515c..000000000000 --- a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/libs/libmythtv/eitfixup.cpp -+++ b/libs/libmythtv/eitfixup.cpp -@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const - void EITFixUp::FixUK(DBEventEIT &event) const - { - int position1; -- int position2; -+ int position2 = 0; - QString strFull; - - bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) || ---- a/libs/libmythui/mythuitext.cpp -+++ b/libs/libmythui/mythuitext.cpp -@@ -1058,7 +1058,7 @@ int MythUIText::MoveCursor(int lines) - int lineCount = 0; - int currPos = 0; - int layoutStartPos = 0; -- int xPos; -+ int xPos = 0; - - for (int x = 0; x < m_Layouts.count(); x++) - { diff --git a/media-tv/mythtv/metadata.xml b/media-tv/mythtv/metadata.xml index 24e993307ee8..0de2e5e50fa6 100644 --- a/media-tv/mythtv/metadata.xml +++ b/media-tv/mythtv/metadata.xml @@ -34,7 +34,6 @@ <flag name="wrapper">Use Ubuntu mythtfrontend wrapper</flag> <flag name="x265">Enable h265 encoding using x265</flag> <flag name="xmltv">Support <pkg>media-tv/xmltv</pkg> TV listing - not used by Schedules Direct]</flag> - <flag name="xnvctrl">External XNVCtrl support using Nvidia proprietary driver</flag> </use> <upstream> <remote-id type="github">MythTV/mythtv</remote-id> diff --git a/media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild b/media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild deleted file mode 100644 index 4809398bba76..000000000000 --- a/media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild +++ /dev/null @@ -1,432 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 ) - -BACKPORTS="5cde0578d84926171b20c8f7e95a101e9b0b9457" # August 8, 2019 - -MY_P=${P%_p*} -MY_PV=${PV%_p*} - -inherit eutils flag-o-matic python-single-r1 qmake-utils readme.gentoo-r1 systemd user-info vcs-snapshot - -MYTHTV_BRANCH="fixes/${P%.*}" - -DESCRIPTION="Open Source DVR and media center hub" -HOMEPAGE="https://www.mythtv.org" -SRC_URI="https://github.com/MythTV/mythtv/archive/${BACKPORTS}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~juippis/distfiles/tmp/mythtv-30.0_p20190808-cast_constants_to_short.patch" - -LICENSE="GPL-2+" -KEYWORDS="~amd64 ~x86" -SLOT="0/${PV}" - -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 +opengl oss perl pulseaudio python raw systemd vaapi vdpau vpx - +wrapper x264 x265 +xml xmltv xnvctrl +xvid +X zeroconf - ${IUSE_INPUT_DEVICES} ${IUSE_VIDEO_CAPTURE_DEVICES}" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - bluray? ( xml ) - cdr? ( cdda ) -" -COMMON_DEPEND=" - 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 - opengl? ( dev-qt/qtopengl:5 ) - dev-qt/qtscript:5 - dev-qt/qtsql:5[mysql] - dev-qt/qtwebkit:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - media-gfx/exiv2:= - media-libs/freetype:2 - media-libs/libsamplerate - media-libs/taglib - lame? ( >=media-sound/lame-3.93.1 ) - sys-libs/zlib - opengl? ( virtual/opengl ) - X? ( - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXrandr:= - x11-libs/libXv:= - x11-libs/libXxf86vm:= - x11-misc/wmctrl:= - ) - alsa? ( >=media-libs/alsa-lib-1.0.24 ) - bluray? ( - media-libs/libbluray:=[java?] - dev-libs/libcdio:= - sys-fs/udisks:2 - ) - cec? ( dev-libs/libcec ) - dvd? ( - dev-libs/libcdio:= - sys-fs/udisks:2 - ) - egl? ( media-libs/mesa[egl] ) - fftw? ( sci-libs/fftw:3.0=[threads] ) - hdhomerun? ( media-libs/libhdhomerun ) - ieee1394? ( - >=media-libs/libiec61883-1.0.0 - >=sys-libs/libavc1394-0.5.3 - >=sys-libs/libraw1394-1.2.0 - ) - jack? ( media-sound/jack-audio-connection-kit ) - java? ( dev-java/ant-core ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - >=dev-perl/libwww-perl-5 - dev-perl/DBD-mysql - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - dev-perl/LWP-Protocol-https - dev-perl/Net-UPnP - ) - pulseaudio? ( media-sound/pulseaudio ) - systemd? ( sys-apps/systemd:= ) - vaapi? ( x11-libs/libva:=[opengl] ) - vdpau? ( x11-libs/libvdpau ) - vpx? ( <media-libs/libvpx-1.8.0:= ) - xnvctrl? ( x11-drivers/nvidia-drivers:=[tools,static-libs] ) - x264? ( >=media-libs/x264-0.0.20111220:= ) - x265? ( media-libs/x265 ) - xml? ( >=dev-libs/libxml2-2.6.0 ) - xvid? ( >=media-libs/xvid-1.1.0 ) - zeroconf? ( - dev-libs/openssl:0= - net-dns/avahi[mdnsresponder-compat] - ) -" -RDEPEND="${COMMON_DEPEND} - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/lxml[${PYTHON_MULTI_USEDEP}] - dev-python/mysqlclient[${PYTHON_MULTI_USEDEP}] - dev-python/urlgrabber[${PYTHON_MULTI_USEDEP}] - dev-python/future[${PYTHON_MULTI_USEDEP}] - dev-python/requests-cache[${PYTHON_MULTI_USEDEP}] - ') - ) - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-apps/xset - x11-wm/evilwm - ) - dvd? ( media-libs/libdvdcss ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) -" -DEPEND=" - ${COMMON_DEPEND} - dev-lang/yasm - x11-base/xorg-proto -" - -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${P}-respect_LDFLAGS.patch" - "${DISTDIR}/${P}-cast_constants_to_short.patch" - "${FILESDIR}/${P}-Fix_Dereferencing_type-punned_pointer.patch" - "${FILESDIR}/${P}-Fix_unitialized_variables.patch" - "${FILESDIR}/${PN}-29.1-Fix_create_webbrowser_window.patch" - "${FILESDIR}/${PN}-31.0-Include_QPainterPath.patch" -) - -# mythtv and mythplugins are separate builds in the github mythtv project -S="${WORKDIR}/${P}/mythtv" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS=" -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. -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 -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 - -Note that the systemd unit now restarts by default and logs -to journald via the console at the notice verbosity. -" - -pkg_setup() { - use python && python-single-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!" - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"v${MY_PV}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - echo "SOURCE_VERSION=\"${BACKPORTS}\"" > "${S}"/EXPORTED_VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/EXPORTED_VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro -} - -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 xnvctrl) - $(use_enable X xrandr) - $(use_enable X xv) - ) - - # Hardware accellerators - myconf+=( - $(use_enable vdpau) - $(use_enable vaapi) - $(use_enable vaapi vaapi2) - $(use_enable opengl opengl-video) - $(use_enable opengl opengl-themepainter) - $(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-r2 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) - use perl || find contrib/ -name '*.pl' -exec rm -f {} \; - # Ensure we don't install scripts needing the python bindings (bug #516968) - use python || find contrib/ -name '*.py' -exec rm -f {} \; - 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 - echo CONFIG_PROTECT=\"$(egethome mythtv)\" > "${T}"/95mythtv - doenvd "${T}"/95mythtv - - 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/mythtv/mythtv-31.0-r3.ebuild b/media-tv/mythtv/mythtv-31.0-r4.ebuild index b45f36f1ae77..1a3a406636bb 100644 --- a/media-tv/mythtv/mythtv-31.0-r3.ebuild +++ b/media-tv/mythtv/mythtv-31.0-r4.ebuild @@ -105,7 +105,6 @@ RDEPEND=" xml? ( dev-libs/libxml2:2 ) xmltv? ( dev-perl/XML-LibXML - dev-qt/qtwebkit:5 media-tv/xmltv ) xvid? ( media-libs/xvid ) @@ -162,6 +161,8 @@ S="${WORKDIR}/${P}/mythtv" DISABLE_AUTOFORMATTING="yes" DOC_CONTENTS=" +Suppport for Python 2.7 has been 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. @@ -200,9 +201,6 @@ 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 - -Note that the systemd unit now restarts by default and logs -to journald via the console at the notice verbosity. " pkg_setup() { diff --git a/media-tv/w_scan/Manifest b/media-tv/w_scan/Manifest index 2fefca30c228..4c2c76a47435 100644 --- a/media-tv/w_scan/Manifest +++ b/media-tv/w_scan/Manifest @@ -1,5 +1,6 @@ +AUX w_scan-20170107-fno-common.patch 911 BLAKE2B d41b1bdbd25f56789b48a045385810a1f46bd253593360f88cd00bd4b2cfbd3bf6195bc9b80605a907dc6fa77d2bf902f5fd456a106ca1c192d4c63010af4776 SHA512 e1b3c7752a25ae6faff0a90cf77f00aca3871e875d6a5a5cadbf311764a4f51b82141340914dda96152cbc5c6b373b2da89571a4fc57362d6688b6aed5c823d8 DIST w_scan-20141122.tar.bz2 239277 BLAKE2B eb3afd5977d39ff7c8b4b0c5d85fd57b74cae47f330dd1769a33d3caec2688cd40f8d08c179867042a401db61dfc32494fe2eaed04c790bdb32424cc65ffa3b5 SHA512 64d8d92dd84a5c3cfae4531fbba683602e70597f83ec28c314ccce8810fed70685f03d3e4861d586c52764573e17e0b15881bbdb2f6c60db9d3686d554f1ee6d DIST w_scan-20170107.tar.bz2 245517 BLAKE2B 049d555f47935118be26f0bb8a8fc6baa43c273692ff6bc4c95ae912f00f1bda0e5834919c018539b1f891e436ec6556b29ad8c68d69de4a93911e5c7fb265b6 SHA512 c8e163b5e4897e2bc48596a1104974c79807432c423a3dd172e85c6ed6d4f9a4a471150ae7fe1b78fe570987e9fdee666a491700368c8499b03e9b13aa5cde6a EBUILD w_scan-20141122.ebuild 677 BLAKE2B 934e0f5e2affa3e77029c1c7b4fe0969e246ddbcde745f78103f2f0fd9c3334fc6a7cbf0be4ce81e03c06d98881be60602ab3cf3f6616ae585ab3b823a1e76d0 SHA512 85f5c1fd201ddee888461a6faf9439fffdd571018ee65bd00612d4f42e5a045e68112c29d9db9bf4f89cced66ed36c0f102b43eb199b910ab59a8073ff3fca7e -EBUILD w_scan-20170107.ebuild 617 BLAKE2B 35ae1922d32bf2e6321184f1a213867de95e24cf46f38da10d57dc79b9f932def79be6563609b2da533fc0ca88345e127226c43535b7545ead41e439128ce853 SHA512 c2c626e00d57d2d2932c3034e63d67604bdf102255645d5136ad34ef5a4f9cba6ba3f726d6f6f04d3f7edbcdaa203534bab6d8039112e9d4df3590736d10d3f2 +EBUILD w_scan-20170107.ebuild 608 BLAKE2B b995e427719cc079012ffd545582124039a0a3b4dc745819e7f91d06a48d3506357bfa134f8240cc33bd75359aa34879b919a0d596dc21f7ed754adbb396d1c9 SHA512 1539bf030a858165398afbc9fe77c2c193ca835ba58a27dc64a90ffccd7a53de74bee1f8ac497375ecbdd15cbcec15e8a0c3ed486d42f9f23a37e354d9a0fa5f MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/media-tv/w_scan/files/w_scan-20170107-fno-common.patch b/media-tv/w_scan/files/w_scan-20170107-fno-common.patch new file mode 100644 index 000000000000..43bd7144eeb3 --- /dev/null +++ b/media-tv/w_scan/files/w_scan-20170107-fno-common.patch @@ -0,0 +1,24 @@ +Taken from: https://git.buildroot.net/buildroot/tree/package/w_scan/0002-si_types-h-fix-build-with-gcc-10.patch?id=2e8bf36dc4421f2213f8fa6de91b2c9bf3d64e45 +Author: Fabrice Fontaine <fontaine.fabrice@gmail.com> + +--- w_scan-20170107.orig/si_types.h 2020-09-20 11:09:56.776963441 +0200 ++++ w_scan-20170107/si_types.h 2020-09-20 11:13:13.149232478 +0200 +@@ -114,7 +114,7 @@ + uint32_t logical_channel_number; + uint8_t running; + void * priv; +-} service_t, * p_service_t; ++}; + + /******************************************************************************* + /* transponder type. +@@ -201,7 +201,7 @@ + /*----------------------------*/ + char * network_name; + network_change_t network_change; +-} __attribute__((packed)) transponder_t, * p_transponder_t; ++} __attribute__((packed)); + + /******************************************************************************* + /* satellite channel routing type. + diff --git a/media-tv/w_scan/w_scan-20170107.ebuild b/media-tv/w_scan/w_scan-20170107.ebuild index 0b7e605bf66c..504882ed1e14 100644 --- a/media-tv/w_scan/w_scan-20170107.ebuild +++ b/media-tv/w_scan/w_scan-20170107.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 DESCRIPTION="Scan DVB-C/DVB-T/DVB-S channels" HOMEPAGE="http://wirbel.htpc-forum.de/w_scan/index2.html" @@ -9,16 +9,15 @@ SRC_URI="http://wirbel.htpc-forum.de/w_scan/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="doc examples" DEPEND=">=virtual/linuxtv-dvb-headers-5.8" -RDEPEND="" -src_install() { - emake DESTDIR="${D}" install +PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) - dodoc ChangeLog README +src_install() { + default if use doc; then dodoc doc/README.file_formats doc/README_VLC_DVB |