Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 21 years ago
parent
commit
5f480e189e
3 changed files with 16 additions and 32 deletions
  1. +0
    -29
      package/fake/mythtv/gcc34.patch
  2. +9
    -1
      package/fake/mythtv/mythtv.conf
  3. +7
    -2
      package/fake/mythtv/mythtv.desc

+ 0
- 29
package/fake/mythtv/gcc34.patch

@ -1,29 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/fake/mythtv/gcc34.patch
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./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"

+ 9
- 1
package/fake/mythtv/mythtv.conf

@ -27,9 +27,16 @@ else
prefix=$ROCKCFG_PKG_MYTHTV_PREFIX
fi
mythtv_prepatch() {
# apply the dvb patches to enable channel scanning, etc.
bzcat $archdir/dvb_patch_v2.1-fake.diff.bz2 | patch -p0
# .. and extract the embedded bzip2 into the mythtv dir.
tar --use-compress-program=bzip2 -xf $archdir/dvb_patch_v2.1_files.tar.bz2
}
mythtv_premake() {
sed -i -e "s,^PREFIX = /usr/local\$,PREFIX = $root/$prefix," settings.pro
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
@ -67,6 +74,7 @@ mythtv_postmake() {
cp -r configfiles $docdir/examples
}
hook_add prepatch 1 mythtv_prepatch
hook_add premake 1 mythtv_premake
hook_add postmake 5 mythtv_postmake

+ 7
- 2
package/fake/mythtv/mythtv.desc

@ -41,8 +41,13 @@
[L] GPL
[S] Stable
[V] 0.16
[V] 2004-11-14
[P] X -?---5---9 128.100
[D] 2139657 mythtv-0.16.tar.bz2 http://www.mythtv.org/mc/
[SRC] mythtv
[D] X mythtv-2004-11-14.tar.bz2 cvs://pserver:mythtv:mythtv@cvs.mythtv.org:/var/lib/mythcvs::mythtv/!2004-11-14
# [D] 2139657 mythtv-0.16.tar.bz2 http://www.mythtv.org/mc/
[D] 1863291052 dvb_patch_v2.1-fake.diff.bz2 http://www.rocklinux.net/people/fake/mythtv/
[D] 2714057758 dvb_patch_v2.1_files.tar.bz2 http://www.rocklinux.net/people/fake/mythtv/

Loading…
Cancel
Save