diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2006-02-27 07:56:02 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2006-02-27 07:56:02 +0000 |
commit | 780d9fca7af69398ff5da21732611fa8f369e517 (patch) | |
tree | 9c1ef7cd61f398e2669742b3a96fa0678281f66e /media-tv/mythtv | |
parent | Added backendonly USE flag for MythTV (diff) | |
download | gentoo-2-780d9fca7af69398ff5da21732611fa8f369e517.tar.gz gentoo-2-780d9fca7af69398ff5da21732611fa8f369e517.tar.bz2 gentoo-2-780d9fca7af69398ff5da21732611fa8f369e517.zip |
Added support for backendonly. Updated patchset ot fix LiveTV, mythtrancode issues, and some other broken goodness from the release.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-tv/mythtv')
-rw-r--r-- | media-tv/mythtv/ChangeLog | 9 | ||||
-rw-r--r-- | media-tv/mythtv/Manifest | 28 | ||||
-rw-r--r-- | media-tv/mythtv/files/digest-mythtv-0.19_p9163 | 6 | ||||
-rw-r--r-- | media-tv/mythtv/files/digest-mythtv-0.19_pre8642 | 1 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.19_p9163.ebuild (renamed from media-tv/mythtv/mythtv-0.19_pre8642.ebuild) | 67 |
5 files changed, 66 insertions, 45 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog index 17f63e9cee74..9031ca0c5716 100644 --- a/media-tv/mythtv/ChangeLog +++ b/media-tv/mythtv/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-tv/mythtv # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.87 2006/02/22 20:03:02 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.88 2006/02/27 07:56:02 cardoe Exp $ + +*mythtv-0.19_p9163 (27 Feb 2006) + + 27 Feb 2006; Doug Goldstein <cardoe@gentoo.org> + -mythtv-0.19_pre8642.ebuild, +mythtv-0.19_p9163.ebuild: + Added support for backendonly. Updated patchset ot fix LiveTV, mythtrancode + issues, and some other broken goodness from the release. *mythtv-0.19-r1 (22 Feb 2006) diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest index 0ebd97f48804..fda6bee4349b 100644 --- a/media-tv/mythtv/Manifest +++ b/media-tv/mythtv/Manifest @@ -1,9 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 50104e0c79799e751372920f79d8f73e ChangeLog 16103 -RMD160 d04d5b02ed180006139776fa28c4d04875f5b03b ChangeLog 16103 -SHA256 0e3ccb6e7aa17582a7ce7305efb6dece1a6171d31143c059bd07c0d91bc92b37 ChangeLog 16103 +MD5 7699f36f8c5bc03c5e55cd2433258c54 ChangeLog 16383 +RMD160 69d1edf0e93275aef614190095aa5348e9746077 ChangeLog 16383 +SHA256 b2c05db142276cdb85882b757d773642c89ef4ea6dffdbe95db139a050acb694 ChangeLog 16383 MD5 4985a61b90909b7f1c926f79a3ba34bf files/0.18-mythbackend.conf 931 RMD160 626d1a051ad5d9d724e1450e0bd0da21c57fe2d2 files/0.18-mythbackend.conf 931 SHA256 ecb82a5de903a63df0c5821ace68a845cf49faa90d754fead240542980e95b2f files/0.18-mythbackend.conf 931 @@ -22,9 +19,9 @@ SHA256 0dfe196cf023e37679f736fec817dad08e4bd7b235e88c7ad573b05e849a5d0d files/di MD5 a9833b004b7894b0c0c1f57f439d74d7 files/digest-mythtv-0.19-r1 515 RMD160 9bf8f764f9566413f558c15b6bb17c3b18de2b73 files/digest-mythtv-0.19-r1 515 SHA256 d145d8d8c020e5b74dc0bfdf6c4b6c35c5bca333d17485c2775f362e36a79202 files/digest-mythtv-0.19-r1 515 -MD5 95c29c3a4ebd800a939425c30ba9f362 files/digest-mythtv-0.19_pre8642 74 -RMD160 386fa70567278ba2611d323ad44f03e49f513285 files/digest-mythtv-0.19_pre8642 74 -SHA256 87953c4b915d313efbdc6fc21d5c2f5ce9d9ce9d9d6fd08d986d3754a7d99112 files/digest-mythtv-0.19_pre8642 74 +MD5 8a5ab7d90c02b6c10edef054a0a2f426 files/digest-mythtv-0.19_p9163 509 +RMD160 8df12123293877e26178c0e3a633ef2fb39e1463 files/digest-mythtv-0.19_p9163 509 +SHA256 39ad66ef70a0ff199932f2cd5b40411832e854e5ee1591fcdb26b445a98f4a82 files/digest-mythtv-0.19_p9163 509 MD5 ce6902dd0c8832390052b427a14acc42 files/mythbackend-0.18.2.conf 431 RMD160 1879e25aadacf4c45c3857ec329546fd5950af36 files/mythbackend-0.18.2.conf 431 SHA256 89fa9de3a25937c47062adc3ba449067ef50564729117c4f171fe69459588810 files/mythbackend-0.18.2.conf 431 @@ -64,13 +61,6 @@ SHA256 09bdff021e9d09bc78b7c6d399f182493d423220477fc6273f3ebe640b574faf mythtv-0 MD5 d3e3b07e51556dc0bcec9b8b6109c5aa mythtv-0.19.ebuild 6667 RMD160 a0e4b46367ba6696ebffa42b46059adb7f0443fb mythtv-0.19.ebuild 6667 SHA256 8de1da4d472c7aa999d1c06efcebdca70e0b3639159ec632f6aadc7b02f70970 mythtv-0.19.ebuild 6667 -MD5 f256d2f2c05115f870d545590fd8e210 mythtv-0.19_pre8642.ebuild 6342 -RMD160 176e25cb5b29c1df2fe2855d61b2dac3605e5cf4 mythtv-0.19_pre8642.ebuild 6342 -SHA256 6f932b53a35be6e110d05f24021d56c2cf323bd17c278dd79673ae6c25fe83f0 mythtv-0.19_pre8642.ebuild 6342 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.1 (GNU/Linux) - -iD8DBQFD/UvmBtvusYtCZMsRAtyyAJ9lsS/6xxG+ofaXVbOmHcWNpULkiwCdFAAZ -z3p44K2Ii7rtYD5qsrOqBwQ= -=ELAs ------END PGP SIGNATURE----- +MD5 bd25fda864a43cfae308a38786a37668 mythtv-0.19_p9163.ebuild 6933 +RMD160 9ded34f5d6632592edfd62d0b92ebe7ca3b5359d mythtv-0.19_p9163.ebuild 6933 +SHA256 efac24812b323685be6903c4afe5a9fecb78785e82cdb1a1d152fdde3c085552 mythtv-0.19_p9163.ebuild 6933 diff --git a/media-tv/mythtv/files/digest-mythtv-0.19_p9163 b/media-tv/mythtv/files/digest-mythtv-0.19_p9163 new file mode 100644 index 000000000000..fe1c61a6876d --- /dev/null +++ b/media-tv/mythtv/files/digest-mythtv-0.19_p9163 @@ -0,0 +1,6 @@ +MD5 ffcc771cc1034c6425415461d3e981ca mythtv-0.19-rev9163.patch.bz2 16798 +RMD160 5799d8cf0f2c95e61ea86f291d02b9d7fa2559bc mythtv-0.19-rev9163.patch.bz2 16798 +SHA256 c956382fed04927f8fb20c7ec0dbe6725aad9e36cd616061cb9be3dce81e5bb2 mythtv-0.19-rev9163.patch.bz2 16798 +MD5 ebba5829d264bb4de2f75cae936141f4 mythtv-0.19.tar.bz2 10162049 +RMD160 cd90bb3629df55f9e803d867cf59e378e9cace07 mythtv-0.19.tar.bz2 10162049 +SHA256 ca73641116d3bbc7d353a99348f9f8c9a156bcc756c90a6ed06f1498d9d9cd8f mythtv-0.19.tar.bz2 10162049 diff --git a/media-tv/mythtv/files/digest-mythtv-0.19_pre8642 b/media-tv/mythtv/files/digest-mythtv-0.19_pre8642 deleted file mode 100644 index 146107e7ae24..000000000000 --- a/media-tv/mythtv/files/digest-mythtv-0.19_pre8642 +++ /dev/null @@ -1 +0,0 @@ -MD5 64f6e2c9b5bcc6cb6d6260d77b23f28b mythtv-0.19_pre8642.tar.bz2 19201208 diff --git a/media-tv/mythtv/mythtv-0.19_pre8642.ebuild b/media-tv/mythtv/mythtv-0.19_p9163.ebuild index ebf7e67d106b..6b1b43f20373 100644 --- a/media-tv/mythtv/mythtv-0.19_pre8642.ebuild +++ b/media-tv/mythtv/mythtv-0.19_p9163.ebuild @@ -1,17 +1,21 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.19_pre8642.ebuild,v 1.1 2006/01/18 19:05:42 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.19_p9163.ebuild,v 1.1 2006/02/27 07:56:02 cardoe Exp $ inherit flag-o-matic eutils debug qt3 +PATCHREV=9163 +MY_PV="${PV%_*}" + DESCRIPTION="Homebrew PVR project" HOMEPAGE="http://www.mythtv.org/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" +SRC_URI="http://www.mythtv.org/mc/${PN}-${MY_PV}.tar.bz2 + http://dev.gentoo.org/~cardoe/files/${PN}-${MY_PV}-rev${PATCHREV}.patch.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="alsa altivec arts debug dbox2 dvb dvd frontendonly ieee1394 jack joystick lcd lirc mmx nvidia oggvorbis opengl oss unichrome" +IUSE="alsa altivec arts backendonly debug dbox2 dvb dvd frontendonly ieee1394 jack joystick lcd lirc mmx nvidia oggvorbis opengl oss unichrome" RDEPEND=">=media-libs/freetype-2.0 >=media-sound/lame-3.93.1 @@ -32,7 +36,8 @@ RDEPEND=">=media-libs/freetype-2.0 jack? ( media-sound/jack-audio-connection-kit ) lcd? ( app-misc/lcdproc ) lirc? ( app-misc/lirc ) - nvidia? ( media-video/nvidia-glx ) + nvidia? ( media-video/nvidia-glx + || ( x11-libs/libXvMC virtual/x11 ) ) oggvorbis? ( media-libs/libvorbis ) opengl? ( virtual/opengl ) ieee1394? ( >=sys-libs/libraw1394-1.2.0 @@ -45,7 +50,11 @@ RDEPEND=">=media-libs/freetype-2.0 DEPEND="${RDEPEND} || ( x11-apps/xinit virtual/x11 )" -S=${WORKDIR}/mythtv +PDEPEND="=x11-themes/mythtv-themes-${MY_PV}*" + +S="${WORKDIR}/${PN}-${MY_PV}" + +MYTHTV_GROUPS="video,audio" pkg_setup() { @@ -55,6 +64,12 @@ pkg_setup() { die "Qt needs MySQL support" fi + if ! built_with_use x11-libs/qt opengl ; then + eerror "Qt requires OpenGL support. Please add" + eerror "'opengl' to your USE flags, and re-emerge Qt." + die "Qt needs OpenGL support." + fi + if ! has_version x11-libs/libXv && ! built_with_use x11-base/xorg-x11 xv; then eerror "xorg-x11 is missing XV support. Please add" eerror "'xv' to your USE flags, and re-emerge xorg-x11." @@ -80,17 +95,8 @@ src_unpack() { unpack ${A} cd ${S} - if [ $(get_libdir) != "lib" ] ; then - sed -i -e "s:\$\${PREFIX}/lib/:\$\${PREFIX}/$(get_libdir)/:g" \ - -e "s:\$\${PREFIX}/lib$:\$\${PREFIX}/$(get_libdir):g" \ - ${S}/{filters,libs}/*/*.pro || die - sed -i -e "s:/lib/mythtv/:/$(get_libdir)/mythtv/:" \ - ${S}/libs/libmyth/mythcontext.cpp || die - fi - -# # Fix bugs 40964 and 42943. -# filter-flags -fforce-addr -fPIC -momit-leaf-frame-pointer -# is-flag "-fomit-frame-pointer" || append-flags "-fomit-frame-pointer" + #Fixes of the bugs found in the 0.19 release + epatch "${WORKDIR}"/${PN}-${MY_PV}-rev${PATCHREV}.patch } src_compile() { @@ -101,17 +107,17 @@ src_compile() { use arts || myconf="${myconf} --disable-audio-arts" use jack || myconf="${myconf} --disable-audio-jack" use altivec || myconf="${myconf} --disable-altivec" + use unichrome && myconf="${myconf} --enable-xvmc" + use nvidia && myconf="${myconf} --enable-xvmc" myconf="${myconf} $(use_enable lirc) $(use_enable joystick joystick-menu) - $(use_enable unichrome xvmc-vld) $(use_enable dbox2) $(use_enable dvb) $(use_enable dvb dvb-eit) --dvb-path=/usr/include $(use_enable dvd) $(use_enable opengl opengl-vsync) - $(use_enable nvidia xvmc) $(use_enable ieee1394 firewire) --enable-xrandr --enable-xv @@ -153,12 +159,25 @@ src_compile() { hasq distcc ${FEATURES} || myconf="${myconf} --disable-distcc" hasq ccache ${FEATURES} || myconf="${myconf} --disable-ccache" -# if use frontendonly; then -# ##Backend Removal -# cd ${S} -# sed -e "s:CCONFIG linux backend:CCONFIG linux:" \ -# -i 'configure' || die "Removal of mythbackend failed" -# fi + if use frontendonly; then + ##Backend Removal + ewarn + ewarn "You are using the experimental feature for only installing the frontend." + ewarn "You will not get Gentoo support nor support from MythTV upstream for this." + ewarn "If this breaks, you own both pieces." + ewarn + myconf="${myconf} --disable-backend" + fi + + if use backendonly; then + ##Frontend Removal + ewarn + ewarn "You are using the experimental feature for only installing the frontend." + ewarn "You will not get Gentoo support nor support from MythTV upstream for this." + ewarn "If this breaks, you own both pieces." + ewarn + myconf="${myconf} --disable-frontend" + fi # let MythTV come up with our CFLAGS. Upstream will support this CFLAGS="" |