[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Anyone running MythTV and/or ivytv drivers on Ultra 10?



On Thu, Feb 09, 2006 at 05:41:30PM -0800, darin strait wrote:
> Before I try this, I thought that I would ask and see if anyone has
> tried this.
> 
> I have a Hauppauge PVR250, which is a PCI card that does video encoding
> in hardware, and I am wondering if my Ultra 10 (with a 333 MHz
> processor) has enough horsepower to function as a MythTV backend. 
Don't know about this backend but Christian Marillat's mythtv package
from http://debian.video.free.fr/ build fine with the attached two
patches.
Cheers,
 -- Guido
--- debian/rules.agx	2006-02-11 18:52:07.000000000 +0100
+++ debian/rules	2006-02-11 18:55:37.000000000 +0100
@@ -4,6 +4,7 @@
 
 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 include /usr/share/dpatch/dpatch.make
 
@@ -11,11 +12,24 @@
 
 CCVARS=CC=gcc-3.4 CXX=g++-3.4 LINK=g++-3.4
 
+ifeq "$(DEB_BUILD_ARCH)" "sparc"
+    CCFLAGS=CFLAGS="-mcpu=ultrasparc -mvis"
+    CONFIGURE_OPTS=
+else
+ifeq "$(DEB_BUILD_ARCH)" "powerpc"
+    CCFLAGS=
+    CONFIGURE_OPTS=
+else # i386
+    CONFIGURE_OPTS=--tune=i486 --enable-mmx
+    CCFLAGS=
+endif
+endif
+
 configure: configure-stamp
 configure-stamp: patch-stamp
 	dh_testdir
 
-	$(CCVARS) ./configure --prefix=/usr --tune=i486 --enable-mmx \
+	$(CCVARS) $(CCFLAGS) ./configure --prefix=/usr \
 	--enable-lirc --enable-audio-alsa --enable-dvb --enable-audio-oss \
 	--enable-audio-jack --enable-audio-arts --enable-opengl-vsync \
 	--enable-dvb --dvb-path=/usr/include --enable-firewire --enable-ivtv \
#! /bin/sh /usr/share/dpatch/dpatch-run
## 20.dpatch by  <pkahle@pobox.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@

--- mythtv-0.18.1/libs/libavcodec/libavcodec.pro..agx	2006-02-13 13:25:04.000000000 +0100
+++ mythtv-0.18.1/libs/libavcodec/libavcodec.pro	2006-02-13 13:31:32.000000000 +0100
@@ -141,3 +143,8 @@
     QMAKE_LFLAGS_SHLIB += -single_module
     QMAKE_LFLAGS_SHLIB += -seg1addr 0xC3000000
 }
+
+contains( TARGET_ARCH_SPARC, yes ) {
+    SOURCES+=sparc/dsputil_vis.c
+}
+

Attachment: signature.asc
Description: Digital signature


Reply to: