diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2005-01-18 20:00:33 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2005-01-18 20:00:33 +0000 |
commit | bb63593494187ac37f910e3108c174ed20ed0b0d (patch) | |
tree | c8c8095b9cfa670d7f0181debb6fa4e6b9bfc609 /media-tv | |
parent | Fixing range of allowed octave versions (Manifest recommit) (diff) | |
download | gentoo-2-bb63593494187ac37f910e3108c174ed20ed0b0d.tar.gz gentoo-2-bb63593494187ac37f910e3108c174ed20ed0b0d.tar.bz2 gentoo-2-bb63593494187ac37f910e3108c174ed20ed0b0d.zip |
rev bump to a stable CVS snapshot for bug fixes and new features since
(Portage version: 2.0.51-r13)
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/mythfrontend/ChangeLog | 12 | ||||
-rw-r--r-- | media-tv/mythfrontend/files/digest-mythfrontend-0.16.20050115 | 1 | ||||
-rw-r--r-- | media-tv/mythfrontend/metadata.xml | 3 | ||||
-rw-r--r-- | media-tv/mythfrontend/mythfrontend-0.13.ebuild | 4 | ||||
-rw-r--r-- | media-tv/mythfrontend/mythfrontend-0.14-r1.ebuild | 4 | ||||
-rw-r--r-- | media-tv/mythfrontend/mythfrontend-0.15.1.ebuild | 4 | ||||
-rw-r--r-- | media-tv/mythfrontend/mythfrontend-0.16.20050115.ebuild | 194 | ||||
-rw-r--r-- | media-tv/mythfrontend/mythfrontend-0.16.ebuild | 4 |
8 files changed, 216 insertions, 10 deletions
diff --git a/media-tv/mythfrontend/ChangeLog b/media-tv/mythfrontend/ChangeLog index 856fab4601d3..b99382c9495a 100644 --- a/media-tv/mythfrontend/ChangeLog +++ b/media-tv/mythfrontend/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-tv/mythfrontend -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/ChangeLog,v 1.26 2004/12/05 00:52:43 iggy Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/ChangeLog,v 1.27 2005/01/18 20:00:33 cardoe Exp $ + +*mythfrontend-0.16.20050115 (18 Jan 2005) + + 18 Jan 2005; Doug Goldstein <cardoe@gentoo.org> metadata.xml, + +mythfrontend-0.16.20050115.ebuild: + rev bump to a stable CVS snapshot for bug fixes and new features since + upstream has a slow release cycle fixes in the eclass make XrandX always + enabled since it's always enabled in Gentoo X.org 04 Dec 2004; Brian Jackson <iggy@gentoo.org> mythfrontend-0.16.ebuild: I can't find any of the other media-tv guys, and it's been fairly bug free diff --git a/media-tv/mythfrontend/files/digest-mythfrontend-0.16.20050115 b/media-tv/mythfrontend/files/digest-mythfrontend-0.16.20050115 new file mode 100644 index 000000000000..d939052a9c06 --- /dev/null +++ b/media-tv/mythfrontend/files/digest-mythfrontend-0.16.20050115 @@ -0,0 +1 @@ +MD5 a16fa44a42ceb780ccf1bd7cb133fee8 mythtv-0.16.20050115.tar.bz2 14946055 diff --git a/media-tv/mythfrontend/metadata.xml b/media-tv/mythfrontend/metadata.xml index a6b9e38a1b93..1cb3ba51155e 100644 --- a/media-tv/mythfrontend/metadata.xml +++ b/media-tv/mythfrontend/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>media-tv</herd> +<maintainer> + <email>cardoe@gentoo.org</email> +</maintainer> </pkgmetadata> diff --git a/media-tv/mythfrontend/mythfrontend-0.13.ebuild b/media-tv/mythfrontend/mythfrontend-0.13.ebuild index a990a29639e4..0b1a7495548f 100644 --- a/media-tv/mythfrontend/mythfrontend-0.13.ebuild +++ b/media-tv/mythfrontend/mythfrontend-0.13.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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.13.ebuild,v 1.5 2004/06/25 00:32:41 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.13.ebuild,v 1.6 2005/01/18 20:00:33 cardoe Exp $ inherit flag-o-matic diff --git a/media-tv/mythfrontend/mythfrontend-0.14-r1.ebuild b/media-tv/mythfrontend/mythfrontend-0.14-r1.ebuild index 1db5c9880666..acac06de7715 100644 --- a/media-tv/mythfrontend/mythfrontend-0.14-r1.ebuild +++ b/media-tv/mythfrontend/mythfrontend-0.14-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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.14-r1.ebuild,v 1.5 2004/06/25 00:32:41 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.14-r1.ebuild,v 1.6 2005/01/18 20:00:33 cardoe Exp $ inherit flag-o-matic diff --git a/media-tv/mythfrontend/mythfrontend-0.15.1.ebuild b/media-tv/mythfrontend/mythfrontend-0.15.1.ebuild index 8f426cfddc36..8f57b4eb11b1 100644 --- a/media-tv/mythfrontend/mythfrontend-0.15.1.ebuild +++ b/media-tv/mythfrontend/mythfrontend-0.15.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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.15.1.ebuild,v 1.6 2004/09/21 04:49:59 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.15.1.ebuild,v 1.7 2005/01/18 20:00:33 cardoe Exp $ inherit flag-o-matic eutils gcc diff --git a/media-tv/mythfrontend/mythfrontend-0.16.20050115.ebuild b/media-tv/mythfrontend/mythfrontend-0.16.20050115.ebuild new file mode 100644 index 000000000000..ecd3ff08523e --- /dev/null +++ b/media-tv/mythfrontend/mythfrontend-0.16.20050115.ebuild @@ -0,0 +1,194 @@ +# 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.16.20050115.ebuild,v 1.1 2005/01/18 20:00:33 cardoe Exp $ + +inherit myth flag-o-matic + +DESCRIPTION="Homebrew PVR project frontend." +HOMEPAGE="http://www.mythtv.org/" +SRC_URI="mirror://gentoo/mythtv-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="alsa arts dvb directfb lcd lirc nvidia cle266 opengl X xv oss mmx" + + +DEPEND=">=media-libs/freetype-2.0 + >=media-sound/lame-3.93.1 + X? ( >=x11-libs/qt-3.1 ) + directfb? ( dev-libs/DirectFB >=x11-libs/qt-embedded-3.1 ) + dev-db/mysql + alsa? ( >=media-libs/alsa-lib-0.9 ) + >=sys-apps/sed-4 + arts? ( kde-base/arts ) + dvb? ( media-libs/libdvb ) + lcd? ( app-misc/lcdproc ) + lirc? ( app-misc/lirc ) + nvidia? ( media-video/nvidia-glx )" + +RDEPEND="${DEPEND} + !media-tv/mythtv" + +S="${WORKDIR}/mythtv" + +pkg_setup() { + if use X; then + QTP=x11-libs/qt + elif use directfb; then + QTP=x11-libs/qt-embedded + else + eerror "You must have either X or directfb in USE" + die "No QT library selected" + fi + local qt_use="$(</var/db/pkg/`best_version ${QTP}`/USE)" + if ! has mysql ${qt_use} ; 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 oss && ! use alsa && ! use arts ; then + eerror "You must have one of oss alsa or arts enabled" + die "No audio selected" + fi + return 0 +} + +setup_pro() { + sed -e "s:CONFIG += linux backend:CONFIG += linux:" \ + -i 'settings.pro' || die "Removal of mythbackend failed" + + if [ "${ARCH}" == "amd64" ] || ! use mmx; then + sed -e "s:DEFINES += MMX:DEFINES -= MMX:" \ + -i 'settings.pro' || "Removal of MMX failed" + fi + + if ! use X ; then + sed -e 's:CONFIG += using_x11:#CONFIG += using_x11:' \ + -i 'settings.pro' || die "disable x11 failed" + fi + + if ! use xv ; then + sed -e 's:CONFIG += using_xv:#CONFIG += using_xv:' \ + -e 's:EXTRA_LIBS += -L/usr/X11:#EXTRA_LIBS += -L/usr/X11:' \ + -i 'settings.pro' || die "disable xv failed" + fi + + if use lcd ; then + sed -e 's:#DEFINES += LCD_DEVICE:DEFINES += LCD_DEVICE:' \ + -i 'settings.pro' || die "enable lcd sed failed" + fi + + if ! use oss ; then + sed -e 's:CONFIG += using_oss:#CONFIG += using_oss:' \ + -e 's:DEFINES += USING_OSS:#DEFINES += USING_OSS:' \ + -i 'settings.pro' || die "disable oss failed" + fi + + if use alsa ; then + sed -e 's:#CONFIG += using_alsa:CONFIG += using_alsa:' \ + -e 's:#ALSA_LIBS = -lasound:ALSA_LIBS = -lasound:' \ + -i 'settings.pro' || die "enable alsa sed failed" + fi + + if use arts ; then + sed -e 's:artsc/artsc.h:artsc.h:' \ + -i "libs/libmyth/audiooutputarts.h" || die "sed failed" + sed -e 's:#CONFIG += using_arts:CONFIG += using_arts:' \ + -e 's:#ARTS_LIBS = .*:ARTS_LIBS = `artsc-config --libs`:' \ + -e 's:#EXTRA_LIBS += -L/opt/.*:EXTRA_LIBS += `artsc-config --libs`:' \ + -e 's:#INCLUDEPATH += /opt/.*:QMAKE_CXXFLAGS += `artsc-config --cflags`:' \ + -i 'settings.pro' || die "enable arts sed failed" + fi + + if use dvb ; then + sed -e 's:#CONFIG += using_dvb:CONFIG += using_dvb:' \ + -e 's:#DEFINES += USING_DVB:DEFINES += USING_DVB:' \ + -e 's:#INCLUDEPATH += /usr/src/.*:INCLUDEPATH += /usr/include:' \ + -i 'settings.pro' || die "enable dvb sed failed" + fi + + if use lirc ; then + sed -e 's:#CONFIG += using_lirc:CONFIG += using_lirc:' \ + -e 's:#LIRC_LIBS = -llirc_client:LIRC_LIBS = -llirc_client:' \ + -i 'settings.pro' || die "enable lirc sed failed" + fi + + if use nvidia ; then + sed -e 's:#CONFIG += using_xvmc:CONFIG += using_xvmc:' \ + -e 's:#DEFINES += USING_XVMC:DEFINES += USING_XVMC:' \ + -e 's:#EXTRA_LIBS += -lXvMCNVIDIA:EXTRA_LIBS += -lXvMCNVIDIA:' \ + -i 'settings.pro' || die "enable nvidia xvmc sed failed" + fi + + if use cle266 ; then + sed -e 's:#CONFIG += using_viahwslice:CONFIG += using_viahwslice:' \ + -e 's:#DEFINES += USING_VIASLICE:DEFINES += USING_VIASLICE:' \ + -e 's:#EXTRA_LIBS += -lddmpeg:EXTRA_LIBS += -lddmpeg:' \ + -i 'settings.pro' || die "enable cle266 sed failed" + fi + + if ! use cle266 ; then + sed -e 's:CONFIG += using_xvmc using_xvmc_vld:#CONFIG += using_xvmc using_xvmc_vld:' \ + -e 's:DEFINES += USING_XVMC USING_XVMC_VLD:#DEFINES += USING_XVMC USING_XVMC_VLD:' \ + -i 'settings.pro' || die "disable VLD XvMC sed failed" + fi + + if use directfb ; then + sed -e 's:#CONFIG += using_directfb:CONFIG += using_directfb:' \ + -e 's:#EXTRA_LIBS += `directfb:EXTRA_LIBS += `directfb:' \ + -e 's:#QMAKE_CXXFLAGS += `directfb:QMAKE_CXXFLAGS += `directfb:' \ + -i 'settings.pro' || die "enable directfb sed failed" + fi + if use opengl ; then + sed -e 's:#DEFINES += USING_OPENGL_VSYNC:DEFINES += USING_OPENGL_VSYNC:' \ + -e 's:#EXTRA_LIBS += -lGL:EXTRA_LIBS += -lGL:' \ + -e 's:#CONFIG += using_opengl:CONFIG += using_opengl:' \ + -i 'settings.pro' || die "enable opengl sed failed" + fi + + #Gentoo X ebuilds always have XrandrX + sed -e 's:#CONFIG += using_xrandr:CONFIG += using_xrandr:' \ + -e 's:#DEFINES += USING_XRANDR:DEFINES += USING_XRANDR:' \ + -i 'settings.pro' || die "enable xrandr sed failed" +} + +src_unpack() { + # Fix bugs 40964 and 42943. + filter-flags -fforce-addr -fPIC + + # fix bug 67832, fix can be removed for 0.17 when its released + is-flag "-march=pentium4" && replace-flags "-O3" "-O2" + + myth_src_unpack +} + +src_compile() { + export QMAKESPEC="linux-g++" + + econf || die + sed -i -e "s:OPTFLAGS=.*:OPTFLAGS=${CFLAGS}:g" config.mak + + qmake -o "Makefile" "mythtv.pro" + make qmake || die + emake -C libs/libavcodec || die + emake -C libs/libavformat || die + emake -C libs/libmythsamplerate || die + emake -C libs/libmythsoundtouch || die + emake -C libs/libmyth || die + emake -C libs/libmythtv || die + emake -C libs || die + emake || die +} + +src_install() { + myth_src_install + + dodir /etc/mythtv + mv "${D}/usr/share/mythtv/mysql.txt" "${D}/etc/mythtv" + dosym /etc/mythtv/mysql.txt /usr/share/mythtv/mysql.txt + + dodoc keys.txt docs/*.{txt,pdf} + dohtml docs/*.html +} diff --git a/media-tv/mythfrontend/mythfrontend-0.16.ebuild b/media-tv/mythfrontend/mythfrontend-0.16.ebuild index 2c59baba3e1a..0c1bc13b708f 100644 --- a/media-tv/mythfrontend/mythfrontend-0.16.ebuild +++ b/media-tv/mythfrontend/mythfrontend-0.16.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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.16.ebuild,v 1.10 2004/12/16 21:34:37 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.16.ebuild,v 1.11 2005/01/18 20:00:33 cardoe Exp $ inherit myth flag-o-matic |