diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-10 23:36:39 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-10 23:36:39 +0000 |
commit | 2a805920a196bfcd7e710082582b2e67d607ecd9 (patch) | |
tree | e350c58cf6a1deaacf19b018b18d8aba4107a2d6 | |
parent | Replaced junit USE flag with test, which is done in src_test(). Added example... (diff) | |
download | gentoo-2-2a805920a196bfcd7e710082582b2e67d607ecd9.tar.gz gentoo-2-2a805920a196bfcd7e710082582b2e67d607ecd9.tar.bz2 gentoo-2-2a805920a196bfcd7e710082582b2e67d607ecd9.zip |
Add new ebuild that supports modular X, thanks to Jakub Moc in bug #126923.
(Portage version: 2.1.1)
-rw-r--r-- | media-video/xanim-export/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/xanim-export/files/digest-xanim-export-2.80.1-r3 | 32 | ||||
-rw-r--r-- | media-video/xanim-export/files/digest-xanim-export-2.80.1-r4 | 30 | ||||
-rw-r--r-- | media-video/xanim-export/xanim-export-2.80.1-r4.ebuild | 136 |
4 files changed, 200 insertions, 8 deletions
diff --git a/media-video/xanim-export/ChangeLog b/media-video/xanim-export/ChangeLog index 56342be7dffd..2e28f1f25bdb 100644 --- a/media-video/xanim-export/ChangeLog +++ b/media-video/xanim-export/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/xanim-export -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/xanim-export/ChangeLog,v 1.8 2004/08/12 21:21:14 chriswhite Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/xanim-export/ChangeLog,v 1.9 2006/09/10 23:36:39 flameeyes Exp $ + +*xanim-export-2.80.1-r4 (10 Sep 2006) + + 10 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +xanim-export-2.80.1-r4.ebuild: + Add new ebuild that supports modular X, thanks to Jakub Moc in bug #126923. 13 Aug 2004; Chris White <chriswhite@gentoo.org> +metadata.xml: Adding missing metadata.xml." 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 index 29d266b19ab2..771b73f84051 100644 --- 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 @@ -1,10 +1,30 @@ -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 a158a6eff799cf6769625ea90889cf71 xa1.0_cyuv_linuxELFg21.o.gz 1141 +RMD160 81ff86ccc99e72765da07c79708edfc496602235 xa1.0_cyuv_linuxELFg21.o.gz 1141 +SHA256 9fa40166a40a20734ba1d00990d142a3961c2416e66dac3fe0767e8304aadb1a xa1.0_cyuv_linuxELFg21.o.gz 1141 MD5 45b318b6598b29c3477e14976b14bab6 xa1.0_cyuv_linuxPPC.o.Z 1513 +RMD160 52a12b118d181a34754e79f11aec07b0bf202e48 xa1.0_cyuv_linuxPPC.o.Z 1513 +SHA256 35318deacea099d0c05be985c01672f7f306e748965d5bbc8dd454fe8a28c46e xa1.0_cyuv_linuxPPC.o.Z 1513 +MD5 a61c6cfdf34d395de2d7b747bfedebed xa1.0_cyuv_sparcELF.o.Z 1277 +RMD160 dedbfdcb57b477cd840cbb2afd52c0bd9f93574c xa1.0_cyuv_sparcELF.o.Z 1277 +SHA256 f77cc763c9358e86bd5b77675cabf2150b2085d00d54eada0ec86239959a4a08 xa1.0_cyuv_sparcELF.o.Z 1277 +MD5 e72191744dbf09ad7c522904cb95ecfd xa2.0_cvid_linuxELFg21.o.gz 3689 +RMD160 bb733c929436873f77eb8d10f95dbe56e32dc458 xa2.0_cvid_linuxELFg21.o.gz 3689 +SHA256 59d7f06388f6461ce69aec7b815b5b76281bad14c7ef13f8fadaa5b848072eb5 xa2.0_cvid_linuxELFg21.o.gz 3689 MD5 066b6934377ae2bd1225a924c430240c xa2.0_cvid_linuxPPC.o.Z 5192 +RMD160 0ab38f39ddd747185f749f2611777b92de6aa661 xa2.0_cvid_linuxPPC.o.Z 5192 +SHA256 aa7ea8f934780fa3ea887867811c18023cf7a9740cdfa942648f4fd7d6d996f5 xa2.0_cvid_linuxPPC.o.Z 5192 +MD5 2648138325bfacdfc2c35b5954422c3b xa2.0_cvid_sparcELF.o.Z 4730 +RMD160 e7685404b1af21543f435873472e275d34514b08 xa2.0_cvid_sparcELF.o.Z 4730 +SHA256 705511a4eb9a639b7c95a3bb7d6f4f7b1d0ce4a59db2a9cb567bfb3c4a513d02 xa2.0_cvid_sparcELF.o.Z 4730 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 +RMD160 7e1904ea0d22c074d5e4d01526ac9508a285d355 xa2.0_iv32_linuxPPC.o.Z 56163 +SHA256 d332753ffc6a47c9853a26443e562d3d5aa1cc7a8ac9fad471d3bd2ca0207d3e xa2.0_iv32_linuxPPC.o.Z 56163 +MD5 0f7db79cc5d8605e70c79e2c633e5a99 xa2.0_iv32_sparcELF.o.Z 48813 +RMD160 e4412117114a065d833e66fe0b04c64848ae60e1 xa2.0_iv32_sparcELF.o.Z 48813 +SHA256 86b4613490ac3cadc73524cc433deafebedacbda692ad5f88bcb7c029113ad24 xa2.0_iv32_sparcELF.o.Z 48813 MD5 f10efd80c7ea22d1c7ea4962b6c09cdf xa2.1_iv32_linuxELFg21.o.gz 29291 +RMD160 2b2cf2a47cb9d91abe5d4558cd375919e69b1cff xa2.1_iv32_linuxELFg21.o.gz 29291 +SHA256 41420dca15e5e546c455553b6434435d53de17a08a6307a79de75e753a85b3a1 xa2.1_iv32_linuxELFg21.o.gz 29291 +MD5 aeb4b2379d7b5ae8a04431d5c7f86e22 xanim_exporting_edition.tar.gz 985946 +RMD160 6149f4f7397c52f64b15c58ef2e6a4247197026e xanim_exporting_edition.tar.gz 985946 +SHA256 8e99b7ee3842fe6e4da43dc27f8c0584a66e6ef7168d30cd37cec64560207c33 xanim_exporting_edition.tar.gz 985946 diff --git a/media-video/xanim-export/files/digest-xanim-export-2.80.1-r4 b/media-video/xanim-export/files/digest-xanim-export-2.80.1-r4 new file mode 100644 index 000000000000..771b73f84051 --- /dev/null +++ b/media-video/xanim-export/files/digest-xanim-export-2.80.1-r4 @@ -0,0 +1,30 @@ +MD5 a158a6eff799cf6769625ea90889cf71 xa1.0_cyuv_linuxELFg21.o.gz 1141 +RMD160 81ff86ccc99e72765da07c79708edfc496602235 xa1.0_cyuv_linuxELFg21.o.gz 1141 +SHA256 9fa40166a40a20734ba1d00990d142a3961c2416e66dac3fe0767e8304aadb1a xa1.0_cyuv_linuxELFg21.o.gz 1141 +MD5 45b318b6598b29c3477e14976b14bab6 xa1.0_cyuv_linuxPPC.o.Z 1513 +RMD160 52a12b118d181a34754e79f11aec07b0bf202e48 xa1.0_cyuv_linuxPPC.o.Z 1513 +SHA256 35318deacea099d0c05be985c01672f7f306e748965d5bbc8dd454fe8a28c46e xa1.0_cyuv_linuxPPC.o.Z 1513 +MD5 a61c6cfdf34d395de2d7b747bfedebed xa1.0_cyuv_sparcELF.o.Z 1277 +RMD160 dedbfdcb57b477cd840cbb2afd52c0bd9f93574c xa1.0_cyuv_sparcELF.o.Z 1277 +SHA256 f77cc763c9358e86bd5b77675cabf2150b2085d00d54eada0ec86239959a4a08 xa1.0_cyuv_sparcELF.o.Z 1277 +MD5 e72191744dbf09ad7c522904cb95ecfd xa2.0_cvid_linuxELFg21.o.gz 3689 +RMD160 bb733c929436873f77eb8d10f95dbe56e32dc458 xa2.0_cvid_linuxELFg21.o.gz 3689 +SHA256 59d7f06388f6461ce69aec7b815b5b76281bad14c7ef13f8fadaa5b848072eb5 xa2.0_cvid_linuxELFg21.o.gz 3689 +MD5 066b6934377ae2bd1225a924c430240c xa2.0_cvid_linuxPPC.o.Z 5192 +RMD160 0ab38f39ddd747185f749f2611777b92de6aa661 xa2.0_cvid_linuxPPC.o.Z 5192 +SHA256 aa7ea8f934780fa3ea887867811c18023cf7a9740cdfa942648f4fd7d6d996f5 xa2.0_cvid_linuxPPC.o.Z 5192 +MD5 2648138325bfacdfc2c35b5954422c3b xa2.0_cvid_sparcELF.o.Z 4730 +RMD160 e7685404b1af21543f435873472e275d34514b08 xa2.0_cvid_sparcELF.o.Z 4730 +SHA256 705511a4eb9a639b7c95a3bb7d6f4f7b1d0ce4a59db2a9cb567bfb3c4a513d02 xa2.0_cvid_sparcELF.o.Z 4730 +MD5 043341640efe45455f7d5c997b0fb55e xa2.0_iv32_linuxPPC.o.Z 56163 +RMD160 7e1904ea0d22c074d5e4d01526ac9508a285d355 xa2.0_iv32_linuxPPC.o.Z 56163 +SHA256 d332753ffc6a47c9853a26443e562d3d5aa1cc7a8ac9fad471d3bd2ca0207d3e xa2.0_iv32_linuxPPC.o.Z 56163 +MD5 0f7db79cc5d8605e70c79e2c633e5a99 xa2.0_iv32_sparcELF.o.Z 48813 +RMD160 e4412117114a065d833e66fe0b04c64848ae60e1 xa2.0_iv32_sparcELF.o.Z 48813 +SHA256 86b4613490ac3cadc73524cc433deafebedacbda692ad5f88bcb7c029113ad24 xa2.0_iv32_sparcELF.o.Z 48813 +MD5 f10efd80c7ea22d1c7ea4962b6c09cdf xa2.1_iv32_linuxELFg21.o.gz 29291 +RMD160 2b2cf2a47cb9d91abe5d4558cd375919e69b1cff xa2.1_iv32_linuxELFg21.o.gz 29291 +SHA256 41420dca15e5e546c455553b6434435d53de17a08a6307a79de75e753a85b3a1 xa2.1_iv32_linuxELFg21.o.gz 29291 +MD5 aeb4b2379d7b5ae8a04431d5c7f86e22 xanim_exporting_edition.tar.gz 985946 +RMD160 6149f4f7397c52f64b15c58ef2e6a4247197026e xanim_exporting_edition.tar.gz 985946 +SHA256 8e99b7ee3842fe6e4da43dc27f8c0584a66e6ef7168d30cd37cec64560207c33 xanim_exporting_edition.tar.gz 985946 diff --git a/media-video/xanim-export/xanim-export-2.80.1-r4.ebuild b/media-video/xanim-export/xanim-export-2.80.1-r4.ebuild new file mode 100644 index 000000000000..385a6ff03d9d --- /dev/null +++ b/media-video/xanim-export/xanim-export-2.80.1-r4.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/xanim-export/xanim-export-2.80.1-r4.ebuild,v 1.1 2006/09/10 23:36:39 flameeyes Exp $ + +inherit flag-o-matic eutils toolchain-funcs +strip-flags -finline-functions +replace-flags -O3 -O2 + + +_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_EXT_sparc=.Z + +_XA_CYUV_x86=xa1.0_cyuv_linuxELFg21.o +_XA_CVID_x86=xa2.0_cvid_linuxELFg21.o +_XA_IV32_x86=xa2.1_iv32_linuxELFg21.o +_XA_EXT_x86=.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_EXT_ppc=.Z + +MY_P="xanim_exporting_edition" + +# This might leave _XA_EXT empty and that's fine, just indicates no +# particular support for a given arch +eval _XA_EXT=\${_XA_EXT_${ARCH}} +eval _XA_CVID=\${_XA_CVID_${ARCH}} +eval _XA_CYUV=\${_XA_CYUV_${ARCH}} +eval _XA_IV32=\${_XA_IV32_${ARCH}} + +# Not much we could do here, the modules are predownloaded and +# xanim-export compiles against them +QA_EXECSTACK_x86="usr/bin/xanim-export + usr/lib/xanim/mods-export/${_XA_CVID} + usr/lib/xanim/mods-export/${_XA_CYUV} + usr/lib/xanim/mods-export/${_XA_IV32} + usr/lib/xanim/mods-export/${_XA_CVID/g21/} + usr/lib/xanim/mods-export/${_XA_CYUV/g21/} + usr/lib/xanim/mods-export/xa2.0_iv32_linuxELF.o" + + +DESCRIPTION="XAnim with Quicktime and RAW Audio export functions" +HOMEPAGE="http://heroin.linuxave.net/toys.html" +SRC_URI="http://heroine.linuxave.net/${MY_P}.tar.gz + sparc? ( + ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_sparc}${_XA_EXT_sparc} + ftp://xanim.va.pubnix.com/modules/${_XA_CVID_sparc}${_XA_EXT_sparc} + ftp://xanim.va.pubnix.com/modules/${_XA_IV32_sparc}${_XA_EXT_sparc} + ) + ppc? ( + ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_ppc}${_XA_EXT_ppc} + ftp://xanim.va.pubnix.com/modules/${_XA_CVID_ppc}${_XA_EXT_ppc} + ftp://xanim.va.pubnix.com/modules/${_XA_IV32_ppc}${_XA_EXT_ppc} + ) + x86? ( + ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_x86}${_XA_EXT_x86} + ftp://xanim.va.pubnix.com/modules/${_XA_CVID_x86}${_XA_EXT_x86} + ftp://xanim.va.pubnix.com/modules/${_XA_IV32_x86}${_XA_EXT_x86} + )" + +LICENSE="XAnim" +SLOT="0" +KEYWORDS="~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="virtual/libc + >=media-libs/jpeg-6b + >=media-libs/libpng-1.2.1 + || ( ( x11-libs/libXext + x11-libs/libXt ) + <virtual/x11-7 )" + +DEPEND="${RDEPEND} + app-arch/ncompress + || ( ( x11-proto/xextproto + x11-proto/xproto ) + <virtual/x11-7 )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${MY_P}.tar.gz + + if [[ -n ${_XA_EXT} ]]; then + cd "${S}"/mods || die + unpack ${_XA_CVID}${_XA_EXT} + unpack ${_XA_CYUV}${_XA_EXT} + unpack ${_XA_IV32}${_XA_EXT} + fi + + cd "${S}" + rm -f xanim + epatch "${FILESDIR}"/${PV}-makefile.patch + + # make compile respect CC, fix deprecated paths + sed -i -e "/CC =/s:gcc:$(tc-getCC):" \ + -e "/INCLUDE =/s:/usr/X11R6:/usr:g" \ + -e "/XLIBDIR =/s:/usr/X11R6:/usr:" \ + -e "/XA_DLL_PATH =/s:/usr/X11R6:/usr:" \ + Makefile || die "sed failed in Makefile" + + # make quicktime compile respect CFLAGS + local x="$(echo \`./c_flags\`)" + local dir="quicktime/quicktime" + sed -i -e "s:${x}:${CFLAGS}:" \ + ${dir}/Makefile || die "sed failed in ${dir}/Makefile" +} + +src_compile() { + cd "${S}"/quicktime + make \ + CC="$(tc-getCC)" \ + XA_IV32_LIB=mods/${_XA_CYUV} \ + XA_CVID_LIB=mods/${_XA_CVID} \ + XA_CYUV_LIB=mods/${_XA_IV32} \ + || die "make quicktime failed" + cd .. + make \ + XA_IV32_LIB=mods/${_XA_CYUV} \ + XA_CVID_LIB=mods/${_XA_CVID} \ + XA_CYUV_LIB=mods/${_XA_IV32} \ + OPTIMIZE="${CFLAGS}" \ + || die "main make failed" +} + +src_install() { + newbin xanim xanim-export + insinto /usr/lib/xanim/mods-export + doins mods/* + dodoc README* + dodoc docs/README.* docs/*.readme docs/*.doc +} + |