diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2006-02-12 04:20:16 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2006-02-12 04:20:16 +0000 |
commit | ad5cdbc014a157aaddf27c01fbf9e4efe690c2c2 (patch) | |
tree | 930cb9c6c3dc4688cb80db74eca52b8ff7910eb5 /media-tv/mythtv | |
parent | mythtv-0.19 mask (diff) | |
download | gentoo-2-ad5cdbc014a157aaddf27c01fbf9e4efe690c2c2.tar.gz gentoo-2-ad5cdbc014a157aaddf27c01fbf9e4efe690c2c2.tar.bz2 gentoo-2-ad5cdbc014a157aaddf27c01fbf9e4efe690c2c2.zip |
rev bump from pre ebuild
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-tv/mythtv')
-rw-r--r-- | media-tv/mythtv/ChangeLog | 7 | ||||
-rw-r--r-- | media-tv/mythtv/Manifest | 60 | ||||
-rw-r--r-- | media-tv/mythtv/files/digest-mythtv-0.19 | 3 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.19.ebuild | 223 |
4 files changed, 281 insertions, 12 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog index 1a7eef0b82f1..544072224c07 100644 --- a/media-tv/mythtv/ChangeLog +++ b/media-tv/mythtv/ChangeLog @@ -1,6 +1,11 @@ # 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.82 2006/01/11 05:29:33 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.83 2006/02/12 04:20:16 cardoe Exp $ + +*mythtv-0.19 (12 Feb 2006) + + 12 Feb 2006; Doug Goldstein <cardoe@gentoo.org> +mythtv-0.19.ebuild: + rev bump from pre ebuild 11 Jan 2006; Doug Goldstein <cardoe@gentoo.org> mythtv-0.19_pre8554.ebuild: diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest index 137e700c18cc..32fe7c377ba9 100644 --- a/media-tv/mythtv/Manifest +++ b/media-tv/mythtv/Manifest @@ -1,31 +1,69 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 0be7c7b680ce9a0979c438a06c597246 ChangeLog 15295 +MD5 253380f004e4d849627fe5c40fa1a91d ChangeLog 15422 +RMD160 1bc0c7f3553789bb659b732fb2fd577346418ac1 ChangeLog 15422 +SHA256 6c3d27e6b38554fcaae6c7e19e9ac4213c99ada422ef1f12e2e2c2f60ace7e84 ChangeLog 15422 MD5 4985a61b90909b7f1c926f79a3ba34bf files/0.18-mythbackend.conf 931 +RMD160 626d1a051ad5d9d724e1450e0bd0da21c57fe2d2 files/0.18-mythbackend.conf 931 +SHA256 ecb82a5de903a63df0c5821ace68a845cf49faa90d754fead240542980e95b2f files/0.18-mythbackend.conf 931 MD5 946d39e6c7d43c06d11d2bc6e09d5c21 files/0.18-mythbackend.rc 1606 +RMD160 58f6237e3d865467c7448ad3c1ce60ebf2c0b44d files/0.18-mythbackend.rc 1606 +SHA256 2d797b88a8730e4d796efe102414880cb6cf5a2e1c398c2d9460537b6332e8b7 files/0.18-mythbackend.rc 1606 MD5 b288872f9393adf2b30f40b6ee01eac5 files/digest-mythtv-0.18.1-r1 67 +RMD160 8d5d3ed3984fad4f033ee80acb4158c4994beaf2 files/digest-mythtv-0.18.1-r1 67 +SHA256 c16789e34d2e5c3d5b0162a87a9bf758145aa3bfaaeb55e05438e4a30a235bb9 files/digest-mythtv-0.18.1-r1 67 MD5 b288872f9393adf2b30f40b6ee01eac5 files/digest-mythtv-0.18.1-r2 67 +RMD160 8d5d3ed3984fad4f033ee80acb4158c4994beaf2 files/digest-mythtv-0.18.1-r2 67 +SHA256 c16789e34d2e5c3d5b0162a87a9bf758145aa3bfaaeb55e05438e4a30a235bb9 files/digest-mythtv-0.18.1-r2 67 +MD5 469774c8a2aebf913ddd8388e7945f7d files/digest-mythtv-0.19 244 +RMD160 df9a35cde9765eb16364c65f7ec6d316d107f380 files/digest-mythtv-0.19 244 +SHA256 0dfe196cf023e37679f736fec817dad08e4bd7b235e88c7ad573b05e849a5d0d files/digest-mythtv-0.19 244 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 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 MD5 dc6d9b020f4f907c16d0079c905f044b files/mythbackend-0.18.2.rc 996 +RMD160 6481c40dfc97ac6ef4e6319d49d7a06a30da1416 files/mythbackend-0.18.2.rc 996 +SHA256 c343be99413c23995613c0d9c5c31f5f09b567ece63d29cfe3fe75caf880ecb6 files/mythbackend-0.18.2.rc 996 MD5 3632cf0ce1fad88f806ae8801316a6fc files/mythfilldatabase.cron 73 +RMD160 ce57516fe3ac3f339ebaad6b88c85366d4dbbc5b files/mythfilldatabase.cron 73 +SHA256 fc5a3b094fd403e9076fbb1903e826ddc97bd579cb0ba7ef6fc11940099fca3d files/mythfilldatabase.cron 73 MD5 a0dc63e4be8c214490e4ed4f13ed9544 files/mythtv-0.18.1-cc-on-mute.patch 679 +RMD160 381cc46a979e8a64a5ff75a86310a9b332c0794a files/mythtv-0.18.1-cc-on-mute.patch 679 +SHA256 f04f86b87fd71ec6d695d53d1252bad0c18bf8704cf3a86801b7829591e2c23d files/mythtv-0.18.1-cc-on-mute.patch 679 MD5 58ad62106705e1d4641f95ea96a37748 files/mythtv-0.18.1-cputypes-configure.patch 994 +RMD160 6382a6721f7403e1fe452802b7b34af4cdfbe1cb files/mythtv-0.18.1-cputypes-configure.patch 994 +SHA256 fe70ed0e634d7f0f40ad26ed78a5cb3cf90537e4d603eec37dd2ea93890a1898 files/mythtv-0.18.1-cputypes-configure.patch 994 MD5 340e376a796fcc134e37222f01d705b3 files/mythtv-0.18.1-opengl-fix.patch 304 +RMD160 f55045bd0a36589670b499dd85a6791a7df77c80 files/mythtv-0.18.1-opengl-fix.patch 304 +SHA256 ef3d468144e216135ffd1973a7f78544b62a6201f8b4fc885fd30d16c84fb872 files/mythtv-0.18.1-opengl-fix.patch 304 MD5 fde2b2886b037b199cc815dbcb12617e files/mythtv-0.18.1-x86_64-configure.patch 631 +RMD160 295c6fadffb8fad17703556d09959b58972a6b22 files/mythtv-0.18.1-x86_64-configure.patch 631 +SHA256 d3d4283d7d7d53cfea564cd83165f8f75c8d0d536d987c5fe02480da3d013d51 files/mythtv-0.18.1-x86_64-configure.patch 631 MD5 6aa61436d9eed3e1792a745a6d1f3dcc files/mythtv-0.19_pre8554-chanutil-schar.patch 1208 +RMD160 bbd90f9e3e055312d889e4a31a5d20b03ed6b447 files/mythtv-0.19_pre8554-chanutil-schar.patch 1208 +SHA256 46413d1537e03d9127297a6b232b9e5c3c2b58920d987598f3e6843e2ac864f2 files/mythtv-0.19_pre8554-chanutil-schar.patch 1208 MD5 c89433c53aa0030c59598b7403ffbe94 files/mythtv-0.19_pre8554-freetype.patch 1209 +RMD160 e9a7ff171315621197654b77abcc629714f1cd90 files/mythtv-0.19_pre8554-freetype.patch 1209 +SHA256 4e6b1ac1513d9aff1fe89646d2bff44eafd64ea3e85df528e13d8d503950ebda files/mythtv-0.19_pre8554-freetype.patch 1209 MD5 96e1efbc2a12349e4c5ada14422868af files/mythtv-0.19_pre8554-xrandr.patch 744 +RMD160 7177c3ddd3c264ee85bfe8f54ccd4f02e1f91842 files/mythtv-0.19_pre8554-xrandr.patch 744 +SHA256 1bee47aabecb13711ae045733e898cc7ccf15eb12a626f57e50c47426f6e25d1 files/mythtv-0.19_pre8554-xrandr.patch 744 MD5 0d20a49cff965a0f3ab35cb0600b65b4 files/runmythfe 104 +RMD160 61d825641aae0b77ea0995f5b9b59855e33b9027 files/runmythfe 104 +SHA256 7d3c316ec3af8f8cac23a1645c537f90feb09f7cb6d510dc2185d799080dd675 files/runmythfe 104 MD5 f62db0df6ee8ee1d4fe7b9c3d74432a7 metadata.xml 222 +RMD160 effccac2541ac4d0954899784d7d64c60a9c020e metadata.xml 222 +SHA256 8b2065fecfbbdd0caa3c5eb86b98c22766db07f555edbf3127e9454b468ecff6 metadata.xml 222 MD5 f2c7e6f87a9c718acdd942b22140e2a9 mythtv-0.18.1-r1.ebuild 5109 +RMD160 5598253366d0d608598df6503b33fcf636e6bc12 mythtv-0.18.1-r1.ebuild 5109 +SHA256 8bbf3b1c856ceeb623dc3ff016044a20afba27e7092e30666832f73c8512f766 mythtv-0.18.1-r1.ebuild 5109 MD5 cac72423d3f6c98d2ef628c3e83c4ff2 mythtv-0.18.1-r2.ebuild 5488 +RMD160 7cc27e0730e0a4b16aa64a1943b14487ffb0bfac mythtv-0.18.1-r2.ebuild 5488 +SHA256 7986004e945ce90abfb6bce7a87299932b1eb80a75e4423dbc5bc296ac1d3443 mythtv-0.18.1-r2.ebuild 5488 +MD5 c672e9416dd42a34ec980f92e07a7254 mythtv-0.19.ebuild 6411 +RMD160 4ad057dd76788c2bf750041f8a2faba4f7d4a2ab mythtv-0.19.ebuild 6411 +SHA256 b941aab7882bd02758c34e91e80eb7b4ef49808b244db8d057ea4d5f1d8055ea mythtv-0.19.ebuild 6411 MD5 f256d2f2c05115f870d545590fd8e210 mythtv-0.19_pre8642.ebuild 6342 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDzpGUBtvusYtCZMsRAsD/AJ9Z/vEq5Sjy8XBuTmGotidp0mb+sACfUhME -Rc0M1U+iqTBCgshaaUQZ+20= -=otBe ------END PGP SIGNATURE----- +RMD160 176e25cb5b29c1df2fe2855d61b2dac3605e5cf4 mythtv-0.19_pre8642.ebuild 6342 +SHA256 6f932b53a35be6e110d05f24021d56c2cf323bd17c278dd79673ae6c25fe83f0 mythtv-0.19_pre8642.ebuild 6342 diff --git a/media-tv/mythtv/files/digest-mythtv-0.19 b/media-tv/mythtv/files/digest-mythtv-0.19 new file mode 100644 index 000000000000..d2ae420a29ed --- /dev/null +++ b/media-tv/mythtv/files/digest-mythtv-0.19 @@ -0,0 +1,3 @@ +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/mythtv-0.19.ebuild b/media-tv/mythtv/mythtv-0.19.ebuild new file mode 100644 index 000000000000..ef8dcb6c158f --- /dev/null +++ b/media-tv/mythtv/mythtv-0.19.ebuild @@ -0,0 +1,223 @@ +# 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.ebuild,v 1.1 2006/02/12 04:20:16 cardoe Exp $ + +inherit flag-o-matic eutils debug qt3 + +DESCRIPTION="Homebrew PVR project" +HOMEPAGE="http://www.mythtv.org/" +SRC_URI="http://www.mythtv.org/mc/${P}.tar.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" + +RDEPEND=">=media-libs/freetype-2.0 + >=media-sound/lame-3.93.1 + || ( ( x11-libs/libX11 + x11-libs/libXext + x11-libs/libXinerama + x11-libs/libXv + x11-libs/libXrandr + x11-libs/libXxf86vm + ) + virtual/x11 ) + $(qt_min_version 3.3) + dev-db/mysql + alsa? ( >=media-libs/alsa-lib-0.9 ) + arts? ( kde-base/arts ) + dvd? ( media-libs/libdvdnav ) + dvb? ( media-libs/libdvb ) + jack? ( media-sound/jack-audio-connection-kit ) + lcd? ( app-misc/lcdproc ) + lirc? ( app-misc/lirc ) + nvidia? ( media-video/nvidia-glx + || ( x11-libs/libXvMC virtual/x11 ) ) + oggvorbis? ( media-libs/libvorbis ) + opengl? ( virtual/opengl ) + ieee1394? ( >=sys-libs/libraw1394-1.2.0 + sys-libs/libavc1394 + >=media-libs/libiec61883-1.0.0 ) + || ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.34 ) + !x11-base/xfree + !<x11-base/xorg-x11-6.8" + +DEPEND="${RDEPEND} + || ( x11-apps/xinit virtual/x11 )" + +pkg_setup() { + + if ! built_with_use x11-libs/qt mysql ; then + eerror "Qt is missing MySQL support. Please add" + eerror "'mysql' to your USE flags, and re-emerge Qt." + die "Qt needs MySQL 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." + die "xorg-x11 needs XV support" + fi + + if use nvidia; then + echo + ewarn "You enabled the 'nvidia' USE flag, you must have a GeForce 4 or" + ewarn "greater to use this. Otherwise, you'll have crashes with MythTV" + echo + fi + + einfo + einfo "This ebuild now uses a heavily stripped down version of your CFLAGS" + einfo "Don't complain because your -momfg-fast-speed CFLAG is being stripped" + einfo "Only additional CFLAG issues that will be addressed are for binary" + einfo "package building." + einfo +} + +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" +} + +src_compile() { + use unichrome && use nvidia && die "You can not have USE="unichrome" and USE="nvidia" at the same time. Must disable one or the other." + local myconf="--prefix=/usr --mandir=/usr/share/man" + use oss || myconf="${myconf} --disable-audio-oss" + use alsa || myconf="${myconf} --disable-audio-alsa" + 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 dbox2) + $(use_enable dvb) + $(use_enable dvb dvb-eit) + --dvb-path=/usr/include + $(use_enable dvd) + $(use_enable opengl opengl-vsync) + $(use_enable ieee1394 firewire) + --enable-xrandr + --enable-xv + --disable-directfb + --enable-x11 + --enable-proc-opt" + + if use mmx || use amd64; then + myconf="${myconf} --enable-mmx" + else + myconf="${myconf} --disable-mmx" + fi + + if use debug; then + myconf="${myconf} --compile-type=debug" + else + myconf="${myconf} --compile-type=release" + fi + + ## CFLAG cleaning so it compiles + MARCH=$(get-flag "march") + MTUNE=$(get-flag "mtune") + MCPU=$(get-flag "mcpu") + strip-flags + filter-flags "-march=*" "-mtune=*" "-mcpu=*" + filter-flags "-O" "-O?" + + if [[ -n "${MARCH}" ]]; then + myconf="${myconf} --arch=${MARCH}" + fi + if [[ -n "${MTUNE}" ]]; then + myconf="${myconf} --tune=${MTUNE}" + fi + if [[ -n "${MCPU}" ]]; then + myconf="${myconf} --cpu=${MCPU}" + fi + +# myconf="${myconf} --extra-cxxflags=\"${CXXFLAGS}\" --extra-cflags=\"${CFLAGS}\"" + 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 + + # let MythTV come up with our CFLAGS. Upstream will support this + CFLAGS="" + CXXFLAGS="" + einfo "Running ./configure ${myconf}" + ./configure ${myconf} || die "configure died" + + ${QTDIR}/bin/qmake QMAKE=${QTDIR}/bin/qmake -o "Makefile" mythtv.pro || die "qmake failed" + emake || die "emake failed" + +} + +src_install() { + + einstall INSTALL_ROOT="${D}" || die "install failed" + for doc in AUTHORS COPYING FAQ UPGRADING ChangeLog README; do + test -e "${doc}" && dodoc ${doc} + done + + if ! use frontendonly; then + insinto /usr/share/mythtv/database + doins database/* + + exeinto /usr/share/mythtv + doexe "${FILESDIR}/mythfilldatabase.cron" + + newinitd ${FILESDIR}/mythbackend-0.18.2.rc mythbackend + newconfd ${FILESDIR}/mythbackend-0.18.2.conf mythbackend + fi + + dobin ${FILESDIR}/runmythfe + + ewarn "Want MythFrontend to always? Add the following to your" + ewarn "myth user. i.e. My user is mythtv" + echo "crontab -e -u mythtv" + echo "* * * * * /usr/bin/runmythfe &" + ewarn "And you're all set." + + dodoc keys.txt docs/*.{txt,pdf} + dohtml docs/*.html + + keepdir /etc/mythtv + chown -R mythtv "${D}"/etc/mythtv + keepdir /var/log/mythtv + chown -R mythtv "${D}"/var/log/mythtv +} + +pkg_preinst() { + enewuser mythtv -1 "-1" -1 ${MYTHTV_GROUPS} || die "Problem adding mythtv user" + usermod -G ${MYTHTV_GROUPS} mythtv +} + +pkg_postinst() { + einfo "Want MythFrontend to alway run? Run the following:" + echo " #crontab -e -u mythtv" + einfo "And add the following:" + echo "* * * * * /usr/bin/runmythfe &" + echo + echo + einfo "To always have MythBackend running and available run the following:" + echo "rc-update add mythbackend default" +} + |