summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/capseo/ChangeLog3
-rw-r--r--media-libs/capseo/Manifest8
-rw-r--r--media-libs/capseo/capseo-0.2.0_pre200702211.ebuild87
-rw-r--r--media-libs/capseo/files/digest-capseo-0.2.0_pre2007022013
-rw-r--r--media-libs/capseo/files/digest-capseo-0.2.0_pre2007022113
-rw-r--r--media-libs/libcaptury/ChangeLog3
-rw-r--r--media-libs/libcaptury/Manifest16
-rw-r--r--media-libs/libcaptury/files/digest-libcaptury-0.2.0_pre2007022113
-rw-r--r--media-libs/libcaptury/libcaptury-0.2.0_pre200702211.ebuild90
-rw-r--r--media-video/captury/Manifest8
-rw-r--r--media-video/captury/captury-0.2.0_pre200702211.ebuild121
-rw-r--r--media-video/captury/files/digest-captury-0.2.0_pre2007022113
12 files changed, 344 insertions, 4 deletions
diff --git a/media-libs/capseo/ChangeLog b/media-libs/capseo/ChangeLog
index 4ee02a1..f996cae 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: $
+ 21 Feb 2007; <trapni@gentoo.org> ChangeLog:
+ snapshot bump (adds largfile support)
+
20 Feb 2007; <trapni@gentoo.org> ChangeLog:
new snapshot, includes theora output support for cpsrecode
diff --git a/media-libs/capseo/Manifest b/media-libs/capseo/Manifest
index c66cf6b..b6f583e 100644
--- a/media-libs/capseo/Manifest
+++ b/media-libs/capseo/Manifest
@@ -1,5 +1,6 @@
DIST capseo-0.1.0.tar.bz2 449046 RMD160 ac2216e6084cbbdbff5595d1cb2406ba9e33211a SHA1 66d303173399f171e2caa7f225ad825480d28e2c SHA256 af10a8f5738dc887da88f698b4016d6be6c37b1bfd184282c5ca055fc5501103
DIST capseo-0.2.0_pre200702201.tar.bz2 457210 RMD160 5bbc6cd1ce25ceaa9e02d2336ec25da1212915e0 SHA1 9f4a767075273fba231a4ce79d396c448eb4aa97 SHA256 08777d3d4be4fde2dfa910d98ba973c9636d09cf12f4f7e8fba66ab4de9f19f6
+DIST capseo-0.2.0_pre200702211.tar.bz2 457145 RMD160 a498ad663140c86ecb593e5dca09b8d6e5d7708e SHA1 53334f94792321d19d9e16c9e7754f6fef658c2e SHA256 a74743efcffee1f7c258c73495d9cbf835ae67b38bc07e8801eebb30ecb7397d
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
@@ -8,6 +9,10 @@ EBUILD capseo-0.2.0_pre200702201.ebuild 2062 RMD160 6c7282a2559c61279928e024281a
MD5 72508fd5ed26576504ceff0a33339cdd capseo-0.2.0_pre200702201.ebuild 2062
RMD160 6c7282a2559c61279928e024281a7b5c11c36215 capseo-0.2.0_pre200702201.ebuild 2062
SHA256 ed4c921fe0b81454646ad2f812991e3106834446982b36e955177c44d0dc8b2e capseo-0.2.0_pre200702201.ebuild 2062
+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
+SHA256 ed4c921fe0b81454646ad2f812991e3106834446982b36e955177c44d0dc8b2e capseo-0.2.0_pre200702211.ebuild 2062
MISC ChangeLog 443 RMD160 1a3e7221becb47888f24e54ab863c63fe9087b8c SHA1 621ac3ca32b4e7a8408c68a3536f4d5b1fb3478c SHA256 c731635dd982d55bda663e4f4cfef6b8eb1b5f9d85278709b9e1e93bc947303a
MD5 b72905e679903c3548c4af9205c3ba89 ChangeLog 443
RMD160 1a3e7221becb47888f24e54ab863c63fe9087b8c ChangeLog 443
@@ -18,3 +23,6 @@ SHA256 fdb8c0c811ac20231eee7c2743c2f30f89b07e25a0d66164749273ffe255acaf files/di
MD5 576c5d7e0ceabbe87454ff43748658a4 files/digest-capseo-0.2.0_pre200702201 280
RMD160 30ea9b8c3f6e709e497f7aa7159cb93a31a33414 files/digest-capseo-0.2.0_pre200702201 280
SHA256 1e7eadb1ebe969b03f25b6e00663bacc928c9b556a7a194bc2dedee5524cbbb6 files/digest-capseo-0.2.0_pre200702201 280
+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_pre200702211.ebuild b/media-libs/capseo/capseo-0.2.0_pre200702211.ebuild
new file mode 100644
index 0000000..7f80a74
--- /dev/null
+++ b/media-libs/capseo/capseo-0.2.0_pre200702211.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit 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_pre200702201 b/media-libs/capseo/files/digest-capseo-0.2.0_pre200702201
new file mode 100644
index 0000000..baea629
--- /dev/null
+++ b/media-libs/capseo/files/digest-capseo-0.2.0_pre200702201
@@ -0,0 +1,3 @@
+MD5 2590561de320f3724c90393b98dcd8ca capseo-0.2.0_pre200702201.tar.bz2 457210
+RMD160 5bbc6cd1ce25ceaa9e02d2336ec25da1212915e0 capseo-0.2.0_pre200702201.tar.bz2 457210
+SHA256 08777d3d4be4fde2dfa910d98ba973c9636d09cf12f4f7e8fba66ab4de9f19f6 capseo-0.2.0_pre200702201.tar.bz2 457210
diff --git a/media-libs/capseo/files/digest-capseo-0.2.0_pre200702211 b/media-libs/capseo/files/digest-capseo-0.2.0_pre200702211
new file mode 100644
index 0000000..b55d354
--- /dev/null
+++ b/media-libs/capseo/files/digest-capseo-0.2.0_pre200702211
@@ -0,0 +1,3 @@
+MD5 fa54a1e4e79b840409fca5a8ef6d8571 capseo-0.2.0_pre200702211.tar.bz2 457145
+RMD160 a498ad663140c86ecb593e5dca09b8d6e5d7708e capseo-0.2.0_pre200702211.tar.bz2 457145
+SHA256 a74743efcffee1f7c258c73495d9cbf835ae67b38bc07e8801eebb30ecb7397d capseo-0.2.0_pre200702211.tar.bz2 457145
diff --git a/media-libs/libcaptury/ChangeLog b/media-libs/libcaptury/ChangeLog
index 1c8e475..b41f141 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: $
+ 21 Feb 2007; <trapni@gentoo.org> ChangeLog:
+ snapshot bump
+
20 Feb 2007; <trapni@gentoo.org> ChangeLog:
snapshot bump
diff --git a/media-libs/libcaptury/Manifest b/media-libs/libcaptury/Manifest
index 3c41ae9..44a4a69 100644
--- a/media-libs/libcaptury/Manifest
+++ b/media-libs/libcaptury/Manifest
@@ -1,5 +1,6 @@
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
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
@@ -8,13 +9,20 @@ EBUILD libcaptury-0.2.0_pre200702201.ebuild 1890 RMD160 7d8ff9734c84ccac22551b8e
MD5 1a05188a213e50dd1f3ac1e23112bb79 libcaptury-0.2.0_pre200702201.ebuild 1890
RMD160 7d8ff9734c84ccac22551b8e63756cb10067a588 libcaptury-0.2.0_pre200702201.ebuild 1890
SHA256 f804279b307967c12a4cc8617ef7c7540d66406650f90947a52108f00bf0abb4 libcaptury-0.2.0_pre200702201.ebuild 1890
-MISC ChangeLog 249 RMD160 f4e976d73bc025822f813be1cd0b40e73651a4d9 SHA1 a7ecd0c9d231a88a502d8d046eee63b01e9747cb SHA256 2fc61cb14d84104954b085fc7b1ee52416e5609c6222b71335614dc2e61f8931
-MD5 baa472f8f2c0a8463280e339a787a71b ChangeLog 249
-RMD160 f4e976d73bc025822f813be1cd0b40e73651a4d9 ChangeLog 249
-SHA256 2fc61cb14d84104954b085fc7b1ee52416e5609c6222b71335614dc2e61f8931 ChangeLog 249
+EBUILD libcaptury-0.2.0_pre200702211.ebuild 1933 RMD160 1e6c00615bd751065c4876939ea71f545b3096cc SHA1 30c6ca19a5588c6d1723c59bde033d7a6da961f2 SHA256 47d4d70b66e7520a0a6ac878c7315023862ac24148249d4dc040a2441d94ff96
+MD5 63d183d8a24e8ed32b032b74b53183d0 libcaptury-0.2.0_pre200702211.ebuild 1933
+RMD160 1e6c00615bd751065c4876939ea71f545b3096cc libcaptury-0.2.0_pre200702211.ebuild 1933
+SHA256 47d4d70b66e7520a0a6ac878c7315023862ac24148249d4dc040a2441d94ff96 libcaptury-0.2.0_pre200702211.ebuild 1933
+MISC ChangeLog 312 RMD160 3e8e053c5a0cd749fa2699e560f6f9028705b089 SHA1 1525835449bb922ca2d11818f8db4e27e9d85f52 SHA256 4ad3eb3074a33dd6a4c8aa9327dbbac160ec5d68f20e785e168915c56906dd46
+MD5 90f5a8511adb6c188a3686f9e8976c97 ChangeLog 312
+RMD160 3e8e053c5a0cd749fa2699e560f6f9028705b089 ChangeLog 312
+SHA256 4ad3eb3074a33dd6a4c8aa9327dbbac160ec5d68f20e785e168915c56906dd46 ChangeLog 312
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 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
+MD5 31697df60ddcf9b9ed132068e6e7689e files/digest-libcaptury-0.2.0_pre200702211 280
+RMD160 2ee8cc2a98b88796299a8dd24d72ee8379e3a20b files/digest-libcaptury-0.2.0_pre200702211 280
+SHA256 a732dd23cd1af0192675b1a8fa88439d503d2b0614669443f5982c992563fb08 files/digest-libcaptury-0.2.0_pre200702211 280
diff --git a/media-libs/libcaptury/files/digest-libcaptury-0.2.0_pre200702211 b/media-libs/libcaptury/files/digest-libcaptury-0.2.0_pre200702211
new file mode 100644
index 0000000..a7736ac
--- /dev/null
+++ b/media-libs/libcaptury/files/digest-libcaptury-0.2.0_pre200702211
@@ -0,0 +1,3 @@
+MD5 3e3d0444697d3bbdd59b1dec81ed2c7a captury-0.2.0_pre200702211.tar.bz2 32288
+RMD160 876c42b3c7204be8cf089391e1b4d6d6800b1dd5 captury-0.2.0_pre200702211.tar.bz2 32288
+SHA256 6802af166d3defcd92fdffe95fb809bf68996c7cd075d4431df87c74c307bcb9 captury-0.2.0_pre200702211.tar.bz2 32288
diff --git a/media-libs/libcaptury/libcaptury-0.2.0_pre200702211.ebuild b/media-libs/libcaptury/libcaptury-0.2.0_pre200702211.ebuild
new file mode 100644
index 0000000..5ebac88
--- /dev/null
+++ b/media-libs/libcaptury/libcaptury-0.2.0_pre200702211.ebuild
@@ -0,0 +1,90 @@
+# 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/captury/captury-${PV}.tar.bz2"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND=">=media-libs/capseo-0.2.0_pre200702211
+ 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"
+
+S="${WORKDIR}/captury-${PV}/${PN}"
+
+setup_env() {
+ LD_LIBRARY_PATH=
+ LDFLAGS=
+
+ # keep backwards compatibility as long as I *have* to.
+ if use amd64 && [[ ${ABI} = "x86" ]]; then
+ if has_version '<app-emulation/emul-linux-x86-xlibs-7.0-r8'; then
+ LDFLAGS="-L/emul/linux/x86/usr/lib"
+ LD_LIBRARY_PATH="/emul/linux/x86/usr/lib"
+ fi
+ fi
+
+ export LDFLAGS
+ export LD_LIBRARY_PATH
+}
+
+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
+
+ setup_env
+
+ mkdir abi-${ABI}
+ cd abi-${ABI}
+
+ ../configure \
+ --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
+
+ dodoc AUTHORS ChangeLog* NEWS README* TODO
+}
+
+# vim:ai:noet:ts=4:nowrap
diff --git a/media-video/captury/Manifest b/media-video/captury/Manifest
index 7eb3301..b0c1682 100644
--- a/media-video/captury/Manifest
+++ b/media-video/captury/Manifest
@@ -1,5 +1,6 @@
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
EBUILD captury-0.1.0.ebuild 3000 RMD160 04d2c979ac3c6d444ac66aff3b750db1cb5dad9b SHA1 88853f62c1e93046b3f7e6f7adfbf8f964b4ac3d SHA256 caf0a01b0679e090ee1f9d22c1aa1fa3da29ca8d5cddebb80b81086f885b4270
MD5 48d9dd82c8a2c72276824fde41a722ac captury-0.1.0.ebuild 3000
RMD160 04d2c979ac3c6d444ac66aff3b750db1cb5dad9b captury-0.1.0.ebuild 3000
@@ -8,6 +9,10 @@ EBUILD captury-0.2.0_pre200702201.ebuild 3038 RMD160 ba7f41bf42781441c5ff46c02f4
MD5 9fb796fb8bb15e17642d7084fe6b7c1e captury-0.2.0_pre200702201.ebuild 3038
RMD160 ba7f41bf42781441c5ff46c02f44febd8189d727 captury-0.2.0_pre200702201.ebuild 3038
SHA256 f6e7b83618e75da3019bf9452b81b3ee4eb7d0183952ce31c3606e8772eec3dd captury-0.2.0_pre200702201.ebuild 3038
+EBUILD captury-0.2.0_pre200702211.ebuild 3038 RMD160 ba7f41bf42781441c5ff46c02f44febd8189d727 SHA1 de38c5815273cbd075eaddb09ab779e94def684a SHA256 f6e7b83618e75da3019bf9452b81b3ee4eb7d0183952ce31c3606e8772eec3dd
+MD5 9fb796fb8bb15e17642d7084fe6b7c1e captury-0.2.0_pre200702211.ebuild 3038
+RMD160 ba7f41bf42781441c5ff46c02f44febd8189d727 captury-0.2.0_pre200702211.ebuild 3038
+SHA256 f6e7b83618e75da3019bf9452b81b3ee4eb7d0183952ce31c3606e8772eec3dd captury-0.2.0_pre200702211.ebuild 3038
MISC ChangeLog 247 RMD160 f6e3b7fba74a9cab30fb831bed2081330aac9d61 SHA1 26ed335d7d88dfa9b8f437dd1509d705b00b80e4 SHA256 8d2ca2d9e1d4a61b40f7f7e79888817b0ea70b8095ce8f3d6c5fc51ce1f75824
MD5 af0a2845513e22cfbcfbab6f0b9b0450 ChangeLog 247
RMD160 f6e3b7fba74a9cab30fb831bed2081330aac9d61 ChangeLog 247
@@ -18,3 +23,6 @@ SHA256 62edd0067c4e5a75810ce6981e1c62934da049eb0f31f9dcc3e8911c9d852366 files/di
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
+MD5 31697df60ddcf9b9ed132068e6e7689e files/digest-captury-0.2.0_pre200702211 280
+RMD160 2ee8cc2a98b88796299a8dd24d72ee8379e3a20b files/digest-captury-0.2.0_pre200702211 280
+SHA256 a732dd23cd1af0192675b1a8fa88439d503d2b0614669443f5982c992563fb08 files/digest-captury-0.2.0_pre200702211 280
diff --git a/media-video/captury/captury-0.2.0_pre200702211.ebuild b/media-video/captury/captury-0.2.0_pre200702211.ebuild
new file mode 100644
index 0000000..b1ccad8
--- /dev/null
+++ b/media-video/captury/captury-0.2.0_pre200702211.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-${PV}
+ 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"
+
+S="${WORKDIR}/${P}/${PN}"
+
+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
+
+ dodoc AUTHORS ChangeLog* NEWS README* TODO
+}
+
+# vim:ai:noet:ts=4:nowrap
diff --git a/media-video/captury/files/digest-captury-0.2.0_pre200702211 b/media-video/captury/files/digest-captury-0.2.0_pre200702211
new file mode 100644
index 0000000..a7736ac
--- /dev/null
+++ b/media-video/captury/files/digest-captury-0.2.0_pre200702211
@@ -0,0 +1,3 @@
+MD5 3e3d0444697d3bbdd59b1dec81ed2c7a captury-0.2.0_pre200702211.tar.bz2 32288
+RMD160 876c42b3c7204be8cf089391e1b4d6d6800b1dd5 captury-0.2.0_pre200702211.tar.bz2 32288
+SHA256 6802af166d3defcd92fdffe95fb809bf68996c7cd075d4431df87c74c307bcb9 captury-0.2.0_pre200702211.tar.bz2 32288