diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-04-18 07:41:37 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-04-18 07:41:37 +0000 |
commit | 267494ba96ce1c3a01f47f2ec40e80b2e040cda3 (patch) | |
tree | 1261edf1ed4873bd432199542e34cb16e3d16dc7 /media-tv | |
parent | Updated to use eclass updates. (diff) | |
download | gentoo-2-267494ba96ce1c3a01f47f2ec40e80b2e040cda3.tar.gz gentoo-2-267494ba96ce1c3a01f47f2ec40e80b2e040cda3.tar.bz2 gentoo-2-267494ba96ce1c3a01f47f2ec40e80b2e040cda3.zip |
Version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/mythfrontend/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/mythfrontend/Manifest | 18 | ||||
-rw-r--r-- | media-tv/mythfrontend/files/digest-mythfrontend-0.18 | 1 | ||||
-rw-r--r-- | media-tv/mythfrontend/mythfrontend-0.18.ebuild | 122 |
4 files changed, 135 insertions, 14 deletions
diff --git a/media-tv/mythfrontend/ChangeLog b/media-tv/mythfrontend/ChangeLog index 0a275aeceefa..4b9f57296b97 100644 --- a/media-tv/mythfrontend/ChangeLog +++ b/media-tv/mythfrontend/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/mythfrontend # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/ChangeLog,v 1.32 2005/03/26 08:20:51 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/ChangeLog,v 1.33 2005/04/18 07:41:34 eradicator Exp $ + +*mythfrontend-0.18 (18 Apr 2005) + + 18 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> + +mythfrontend-0.18.ebuild: + Version bump. 26 Mar 2005; Doug Goldstein <cardoe@gentoo.org> mythfrontend-0.17.ebuild: fixed a DEPEND. remove install of depreciated mysql.txt. added msgs for diff --git a/media-tv/mythfrontend/Manifest b/media-tv/mythfrontend/Manifest index 83d7499354d2..70f0656c203c 100644 --- a/media-tv/mythfrontend/Manifest +++ b/media-tv/mythfrontend/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 f62db0df6ee8ee1d4fe7b9c3d74432a7 metadata.xml 222 MD5 69dd606fdb61f48c262803ebe01d8ca1 ChangeLog 5217 -MD5 b4f7a9d2d6d8b6eef2ff8621f2ea2898 mythfrontend-0.17.ebuild 6151 +MD5 f62db0df6ee8ee1d4fe7b9c3d74432a7 metadata.xml 222 MD5 0a31ca05a47f289619d2b8d77cfbff52 mythfrontend-0.16.ebuild 5726 -MD5 590c9a6a89442b347c3a5f52d1781351 files/digest-mythfrontend-0.17 66 +MD5 b4f7a9d2d6d8b6eef2ff8621f2ea2898 mythfrontend-0.17.ebuild 6151 +MD5 adf6bbd440d8bd8ddba50562284a5e84 mythfrontend-0.18.ebuild 3334 MD5 fb4505fe7e8b832e115d777bf836d3bc files/digest-mythfrontend-0.16 66 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCRRt15+pdB4IBr0URAmiyAKCD0VtXI264736x8Sj1fcJl+rVd6QCguFw/ -kHgsmXeHDKu3QSoUZbEV07s= -=gBx9 ------END PGP SIGNATURE----- +MD5 590c9a6a89442b347c3a5f52d1781351 files/digest-mythfrontend-0.17 66 +MD5 67c40a05f5751719f170820c4d50c9c6 files/digest-mythfrontend-0.18 65 diff --git a/media-tv/mythfrontend/files/digest-mythfrontend-0.18 b/media-tv/mythfrontend/files/digest-mythfrontend-0.18 new file mode 100644 index 000000000000..af9b82960007 --- /dev/null +++ b/media-tv/mythfrontend/files/digest-mythfrontend-0.18 @@ -0,0 +1 @@ +MD5 8480c534508a2530c1ba35d295870faf mythtv-0.18.tar.bz2 8801515 diff --git a/media-tv/mythfrontend/mythfrontend-0.18.ebuild b/media-tv/mythfrontend/mythfrontend-0.18.ebuild new file mode 100644 index 000000000000..451a26e66c5c --- /dev/null +++ b/media-tv/mythfrontend/mythfrontend-0.18.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.18.ebuild,v 1.1 2005/04/18 07:41:34 eradicator Exp $ + +inherit myth flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Homebrew PVR project" +HOMEPAGE="http://www.mythtv.org/" +SRC_URI="http://www.mythtv.org/mc/mythtv-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="alsa altivec arts cle266 directfb dvb ieee1394 jack joystick lcd lirc nvidia oggvorbis opengl oss xv X" # mmx " + +DEPEND=">=media-libs/freetype-2.0 + >=media-sound/lame-3.93.1 + >=x11-libs/qt-3.1 + dev-db/mysql + alsa? ( >=media-libs/alsa-lib-0.9 ) + >=sys-apps/sed-4 + arts? ( kde-base/arts ) + directfb? ( dev-libs/DirectFB ) + dvb? ( media-libs/libdvb ) + jack? ( media-sound/jack-audio-connection-kit ) + lcd? ( app-misc/lcdproc ) + lirc? ( app-misc/lirc ) + nvidia? ( media-video/nvidia-glx ) + oggvorbis? ( media-libs/libvorbis ) + opengl? ( virtual/opengl ) + || ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.34 )" + +RDEPEND="${DEPEND} + !media-tv/mythfrontend" + +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 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 + +} + +src_unpack() { + # Fix bugs 40964 and 42943. + filter-flags -fforce-addr -fPIC + + # fix bug 67832, 81610, etc + is-flag "-march=pentium4" && replace-flags "-O3" "-O2" + is-flag "-march=pentium4" && replace-flags "-0s" "-O2" + is-flag "-march=athlon-xp" && replace-flags "-O3" "-O2" + + myth_src_unpack || die "unpack failed" + + cd ${S} +} + +setup_pro() { + sed -e "s:CONFIG += linux backend:CONFIG += linux:" \ + -i 'settings.pro' || die "Removal of mythbackend failed" +} + +src_compile() { + use cle266 && use nvidia && die "You can not have USE="cle266" and USE="nvidia" at the same time. Must disable one or the other." + + # tested on different versions on gcc, P4, celeron & athlon-xp, and all bork on postProcess_MMX + # with mmx enabled, so disabled for all architectures for now - FIXME + myconf="--disable-mmx + $(use_enable altivec) + + $(use_enable oss audio-oss) + $(use_enable alsa audio-alsa) + $(use_enable arts audio-arts) + $(use_enable jack audio-jack) + $(use_enable lirc) + $(use_enable joystick joystick-menu) + + $(use_enable cle266 xvmc-vld) + $(use_enable directfb) + $(use_enable dvb) + $(use_enable dvb dvb-eit) + --dvb-path=/usr/include + $(use_enable opengl opengl-vsync) + $(use_enable oggvorbis vorbis) + $(use_enable nvidia xvmc) + $(use_enable xv) + $(use_enable X x11)" + + # $(use_enable ieee1394 firewire) + + myth_src_compile +} + +src_install() { + myth_src_install || die "install failed" + newbin "setup/setup" "mythsetup" + + insinto /usr/share/mythtv/database + doins database/* + + exeinto /usr/share/mythtv + doexe "${FILESDIR}/mythfilldatabase.cron" + + exeinto /etc/init.d + newexe "${FILESDIR}/mythbackend.rc6" mythbackend + insinto /etc/conf.d + newins "${FILESDIR}/mythbackend.conf" mythbackend + + dodoc keys.txt docs/*.{txt,pdf} + dohtml docs/*.html + + keepdir /var/{log,run}/mythtv +} |