diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2015-09-04 21:44:55 -0500 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2015-09-05 22:24:42 -0500 |
commit | a9570ca04e0816c050178ac466fae72680f1098d (patch) | |
tree | 01cf519a2a717ba6a0ed6a63efbe763fe4cf4065 /media-tv | |
parent | dev-python/pyDeComp: fix dep to include [${PYTHON_USEDEP}] (diff) | |
download | gentoo-a9570ca04e0816c050178ac466fae72680f1098d.tar.gz gentoo-a9570ca04e0816c050178ac466fae72680f1098d.tar.bz2 gentoo-a9570ca04e0816c050178ac466fae72680f1098d.zip |
Retire a slew of old ebuilds
Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/mythtv/Manifest | 6 | ||||
-rw-r--r-- | media-tv/mythtv/files/mythtv.logrotate.d-r3 | 20 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild | 353 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild | 355 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild | 355 |
5 files changed, 0 insertions, 1089 deletions
diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest index 931c9d39c812..27e05e574407 100644 --- a/media-tv/mythtv/Manifest +++ b/media-tv/mythtv/Manifest @@ -1,12 +1,6 @@ DIST mythtv-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 179540 SHA256 ae63398f1ea8884950eb4653c42f6bf71e504738112f5ac8f4d13c1988098d95 SHA512 599dab7a51e9e2f5e240e6d80aadf3bc1f89b8f83e0a5c2e6c82695926ef3f1b7694a73d95b0a296544f9642f1e070a809d86563a415498345a3c1049f269aa4 WHIRLPOOL 74c8aa8f2846eb67f88bddacf5d7c5aa0445e0fe2fbd0f6f2f284e51e1f2c024ca8b7ef22639b7e201b8304421859d7bab802a7d2fe9343ec40d36453f0bfa8e DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0 WHIRLPOOL c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb DIST mythtv-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 298048 SHA256 2b18428980fe8951694eb9c8594aa2559df491b029987e1a4b983128fdea4f51 SHA512 1d8c2a61bd91d7116ba3b43251d517bda3c8db3c235e73dde66116dc02d14806db9c80bacf6e19eaf816c4765d8e51fe9b53900efa3112134c564c08cc0ca012 WHIRLPOOL 3d50908d085f844cd210c568b50c55c47e4fe8dd8423ffe18303a7c799a45e24dfceaa5221e6f59596394484162d9992f46d5f66b0ad3c57fbb5a240def68dec -DIST mythtv-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 161652 SHA256 271c12af8bdf6188f1a11f07ac7c3ad45374cc60211e4a005975af66d5421739 SHA512 ed7ecb9fc5d3abe592e195309d88979a41132ebd99e92e59e2471f17c3f5da089cc5846d817a5228657cef37fade5724f9ac8f0e335ec45855158996a2317016 WHIRLPOOL 86a99cc0a74c75789a98e18fd57b5627b59c650da02602d947a8ccd854ed2bf210e76bf858bc16a2a6fd93763149257ae0e3ea95f44aecf0916b5f1a2b81460d -DIST mythtv-0.27.1.tar.gz 85612356 SHA256 a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e WHIRLPOOL 938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad -DIST mythtv-0.27.3-e1d575da2fdde7ae7119972c688b0ddd15e676c4.tar.xz 77584 SHA256 43e54366582c71c0835771987be6dd33543326ba2aba4efb8a57f83b965647cc SHA512 0360b990d0ec5eade879879c516a9169c50aafaff8b08fff60d4d65e93b3c2dadac36869f958e070b644eea72592344a7f678c78a25ae7950372e17b725a1cd1 WHIRLPOOL 5eb3b1cbea2defad1143ad3934ad5d2c2585595013bc8619f8e436eebcdfa35efe377bf40b50281140901314b5c1daf2c8654b9a0f7ab4be59fdc49c5d278c43 -DIST mythtv-0.27.3.tar.gz 85624583 SHA256 8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4 SHA512 c825c6d5a4fab6fe3179dbb78730575732615ab41cf2d21f82c6e6317ab62c9a6570cd9d204c39c04d176138c90dfdc95892cd8336bb8487051f1f3842cc0866 WHIRLPOOL b9382dbe1019bde96135ff404039d4db5ef03d52d5f2d75cfd3005e1e5eea702529df3a45497c081de89d9ecfd5a6a143b6dadc228e581453b9aa75c63bcc042 -DIST mythtv-0.27.4-3b4390396bf09dfe3741508ecf7fc71a004abd01.tar.xz 12752 SHA256 b3331d8dbe36d34c88ab42aec2d2d84e2bb51ba11b714f23c5faa91e32ce06de SHA512 8f80378cfc5be8058baa74f7d25e8ec0a0405201e6f8b77b6cb96ba91dbd9b9251947ba7b6e48efad5270624769195891e2c48e0c8d0a16d6f8893801103a26b WHIRLPOOL 140d8dfb39942ef587b551099942b6b284bd49e070225aaee71f3fb4feebfc0ce293461b87fe9f6477def2745a6d71226fb103cf090a25fc33ecf85bd62212b6 -DIST mythtv-0.27.4.tar.gz 85644227 SHA256 1f734ffc776e4938aa913e49ce94279f2c2d520c62af278f1d04fe399723365b SHA512 6f858f32467756e96db6f79ccb2c42edc0bf22d217cb7b9dc9188ada994bbb9aafe9f72dd71aca10cd26bad1bd5d344af64487ec5fc925872aba81cf7aa257c8 WHIRLPOOL 65cd1869b7cee00197179b13a138d466dc443ecaf23c665754e0451e7ab51940e7235cb74d23ed7296be2c716f443c9c42df2fdd918a0480a04c63381ebce2c4 DIST mythtv-0.27.5-9498257571e8158926b60a0eefc74568c4436823.tar.xz 11992 SHA256 aef3b944a9f4b49daa3f5489b58a080db35eb7b85c76819d9d00ccf1adfadfdf SHA512 bddc80f6d7e7ad583459a2192660e6101d53d8821c0f875634f90588bc6fbff86c80fa75f6e8cb859fd5164a81f0ad3427939d57da2b112741b1ea9ce646659d WHIRLPOOL 249d4f5332d943669610b96363b6d2b19d63973ba191bd62900e7d31362b4c541077ffe6ca9eae6027c6d1d5fea1d691722739ff9d0d7af6566d288921444961 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169 WHIRLPOOL e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880 DIST mythtv-0.27.tar.gz 85904162 SHA256 494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d11116 WHIRLPOOL 74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47 diff --git a/media-tv/mythtv/files/mythtv.logrotate.d-r3 b/media-tv/mythtv/files/mythtv.logrotate.d-r3 deleted file mode 100644 index 220776a1d087..000000000000 --- a/media-tv/mythtv/files/mythtv.logrotate.d-r3 +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -/var/log/mythtv/*.log { - weekly - rotate 8 - nocompress - nocreate - notifempty - sharedscripts - missingok - olddir /var/log/mythtv/old - postrotate - killall -HUP mythfrontend - killall -HUP mythbackend - killall -HUP mythlcdserver - find /var/log/mythtv/old -type f -mtime +30 -delete - endscript -} diff --git a/media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild b/media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild deleted file mode 100644 index d2771be88a28..000000000000 --- a/media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild +++ /dev/null @@ -1,353 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="082d5c1fbccd48dd862f14007c0445dee8502f3d" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user systemd - -MYTHTV_VERSION="v0.27.1" -MYTHTV_BRANCH="fixes/0.27" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.1.tar.gz -> mythtv-0.27.1.tar.gz - ${BACKPORTS:+https://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= media-libs/libogg:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= media-libs/libogg:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - media-libs/taglib:= - dev-libs/glib:= - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}/mythtv" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \ - epatch - - # 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 - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir-27.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=release" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - myconf="${myconf} $(use_enable vaapi)" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - systemd_dounit "${FILESDIR}"/mythbackend.service - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "https://dev.gentoo.org/~cardoe/mythtv/autostart.html" - elog - elog "Note that the systemd unit now restarts by default and logs" - elog "to journald via the console at the notice verbosity." -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild b/media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild deleted file mode 100644 index 60f7f10aa424..000000000000 --- a/media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild +++ /dev/null @@ -1,355 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="e1d575da2fdde7ae7119972c688b0ddd15e676c4" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user systemd - -MYTHTV_VERSION="v0.27.3" -MYTHTV_BRANCH="fixes/0.27" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.3.tar.gz -> mythtv-0.27.3.tar.gz - ${BACKPORTS:+https://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= media-libs/libogg:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= media-libs/libogg:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - media-libs/taglib:= - dev-libs/glib:= - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}/mythtv" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \ - epatch - - # 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 - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir-27.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - myconf="${myconf} $(use_enable libass)" - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=release" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - myconf="${myconf} $(use_enable vaapi)" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - systemd_dounit "${FILESDIR}"/mythbackend.service - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "https://dev.gentoo.org/~cardoe/mythtv/autostart.html" - elog - elog "Note that the systemd unit now restarts by default and logs" - elog "to journald via the console at the notice verbosity." -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild b/media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild deleted file mode 100644 index 4a5fb22604f8..000000000000 --- a/media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild +++ /dev/null @@ -1,355 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.7" -BACKPORTS="3b4390396bf09dfe3741508ecf7fc71a004abd01" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user systemd - -MYTHTV_VERSION="v0.27.4" -MYTHTV_BRANCH="fixes/0.27" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.4.tar.gz -> mythtv-0.27.4.tar.gz - ${BACKPORTS:+https://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= media-libs/libogg:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= media-libs/libogg:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - media-libs/taglib:= - dev-libs/glib:= - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}/mythtv" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \ - epatch - - # 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 - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir-27.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - myconf="${myconf} $(use_enable libass)" - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=release" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - myconf="${myconf} $(use_enable vaapi)" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - systemd_dounit "${FILESDIR}"/mythbackend.service - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "https://dev.gentoo.org/~cardoe/mythtv/autostart.html" - elog - elog "Note that the systemd unit now restarts by default and logs" - elog "to journald via the console at the notice verbosity." -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} |