diff options
author | Max Kalika <max@gentoo.org> | 2003-10-20 03:07:35 +0000 |
---|---|---|
committer | Max Kalika <max@gentoo.org> | 2003-10-20 03:07:35 +0000 |
commit | 8385743b59f58d8fc6054210e53f3eba3661b4cc (patch) | |
tree | e0a2269cd0d971656a52d850c1cf14cc7ed68d85 /media-tv | |
parent | Install the pdf doc as well. (diff) | |
download | historical-8385743b59f58d8fc6054210e53f3eba3661b4cc.tar.gz historical-8385743b59f58d8fc6054210e53f3eba3661b4cc.tar.bz2 historical-8385743b59f58d8fc6054210e53f3eba3661b4cc.zip |
Bump to version 0.12. Add support for alsa, lcd, lirc, xvmc. Add Qt mysql support check.
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/mythfrontend/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/mythfrontend/Manifest | 4 | ||||
-rw-r--r-- | media-tv/mythfrontend/files/digest-mythfrontend-0.12 | 1 | ||||
-rw-r--r-- | media-tv/mythfrontend/mythfrontend-0.12.ebuild | 99 |
4 files changed, 110 insertions, 2 deletions
diff --git a/media-tv/mythfrontend/ChangeLog b/media-tv/mythfrontend/ChangeLog index f8636253a594..69a2119f4418 100644 --- a/media-tv/mythfrontend/ChangeLog +++ b/media-tv/mythfrontend/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/mythfrontend # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/ChangeLog,v 1.5 2003/09/17 06:22:30 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/ChangeLog,v 1.6 2003/10/20 03:07:33 max Exp $ + +*mythfrontend-0.12 (19 Oct 2003) + + 19 Oct 2003; Max Kalika <max@gentoo.org> mythfrontend-0.12.ebuild: + Bump to version 0.12. Add support for alsa, lcd, lirc, xvmc. Add Qt mysql + support check. 16 Sep 2003; Max Kalika <max@gentoo.org> mythfrontend-0.10.ebuild, mythfrontend-0.11.ebuild: diff --git a/media-tv/mythfrontend/Manifest b/media-tv/mythfrontend/Manifest index f2a07ca7af78..a7657dd24969 100644 --- a/media-tv/mythfrontend/Manifest +++ b/media-tv/mythfrontend/Manifest @@ -1,6 +1,8 @@ MD5 c3f67cc91781e0b6358a0a1cf9971157 mythfrontend-0.11.ebuild 1415 MD5 aed36892462269a8080b52fa26962f65 mythfrontend-0.10.ebuild 1479 -MD5 13b7944217e6eb7f234bfe67cd6b6a7f ChangeLog 846 +MD5 83af631723886f8d0812eae35c194c27 ChangeLog 1043 +MD5 23d181c2e32ce6f7256faa894d5e2d36 mythfrontend-0.12.ebuild 2816 MD5 20e2255501865de5b568424821abf69d metadata.xml 161 MD5 e14a28e72b9ac693884dc418dbeef119 files/digest-mythfrontend-0.10 65 MD5 5234ae53ed7b1bb9ed541d47207430f8 files/digest-mythfrontend-0.11 65 +MD5 8919549e83320ae499758823c2488901 files/digest-mythfrontend-0.12 65 diff --git a/media-tv/mythfrontend/files/digest-mythfrontend-0.12 b/media-tv/mythfrontend/files/digest-mythfrontend-0.12 new file mode 100644 index 000000000000..8df001fa6b0e --- /dev/null +++ b/media-tv/mythfrontend/files/digest-mythfrontend-0.12 @@ -0,0 +1 @@ +MD5 a0565cfb291822d49a68484b01af54b6 mythtv-0.12.tar.bz2 3010506 diff --git a/media-tv/mythfrontend/mythfrontend-0.12.ebuild b/media-tv/mythfrontend/mythfrontend-0.12.ebuild new file mode 100644 index 000000000000..287a4be74df6 --- /dev/null +++ b/media-tv/mythfrontend/mythfrontend-0.12.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.12.ebuild,v 1.1 2003/10/20 03:07:33 max Exp $ + +inherit flag-o-matic + +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" +IUSE="alsa lcd lirc nvidia" + +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 ) + 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-${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 +} + +src_unpack() { + unpack ${A} + + for i in `grep -lr "usr/local" "${S}"` ; do + sed -e "s:usr/local:usr:g" -i "${i}" || die "sed failed" + done +} + +src_compile() { + local cpu="`get-flag march`" + if [ "${cpu}" ] ; then + sed -e "s:pentiumpro:${cpu}:g" -i "settings.pro" || die "sed failed" + fi + + if [ "`use alsa`" ] ; then + sed -e "s:#CONFIG += using_alsa:CONFIG += using_alsa:" \ + -e "s:#EXTRA_LIBS += -lasound:EXTRA_LIBS += -lasound:" \ + -i "settings.pro" || die "enable alsa sed 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 lirc`" ] ; then + sed -e "s:#CONFIG += using_lirc:CONFIG += using_lirc:" \ + -e "s:#EXTRA_LIBS += -llirc_client:EXTRA_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:#EXTRA_LIBS += -lXvMCNVIDIA:EXTRA_LIBS += -lXvMCNVIDIA:" \ + -i "settings.pro" || die "enable xvmc sed failed" + fi + # Needs a VIA supported kernel driver. + #if [ "`use via`" ] ; then + # sed -e "s:#CONFIG += using_via:CONFIG += using_via:" + # -e "s:#EXTRA_LIBS += -lddmpeg:EXTRA_LIBS += -lddmpeg:" + # -i "settings.pro" || die "enable lirc sed failed" + #fi + + qmake -o "Makefile" "mythtv.pro" + + econf + make || die "compile problem" +} + +src_install() { + einstall INSTALL_ROOT="${D}" + + dodir /etc/mythtv + mv "${D}/usr/share/mythtv/mysql.txt" "${D}/etc/mythtv" + dosym /etc/mythtv/mysql.txt /usr/share/mythtv/mysql.txt + + rm -rf "${D}"/usr/bin/myth{backend,commflag,filldatabase,transcode} \ + "${D}/usr/share/mythtv/setup.xml" + + dodoc AUTHORS COPYING FAQ README UPGRADING keys.txt docs/*.{txt,pdf} + dohtml docs/*.html +} |