@ -0,0 +1,10 @@ |
|||
--- ./libs/libmythtv/dvbdiseqc.cpp.orig 2004-09-14 08:25:11.763437808 +0200
|
|||
+++ ./libs/libmythtv/dvbdiseqc.cpp 2004-09-14 08:25:26.146251288 +0200
|
|||
@@ -30,6 +30,7 @@
|
|||
*/ |
|||
|
|||
#include <iostream> |
|||
+#include <math.h>
|
|||
#include "pthread.h" |
|||
#include "qsqldatabase.h" |
|||
|
@ -0,0 +1,50 @@ |
|||
|
|||
if [ -z "$ROCKCFG_PKG_MYTHTV_PREFIX" ] ; then |
|||
prefix=opt/mythtv |
|||
else |
|||
prefix=$ROCKCFG_PKG_MYTHTV_PREFIX |
|||
fi |
|||
|
|||
mythtv_premake() { |
|||
|
|||
sed -i -e "s,^PREFIX = /usr/local\$,PREFIX = $root/$prefix," settings.pro |
|||
|
|||
# enable dvb support if we have some includes to feed to mythtv |
|||
for dvbdir in $root/usr/include $root/usr/src/linux*/include ; do |
|||
if [ -f $dvbdir/linux/dvb/frontend.h ] ; then |
|||
echo "CONFIG += using_dvb" >> settings.pro |
|||
echo "DEFINES += USING_DVB" >> settings.pro |
|||
echo "INCLUDEPATH += $dvbdir" >> settings.pro |
|||
break |
|||
fi |
|||
done |
|||
|
|||
if pkginstalled alsa ; then |
|||
echo "CONFIG += using_alsa" >> settings.pro |
|||
echo "ALSA_LIBS = -lasound" >> settings.pro |
|||
fi |
|||
|
|||
if pkginstalled lirc ; then |
|||
echo "CONFIG += using_lirc" >> settings.pro |
|||
echo "LIRC_LIBS = -llirc_client" >> settings.pro |
|||
fi |
|||
|
|||
# nvidia's XvMC is the only supported. we will never see this in a build-target, |
|||
# but maybe in an emerge-package of someone who read this - like you and me ;) |
|||
if [ ! -z "`ls $root/usr/X11R6/lib/libXvMCNVIDIA.so* 2>/dev/null`" ] ; then |
|||
echo "CONFIG += using_xvmc" >> settings.pro |
|||
echo "DEFINES += USING_XVMC" >> settings.pro |
|||
echo "EXTRA_LIBS += -lXvMCNVIDIA -lXvMC" >> settings.pro |
|||
fi |
|||
|
|||
qmake mythtv.pro |
|||
} |
|||
|
|||
mythtv_postmake() { |
|||
cp setup/setup $root/$prefix/bin/mythsetup |
|||
cp -r configfiles $docdir/examples |
|||
} |
|||
|
|||
hook_add premake 1 mythtv_premake |
|||
hook_add postmake 5 mythtv_postmake |
|||
|
@ -0,0 +1,48 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/fake/mythtv/mythtv.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] a feature-rich homebrew PVR project |
|||
|
|||
[T] MythTV is a suite of programs that allow you to build the mythical home |
|||
[T] media convergence box on your own using Open Source software and operating |
|||
[T] systems. It Features: |
|||
[T] - time shifting on live-TV |
|||
[T] - support for multiple video capture cards |
|||
[T] - support for multiple servers, each with multiple capture cards in them |
|||
[T] - supports multiple clients ("frontends") |
|||
[T] - works with analog, MPEG-2, MJPEG, DVB or HDTV capture devices |
|||
[T] - Program Guide Data via DataDirect or XMLTV |
|||
|
|||
[U] http://www.mythtv.org |
|||
|
|||
[A] Isaac Richards <ijr@po.cwru.edu> |
|||
[M] fake <fake@rapidnetworks.de> |
|||
|
|||
[C] extra/multimedia |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 0.16 |
|||
[P] X -?---5---9 128.000 |
|||
|
|||
[D] 2139657 mythtv-0.16.tar.bz2 http://www.mythtv.org/mc/ |
|||
|
@ -0,0 +1,10 @@ |
|||
--- ./programs/mythfrontend/mythfrontend.pro.orig 2004-09-14 09:10:44.525994752 +0200
|
|||
+++ ./programs/mythfrontend/mythfrontend.pro 2004-09-14 09:11:08.855296136 +0200
|
|||
@@ -20,7 +20,6 @@
|
|||
setting.files += recpriorities_settings.xml tv_search.xml tv_lists.xml |
|||
setting.files += library.xml manage_recordings.xml optical_menu.xml tvmenu.xml |
|||
setting.files += tv_settings.xml |
|||
-setting.extra = -ldconfig
|
|||
|
|||
INSTALLS += setting |
|||
|