summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-09-10 17:39:06 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-09-10 17:39:06 +0000
commit715b5e2f20d9cd225321d542fd98e484f4b59af4 (patch)
treec8f9f474962b1792f6a8e1f2c9f36923ca611148 /media-tv
parentAdditional fixes (Manifest recommit) (diff)
downloadgentoo-2-715b5e2f20d9cd225321d542fd98e484f4b59af4.tar.gz
gentoo-2-715b5e2f20d9cd225321d542fd98e484f4b59af4.tar.bz2
gentoo-2-715b5e2f20d9cd225321d542fd98e484f4b59af4.zip
Version bump
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythfrontend/ChangeLog8
-rw-r--r--media-tv/mythfrontend/Manifest2
-rw-r--r--media-tv/mythfrontend/files/digest-mythfrontend-0.161
-rw-r--r--media-tv/mythfrontend/mythfrontend-0.16.ebuild161
4 files changed, 171 insertions, 1 deletions
diff --git a/media-tv/mythfrontend/ChangeLog b/media-tv/mythfrontend/ChangeLog
index 0d87891ca24c..97e61c376af4 100644
--- a/media-tv/mythfrontend/ChangeLog
+++ b/media-tv/mythfrontend/ChangeLog
@@ -1,6 +1,12 @@
# 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.19 2004/06/28 16:54:01 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/ChangeLog,v 1.20 2004/09/10 17:37:46 aliz Exp $
+
+*mythfrontend-0.16 (10 Sep 2004)
+
+ 10 Sep 2004; Daniel Ahlberg <aliz@gentoo.org> mythfrontend-0.16.ebuild:
+ Version bump. I've re-done some of the ebuild layout and added a myth eclass
+ to save some code.
28 Jun 2004; Daniel Goller <morfic@gentoo.org> mythfrontend-0.15.1.ebuild:
Applied patch to allow compiling with gcc-3.4 conditionally
diff --git a/media-tv/mythfrontend/Manifest b/media-tv/mythfrontend/Manifest
index dc395af69934..3bd83798d954 100644
--- a/media-tv/mythfrontend/Manifest
+++ b/media-tv/mythfrontend/Manifest
@@ -1,5 +1,6 @@
MD5 d53ee898a67b47e23920a4650f365e08 mythfrontend-0.15.1.ebuild 5271
MD5 718b0bd72f8bac27fbf6f687d128a4c6 mythfrontend-0.14-r1.ebuild 4228
+MD5 787e0bbfbca79c75a6ee458b983ff663 mythfrontend-0.16.ebuild 6319
MD5 31247cce705afa71aca3b58989862205 mythfrontend-0.13.ebuild 2786
MD5 a219376024abf797d5f27d6137a2a3ef ChangeLog 3006
MD5 20e2255501865de5b568424821abf69d metadata.xml 161
@@ -7,4 +8,5 @@ MD5 788cdcff1808794391bf5ef2e157b5fb files/digest-mythfrontend-0.15.1 67
MD5 f34c79d00b235a08f18cf9f2107d6390 files/mythtv-0.15-directfb.patch 1185
MD5 e7cc68f54ad1c6128aec944e105189e3 files/gcc-3.4-fix.patch 1773
MD5 a01439b4ddf480862e31867fc4689698 files/digest-mythfrontend-0.13 65
+MD5 fb4505fe7e8b832e115d777bf836d3bc files/digest-mythfrontend-0.16 66
MD5 24ab1e90e64fb0be4704e74b633e96b1 files/digest-mythfrontend-0.14-r1 65
diff --git a/media-tv/mythfrontend/files/digest-mythfrontend-0.16 b/media-tv/mythfrontend/files/digest-mythfrontend-0.16
new file mode 100644
index 000000000000..078feaa2e6ef
--- /dev/null
+++ b/media-tv/mythfrontend/files/digest-mythfrontend-0.16
@@ -0,0 +1 @@
+MD5 0eba17cf64c96ea3ead23e7e15419cc0 mythtv-0.16.tar.bz2 13497653
diff --git a/media-tv/mythfrontend/mythfrontend-0.16.ebuild b/media-tv/mythfrontend/mythfrontend-0.16.ebuild
new file mode 100644
index 000000000000..406ef6c0be5a
--- /dev/null
+++ b/media-tv/mythfrontend/mythfrontend-0.16.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2004 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.1 2004/09/10 17:37:46 aliz Exp $
+
+inherit myth
+
+DESCRIPTION="Homebrew PVR project frontend."
+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 arts dvb directfb lcd lirc nvidia cle266 opengl X xv oss debug mmx"
+
+DEPEND="virtual/x11
+ >=x11-libs/qt-3.1
+ >=media-sound/lame-3.93.1
+ >=media-libs/freetype-2.0
+ >=sys-apps/sed-4
+ alsa? ( media-libs/alsa-lib )
+ arts? ( kde-base/arts )
+ directfb? ( dev-libs/DirectFB )
+ dvb? ( media-libs/libdvb )
+ lcd? ( app-misc/lcdproc )
+ lirc? ( app-misc/lirc )
+ nvidia? ( media-video/nvidia-glx )
+ cle266? ( media-libs/libddmpeg )"
+
+RDEPEND="${DEPEND}
+ !media-tv/mythtv"
+
+S="${WORKDIR}/mythtv-${PV}"
+
+pkg_setup() {
+ local qt_use="$(</var/db/pkg/`best_version x11-libs/qt`/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 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
+
+ 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_compile() {
+ export QMAKESPEC="linux-g++"
+
+ econf || die
+ sed -i -e "s:OPTFLAGS=.*:OPTFLAGS=${CFLAGS}:g" config.mak
+
+ qmake -o "Makefile" "mythtv.pro"
+ make || 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
+}