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 | 854c6576b22fead326a88d3d74dc39bc838d4b3e (patch) | |
tree | ee21fecdcc27517994ffc349d7727ee6af2a7372 /media-video/xanim-export | |
parent | Replaced junit USE flag with test, which is done in src_test(). Added example... (diff) | |
download | historical-854c6576b22fead326a88d3d74dc39bc838d4b3e.tar.gz historical-854c6576b22fead326a88d3d74dc39bc838d4b3e.tar.bz2 historical-854c6576b22fead326a88d3d74dc39bc838d4b3e.zip |
Add new ebuild that supports modular X, thanks to Jakub Moc in bug #126923.
Package-Manager: portage-2.1.1
Diffstat (limited to 'media-video/xanim-export')
-rw-r--r-- | media-video/xanim-export/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/xanim-export/Manifest | 47 | ||||
-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 |
5 files changed, 244 insertions, 11 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/Manifest b/media-video/xanim-export/Manifest index 4204ed89ea70..e653c9829e33 100644 --- a/media-video/xanim-export/Manifest +++ b/media-video/xanim-export/Manifest @@ -1,5 +1,46 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 2.80.1-makefile.patch 1099 RMD160 ff3eb4e59041c0d250103420b8b4a16300a67e01 SHA1 15b148d83d4de13c0508ee301ea05f8a95ad3785 SHA256 33badd49c4fc247e97dcfe910a3cb76d6d9310ed707f04370e4d37c3ffd2e078 +MD5 619a8b8f93e2addf6df259ec59340d1d files/2.80.1-makefile.patch 1099 +RMD160 ff3eb4e59041c0d250103420b8b4a16300a67e01 files/2.80.1-makefile.patch 1099 +SHA256 33badd49c4fc247e97dcfe910a3cb76d6d9310ed707f04370e4d37c3ffd2e078 files/2.80.1-makefile.patch 1099 +DIST xa1.0_cyuv_linuxELFg21.o.gz 1141 RMD160 81ff86ccc99e72765da07c79708edfc496602235 SHA1 6d3c412bbd57be4f4afba550bd0f1b7287813b0e SHA256 9fa40166a40a20734ba1d00990d142a3961c2416e66dac3fe0767e8304aadb1a +DIST xa1.0_cyuv_linuxPPC.o.Z 1513 RMD160 52a12b118d181a34754e79f11aec07b0bf202e48 SHA1 b9af24646b46d94ccfb5e042ca20f32006a8b0af SHA256 35318deacea099d0c05be985c01672f7f306e748965d5bbc8dd454fe8a28c46e +DIST xa1.0_cyuv_sparcELF.o.Z 1277 RMD160 dedbfdcb57b477cd840cbb2afd52c0bd9f93574c SHA1 6ad551439086a5c884d9a88971261cc7e60aad60 SHA256 f77cc763c9358e86bd5b77675cabf2150b2085d00d54eada0ec86239959a4a08 +DIST xa2.0_cvid_linuxELFg21.o.gz 3689 RMD160 bb733c929436873f77eb8d10f95dbe56e32dc458 SHA1 9255ee1f828ceb5177f0ec875f0dce0efddb2d22 SHA256 59d7f06388f6461ce69aec7b815b5b76281bad14c7ef13f8fadaa5b848072eb5 +DIST xa2.0_cvid_linuxPPC.o.Z 5192 RMD160 0ab38f39ddd747185f749f2611777b92de6aa661 SHA1 d6736d7fe65008293863c31b8f4c28e13152afda SHA256 aa7ea8f934780fa3ea887867811c18023cf7a9740cdfa942648f4fd7d6d996f5 +DIST xa2.0_cvid_sparcELF.o.Z 4730 RMD160 e7685404b1af21543f435873472e275d34514b08 SHA1 7c256a74a389a7ef4b455a9f6d9e9a3d084cfe3c SHA256 705511a4eb9a639b7c95a3bb7d6f4f7b1d0ce4a59db2a9cb567bfb3c4a513d02 +DIST xa2.0_iv32_linuxPPC.o.Z 56163 RMD160 7e1904ea0d22c074d5e4d01526ac9508a285d355 SHA1 aff70712df092d725c510c0520d64fb302322ac5 SHA256 d332753ffc6a47c9853a26443e562d3d5aa1cc7a8ac9fad471d3bd2ca0207d3e +DIST xa2.0_iv32_sparcELF.o.Z 48813 RMD160 e4412117114a065d833e66fe0b04c64848ae60e1 SHA1 3837819a50d3d430149ac0f498db30cdec6245f3 SHA256 86b4613490ac3cadc73524cc433deafebedacbda692ad5f88bcb7c029113ad24 +DIST xa2.1_iv32_linuxELFg21.o.gz 29291 RMD160 2b2cf2a47cb9d91abe5d4558cd375919e69b1cff SHA1 395ce9f94e0710d67c0200f7a609868ab0969062 SHA256 41420dca15e5e546c455553b6434435d53de17a08a6307a79de75e753a85b3a1 +DIST xanim_exporting_edition.tar.gz 985946 RMD160 6149f4f7397c52f64b15c58ef2e6a4247197026e SHA1 61dd8b396a782a33aa61c0af20eb6220aa0a527c SHA256 8e99b7ee3842fe6e4da43dc27f8c0584a66e6ef7168d30cd37cec64560207c33 +EBUILD xanim-export-2.80.1-r3.ebuild 3068 RMD160 dc115b815b657df7f3c8c403d3b523a9651c45a6 SHA1 d41798d2e3681f8332d50ac7ccece95fc8fba790 SHA256 dcc106ed9ca47113dfb20960ec8c5b5b2c1e7ae697ee54da161529adb4de77ff MD5 df990c37b735d275f37186059d4ed717 xanim-export-2.80.1-r3.ebuild 3068 -MD5 fd47eaa6cac5114f4cd51c8934d53ab9 ChangeLog 1229 +RMD160 dc115b815b657df7f3c8c403d3b523a9651c45a6 xanim-export-2.80.1-r3.ebuild 3068 +SHA256 dcc106ed9ca47113dfb20960ec8c5b5b2c1e7ae697ee54da161529adb4de77ff xanim-export-2.80.1-r3.ebuild 3068 +EBUILD xanim-export-2.80.1-r4.ebuild 3792 RMD160 378b286e0fd5c4b17a509f7e4ddf656848016052 SHA1 fb2fc8c78c68f0fea8bf198e44d8d9e3d4ce2aaf SHA256 5e29dff56d7ff74040e1b987548aa87dbe36d73e1e780b85305cbed05eeb75a8 +MD5 fb67bbd510136e52c968cfa0a38f4af4 xanim-export-2.80.1-r4.ebuild 3792 +RMD160 378b286e0fd5c4b17a509f7e4ddf656848016052 xanim-export-2.80.1-r4.ebuild 3792 +SHA256 5e29dff56d7ff74040e1b987548aa87dbe36d73e1e780b85305cbed05eeb75a8 xanim-export-2.80.1-r4.ebuild 3792 +MISC ChangeLog 1433 RMD160 cef2af9412de37e5de9815bb52fd3040ffcdda70 SHA1 1a4ce739ac47d33643da2ece56df8e74edfca17c SHA256 0400e27ab4ec96b38ad522f11bee29d326f67db3de007d3e0a045bad50b6a04f +MD5 7e65e12b76aee3b7a722b727a0c1108d ChangeLog 1433 +RMD160 cef2af9412de37e5de9815bb52fd3040ffcdda70 ChangeLog 1433 +SHA256 0400e27ab4ec96b38ad522f11bee29d326f67db3de007d3e0a045bad50b6a04f ChangeLog 1433 +MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225 -MD5 619a8b8f93e2addf6df259ec59340d1d files/2.80.1-makefile.patch 1099 -MD5 b6a69a73a8448ca48f9c764140b27831 files/digest-xanim-export-2.80.1-r3 684 +RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d metadata.xml 225 +SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 metadata.xml 225 +MD5 b429f2c57ba5592f03b8c2b1f0f24034 files/digest-xanim-export-2.80.1-r3 2512 +RMD160 f9a6d73839a99a17b19c1d38ea02568dcae8140d files/digest-xanim-export-2.80.1-r3 2512 +SHA256 05f8182799f30c17609acfff4a7bcde585dc616d6a631047e899a9b0b526f698 files/digest-xanim-export-2.80.1-r3 2512 +MD5 b429f2c57ba5592f03b8c2b1f0f24034 files/digest-xanim-export-2.80.1-r4 2512 +RMD160 f9a6d73839a99a17b19c1d38ea02568dcae8140d files/digest-xanim-export-2.80.1-r4 2512 +SHA256 05f8182799f30c17609acfff4a7bcde585dc616d6a631047e899a9b0b526f698 files/digest-xanim-export-2.80.1-r4 2512 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFBKGOAiZjviIA2XgRAl6bAJ4qPnffKpCDd5+ESLlD61CiU09qOQCfZBTt +z+XZ63Y7949LOMYYBW5WTS8= +=CLV0 +-----END PGP SIGNATURE----- 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 +} + |