summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-02 18:00:57 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-02 18:00:57 +0000
commit981babbb889be407bc5aad18893ad5b22c7229b0 (patch)
tree85dc2a437256c7fafedf79c77a3c5d364a5e66d8 /media-tv
parentVersion bump (diff)
downloadgentoo-2-981babbb889be407bc5aad18893ad5b22c7229b0.tar.gz
gentoo-2-981babbb889be407bc5aad18893ad5b22c7229b0.tar.bz2
gentoo-2-981babbb889be407bc5aad18893ad5b22c7229b0.zip
Version bump
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythfrontend/ChangeLog7
-rw-r--r--media-tv/mythfrontend/Manifest4
-rw-r--r--media-tv/mythfrontend/files/digest-mythfrontend-0.141
-rw-r--r--media-tv/mythfrontend/mythfrontend-0.14.ebuild100
-rw-r--r--media-tv/mythtv/ChangeLog7
-rw-r--r--media-tv/mythtv/Manifest4
-rw-r--r--media-tv/mythtv/files/digest-mythtv-0.141
-rw-r--r--media-tv/mythtv/mythtv-0.14.ebuild148
8 files changed, 266 insertions, 6 deletions
diff --git a/media-tv/mythfrontend/ChangeLog b/media-tv/mythfrontend/ChangeLog
index 30db90df8ea4..80766c29f610 100644
--- a/media-tv/mythfrontend/ChangeLog
+++ b/media-tv/mythfrontend/ChangeLog
@@ -1,6 +1,11 @@
# 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.9 2004/01/15 18:03:50 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/ChangeLog,v 1.10 2004/02/02 17:58:54 aliz Exp $
+
+*mythfrontend-0.14 (02 Feb 2004)
+
+ 02 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> mythfrontend-0.14.ebuild:
+ Version bump
15 Jan 2004; Max Kalika <max@gentoo.org> mythfrontend-0.13.ebuild:
Bump to stable x86.
diff --git a/media-tv/mythfrontend/Manifest b/media-tv/mythfrontend/Manifest
index 597495dbe11c..6d0f1b9dec11 100644
--- a/media-tv/mythfrontend/Manifest
+++ b/media-tv/mythfrontend/Manifest
@@ -1,8 +1,8 @@
-MD5 663f4e7bbfc6baab4c2dafc872bec3e2 mythfrontend-0.14.ebuild 2809
+MD5 92179e115d2e4f9c660dfe715fa99d99 mythfrontend-0.14.ebuild 2810
MD5 ce0bdac63542c75b7f5d0135723372a8 mythfrontend-0.11.ebuild 1415
MD5 91b0c4e7dd348f57e5c3ef83054059a2 mythfrontend-0.13.ebuild 2808
MD5 5dff04c95dbb19d6712eeee47a55df48 mythfrontend-0.10.ebuild 1479
-MD5 f281bdf48d81b748e37c8de50f7e6072 ChangeLog 1411
+MD5 b828921a780c22b2e05be879d690adc3 ChangeLog 1537
MD5 85cf4df293523f3e77be6d8e9438ca40 mythfrontend-0.12.ebuild 2816
MD5 20e2255501865de5b568424821abf69d metadata.xml 161
MD5 e14a28e72b9ac693884dc418dbeef119 files/digest-mythfrontend-0.10 65
diff --git a/media-tv/mythfrontend/files/digest-mythfrontend-0.14 b/media-tv/mythfrontend/files/digest-mythfrontend-0.14
new file mode 100644
index 000000000000..0d9553b02a81
--- /dev/null
+++ b/media-tv/mythfrontend/files/digest-mythfrontend-0.14
@@ -0,0 +1 @@
+MD5 c2ea3e39580d70aaa22c36a35f6afcca mythtv-0.14.tar.bz2 5802666
diff --git a/media-tv/mythfrontend/mythfrontend-0.14.ebuild b/media-tv/mythfrontend/mythfrontend-0.14.ebuild
new file mode 100644
index 000000000000..1dbfb6006167
--- /dev/null
+++ b/media-tv/mythfrontend/mythfrontend-0.14.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.14.ebuild,v 1.1 2004/02/02 17:58:54 aliz 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 )
+ 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
+
+ return 0
+}
+
+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 || get-flag mcpu`"
+ 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:#ALSA_LIBS = -lasound:ALSA_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:#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:#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
+}
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index d1c2da95add8..f2e53800df2f 100644
--- a/media-tv/mythtv/ChangeLog
+++ b/media-tv/mythtv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-tv/mythtv
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.13 2004/01/15 18:03:59 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.14 2004/02/02 17:58:54 aliz Exp $
+
+*mythtv-0.14 (02 Feb 2004)
+
+ 02 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> mythtv-0.14.ebuild:
+ Version bump
15 Jan 2004; Max Kalika <max@gentoo.org> mythtv-0.13-r1.ebuild,
mythtv-0.13.ebuild:
diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index e78353210e0e..a10b93e71961 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,8 +1,8 @@
MD5 88146b7623d9681823dc127796a70f27 mythtv-0.13-r1.ebuild 4542
MD5 f34f8c17617172910fd4fe9139bf4cf8 mythtv-0.12.ebuild 4493
-MD5 3a29248298579b7b4cfda5e8a3cccda0 mythtv-0.14.ebuild 4499
+MD5 d9e424d59e15e06939a8f33cbc10280c mythtv-0.14.ebuild 4497
MD5 6db726477736c1e5f633fecea01c44fa mythtv-0.11.ebuild 2778
-MD5 6ea14f240777561156d542e48f798bcf ChangeLog 4116
+MD5 49e769c7f9db8af8d82dc3f3339003bf ChangeLog 4229
MD5 20e2255501865de5b568424821abf69d metadata.xml 161
MD5 75594236f281302bcb8f60629e0da65b files/tvformat.fix.0.13.diff 407
MD5 a01439b4ddf480862e31867fc4689698 files/digest-mythtv-0.13-r1 65
diff --git a/media-tv/mythtv/files/digest-mythtv-0.14 b/media-tv/mythtv/files/digest-mythtv-0.14
new file mode 100644
index 000000000000..0d9553b02a81
--- /dev/null
+++ b/media-tv/mythtv/files/digest-mythtv-0.14
@@ -0,0 +1 @@
+MD5 c2ea3e39580d70aaa22c36a35f6afcca mythtv-0.14.tar.bz2 5802666
diff --git a/media-tv/mythtv/mythtv-0.14.ebuild b/media-tv/mythtv/mythtv-0.14.ebuild
new file mode 100644
index 000000000000..7ae06f0373eb
--- /dev/null
+++ b/media-tv/mythtv/mythtv-0.14.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.14.ebuild,v 1.1 2004/02/02 17:58:54 aliz Exp $
+
+inherit flag-o-matic
+
+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="~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
+ >=media-tv/xmltv-0.5.16
+ >=sys-apps/sed-4
+ alsa? ( media-libs/alsa-lib )
+ lcd? ( app-misc/lcdproc )
+ lirc? ( app-misc/lirc )
+ nvidia? ( media-video/nvidia-glx )"
+ #dvb? ( media-libs/libdvb )
+
+RDEPEND="${DEPEND}
+ !media-tv/mythfrontend"
+
+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
+
+ return 0
+}
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ 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 || get-flag mcpu`"
+ 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:#ALSA_LIBS = -lasound:ALSA_LIBS = -lasound:" \
+ -i "settings.pro" || die "enable alsa sed failed"
+ fi
+ # Not quite ready for prime time.
+ #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:" \
+ # -i "settings.pro" || die "enable dvb 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:#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:#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" "${PN}.pro"
+
+ econf
+ make || die "compile problem"
+}
+
+src_install() {
+ einstall INSTALL_ROOT="${D}"
+ newbin "setup/setup" "mythsetup"
+
+ dodir /etc/mythtv
+ mv "${D}/usr/share/mythtv/mysql.txt" "${D}/etc/mythtv"
+ dosym /etc/mythtv/mysql.txt /usr/share/mythtv/mysql.txt
+
+ 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 AUTHORS COPYING FAQ README UPGRADING keys.txt docs/*.{txt,pdf}
+ dohtml docs/*.html
+
+ keepdir /var/{log,run}/mythtv
+}
+
+pkg_postinst() {
+ ewarn "Please note that /usr/share/mythtv/setup has been moved"
+ ewarn "to /usr/bin/mythsetup"
+ echo
+
+ einfo "If this is the first time you install MythTV,"
+ einfo "you need to add /usr/share/mythtv/database/mc.sql"
+ einfo "to your mysql database."
+ einfo
+ einfo "You might run 'mysql < /usr/share/mythtv/database/mc.sql'"
+ einfo
+ einfo "Next, you need to run the mythsetup program."
+ einfo "It will ask you some questions about your hardware, and"
+ einfo "then run xmltv's grabber to configure your channels."
+ einfo
+ einfo "Once you have configured your database, you can run"
+ einfo "/usr/bin/mythfilldatabase to populate the schedule"
+ einfo "or copy /usr/share/mythtv/mythfilldatabase.cron to"
+ einfo "/etc/cron.daily for this to happen automatically."
+ einfo
+ einfo "If you're upgrading from an older version and for more"
+ einfo "setup and usage instructions, please refer to:"
+ einfo " /usr/share/doc/${PF}/README.gz"
+ einfo " /usr/share/doc/${PF}/UPGRADING.gz"
+ ewarn "This part is important as there might be database changes"
+ ewarn "which need to be performed or this package will not work"
+ ewarn "properly."
+ echo
+}