From 8fc923e47ad73dba99e36c2f66c903c43aacf807 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Tue, 6 Mar 2007 07:03:59 +0000 Subject: verion bumps svn path=/overlay/; revision=48 --- media-libs/capseo/ChangeLog | 3 + media-libs/capseo/Manifest | 8 ++ media-libs/capseo/capseo-0.2.0.ebuild | 87 +++++++++++++++ media-libs/capseo/files/digest-capseo-0.2.0 | 3 + media-libs/libcaptury/ChangeLog | 3 + media-libs/libcaptury/Manifest | 28 +++-- .../libcaptury/files/digest-libcaptury-0.2.0 | 3 + media-libs/libcaptury/libcaptury-0.2.0.ebuild | 88 +++++++++++++++ media-video/captury/ChangeLog | 3 + media-video/captury/Manifest | 16 ++- media-video/captury/captury-0.2.0.ebuild | 121 +++++++++++++++++++++ media-video/captury/files/digest-captury-0.2.0 | 3 + 12 files changed, 350 insertions(+), 16 deletions(-) create mode 100644 media-libs/capseo/capseo-0.2.0.ebuild create mode 100644 media-libs/capseo/files/digest-capseo-0.2.0 create mode 100644 media-libs/libcaptury/files/digest-libcaptury-0.2.0 create mode 100644 media-libs/libcaptury/libcaptury-0.2.0.ebuild create mode 100644 media-video/captury/captury-0.2.0.ebuild create mode 100644 media-video/captury/files/digest-captury-0.2.0 diff --git a/media-libs/capseo/ChangeLog b/media-libs/capseo/ChangeLog index 84b886d..11836ac 100644 --- a/media-libs/capseo/ChangeLog +++ b/media-libs/capseo/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 06 Mar 2007; Christian Parpart ChangeLog: + version bump + 25 Feb 2007; ChangeLog: snapshot bump diff --git a/media-libs/capseo/Manifest b/media-libs/capseo/Manifest index 848ba2c..a3bba7f 100644 --- a/media-libs/capseo/Manifest +++ b/media-libs/capseo/Manifest @@ -1,10 +1,15 @@ DIST capseo-0.1.0.tar.bz2 449046 RMD160 ac2216e6084cbbdbff5595d1cb2406ba9e33211a SHA1 66d303173399f171e2caa7f225ad825480d28e2c SHA256 af10a8f5738dc887da88f698b4016d6be6c37b1bfd184282c5ca055fc5501103 +DIST capseo-0.2.0.tar.bz2 349375 RMD160 1b3a3001dd2672ca0942c9eaf1fb69b081cb6827 SHA1 1f008fc70533ba5659a08eec7374a8bbe473fee1 SHA256 0630a6a74f822e58b7ad741fd46bd31aeeb0714e6078c0ebda3dc8185790d4f2 DIST capseo-0.2.0_pre200702211.tar.bz2 457145 RMD160 a498ad663140c86ecb593e5dca09b8d6e5d7708e SHA1 53334f94792321d19d9e16c9e7754f6fef658c2e SHA256 a74743efcffee1f7c258c73495d9cbf835ae67b38bc07e8801eebb30ecb7397d DIST capseo-0.2.0_pre200702241.tar.bz2 348964 RMD160 abeaf273d609ce1ad31f108fbf5eb2254a9adf5d SHA1 364db2a3ada87724f6bd08f17c9bc0e77a70d409 SHA256 77599762eca6cdafc35c0a16b3249479eb8819821c344acc2c348a54493f3488 EBUILD capseo-0.1.0.ebuild 1816 RMD160 50e41d03fbafaf2af59556c25c9091cf0e3db348 SHA1 5572becbe917367c3fe07f96b6481e0ca809ca07 SHA256 aae0e6f1d8204f015e8e94435db2536592017fcd936cde3b6d18292ad1e20d15 MD5 e7a9483e2944536a1c87bb21a2189bff capseo-0.1.0.ebuild 1816 RMD160 50e41d03fbafaf2af59556c25c9091cf0e3db348 capseo-0.1.0.ebuild 1816 SHA256 aae0e6f1d8204f015e8e94435db2536592017fcd936cde3b6d18292ad1e20d15 capseo-0.1.0.ebuild 1816 +EBUILD capseo-0.2.0.ebuild 2075 RMD160 96a3071802cdb064d8b686e182d6afdf37070503 SHA1 a6bd11cc069af16253603527ad898cd8a8b2ab5a SHA256 0b5bf15da25e95fdaa96d8eb34a993c05da0aa1daf39f3c670a481daa95b7ca2 +MD5 75afbc9a3448ab613ce2647c546900b8 capseo-0.2.0.ebuild 2075 +RMD160 96a3071802cdb064d8b686e182d6afdf37070503 capseo-0.2.0.ebuild 2075 +SHA256 0b5bf15da25e95fdaa96d8eb34a993c05da0aa1daf39f3c670a481daa95b7ca2 capseo-0.2.0.ebuild 2075 EBUILD capseo-0.2.0_pre200702211.ebuild 2062 RMD160 6c7282a2559c61279928e024281a7b5c11c36215 SHA1 a9c262bc0f5766889b944cc97b89291a4c9e4476 SHA256 ed4c921fe0b81454646ad2f812991e3106834446982b36e955177c44d0dc8b2e MD5 72508fd5ed26576504ceff0a33339cdd capseo-0.2.0_pre200702211.ebuild 2062 RMD160 6c7282a2559c61279928e024281a7b5c11c36215 capseo-0.2.0_pre200702211.ebuild 2062 @@ -20,6 +25,9 @@ SHA256 dce9e31b1e1f99f37629114fd5ec539e788f6851755b00e08c8532394f0bbb6e ChangeLo MD5 ddc993743a568b329d3ebf3f43ab7cd2 files/digest-capseo-0.1.0 241 RMD160 fa6caec0d59c4664b2af1dcad13009d6faf028c1 files/digest-capseo-0.1.0 241 SHA256 fdb8c0c811ac20231eee7c2743c2f30f89b07e25a0d66164749273ffe255acaf files/digest-capseo-0.1.0 241 +MD5 9fd5562b1344fb4e0c450bf127b96a01 files/digest-capseo-0.2.0 241 +RMD160 6b9da3dffc338da43d6e72d96eff291adc1df465 files/digest-capseo-0.2.0 241 +SHA256 c4c00a66eee8650b2541058595c5c8b9ff49a9968d9e6035a32a504f70188099 files/digest-capseo-0.2.0 241 MD5 b6b6701c9463119e13afb601e127bd44 files/digest-capseo-0.2.0_pre200702211 280 RMD160 b956ae67d3a9c603a79961940cd5851a24e3319f files/digest-capseo-0.2.0_pre200702211 280 SHA256 7117752530124c71b4260a7894856725773749dfec5d4783541acee92f850924 files/digest-capseo-0.2.0_pre200702211 280 diff --git a/media-libs/capseo/capseo-0.2.0.ebuild b/media-libs/capseo/capseo-0.2.0.ebuild new file mode 100644 index 0000000..3856cee --- /dev/null +++ b/media-libs/capseo/capseo-0.2.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit flag-o-matic multilib + +DESCRIPTION="Capseo Video Codec Library" +HOMEPAGE="http://battousai.mylair.de/projects/captury/wiki/CapseoCodec" +SRC_URI="http://battousai.mylair.de/dist/capseo/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug theora" + +RDEPEND=">=media-libs/libtheora-1.0_alpha6-r1" + +DEPEND="${RDEPEND} + >=dev-lang/yasm-0.4.0 + dev-util/pkgconfig" + +RESTRICT="multilib-pkg-force" + +src_compile() { + if [[ -z ${OABI} ]] && has_multilib_profile; then + use debug && append-flags -O0 -g3 + use debug || append-flags -DNDEBUG=1 + + einfo "Building multilib ${PN} for ABIs: $(get_install_abis)" + OABI=${ABI} + for ABI in $(get_install_abis); do + export ABI=${ABI} + src_compile + done + ABI=${OABI} + return + fi + + cd ${S} + + if [[ ! -f configure ]]; then + ./autogen.sh || die "autogen.sh failed" + fi + + mkdir abi-${ABI} + cd abi-${ABI} + + local myconf= + case ${ABI} in + amd64|x86) + myconf="${myconf} --with-accel=${ABI}" + ;; + esac + myconf="${myconf} $(use_enable theora)" + + ../configure ${myconf} \ + --prefix="/usr" \ + --host="$(get_abi_CHOST ${ABI})" \ + --libdir="/usr/$(get_libdir)" \ + || die "./configure for ABI ${ABI} failed" + + emake || die "make for ABI ${ABI} failed" +} + +src_install() { + for ABI in $(get_install_abis); do + make -C abi-${ABI} install DESTDIR="${D}" || die "make install for ABI ${ABI} failed." + done + + rm "${D}/usr/bin/cpsplay" # currently unsupported + + dodoc AUTHORS ChangeLog* NEWS README* TODO +} + +pkg_postinst() { + einfo "Use the following command to re-encode your screen captures to a" + einfo "file format current media players do understand:" + einfo + einfo " cpsrecode -i capture.cps -o - | mencoder - -o capture.avi \\" + einfo " -ovc lavc -lavcopts vcodec=xvid:autoaspect=1" + einfo + einfo "or if use-flag theora enabled, create your ogg/theora file inplace:" + einfo + einfo " cpsrecode -i capture.cps -o capture.ogg -c theora" + echo +} + +# vim:ai:noet:ts=4:nowrap diff --git a/media-libs/capseo/files/digest-capseo-0.2.0 b/media-libs/capseo/files/digest-capseo-0.2.0 new file mode 100644 index 0000000..4d6683f --- /dev/null +++ b/media-libs/capseo/files/digest-capseo-0.2.0 @@ -0,0 +1,3 @@ +MD5 fbcf8a3384e8ffafac1aaf90d1e3194e capseo-0.2.0.tar.bz2 349375 +RMD160 1b3a3001dd2672ca0942c9eaf1fb69b081cb6827 capseo-0.2.0.tar.bz2 349375 +SHA256 0630a6a74f822e58b7ad741fd46bd31aeeb0714e6078c0ebda3dc8185790d4f2 capseo-0.2.0.tar.bz2 349375 diff --git a/media-libs/libcaptury/ChangeLog b/media-libs/libcaptury/ChangeLog index 91d8e5e..5094935 100644 --- a/media-libs/libcaptury/ChangeLog +++ b/media-libs/libcaptury/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 06 Mar 2007; Christian Parpart ChangeLog: + version bump + 25 Feb 2007; ChangeLog: snapshot bump diff --git a/media-libs/libcaptury/Manifest b/media-libs/libcaptury/Manifest index 2636bf4..b60d0da 100644 --- a/media-libs/libcaptury/Manifest +++ b/media-libs/libcaptury/Manifest @@ -1,11 +1,16 @@ DIST captury-0.1.0.tar.bz2 34881 RMD160 ee105288e16cd2dc120adfc533f21d01f9e68528 SHA1 1a0ecc20ee557f25584c0f8799581aa7263ed466 SHA256 74dfb36d8275e1c5e1a893b33a2bdd24080887d8441fd80aa1d450342ff1d9a9 DIST captury-0.2.0_pre200702201.tar.bz2 32418 RMD160 23040d7f96ebfccb747951b4c4d0e8b9759d7865 SHA1 27ad510e6e9f1c6cdb22e822acdc4e801431aed0 SHA256 45e46f7cec58eebb8fc4be9330bbda98297dac3eb93a2737c01f2433278cce63 DIST captury-0.2.0_pre200702211.tar.bz2 32288 RMD160 876c42b3c7204be8cf089391e1b4d6d6800b1dd5 SHA1 9cc5dde6d0348733205c7fac22cafe9905e02022 SHA256 6802af166d3defcd92fdffe95fb809bf68996c7cd075d4431df87c74c307bcb9 +DIST libcaptury-0.2.0.tar.bz2 448411 RMD160 341995d75292a2f99ef6d57e1f14e0b4b8def582 SHA1 696a831589e8d4f14456bda5bf29d5d272b1f68a SHA256 3c6ea05aa7836e43c4fa860aa977cffffdf083a7ddb8d61147dda5c5fb197284 DIST libcaptury-0.2.0_pre200702241.tar.bz2 448541 RMD160 870f4aa2934109f107595d0a218aafd54522b7b8 SHA1 f9d5defe6182152b6a051d942ca4c64edfffd5d4 SHA256 2440bc8c23f99aedefeba0d24e23d8247834c7212f36111d8ef8145f5b5a56f7 EBUILD libcaptury-0.1.0.ebuild 1931 RMD160 84b6f88fcd17c9b338a2494d8abdaa8aebcda0bd SHA1 db2731599114d3daba7c00358f725fb7af9eac55 SHA256 488617180a0cd796e0f9adbb4c5063fdbc2bd2a0587b245cfb9a82ce1585e50e MD5 98f2a6177ec203d3ddebfbe0b95c7d72 libcaptury-0.1.0.ebuild 1931 RMD160 84b6f88fcd17c9b338a2494d8abdaa8aebcda0bd libcaptury-0.1.0.ebuild 1931 SHA256 488617180a0cd796e0f9adbb4c5063fdbc2bd2a0587b245cfb9a82ce1585e50e libcaptury-0.1.0.ebuild 1931 +EBUILD libcaptury-0.2.0.ebuild 1878 RMD160 8bf5191e3f9167ac5524a0aee91446221a1f4000 SHA1 8ab5e3b33efffdd4ee2fa056c53b134c1e063921 SHA256 d5744a05f8fdc479d4cd93451c5fdda3e09334d36d0cced695ffe25d604caf57 +MD5 f099721596da523fbc7822c9ef87709e libcaptury-0.2.0.ebuild 1878 +RMD160 8bf5191e3f9167ac5524a0aee91446221a1f4000 libcaptury-0.2.0.ebuild 1878 +SHA256 d5744a05f8fdc479d4cd93451c5fdda3e09334d36d0cced695ffe25d604caf57 libcaptury-0.2.0.ebuild 1878 EBUILD libcaptury-0.2.0_pre200702201.ebuild 1890 RMD160 7d8ff9734c84ccac22551b8e63756cb10067a588 SHA1 861e3ccfa738e01c8ff6553a7a618151f0763fcf SHA256 f804279b307967c12a4cc8617ef7c7540d66406650f90947a52108f00bf0abb4 MD5 1a05188a213e50dd1f3ac1e23112bb79 libcaptury-0.2.0_pre200702201.ebuild 1890 RMD160 7d8ff9734c84ccac22551b8e63756cb10067a588 libcaptury-0.2.0_pre200702201.ebuild 1890 @@ -14,21 +19,20 @@ EBUILD libcaptury-0.2.0_pre200702211.ebuild 1920 RMD160 8a9bef727d2aee251509cc31 MD5 09de3b1dd77b2b93bcf7bdd2cc1ed14a libcaptury-0.2.0_pre200702211.ebuild 1920 RMD160 8a9bef727d2aee251509cc3131111a02a442da5e libcaptury-0.2.0_pre200702211.ebuild 1920 SHA256 f8a21c0a35ccf877a35c095549d4a96586b5af7547d4ba9b07d88e698b68c94e libcaptury-0.2.0_pre200702211.ebuild 1920 -EBUILD libcaptury-0.2.0_pre200702241.ebuild 1915 RMD160 60c75238f1631053c6f6901c8198644bf0bdcdc0 SHA1 0c4a769fae57e0ea563d78904d412ff4929001b4 SHA256 04b6ddc2d7a6d5ffe7658479d062241867dea8332ff12a8d3f473a9a024b6ff8 -MD5 43e26d81ceeff5fad67a4ccce025c51f libcaptury-0.2.0_pre200702241.ebuild 1915 -RMD160 60c75238f1631053c6f6901c8198644bf0bdcdc0 libcaptury-0.2.0_pre200702241.ebuild 1915 -SHA256 04b6ddc2d7a6d5ffe7658479d062241867dea8332ff12a8d3f473a9a024b6ff8 libcaptury-0.2.0_pre200702241.ebuild 1915 -MISC .libcaptury-0.2.0_pre200702241.ebuild.swp 12288 RMD160 659cd04e9fc699d7b9578ac58e1636f046fc4d71 SHA1 26b729b4925c35cc3348d0dcfcba670a55a2978e SHA256 2e453d60cc82c9255a120ffe73e25345277febae1d0d0e4fe2ee44ed12350c60 -MD5 d6f00cc993530ced4f0b6e05c35123da .libcaptury-0.2.0_pre200702241.ebuild.swp 12288 -RMD160 659cd04e9fc699d7b9578ac58e1636f046fc4d71 .libcaptury-0.2.0_pre200702241.ebuild.swp 12288 -SHA256 2e453d60cc82c9255a120ffe73e25345277febae1d0d0e4fe2ee44ed12350c60 .libcaptury-0.2.0_pre200702241.ebuild.swp 12288 -MISC ChangeLog 312 RMD160 3e8e053c5a0cd749fa2699e560f6f9028705b089 SHA1 1525835449bb922ca2d11818f8db4e27e9d85f52 SHA256 4ad3eb3074a33dd6a4c8aa9327dbbac160ec5d68f20e785e168915c56906dd46 -MD5 90f5a8511adb6c188a3686f9e8976c97 ChangeLog 312 -RMD160 3e8e053c5a0cd749fa2699e560f6f9028705b089 ChangeLog 312 -SHA256 4ad3eb3074a33dd6a4c8aa9327dbbac160ec5d68f20e785e168915c56906dd46 ChangeLog 312 +EBUILD libcaptury-0.2.0_pre200702241.ebuild 1878 RMD160 56d92b3fd7284bee402c9d31449de6b99bc95d32 SHA1 71dd7914d660b33e8256efa9fe3f6c0aa410e86c SHA256 de5d739b7e9d18b4fc69068088b59cc2e9420ff1366bdf988566a4c835facee1 +MD5 c3f5a74c405e4b54c98a456d14541bea libcaptury-0.2.0_pre200702241.ebuild 1878 +RMD160 56d92b3fd7284bee402c9d31449de6b99bc95d32 libcaptury-0.2.0_pre200702241.ebuild 1878 +SHA256 de5d739b7e9d18b4fc69068088b59cc2e9420ff1366bdf988566a4c835facee1 libcaptury-0.2.0_pre200702241.ebuild 1878 +MISC ChangeLog 375 RMD160 1e22ce61060df3b0de4636d77a93418a2f409f6d SHA1 bc8795b6cb52ab73b77d77a30db1ff78755f5221 SHA256 a3796c18e851af084e06294e89a76fbc2905f98aea4e809c1efd7d41f392708a +MD5 2934f2d2d2cdb181d984a8d57541f881 ChangeLog 375 +RMD160 1e22ce61060df3b0de4636d77a93418a2f409f6d ChangeLog 375 +SHA256 a3796c18e851af084e06294e89a76fbc2905f98aea4e809c1efd7d41f392708a ChangeLog 375 MD5 e37e9c7c095af4db338e79e9c9a6bc38 files/digest-libcaptury-0.1.0 241 RMD160 1842b2fba083b0b32c4ddef69c79c2897072b9a6 files/digest-libcaptury-0.1.0 241 SHA256 62edd0067c4e5a75810ce6981e1c62934da049eb0f31f9dcc3e8911c9d852366 files/digest-libcaptury-0.1.0 241 +MD5 9a8374e59462c7070f04db11e2934bfd files/digest-libcaptury-0.2.0 253 +RMD160 b3cf35608ae371afce5bef31f9e81f77fb9e5850 files/digest-libcaptury-0.2.0 253 +SHA256 6ca52c04ca738f6d4d69d7e7dbd8878ced9dbaf5abfcc106aa8a798a15fcd3b5 files/digest-libcaptury-0.2.0 253 MD5 66fb37fefc7a75e3e18eaa62bc391d5e files/digest-libcaptury-0.2.0_pre200702201 280 RMD160 ae520436c693b6a0b81621c9c04cbdbdb1710866 files/digest-libcaptury-0.2.0_pre200702201 280 SHA256 1ef15ad7303bd16405813edaae70291ea19e41200240f2f9d1b5e41abac76425 files/digest-libcaptury-0.2.0_pre200702201 280 diff --git a/media-libs/libcaptury/files/digest-libcaptury-0.2.0 b/media-libs/libcaptury/files/digest-libcaptury-0.2.0 new file mode 100644 index 0000000..29438f2 --- /dev/null +++ b/media-libs/libcaptury/files/digest-libcaptury-0.2.0 @@ -0,0 +1,3 @@ +MD5 77c832426d6de69c0640a58fe4ee3de1 libcaptury-0.2.0.tar.bz2 448411 +RMD160 341995d75292a2f99ef6d57e1f14e0b4b8def582 libcaptury-0.2.0.tar.bz2 448411 +SHA256 3c6ea05aa7836e43c4fa860aa977cffffdf083a7ddb8d61147dda5c5fb197284 libcaptury-0.2.0.tar.bz2 448411 diff --git a/media-libs/libcaptury/libcaptury-0.2.0.ebuild b/media-libs/libcaptury/libcaptury-0.2.0.ebuild new file mode 100644 index 0000000..af98333 --- /dev/null +++ b/media-libs/libcaptury/libcaptury-0.2.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit multilib flag-o-matic + +DESCRIPTION="Captury Framework Library" +HOMEPAGE="http://battousai.mylair.de/projects/captury/" +SRC_URI="http://battousai.mylair.de/dist/libcaptury/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=media-libs/capseo-0.2.0 + x11-libs/libX11 + x11-libs/libXfixes + virtual/opengl + amd64? ( + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-medialibs + )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RESTRICT="multilib-pkg-force" + +setup_env() { + LD_LIBRARY_PATH= + LDFLAGS= + + # keep backwards compatibility as long as I *have* to. + if use amd64 && [[ ${ABI} = "x86" ]]; then + if has_version ' ChangeLog: + version bump + 25 Feb 2007; ChangeLog: added missing 'cd ${S}' which prevented docs from being installed diff --git a/media-video/captury/Manifest b/media-video/captury/Manifest index 6cce327..3e22bae 100644 --- a/media-video/captury/Manifest +++ b/media-video/captury/Manifest @@ -1,4 +1,5 @@ DIST captury-0.1.0.tar.bz2 34881 RMD160 ee105288e16cd2dc120adfc533f21d01f9e68528 SHA1 1a0ecc20ee557f25584c0f8799581aa7263ed466 SHA256 74dfb36d8275e1c5e1a893b33a2bdd24080887d8441fd80aa1d450342ff1d9a9 +DIST captury-0.2.0.tar.bz2 442433 RMD160 b71d264c2781be6a6a88d30aaaf790f98bc5d1ca SHA1 7137bcfb4d8a366588235e1512f063ede9891bdf SHA256 2b93596c60902a8d87896df2bccfa3d2fafce4ed074e36f71115615354a84373 DIST captury-0.2.0_pre200702201.tar.bz2 32418 RMD160 23040d7f96ebfccb747951b4c4d0e8b9759d7865 SHA1 27ad510e6e9f1c6cdb22e822acdc4e801431aed0 SHA256 45e46f7cec58eebb8fc4be9330bbda98297dac3eb93a2737c01f2433278cce63 DIST captury-0.2.0_pre200702211.tar.bz2 32288 RMD160 876c42b3c7204be8cf089391e1b4d6d6800b1dd5 SHA1 9cc5dde6d0348733205c7fac22cafe9905e02022 SHA256 6802af166d3defcd92fdffe95fb809bf68996c7cd075d4431df87c74c307bcb9 DIST captury-0.2.0_pre200702251.tar.bz2 442392 RMD160 ef1e8c87caf71e2344f72f78b3a4c96d94b231cc SHA1 af5c6e708a7497a18aeeadb08fa1945721b51eed SHA256 8f38c12ca7ffc44e5184d104ecae067676be0c185479d8e3c6f6cb88175124e8 @@ -6,6 +7,10 @@ EBUILD captury-0.1.0.ebuild 3000 RMD160 04d2c979ac3c6d444ac66aff3b750db1cb5dad9b MD5 48d9dd82c8a2c72276824fde41a722ac captury-0.1.0.ebuild 3000 RMD160 04d2c979ac3c6d444ac66aff3b750db1cb5dad9b captury-0.1.0.ebuild 3000 SHA256 caf0a01b0679e090ee1f9d22c1aa1fa3da29ca8d5cddebb80b81086f885b4270 captury-0.1.0.ebuild 3000 +EBUILD captury-0.2.0.ebuild 3021 RMD160 457bba1c50e9a502a7a69332046884a9cc30d6f6 SHA1 df091793508053fb91fe3b4a5a35544d604a6086 SHA256 c8666ba9fc603d44f28893a38a9494f566d04111b908e5c35330d9a5723d6ba8 +MD5 973e979ff23a5d19b6356c606624461f captury-0.2.0.ebuild 3021 +RMD160 457bba1c50e9a502a7a69332046884a9cc30d6f6 captury-0.2.0.ebuild 3021 +SHA256 c8666ba9fc603d44f28893a38a9494f566d04111b908e5c35330d9a5723d6ba8 captury-0.2.0.ebuild 3021 EBUILD captury-0.2.0_pre200702201.ebuild 3038 RMD160 ba7f41bf42781441c5ff46c02f44febd8189d727 SHA1 de38c5815273cbd075eaddb09ab779e94def684a SHA256 f6e7b83618e75da3019bf9452b81b3ee4eb7d0183952ce31c3606e8772eec3dd MD5 9fb796fb8bb15e17642d7084fe6b7c1e captury-0.2.0_pre200702201.ebuild 3038 RMD160 ba7f41bf42781441c5ff46c02f44febd8189d727 captury-0.2.0_pre200702201.ebuild 3038 @@ -18,13 +23,16 @@ EBUILD captury-0.2.0_pre200702251.ebuild 3034 RMD160 d17994c4f954d2acc7b32ef6b85 MD5 b82474a912a26930e3c0fcff5cb84676 captury-0.2.0_pre200702251.ebuild 3034 RMD160 d17994c4f954d2acc7b32ef6b858f91ce81e7fdd captury-0.2.0_pre200702251.ebuild 3034 SHA256 0dc552719b906142b0c6f507e7d371ac0477b6e3b855fb92b3d5794a7c321595 captury-0.2.0_pre200702251.ebuild 3034 -MISC ChangeLog 425 RMD160 d5b26924e5f870886e6dd0d75830ab58e7d2c7e3 SHA1 1b43e1f9ce85fb5075edf9e8ddf16b38167389c1 SHA256 663b1e393401c8a188f78d9663ffa5a10ad71baebcaab5626cb577ec115a3308 -MD5 f19c8c3698cdb52efe8f70375b3b9962 ChangeLog 425 -RMD160 d5b26924e5f870886e6dd0d75830ab58e7d2c7e3 ChangeLog 425 -SHA256 663b1e393401c8a188f78d9663ffa5a10ad71baebcaab5626cb577ec115a3308 ChangeLog 425 +MISC ChangeLog 505 RMD160 dbf62507050380e739b3bf5f0666f64fba8ec4c6 SHA1 e8412f6635042fe94b783379e69f6c5cba343d30 SHA256 1e7d57292889727c6a6e0a18f81c6e4647b3082c82830626ea306100a89ceb6c +MD5 4d5ab598dedc870acaa0be8ab1bc493f ChangeLog 505 +RMD160 dbf62507050380e739b3bf5f0666f64fba8ec4c6 ChangeLog 505 +SHA256 1e7d57292889727c6a6e0a18f81c6e4647b3082c82830626ea306100a89ceb6c ChangeLog 505 MD5 e37e9c7c095af4db338e79e9c9a6bc38 files/digest-captury-0.1.0 241 RMD160 1842b2fba083b0b32c4ddef69c79c2897072b9a6 files/digest-captury-0.1.0 241 SHA256 62edd0067c4e5a75810ce6981e1c62934da049eb0f31f9dcc3e8911c9d852366 files/digest-captury-0.1.0 241 +MD5 724e464c9424dda6911e4a7631926988 files/digest-captury-0.2.0 244 +RMD160 e4925a196cd8106bb33d49c1fdba791ac513ea97 files/digest-captury-0.2.0 244 +SHA256 8858ec1f0653da2755927591309704392f7c76e9067deee44f47cd0dc47b40ef files/digest-captury-0.2.0 244 MD5 66fb37fefc7a75e3e18eaa62bc391d5e files/digest-captury-0.2.0_pre200702201 280 RMD160 ae520436c693b6a0b81621c9c04cbdbdb1710866 files/digest-captury-0.2.0_pre200702201 280 SHA256 1ef15ad7303bd16405813edaae70291ea19e41200240f2f9d1b5e41abac76425 files/digest-captury-0.2.0_pre200702201 280 diff --git a/media-video/captury/captury-0.2.0.ebuild b/media-video/captury/captury-0.2.0.ebuild new file mode 100644 index 0000000..da34a17 --- /dev/null +++ b/media-video/captury/captury-0.2.0.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit multilib flag-o-matic eutils + +DESCRIPTION="Captury Tool - captures the screen from your OpenGL games." +HOMEPAGE="http://battousai.mylair.de/projects/captury/" +SRC_URI="http://battousai.mylair.de/dist/${PN}/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=media-libs/libcaptury-0.2.0 + x11-libs/libX11 + >=media-libs/libpng-1.2.14 + virtual/opengl" + +DEPEND="${RDEPEND} + || ( dev-libs/elfutils + dev-libs/libelf ) + dev-util/pkgconfig" + +RESTRICT="multilib-pkg-force" + +pkg_setup() { + built_with_use --missing die app-emulation/emul-linux-x86-xlibs opengl +} + +setup_env() { + myconf="" + makeopts="" + + if [[ ${ABI} != ${DEFAULT_ABI} ]]; then + # this is a workaround as Gentoo doesn't ship a 32bit version of libelf.so + myconf="${myconf} --disable-builtin-strip-soname" + makeopts="${makeopts} STRIP_SONAME=$(pwd)/../abi-${DEFAULT_ABI}/src/libGLcaptury/strip-soname" + + # unfortunately, different versions of emul-linux-x86-xlibs do install + # their files into different locations, depending on what version you + # installed. + if [[ -x /emul/linux/x86/usr/lib/libGL.so ]]; then + makeopts="${makeopts} NATIVE_LIBGL=/emul/linux/x86/usr/lib/libGL.so" + else + makeopts="${makeopts} NATIVE_LIBGL=/usr/$(get_libdir)/libGL.so" + fi + if [[ -x /emul/linux/x86/usr/lib/libX11.so ]]; then + makeopts="${makeopts} NATIVE_LIBX11=/emul/linux/x86/usr/lib/libX11.so" + else + makeopts="${makeopts} NATIVE_LIBX11=/usr/$(get_libdir)/libX11.so" + fi + else + makeopts="${makeopts} NATIVE_LIBGL=/usr/$(get_libdir)/libGL.so" + makeopts="${makeopts} NATIVE_LIBX11=/usr/$(get_libdir)/libX11.so" + fi + + export makeopts + export myconf +} + +src_compile() { + if [[ -z ${OABI} ]] && has_multilib_profile; then + use debug && append-flags -O0 -g3 + use debug || append-flags -DNDEBUG=1 + + # fixes missing #define in libGLcaptury.cpp + append-flags -DGLX_GLXEXT_PROTOTYPES + + einfo "Building multilib ${PN} for ABIs: $(get_install_abis)" + OABI=${ABI} + for ABI in $DEFAULT_ABI $(get_install_abis); do + export ABI=${ABI} + src_compile + done + ABI=${OABI} + return + fi + + cd ${S} + + test -d abi-${ABI} && return + + if [[ ! -f configure ]]; then + ./autogen.sh || die "autogen.sh failed" + fi + + mkdir abi-${ABI} + cd abi-${ABI} + + einfo "Compiling for ABI ${ABI} ..." + einfo + + setup_env + + ../configure ${myconf} \ + --prefix="/usr" \ + --host="${CHOST}" \ + --sysconfdir="/etc" \ + --libdir="/usr/$(get_libdir)" \ + || die "./configure for ABI ${ABI} failed" + + einfo "MAKE LINE: emake ${makeopts}" + einfo + emake ${makeopts} || die "make for ABI ${ABI} failed" +} + +src_install() { + for ABI in $(get_install_abis); do + cd "${S}/abi-${ABI}" + setup_env + einfo "make ${makeopts} install DESTDIR=\"${D}\"" + make ${makeopts} install DESTDIR="${D}" || die "make install for ABI ${ABI} failed." + done + + cd ${S} + + dodoc AUTHORS ChangeLog* NEWS README* TODO +} + +# vim:ai:noet:ts=4:nowrap diff --git a/media-video/captury/files/digest-captury-0.2.0 b/media-video/captury/files/digest-captury-0.2.0 new file mode 100644 index 0000000..51f4508 --- /dev/null +++ b/media-video/captury/files/digest-captury-0.2.0 @@ -0,0 +1,3 @@ +MD5 53416c138203f8d9e81d17e9a0aa4585 captury-0.2.0.tar.bz2 442433 +RMD160 b71d264c2781be6a6a88d30aaaf790f98bc5d1ca captury-0.2.0.tar.bz2 442433 +SHA256 2b93596c60902a8d87896df2bccfa3d2fafce4ed074e36f71115615354a84373 captury-0.2.0.tar.bz2 442433 -- cgit v1.2.3-65-gdbad