# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) inherit eutils flag-o-matic python-any-r1 qmake-utils readme.gentoo-r1 systemd user-info MY_COMMIT="5824c588db24b4e71a7d94e829e6419f71089297" 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 asi autostart bluray cdda cdr cec cpu_flags_ppc_altivec 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[jpeg] 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:=