diff options
author | Pieter van den Abeele <pvdabeel@gentoo.org> | 2002-04-27 11:40:50 +0000 |
---|---|---|
committer | Pieter van den Abeele <pvdabeel@gentoo.org> | 2002-04-27 11:40:50 +0000 |
commit | 59578f9fc417fa766873c5b31cd203a80a936fb1 (patch) | |
tree | be61dd634d4d924e7f79044988f72911b9468176 | |
parent | removed older ebuilds (diff) | |
download | gentoo-2-59578f9fc417fa766873c5b31cd203a80a936fb1.tar.gz gentoo-2-59578f9fc417fa766873c5b31cd203a80a936fb1.tar.bz2 gentoo-2-59578f9fc417fa766873c5b31cd203a80a936fb1.zip |
PPC & Sparc fix
-rw-r--r-- | media-video/xanim-export/ChangeLog | 5 | ||||
-rw-r--r-- | media-video/xanim-export/files/digest-xanim-export-2.80.1-r3 | 10 | ||||
-rw-r--r-- | media-video/xanim-export/xanim-export-2.80.1-r3.ebuild | 122 |
3 files changed, 136 insertions, 1 deletions
diff --git a/media-video/xanim-export/ChangeLog b/media-video/xanim-export/ChangeLog index bc8a1b571b5e..f3de73dd762f 100644 --- a/media-video/xanim-export/ChangeLog +++ b/media-video/xanim-export/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for media-video/xanim-export # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-video/xanim-export/ChangeLog,v 1.2 2002/04/12 20:48:53 spider Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/xanim-export/ChangeLog,v 1.3 2002/04/27 11:40:49 pvdabeel Exp $ +*xanim-export-2.80.1-r3 (27 Apr 2002) + 27 Apr 2002; pvdabeel <pvdabeel@gentoo.org> + Sparc && ppc fix *xanim-export-2.80.1-r2 (11 Apr 2002) 11 Apr 2002; Spider <spider@gentoo.org> diff --git a/media-video/xanim-export/files/digest-xanim-export-2.80.1-r3 b/media-video/xanim-export/files/digest-xanim-export-2.80.1-r3 new file mode 100644 index 000000000000..29d266b19ab2 --- /dev/null +++ b/media-video/xanim-export/files/digest-xanim-export-2.80.1-r3 @@ -0,0 +1,10 @@ +MD5 aeb4b2379d7b5ae8a04431d5c7f86e22 xanim_exporting_edition.tar.gz 985946 +MD5 a61c6cfdf34d395de2d7b747bfedebed xa1.0_cyuv_sparcELF.o.Z 1277 +MD5 2648138325bfacdfc2c35b5954422c3b xa2.0_cvid_sparcELF.o.Z 4730 +MD5 0f7db79cc5d8605e70c79e2c633e5a99 xa2.0_iv32_sparcELF.o.Z 48813 +MD5 45b318b6598b29c3477e14976b14bab6 xa1.0_cyuv_linuxPPC.o.Z 1513 +MD5 066b6934377ae2bd1225a924c430240c xa2.0_cvid_linuxPPC.o.Z 5192 +MD5 043341640efe45455f7d5c997b0fb55e xa2.0_iv32_linuxPPC.o.Z 56163 +MD5 a158a6eff799cf6769625ea90889cf71 xa1.0_cyuv_linuxELFg21.o.gz 1141 +MD5 e72191744dbf09ad7c522904cb95ecfd xa2.0_cvid_linuxELFg21.o.gz 3689 +MD5 f10efd80c7ea22d1c7ea4962b6c09cdf xa2.1_iv32_linuxELFg21.o.gz 29291 diff --git a/media-video/xanim-export/xanim-export-2.80.1-r3.ebuild b/media-video/xanim-export/xanim-export-2.80.1-r3.ebuild new file mode 100644 index 000000000000..bbf23f65b04f --- /dev/null +++ b/media-video/xanim-export/xanim-export-2.80.1-r3.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Id: xanim-export-2.80.1-r3.ebuild,v 1.1 2002/04/27 11:40:49 pvdabeel Exp $ + +_XA_CYUV_SPARC=xa1.0_cyuv_sparcELF.o +_XA_CVID_SPARC=xa2.0_cvid_sparcELF.o +_XA_IV32_SPARC=xa2.0_iv32_sparcELF.o +_XA_SPARC_EXT=.Z + +_XA_CYUV_I386=xa1.0_cyuv_linuxELFg21.o +_XA_CVID_I386=xa2.0_cvid_linuxELFg21.o +_XA_IV32_I386=xa2.1_iv32_linuxELFg21.o +_XA_I386_EXT=.gz + +_XA_CYUV_PPC=xa1.0_cyuv_linuxPPC.o +_XA_CVID_PPC=xa2.0_cvid_linuxPPC.o +_XA_IV32_PPC=xa2.0_iv32_linuxPPC.o +_XA_PPC_EXT=.Z + +case $ARCH in + sparc*) + _XA_CYUV=$_XA_CYUV_SPARC + _XA_CVID=$_XA_CVID_SPARC + _XA_IV32=$_XA_IV32_SPARC + _XA_EXT=$_XA_SPARC_EXT + _XA_UNCOMPRESS=uncompress + ;; + ppc) + _XA_CYUV=$_XA_CYUV_PPC + _XA_CVID=$_XA_CVID_PPC + _XA_IV32=$_XA_IV32_PPC + _XA_EXT=$_XA_PPC_EXT + _XA_UNCOMPRESS=uncompress + ;; + *) + _XA_CYUV=$_XA_CYUV_I386 + _XA_CVID=$_XA_CVID_I386 + _XA_IV32=$_XA_IV32_I386 + _XA_EXT=$_XA_I386_EXT + _XA_UNCOMPRESS=gunzip + ;; +esac + +A="xanim_exporting_edition.tar.gz \ + ${_XA_CYUV_SPARC}${_XA_SPARC_EXT} ${_XA_CVID_SPARC}${_XA_SPARC_EXT} \ + ${_XA_IV32_SPARC}${_XA_SPARC_EXT} \ + ${_XA_CYUV_I386}${_XA_I386_EXT} ${_XA_CVID_I386}${_XA_I386_EXT} \ + ${_XA_IV32_I386}${_XA_I386_EXT} \ + ${_XA_CYUV_PPC}${_XA_PPC_EXT} ${_XA_CVID_PPC}${_XA_PPC_EXT} \ + ${_XA_IV32_PPC}${_XA_PPC_EXT}" +S=${WORKDIR}/xanim_exporting_edition +DESCRIPTION="XAnim with Quicktime and RAW Audio export functions" +SRC_URI="http://heroine.linuxave.net/xanim_exporting_edition.tar.gz \ + ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_SPARC}${_XA_SPARC_EXT} + ftp://xanim.va.pubnix.com/modules/${_XA_CVID_SPARC}${_XA_SPARC_EXT} + ftp://xanim.va.pubnix.com/modules/${_XA_IV32_SPARC}${_XA_SPARC_EXT} + ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_PPC}${_XA_PPC_EXT} + ftp://xanim.va.pubnix.com/modules/${_XA_CVID_PPC}${_XA_PPC_EXT} + ftp://xanim.va.pubnix.com/modules/${_XA_IV32_PPC}${_XA_PPC_EXT} + ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_I386}${_XA_I386_EXT} + ftp://xanim.va.pubnix.com/modules/${_XA_CVID_I386}${_XA_I386_EXT} + ftp://xanim.va.pubnix.com/modules/${_XA_IV32_I386}${_XA_I386_EXT}" + +HOMEPAGE="http://heroin.linuxave.net/toys.html" + +DEPEND=">=sys-libs/glibc-2.1.3 + >=media-libs/jpeg-6b + >=media-libs/libpng-1.2.1 + virtual/x11" + +case $ARCH in + sparc) + RDEPEND="app-arch/ncompress" + ;; + sparc64) + RDEPEND="app-arch/ncompress" + ;; + ppc) + RDEPEND="app-arch/ncompress" + ;; +esac + +src_unpack() { + unpack xanim_exporting_edition.tar.gz + mkdir ${S}/mods + cd ${S}/mods + cp ${DISTDIR}/${_XA_CYUV}${_XA_EXT} . + $_XA_UNCOMPRESS ${_XA_CYUV}${_XA_EXT} + cp ${DISTDIR}/${_XA_CVID}${_XA_EXT} . + $_XA_UNCOMPRESS ${_XA_CVID}${_XA_EXT} + cp ${DISTDIR}/${_XA_IV32}${_XA_EXT} . + $_XA_UNCOMPRESS ${_XA_IV32}${_XA_EXT} + cd ${S} + rm xanim + sed -e "s:-O2:${CFLAGS}:" ${FILESDIR}/Makefile > ${S}/Makefile +} +src_compile() { + + + + cd ${S}/quicktime + try make XA_IV32_LIB=mods/${_XA_CYUV} XA_CVID_LIB=mods/${_XA_CVID} \ + XA_CYUV_LIB=mods/${_XA_IV32} + cd .. + try make XA_IV32_LIB=mods/${_XA_CYUV} XA_CVID_LIB=mods/${_XA_CVID} \ + XA_CYUV_LIB=mods/${_XA_IV32} + +} + +src_install () { + + into /usr + newbin xanim xanim-export + insinto /usr/lib/xanim/mods-export + doins mods/* + dodoc README* + dodoc docs/README.* docs/*.readme docs/*.doc +} + + + |