summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-04-18 02:34:52 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-04-18 02:34:52 +0000
commitf5aa6d92fb3545caa531252450c36db7beb4a019 (patch)
tree0e4567c66e1ed4c93f45747a1778b03f83fc3c58 /media-tv
parentVersion bump. (diff)
downloadgentoo-2-f5aa6d92fb3545caa531252450c36db7beb4a019.tar.gz
gentoo-2-f5aa6d92fb3545caa531252450c36db7beb4a019.tar.bz2
gentoo-2-f5aa6d92fb3545caa531252450c36db7beb4a019.zip
Stable amd64.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythtv/ChangeLog6
-rw-r--r--media-tv/mythtv/files/digest-mythtv-0.171
-rw-r--r--media-tv/mythtv/mythtv-0.17-r1.ebuild4
-rw-r--r--media-tv/mythtv/mythtv-0.17.ebuild208
4 files changed, 7 insertions, 212 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index 32250cc5918f..45e1e5e21c78 100644
--- a/media-tv/mythtv/ChangeLog
+++ b/media-tv/mythtv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/mythtv
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.49 2005/04/18 02:25:00 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.50 2005/04/18 02:34:52 eradicator Exp $
+
+ 18 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ -mythtv-0.17.ebuild, mythtv-0.17-r1.ebuild:
+ Stable amd64.
*mythtv-0.18 (18 Apr 2005)
diff --git a/media-tv/mythtv/files/digest-mythtv-0.17 b/media-tv/mythtv/files/digest-mythtv-0.17
deleted file mode 100644
index b710a001a6eb..000000000000
--- a/media-tv/mythtv/files/digest-mythtv-0.17
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c996dc690d36e946396fc5cd4b715e3b mythtv-0.17.tar.bz2 16122954
diff --git a/media-tv/mythtv/mythtv-0.17-r1.ebuild b/media-tv/mythtv/mythtv-0.17-r1.ebuild
index b6cf01132820..5917f658a627 100644
--- a/media-tv/mythtv/mythtv-0.17-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.17-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.17-r1.ebuild,v 1.1 2005/04/06 10:07:40 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.17-r1.ebuild,v 1.2 2005/04/18 02:34:52 eradicator Exp $
inherit myth flag-o-matic eutils toolchain-funcs
@@ -10,7 +10,7 @@ SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~x86 amd64"
IUSE="alsa arts dvb lcd lirc nvidia cle266 opengl xv mmx" # ieee1394"
DEPEND=">=media-libs/freetype-2.0
diff --git a/media-tv/mythtv/mythtv-0.17.ebuild b/media-tv/mythtv/mythtv-0.17.ebuild
deleted file mode 100644
index 703553c2b9f2..000000000000
--- a/media-tv/mythtv/mythtv-0.17.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.17.ebuild,v 1.7 2005/04/06 10:07:40 eradicator Exp $
-
-inherit myth flag-o-matic eutils
-
-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 ~amd64"
-IUSE="alsa arts dvb lcd lirc nvidia cle266 opengl xv mmx" # ieee1394"
-
-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 )
- dvb? ( media-libs/libdvb )
- lcd? ( app-misc/lcdproc )
- lirc? ( app-misc/lirc )
- nvidia? ( media-video/nvidia-glx )
- || ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.34 )"
-
-# ieee1394? ( sys-libs/libraw1394 )
-
-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
-
- 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
-
-}
-
-setup_pro() {
- if [ "${ARCH}" == "amd64" ] || ! use mmx; then
- sed -e "s:DEFINES += MMX:DEFINES -= MMX:" \
- -i 'settings.pro' || "Removal of MMX failed"
- fi
-
- if ! use xv ; then
- sed -e 's:CONFIG += using_xv:#CONFIG += using_xv:' \
- -e 's:EXTRA_LIBS += -L/usr/X11R6/lib:#EXTRA_LIBS += -L/usr/X11R6/lib:' \
- -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 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/linux/dvb:' \
- -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 nvidia && use cle266; then
- die "You can not have USE="cle266" and USE="nvidia" at the same time. Must disable one or the other."
- 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:' \
- -e 's:#EXTRA_LIBS += -lviaXvMC -lXvMC:EXTRA_LIBS += -lviaXvMC -lXvMC:' \
- -i 'settings.pro' || die "enable cle266 sed failed"
- fi
-
- if ! use cle266 ; then # needed because nvidia and cle266 are not compatible
- 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:' \
- -e 's:EXTRA_LIBS += -lviaXvMC -lXvMC:#EXTRA_LIBS += -lviaXvMC -lXvMC:' \
- -i 'settings.pro' || die "disable VLD XvMC sed failed"
- fi
-
-# if use ieee1394 ; then
-# sed -e 's:#CONFIG += using_firewire:CONFIG += using_firewire:' \
-# -e 's:#DEFINES += USING_FIREWIRE:DEFINES += USING_FIREWIRE:' \
-# -e 's:#EXTRA_LIBS += -lraw1394 -liec61883:EXTRA_LIBS += -lraw1394 -liec61883:' \
-# -i 'settings.pro' || die "failed to enable firewire support"
-# 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() {
-
- if use cle266; then
- ewarn "If you have a VIA ITX board with XvMC VLD on it... you need to pull the sources for this stuff yourself"
- ewarn "and install it yourself before continuing. It is currently not packaged up and requires drm patches to Xorg"
- ewarn "these patches are not in the xorg-x11. http://bugs.gentoo.org/show_bug.cgi?id=82125"
- sleep 5
- fi
-
-# if use ieee1394; then
-# ewarn "The required libraries to use firewire support are only available via Subversion. They are not stable enough to"
-# ewarn "be packaged up in Portage. This is only here as a courtesy for users that use it and have installed the libraries"
-# ewarn "themselves manually. http://bugs.gentoo.org/show_bug.cgi?id=81767"
-# sleep 5
-# fi
-
- # 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"
-}
-
-src_compile() {
- export QMAKESPEC="linux-g++"
-
- econf || die
- sed -i -e "s:OPTFLAGS=.*:OPTFLAGS=${CFLAGS}:g" config.mak
-
- qmake -o "Makefile" "${PN}.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/libmythmpeg2 || die
- emake -C libs/libmyth || die
- emake -C libs/libmythtv || die
- emake -C libs || die
- emake || die
-}
-
-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
-}