diff options
author | Richard Freeman <rich0@gentoo.org> | 2013-01-01 00:51:50 +0000 |
---|---|---|
committer | Richard Freeman <rich0@gentoo.org> | 2013-01-01 00:51:50 +0000 |
commit | 399660fbc4619c93eedaa0f2eec61c2285caf2ea (patch) | |
tree | d04bfc3155f70038c2f084666463c9676dea9089 /media-tv | |
parent | update to eapi5 and distutils-r1 (diff) | |
download | historical-399660fbc4619c93eedaa0f2eec61c2285caf2ea.tar.gz historical-399660fbc4619c93eedaa0f2eec61c2285caf2ea.tar.bz2 historical-399660fbc4619c93eedaa0f2eec61c2285caf2ea.zip |
Add new fixes.
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Manifest-Sign-Key: 0x08C170DE55EC123A
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/mythtv/ChangeLog | 10 | ||||
-rw-r--r-- | media-tv/mythtv/Manifest | 12 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.26.0_p20121221.ebuild | 347 |
3 files changed, 362 insertions, 7 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog index cf4fea1913a2..480fa7bf8114 100644 --- a/media-tv/mythtv/ChangeLog +++ b/media-tv/mythtv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/mythtv -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.383 2012/12/05 11:41:06 grobian Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.384 2013/01/01 00:51:31 rich0 Exp $ + +*mythtv-0.26.0_p20121221 (01 Jan 2013) + + 01 Jan 2013; Richard Freeman <rich0@gentoo.org> + +mythtv-0.26.0_p20121221.ebuild: + Add new fixes. 05 Dec 2012; Fabian Groffen <grobian@gentoo.org> mythtv-0.25.2_p20120825.ebuild: diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest index 31ee780eb020..add0dc4bcebc 100644 --- a/media-tv/mythtv/Manifest +++ b/media-tv/mythtv/Manifest @@ -13,17 +13,19 @@ AUX xinitrc-r1 234 SHA256 0b335cc6d1e22d71f61bacfdcfed6cc450fecf7ff10bdb4bad50fd DIST mythtv-0.25.2-46cab93562.tar.xz 6844 SHA256 dd8e57958346d8b30a73c7fe75233e1ffe54bb360987cb18fee2e5480bc715ab SHA512 f6181b3138ffe643680dff0e360bd25f812caee005f0f0c443ac9b65a7601612f2a645943a9dfe2e53d4c04d840fbc1f0523f1581618d3c9855827246bf7f818 WHIRLPOOL 71d1e8a6518e066718babbde34ea9e39339e7d947f9ed6316dd0bbb0b2075ac5c99bf5ae471a9c81b07ddd217d89b21c238b90e576dadf33f9fd96434a26eb1b DIST mythtv-0.25.2-4e446508ec.tar.xz 660 SHA256 96c3bbc78ac03d83416abbd2e442a34448f6043dea1a7102d24b92e3b80e08b4 SHA512 68b76baf0bce0a7a8f9a10b338ee6495ac116414a335b5967982b5ebde40b12ded691b27e7c580f9b50c18dc38387cbf2a4bbecd1832b8d212f89999769514e3 WHIRLPOOL bdd7d35976b5cdc7111ad93ad76e646dd657bac8438d8803491c9c0c072fc462d74549fb4ffce6d9be8215225a34ef94278c69ca49a231955eff98bc4ab06e7a DIST mythtv-0.25.2.tar.bz2 31838320 SHA256 d6b7f1692f30b3dde170d2b755453675de1d222aa8556197e62b8d8617beeac6 SHA512 12a88768edeb6b1fd132279352e0d3045bf469af025feb48a1ce7c558f7030baf26b2dd8e3fab42a178bfda8cd25357ce77328aa88d331758ef7005ee1a38e3e WHIRLPOOL c1c1c09b882b9db0918ba8cf5ad2b78dfd8cead2f39b8a4cadb549cc5a89086434d4ecdca0b9c449c9927962399335b1d8a90d4cfea6078fd2c4875eeb50b27f +DIST mythtv-0.26.0-637d6d87d20aa8b17247fedf87b6c78ef091f08c.tar.xz 35064 SHA256 8451fb058751f4cda6cf81da80dd047218819ff3f63d0dc015024cfbddf79c1a SHA512 bc1aa616ce2f912119535348ade64a1a95e5952a006864f5997b174a175f825b9f46350c038ef9b53137f0d7b0e979dcb016294e1d6d3851eb21adaa81beb1fb WHIRLPOOL 75f56b9c902c44b0119e0cc1da58f6fe0e1b22bf445b8dd245d7e0ca49015b781a225124ce11b6f6c24e043c8df611afdad072800d40a6104cacd924b7a4c032 DIST mythtv-0.26.0-cd2e061f999d336a87fad9c3eace6fd3c0d01dd4.tar.xz 17856 SHA256 6128bb8ed8344d7e33e5c6bc91423e71ac6a8cf3dec8f8582e9db8cf13e61d4e SHA512 a952fdc26f3d8a0186452b25164c42cd91ff9653e4596fbd3fd10d50f63db9203b64cfe468eb6885893e2d2f6a8f315e5f14d3d75b79c847e72f6997847f8bc7 WHIRLPOOL 6ab3a3027d085d37bd93fb1003a21f33ac795d1b304f4f6e0d62f8a0ad79c2b6bda0455107a2ee69678563087d8ed4c101a6a865609bd0b15dfe815e80138200 DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0 WHIRLPOOL c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb EBUILD mythtv-0.25.2_p20120716.ebuild 9196 SHA256 ed96b83e447664103353a612872b53bae2f88945a880c38b21fd2b99056ccc76 SHA512 2c9ccf7acaf643a954ad64e841798c3aae1499699ea98718b154a2d5aafa29ab1cb5e040e47d0a6718981eea763146c7a83aafcee7c8fe5966c02f25f37af80f WHIRLPOOL ccff0ef37e73be44131947d0abee65ebec6b08217aa7ed8e6e5d0eae8e1d1673a66cd0575bf068f56bb8023391b4133d8a4ee08856b23480623aeddf7eccde5f EBUILD mythtv-0.25.2_p20120825.ebuild 9253 SHA256 c9cec319404ba8d4d8d9647b7338f73ac262d1cef78250a5c519928af05d7811 SHA512 5a58026b01bee489216c09842816dcd4db46fa4399fc6ad4aa463871af9822f14c188fcd1c0bf3aca3beeb3f94c10742e4ef944a1151d95de2238dfb5f893d5f WHIRLPOOL ae2dfaf3e6b29be2a60e812049f8fc5c09a3d931f9acb45a6b7a504087b3adcc9ebd26998934c119ff01fe7eb048a47cf5899451bd53c530cde1ec58aada5f2a EBUILD mythtv-0.26.0_p20121107.ebuild 9391 SHA256 89b65a504af9b94e8aded9b28c304651b301db3e732de1b2a8321470a041e94e SHA512 1d83239ff1a28d44d5208282e02913f3978e4b0d3de5d0a245fdc262222446d33a81da2e35e67a92f1da01a4ecd44204c6813612cc05dc8c298b7636020c1733 WHIRLPOOL 3287f1ced8b62c8c4507406633910ff0eee21c70eecc08a744c2dd98d3a815cb92a3191ff6c051c635686d9950d7ff79dcc6acc557f856548bdc167612263cb2 -MISC ChangeLog 75343 SHA256 310bf736d07db4a1a9a59753496ef82f862dc8bfad3ced7894017c36b415a421 SHA512 16cb3a423b54a5bf66e3480a88ebf8c3b1347d36b0965bae7df307dc65fc398458971c660a02939a836398ff8b9cdb6f9962b0a410ddabcc30009cd37cef62bb WHIRLPOOL 307976ba246c21270f3455f2ac65e867ae4c489ecbdc7e56c8f746fefc1c6209b7005350750fca598a8733a0a8ab8139a2a64e2e937af228d84e7621d0d4fe20 +EBUILD mythtv-0.26.0_p20121221.ebuild 9391 SHA256 1e3e115b9d71d239bf5626878813558b2f4a68808087cec7f4c7e4b36d57e932 SHA512 efe48998497b10be5475111b2d50eae06c51372029ff2dbb7b7f3dc4bd15d62e361fa36b92d9f26f7326b26ade889e71809cefc3f8e1683a22a8548719fd4eb5 WHIRLPOOL 67944deb820f50a2a5e52a5dbc955c4fb0101028ab3d579fa1fbf8a310719266b1bbc8ccab7653429af98808361a3f15fce1829b14e89f1ab6da26a478690ef2 +MISC ChangeLog 75484 SHA256 4b2f7444c90e2ae283f71cbccef6e30988c3cf67531a2dd273dbf007fd5ff554 SHA512 ff1126b47c221e936df91e6c6c63f65cd127b78b947a81b0db62702ff88013a08bdc8fd24bf4047c28a0bf256f54b04f9a7d312df5f06e4fc31d4f6e5d0b32bf WHIRLPOOL 763f3defb887610422718aec6a690d77bf3b268b170b79327c8e561d93970d6f238b9097fa5abbb663bb684cfa79daebf876843cb31d18cfb7b4ab0da591bdb0 MISC metadata.xml 3256 SHA256 d3d217c67a7bee469a5129baca2428064f4fa497988c28b576e32042d0456d8e SHA512 a370a2e266e8f31a89b548b9e6d1b17231f7db6e4d967435b4e384a13a71d3a6376a4ce2ea5e179c5ad5ec44856aad6cc99abd53d63bf68b52b2c643e82409d0 WHIRLPOOL ccef452e4e2af34371af61465673fbbda04fdd4f9f5a4acbc2504ce820588308291b048abe5bd0f053b32b05416699c6a0ef2045eb7d0a94cc8cc2a260b488ca -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (Darwin) +Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlC/MtUACgkQX3X2B8XHTolLrgCfaLiA2g9bnWvzB3p8papg3mIr -DWgAn2DT0O8egAdIEK2sHPAKLq8U1oiO -=k3ZT +iF4EAREIAAYFAlDiMyAACgkQCMFw3lXsEjoSpwEAnXEOtRx0oPnSmgygWLFYEeu7 +qpmKDVk3a6nnV4MPgZMA/j58NmLVYEOsc/+WdElhQKqixhPM7Q8RG1PnjLqmDjbL +=Th9Q -----END PGP SIGNATURE----- diff --git a/media-tv/mythtv/mythtv-0.26.0_p20121221.ebuild b/media-tv/mythtv/mythtv-0.26.0_p20121221.ebuild new file mode 100644 index 000000000000..67e23188eb30 --- /dev/null +++ b/media-tv/mythtv/mythtv-0.26.0_p20121221.ebuild @@ -0,0 +1,347 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.26.0_p20121221.ebuild,v 1.1 2013/01/01 00:51:31 rich0 Exp $ + +EAPI=4 + +PYTHON_DEPEND="python? 2:2.6" +BACKPORTS="637d6d87d20aa8b17247fedf87b6c78ef091f08c" +MY_P=${P%_p*} + +inherit flag-o-matic multilib eutils python user + +MYTHTV_VERSION="v0.26.0" +MYTHTV_BRANCH="fixes/0.26" + +DESCRIPTION="Homebrew PVR project" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2 + ${BACKPORTS:+http://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 + >=x11-libs/qt-core-4.7.2:4 + >=x11-libs/qt-dbus-4.7.2:4 + >=x11-libs/qt-gui-4.7.2:4 + >=x11-libs/qt-script-4.7.2:4 + >=x11-libs/qt-sql-4.7.2:4[mysql] + >=x11-libs/qt-opengl-4.7.2:4[egl?] + >=x11-libs/qt-webkit-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 ) + vaapi? ( x11-libs/libva ) + vdpau? ( x11-libs/libvdpau ) + vorbis? ( >=media-libs/libvorbis-1.0 ) + xml? ( >=dev-libs/libxml2-2.6.0 ) + xvid? ( >=media-libs/xvid-1.1.0 ) + !media-tv/mythtv-bindings + !x11-themes/mythtv-themes + " + +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_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.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=profile" + #myconf="${myconf} --enable-debug" does nothing per sphery + #myconf="${myconf} --disable-stripping" does nothing per sphery + fi + + # Video + use vdpau && myconf="${myconf} --enable-vdpau" + use vaapi && myconf="${myconf} --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 + + 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-r3 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 "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" +} + +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 +} |