summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormycroft <mycroft>2001-10-21 15:40:51 +0000
committermycroft <mycroft>2001-10-21 15:40:51 +0000
commit020701545f27201961816445b479faa1decb7319 (patch)
tree825b859ccae573cb08777bebcac6dba989174d47 /graphics
parent25c5754217da395704bb0e49372d3f9028312135 (diff)
downloadpkgsrc-020701545f27201961816445b479faa1decb7319.tar.gz
Pull in Cinepak support for PowerPC. (The Indeo module has issues.)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xanim/Makefile5
-rw-r--r--graphics/xanim/distinfo8
-rw-r--r--graphics/xanim/patches/patch-ab16
3 files changed, 21 insertions, 8 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile
index 1ed089972d2..a8dc97cb117 100644
--- a/graphics/xanim/Makefile
+++ b/graphics/xanim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2001/08/27 20:36:56 is Exp $
+# $NetBSD: Makefile,v 1.23 2001/10/21 15:40:51 mycroft Exp $
DISTNAME= xanim2801
PKGNAME= xanim-2.80.1nb1
@@ -64,4 +64,7 @@ EXTRA_FILES= xa2.0_cvid_netbsd68k.o.Z \
EXTRA_FILES= xa2.0_cvid_sparcCOFF.o.Z \
xa2.0_iv32_sparcCOFF.o.Z \
xa1.0_cyuv_sparcAOUT.o.Z
+.elif (${MACHINE_OBJ_ARCH} == "powerpc-ELF")
+EXTRA_FILES= xa2.0_cvid_linuxPPC.o.Z \
+ xa1.0_cyuv_linuxPPC.o.Z
.endif
diff --git a/graphics/xanim/distinfo b/graphics/xanim/distinfo
index 743ae1e247b..0ccee43df0c 100644
--- a/graphics/xanim/distinfo
+++ b/graphics/xanim/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2001/10/21 06:26:27 tron Exp $
+$NetBSD: distinfo,v 1.6 2001/10/21 15:40:51 mycroft Exp $
SHA1 (xanim2801.tar.gz) = 1966880880c3779d02199fbcd1acb771bc57f754
Size (xanim2801.tar.gz) = 441250 bytes
@@ -8,5 +8,9 @@ SHA1 (xa2.0_iv32_linuxELF.o.Z) = 937368f4f90f9023955b59e54c1182804e40d7ed
Size (xa2.0_iv32_linuxELF.o.Z) = 46511 bytes
SHA1 (xa1.0_cyuv_linuxELF.o.Z) = 71a81709b161a48e75d05a2a612f1f62034fee15
Size (xa1.0_cyuv_linuxELF.o.Z) = 1242 bytes
-SHA1 (patch-ab) = f24add6aa726683c8600a5db193a81ea72d8d008
+SHA1 (xa2.0_cvid_linuxPPC.o.Z) = d6736d7fe65008293863c31b8f4c28e13152afda
+Size (xa2.0_cvid_linuxPPC.o.Z) = 5192 bytes
+SHA1 (xa1.0_cyuv_linuxPPC.o.Z) = b9af24646b46d94ccfb5e042ca20f32006a8b0af
+Size (xa1.0_cyuv_linuxPPC.o.Z) = 1513 bytes
+SHA1 (patch-ab) = 44ec064497c46a6f9e69b22c9cc1aaa13b6cec25
SHA1 (patch-ae) = 230f52e95997ba72d36baa8f4d5cd5a5e5500f9a
diff --git a/graphics/xanim/patches/patch-ab b/graphics/xanim/patches/patch-ab
index 3895bceb01f..8d929f06213 100644
--- a/graphics/xanim/patches/patch-ab
+++ b/graphics/xanim/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.9 2001/10/21 06:26:27 tron Exp $
+$NetBSD: patch-ab,v 1.10 2001/10/21 15:40:52 mycroft Exp $
--- Imakefile.orig Sun Mar 21 23:36:26 1999
+++ Imakefile Sun Oct 21 08:23:48 2001
@@ -35,7 +35,7 @@ $NetBSD: patch-ab,v 1.9 2001/10/21 06:26:27 tron Exp $
-@@ -186,13 +186,35 @@
+@@ -186,13 +186,41 @@
XCOMM
XCOMM Again don't use these if you are using the dynamically loadable modules.
XCOMM
@@ -52,6 +52,9 @@ $NetBSD: patch-ab,v 1.9 2001/10/21 06:26:27 tron Exp $
+XA_IV32_DEF = -DXA_IV32
+XA_CVID_DEF = -DXA_CVID
+XA_CYUV_DEF = -DXA_CYUV
++.elif (${MACHINE_OBJ_ARCH} == "powerpc-ELF")
++XA_CVID_DEF = -DXA_CVID
++XA_CYUV_DEF = -DXA_CYUV
+.endif
+XCOMM
+.if (${MACHINE_OBJ_ARCH} == "i386-a.out")
@@ -70,6 +73,9 @@ $NetBSD: patch-ab,v 1.9 2001/10/21 06:26:27 tron Exp $
+XA_IV32_LIB = mods/xa2.0_iv32_sparcCOFF.o
+XA_CVID_LIB = mods/xa2.0_cvid_sparcCOFF.o
+XA_CYUV_LIB = mods/xa1.0_cyuv_sparcAOUT.o
++.elif (${MACHINE_OBJ_ARCH} == "powerpc-ELF")
++XA_CVID_LIB = mods/xa2.0_cvid_linuxPPC.o
++XA_CYUV_LIB = mods/xa1.0_cyuv_linuxPPC.o
+.else
+XA_IV32_DEF =
+XA_CVID_DEF =
@@ -78,7 +84,7 @@ $NetBSD: patch-ab,v 1.9 2001/10/21 06:26:27 tron Exp $
XCOMM
XCOMM ##########################
XCOMM NOTE: SGI Machines Only:
-@@ -267,8 +289,8 @@
+@@ -267,8 +295,8 @@
XCOMM XA_AUDIO_DEFS =
XCOMM
XCOMM ## -- Linux PCs ---------------------------------------------------------
@@ -89,7 +95,7 @@ $NetBSD: patch-ab,v 1.9 2001/10/21 06:26:27 tron Exp $
XCOMM
XCOMM -- Linux PC's with OLD Rev sound drivers -------------------------------
XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_LINUX_OLDER_SND
-@@ -307,7 +329,7 @@
+@@ -307,7 +335,7 @@
XCOMM XA_AUDIO_DEFS = -DXA_SONY_AUDIO
XCOMM
XCOMM -- NetBSD-current (as of 30/April 1995)---------------------------------
@@ -98,7 +104,7 @@ $NetBSD: patch-ab,v 1.9 2001/10/21 06:26:27 tron Exp $
XCOMM
XCOMM -- QNX 4.2 PC's --------------------------------------------------------
XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_SELECT
-@@ -465,7 +487,11 @@
+@@ -465,7 +493,11 @@
PROGRAMS = $(XANIM)