summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-06-29 07:50:10 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-06-29 07:50:10 +0000
commit43f7896e6e17547a95ffd744877bfd1b8f69e9ed (patch)
tree059ac953a780f8a4def9f71dd76290b1d852825b /media-tv
parentAdded to ~ppc (diff)
downloadgentoo-2-43f7896e6e17547a95ffd744877bfd1b8f69e9ed.tar.gz
gentoo-2-43f7896e6e17547a95ffd744877bfd1b8f69e9ed.tar.bz2
gentoo-2-43f7896e6e17547a95ffd744877bfd1b8f69e9ed.zip
remove the old version
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythtv/ChangeLog7
-rw-r--r--media-tv/mythtv/files/digest-mythtv-0.17-r11
-rw-r--r--media-tv/mythtv/files/mythbackend.conf33
-rw-r--r--media-tv/mythtv/files/mythbackend.rc658
-rw-r--r--media-tv/mythtv/files/mythtv-0.17-qt334-dst-fix.patch169
-rw-r--r--media-tv/mythtv/mythtv-0.17-r1.ebuild212
6 files changed, 6 insertions, 474 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index 120bba325e91..90e9ea020d24 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.71 2005/06/29 04:39:01 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.72 2005/06/29 07:50:10 cardoe Exp $
+
+ 29 Jun 2005; Doug Goldstein <cardoe@gentoo.org>
+ -files/mythtv-0.17-qt334-dst-fix.patch, -files/mythbackend.conf,
+ -files/mythbackend.rc6, -mythtv-0.17-r1.ebuild:
+ remove the old version
21 Jun 2005; Herbie Hopkins <herbs@gentoo.org> mythtv-0.18.1-r1.ebuild:
Backport multilib fixes and amd64 configure patch from -r2. Mark stable on
diff --git a/media-tv/mythtv/files/digest-mythtv-0.17-r1 b/media-tv/mythtv/files/digest-mythtv-0.17-r1
deleted file mode 100644
index b710a001a6eb..000000000000
--- a/media-tv/mythtv/files/digest-mythtv-0.17-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c996dc690d36e946396fc5cd4b715e3b mythtv-0.17.tar.bz2 16122954
diff --git a/media-tv/mythtv/files/mythbackend.conf b/media-tv/mythtv/files/mythbackend.conf
deleted file mode 100644
index 9b5e67e86ef0..000000000000
--- a/media-tv/mythtv/files/mythbackend.conf
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.conf,v 1.5 2005/03/02 08:52:23 eradicator Exp $
-
-# Uncomment this to disable the permission warnings.
-MYTH_WARN=yes
-
-# Specify which user to run as
-#
-# NOTE: this user must have permissions to write
-# to the LOG and PID directories specified
-# below. Furthermore, this user must be able
-# to write to the audio and video devices
-# that are configured in MythTV. This can
-# be achieved by adding this user to the
-# audio and video groups.
-MYTH_USER=root
-
-# Specify which file to use for the backend log.
-MYTH_LOG=/var/log/mythtv/mythbackend.log
-
-# Specify in which file to store the backend process id.
-MYTH_PID=/var/run/mythtv/mythbackend.pid
-
-# Specify debug-level in log.
-# Accepts any combination (separated by comma) of:
-# all,none,quiet,record,playback,channel,osd,file,
-# schedule,network,commflag,audio,libav,jobqueue
-MYTH_VERBOSE="none"
-
-# Set the nice level (see nice(1)). To give mythbackend a higher
-# priority, you may want to set this to -15.
-MYTH_NICE="0"
diff --git a/media-tv/mythtv/files/mythbackend.rc6 b/media-tv/mythtv/files/mythbackend.rc6
deleted file mode 100644
index 36bccdd8684c..000000000000
--- a/media-tv/mythtv/files/mythbackend.rc6
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.rc6,v 1.5 2005/03/02 08:52:23 eradicator Exp $
-
-depend() {
- need net
- use mysql
-}
-
-checkconfig() {
- for i in $(groups "${MYTH_USER/:*/}") ; do
- [[ "${i}" == "audio" ]] && audio="yes"
- [[ "${i}" == "video" ]] && video="yes"
- done
-
- if [ -z "${audio}" -o -z "${video}" ] ; then
- ewarn ""
- [[ -z "${audio}" ]] && \
- ewarn "${HILITE}${MYTH_USER/:*/}${NORMAL} is not in the audio group"
- [[ -z "${video}" ]] && \
- ewarn "${HILITE}${MYTH_USER/:*/}${NORMAL} is not in the video group"
- ewarn ""
- ewarn "insufficient permissions discovered"
- ewarn "mythbackend may not start correctly"
- ewarn ""
- fi
-}
-
-start() {
- [[ -z "${MYTH_USER}" ]] && MYTH_USER="nobody:nobody"
- [[ -z "${MYTH_LOG}" ]] && MYTH_LOG="/var/log/mythtv/mythbackend.log"
- [[ -z "${MYTH_PID}" ]] && MYTH_PID="/var/run/mythtv/mythbackend.pid"
- [[ -z "${MYTH_WARN}" || "${MYTH_WARN}" == "yes" ]] && checkconfig
- [[ -z "${MYTH_NICE}" ]] && MYTH_NICE="0"
-
- HOME="$(dirname "${MYTH_PID}")"
- QTDIR=/usr/qt/3
-
- # Work around any strange permissions that may be on these files.
- chown -R "${MYTH_USER}" "$(dirname "${MYTH_LOG}")"
- chown -R "${MYTH_USER}" "$(dirname "${MYTH_PID}")"
-
- ebegin "Starting myth backend"
- start-stop-daemon --start --quiet --chuid "${MYTH_USER}" \
- --exec /usr/bin/mythbackend --nicelevel "${MYTH_NICE}" -- \
- --daemon --pidfile "${MYTH_PID}" --logfile "${MYTH_LOG}" \
- --verbose ${MYTH_VERBOSE}
- eend $?
-}
-
-stop () {
- [[ -z "${MYTH_PID}" ]] && MYTH_PID="/var/run/mythtv/mythbackend.pid"
-
- ebegin "Stopping myth backend"
- start-stop-daemon --stop --quiet --pidfile="${MYTH_PID}"
- eend $?
-}
diff --git a/media-tv/mythtv/files/mythtv-0.17-qt334-dst-fix.patch b/media-tv/mythtv/files/mythtv-0.17-qt334-dst-fix.patch
deleted file mode 100644
index 61edeefbcfe8..000000000000
--- a/media-tv/mythtv/files/mythtv-0.17-qt334-dst-fix.patch
+++ /dev/null
@@ -1,169 +0,0 @@
-diff -BurN libs/libmyth/util.cpp libs/libmyth/util.cpp
---- libs/libmyth/util.cpp 2005-01-27 15:43:13.000000000 -0800
-+++ libs/libmyth/util.cpp 2005-04-04 14:20:31.584196189 -0700
-@@ -741,6 +741,23 @@
-
- return text;
- }
-+int MythSecsTo(const QDateTime &from, const QDateTime &to)
-+{
-+ return (from.time().secsTo(to.time()) +
-+ from.date().daysTo(to.date()) * 60 * 60 * 24);
-+}
-+
-+QDateTime MythUTCToLocal(const QDateTime &utc)
-+{
-+ QDateTime local = QDateTime(QDate(1970, 1, 1));
-+
-+ int timesecs = MythSecsTo(local, utc);
-+ QDateTime localdt;
-+ localdt.setTime_t(timesecs);
-+
-+ return localdt;
-+}
-+
-
- long long stringToLongLong(const QString &str)
- {
-diff -BurN libs/libmyth/util.h libs/libmyth/util.h
---- libs/libmyth/util.h 2005-01-23 14:45:30.000000000 -0800
-+++ libs/libmyth/util.h 2005-04-04 14:21:32.149926366 -0700
-@@ -3,6 +3,7 @@
-
- #include <qsocket.h>
- #include <qstringlist.h>
-+#include <qdatetime.h>
- #include <qcolor.h>
-
- #include <time.h>
-@@ -47,6 +48,9 @@
-
- QString cutDownString(QString text, QFont *testFont, int maxwidth);
-
-+QDateTime MythUTCToLocal(const QDateTime &utc);
-+int MythSecsTo(const QDateTime &from, const QDateTime &to);
-+
- long long stringToLongLong(const QString &str);
- QString longLongToString(long long ll);
-
-diff -BurN libs/libmythtv/datadirect.cpp libs/libmythtv/datadirect.cpp
---- libs/libmythtv/datadirect.cpp 2005-01-27 23:33:46.000000000 -0800
-+++ libs/libmythtv/datadirect.cpp 2005-04-04 14:25:45.985077439 -0700
-@@ -1,6 +1,7 @@
- #include "datadirect.h"
- #include "../libmyth/mythwidgets.h"
- #include "../libmyth/mythcontext.h"
-+#include "../libmyth/util.h"
-
- #include <qfile.h>
- #include <qstring.h>
-@@ -68,16 +69,19 @@
- curr_schedule.stationid = pxmlatts.value("station");
-
- QString timestr = pxmlatts.value("time");
-- QDateTime basedt = QDateTime(QDate(1970, 1, 1));
-+ //QDateTime basedt = QDateTime(QDate(1970, 1, 1));
-+ QDateTime UTCdt = QDateTime::fromString(timestr, Qt::ISODate);
-+
-+ curr_schedule.time = MythUTCToLocal(UTCdt);
-+
-+ //QDateTime UTCdt;
-+ //QDateTime localdt;
-+ //UTCdt = QDateTime::fromString(pxmlatts.value("time"), Qt::ISODate);
-
-- QDateTime UTCdt;
-- QDateTime localdt;
-- UTCdt = QDateTime::fromString(pxmlatts.value("time"), Qt::ISODate);
-+ //int timesecs = basedt.secsTo(UTCdt);
-+ //localdt.setTime_t(timesecs);
-
-- int timesecs = basedt.secsTo(UTCdt);
-- localdt.setTime_t(timesecs);
--
-- curr_schedule.time = localdt;
-+ //curr_schedule.time = localdt;
- QString durstr;
-
- durstr = pxmlatts.value("duration");
-diff -BurN libs/libmythtv/siparser.cpp libs/libmythtv/siparser.cpp
---- libs/libmythtv/siparser.cpp 2005-02-06 10:15:30.000000000 -0800
-+++ libs/libmythtv/siparser.cpp 2005-04-04 14:29:42.170931847 -0700
-@@ -1,4 +1,5 @@
- #include "../libmyth/mythcontext.h"
-+#include "../libmyth/util.h"
- #include "siparser.h"
- #include <qdatetime.h>
- #include <qtextcodec.h>
-@@ -931,17 +932,19 @@
- QDateTime UTCTime = QDateTime(QDate(year,month,day),QTime(hour,min,sec));
-
- // Convert to localtime
-- QDateTime EPOCTime = QDateTime(QDate(1970, 1, 1));
-- int timesecs = EPOCTime.secsTo(UTCTime);
-+ return MythUTCToLocal(UTCTime);
-
-- QDateTime LocalTime;
-+ //QDateTime EPOCTime = QDateTime(QDate(1970, 1, 1));
-+ //int timesecs = EPOCTime.secsTo(UTCTime);
-
-- LocalTime.setTime_t(timesecs);
-+ //QDateTime LocalTime;
-
-- QString UTCText = UTCTime.toString();
-- QString LocalText = LocalTime.toString();
-+ //LocalTime.setTime_t(timesecs);
-
-- return LocalTime;
-+ //QString UTCText = UTCTime.toString();
-+ //QString LocalText = LocalTime.toString();
-+
-+ //return LocalTime;
-
- }
-
-@@ -1994,13 +1997,14 @@
- // QDateTime UTCTime = ATSCEPOC.addSecs(offset - (((STTHandler*) Table[STT])->GPSOffset) );
- QDateTime UTCTime = ATSCEPOC.addSecs(offset - 13 );
- // Get UTC
-- QDateTime UTCEPOC = QDateTime(QDate(1970,1,1));
-+ return MythUTCToLocal(UTCTime);
-+ //QDateTime UTCEPOC = QDateTime(QDate(1970,1,1));
- // Now sloppily convert it to localtime
-
-- int timesecs = UTCEPOC.secsTo(UTCTime);
-- QDateTime LocalTime;
-- LocalTime.setTime_t(timesecs);
-- return LocalTime;
-+ //int timesecs = UTCEPOC.secsTo(UTCTime);
-+ //QDateTime LocalTime;
-+ //LocalTime.setTime_t(timesecs);
-+ //return LocalTime;
- }
-
- /*
-diff -BurN programs/mythfilldatabase/filldata.cpp programs/mythfilldatabase/filldata.cpp
---- programs/mythfilldatabase/filldata.cpp 2005-02-09 13:35:13.000000000 -0800
-+++ programs/mythfilldatabase/filldata.cpp 2005-04-04 14:31:47.732685624 -0700
-@@ -1013,13 +1013,15 @@
-
- if (!quiet)
- cout << "Clearing data for source...\n";
-- QDateTime basedt = QDateTime(QDate(1970, 1, 1));
-- QDateTime fromlocaldt;
-- int timesecs = basedt.secsTo(ddprocessor.getActualListingsFrom());
-- fromlocaldt.setTime_t(timesecs);
-- QDateTime tolocaldt;
-- timesecs = basedt.secsTo(ddprocessor.getActualListingsTo());
-- tolocaldt.setTime_t(timesecs);
-+ QDateTime fromlocaldt = MythUTCToLocal(ddprocessor.getActualListingsFrom());
-+ QDateTime tolocaldt = MythUTCToLocal(ddprocessor.getActualListingsTo());
-+ //QDateTime basedt = QDateTime(QDate(1970, 1, 1));
-+ //QDateTime fromlocaldt;
-+ //int timesecs = basedt.secsTo(ddprocessor.getActualListingsFrom());
-+ //fromlocaldt.setTime_t(timesecs);
-+ //QDateTime tolocaldt;
-+ //timesecs = basedt.secsTo(ddprocessor.getActualListingsTo());
-+ //tolocaldt.setTime_t(timesecs);
-
- if (!quiet)
- cout << "Clearing from " << fromlocaldt.toString()
diff --git a/media-tv/mythtv/mythtv-0.17-r1.ebuild b/media-tv/mythtv/mythtv-0.17-r1.ebuild
deleted file mode 100644
index 73bbfa31ec17..000000000000
--- a/media-tv/mythtv/mythtv-0.17-r1.ebuild
+++ /dev/null
@@ -1,212 +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-r1.ebuild,v 1.3 2005/05/28 00:20:46 carlo Exp $
-
-inherit myth flag-o-matic eutils toolchain-funcs
-
-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"
-
- cd ${S}
- # Fix bug with daylight savings time
- epatch ${FILESDIR}/mythtv-0.17-qt334-dst-fix.patch
-}
-
-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 CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
- emake -C libs/libavformat CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
- emake -C libs/libmythsamplerate CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
- emake -C libs/libmythsoundtouch CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
- emake -C libs/libmythmpeg2 CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
- emake -C libs/libmyth CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
- emake -C libs/libmythtv CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
- emake -C libs CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || 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
-}