summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-05-30 07:45:45 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-05-30 07:45:45 +0000
commit4d2044acf94e481076beceb6461d036f85b6a0a3 (patch)
tree094e973e692d100156386572d59da178e693368b /media-tv/mythtv
parentmove firewire from 0.18.1-r1 to -r2. mark -r1 stable. remove old ebuilds. (diff)
downloadgentoo-2-4d2044acf94e481076beceb6461d036f85b6a0a3.tar.gz
gentoo-2-4d2044acf94e481076beceb6461d036f85b6a0a3.tar.bz2
gentoo-2-4d2044acf94e481076beceb6461d036f85b6a0a3.zip
remove 0.16 series
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-tv/mythtv')
-rw-r--r--media-tv/mythtv/ChangeLog7
-rw-r--r--media-tv/mythtv/files/digest-mythtv-0.161
-rw-r--r--media-tv/mythtv/files/mythfilldatabase.cron2
-rw-r--r--media-tv/mythtv/files/mythtv-0.16-cx88.patch16
-rw-r--r--media-tv/mythtv/mythtv-0.16.ebuild196
5 files changed, 7 insertions, 215 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index cd05e59280a9..8ba7de297a96 100644
--- a/media-tv/mythtv/ChangeLog
+++ b/media-tv/mythtv/ChangeLog
@@ -1,6 +1,11 @@
# 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.63 2005/05/30 07:43:09 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.64 2005/05/30 07:45:44 cardoe Exp $
+
+ 30 May 2005; Doug Goldstein <cardoe@gentoo.org>
+ -files/mythtv-0.16-cx88.patch, files/mythfilldatabase.cron,
+ -mythtv-0.16.ebuild:
+ remove 0.16 series
*mythtv-0.18.1-r2 (30 May 2005)
diff --git a/media-tv/mythtv/files/digest-mythtv-0.16 b/media-tv/mythtv/files/digest-mythtv-0.16
deleted file mode 100644
index 078feaa2e6ef..000000000000
--- a/media-tv/mythtv/files/digest-mythtv-0.16
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0eba17cf64c96ea3ead23e7e15419cc0 mythtv-0.16.tar.bz2 13497653
diff --git a/media-tv/mythtv/files/mythfilldatabase.cron b/media-tv/mythtv/files/mythfilldatabase.cron
index f1a675c1d121..e25082a7f00c 100644
--- a/media-tv/mythtv/files/mythfilldatabase.cron
+++ b/media-tv/mythtv/files/mythfilldatabase.cron
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
QTDIR=/usr/qt/3
/usr/bin/mythfilldatabase --no-delete --quiet
diff --git a/media-tv/mythtv/files/mythtv-0.16-cx88.patch b/media-tv/mythtv/files/mythtv-0.16-cx88.patch
deleted file mode 100644
index d62377cad2d1..000000000000
--- a/media-tv/mythtv/files/mythtv-0.16-cx88.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-===================================================================
-RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp,v
-retrieving revision 1.178
-retrieving revision 1.179
-diff -u -r1.178 -r1.179
---- mythtv/libs/libmythtv/NuppelVideoRecorder.cpp 2004/08/19 02:02:19 1.178
-+++ mythtv/libs/libmythtv/NuppelVideoRecorder.cpp 2004/09/12 19:05:49 1.179
-@@ -1300,7 +1300,7 @@
-
- uint8_t *y_plane = conversion_buffer;
- uint8_t *cb_plane = y_plane + w * h;
-- uint8_t *cr_plane = cr_plane + w * h / 4;
-+ uint8_t *cr_plane = cb_plane + w * h / 4;
-
- uint8_t *src = buffers[frame];
-
diff --git a/media-tv/mythtv/mythtv-0.16.ebuild b/media-tv/mythtv/mythtv-0.16.ebuild
deleted file mode 100644
index 3c93f65fb2b3..000000000000
--- a/media-tv/mythtv/mythtv-0.16.ebuild
+++ /dev/null
@@ -1,196 +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.16.ebuild,v 1.12 2005/05/06 18:28:39 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 directfb lcd lirc nvidia cle266 opengl X xv oss debug mmx nls"
-
-DEPEND=">=media-libs/freetype-2.0
- >=media-sound/lame-3.93.1
- X? ( >=x11-libs/qt-3.1 <x11-libs/qt-3.3.4 )
- 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 )
- cle266? ( media-libs/libddmpeg )
- || ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.34 )"
-
-RDEPEND="${DEPEND}
- !media-tv/mythfrontend"
-
-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() {
- if [ "${ARCH}" == "amd64" ] || ! use mmx; then
- sed -i settings.pro \
- -e "s:DEFINES += MMX:DEFINES -= MMX:"
- 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/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 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
-}
-
-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
-
- epatch ${FILESDIR}/${P}-cx88.patch
- sed -i '32i #include <cmath>' ${S}/libs/libmythtv/dvbdiseqc.cpp
-}
-
-
-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/libmyth || die
- emake -C libs/libmythtv || die
- emake -C libs || die
- emake || die
-}
-
-src_install() {
- myth_src_install
- 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 keys.txt docs/*.{txt,pdf}
- dohtml docs/*.html
-
- keepdir /var/{log,run}/mythtv
-}