summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/captury')
-rw-r--r--media-video/captury/ChangeLog3
-rw-r--r--media-video/captury/Manifest16
-rw-r--r--media-video/captury/captury-0.2.0_pre200702251.ebuild119
-rw-r--r--media-video/captury/files/digest-captury-0.2.0_pre2007022513
4 files changed, 137 insertions, 4 deletions
diff --git a/media-video/captury/ChangeLog b/media-video/captury/ChangeLog
index c5b6e00..bd1fdf3 100644
--- a/media-video/captury/ChangeLog
+++ b/media-video/captury/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Feb 2007; <trapni@gentoo.org> ChangeLog:
+ snapshot bump
+
20 Feb 2007; <trapni@gentoo.org> ChangeLog:
snapshot bump
diff --git a/media-video/captury/Manifest b/media-video/captury/Manifest
index b0c1682..6804b9f 100644
--- a/media-video/captury/Manifest
+++ b/media-video/captury/Manifest
@@ -1,6 +1,7 @@
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 captury-0.2.0_pre200702251.tar.bz2 442108 RMD160 3be18d34f471102ab37701a1430356d2842a3085 SHA1 9c35e44d075a1c2a45fcb19a0e980fdb3f2145bd SHA256 888ab48e09d8282d14a0fb0f350a174d268cb0bda1b4409df63b6821367af997
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
@@ -13,10 +14,14 @@ EBUILD captury-0.2.0_pre200702211.ebuild 3038 RMD160 ba7f41bf42781441c5ff46c02f4
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
-SHA256 8d2ca2d9e1d4a61b40f7f7e79888817b0ea70b8095ce8f3d6c5fc51ce1f75824 ChangeLog 247
+EBUILD captury-0.2.0_pre200702251.ebuild 3024 RMD160 e9b688a299128d895b28ca8d427f888d13056c88 SHA1 18bdbbe291a32dafbc16354a91cf3377c0814de6 SHA256 4cad8095f6a9547590e8f57c2681f6646afbf66e61b5b744cbab693dfc6db483
+MD5 7ed467ea5c232b0e520e2b47a3b538c8 captury-0.2.0_pre200702251.ebuild 3024
+RMD160 e9b688a299128d895b28ca8d427f888d13056c88 captury-0.2.0_pre200702251.ebuild 3024
+SHA256 4cad8095f6a9547590e8f57c2681f6646afbf66e61b5b744cbab693dfc6db483 captury-0.2.0_pre200702251.ebuild 3024
+MISC ChangeLog 310 RMD160 3baddb462264d9493a8559f944af8a2ccde22f6e SHA1 807b797cfce4fa3e619c56741f6c0665d96a06f0 SHA256 e17cc7e0d5c0ac172854305a57a4f5bf98d92dc2c6db078f57085c09292358ba
+MD5 7bbeb527333e30632fa1cbf8dcc97f21 ChangeLog 310
+RMD160 3baddb462264d9493a8559f944af8a2ccde22f6e ChangeLog 310
+SHA256 e17cc7e0d5c0ac172854305a57a4f5bf98d92dc2c6db078f57085c09292358ba ChangeLog 310
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
@@ -26,3 +31,6 @@ SHA256 1ef15ad7303bd16405813edaae70291ea19e41200240f2f9d1b5e41abac76425 files/di
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
+MD5 65b544428351d1a9bdd86cb3d01b8c6f files/digest-captury-0.2.0_pre200702251 283
+RMD160 90fe0aa715940cf068735f1984bf05da10dd82e9 files/digest-captury-0.2.0_pre200702251 283
+SHA256 40e5d8bac30a13f9c63073a0cebddb6ae8cdac6996ef17ee5a54844a8b46bb6c files/digest-captury-0.2.0_pre200702251 283
diff --git a/media-video/captury/captury-0.2.0_pre200702251.ebuild b/media-video/captury/captury-0.2.0_pre200702251.ebuild
new file mode 100644
index 0000000..bc735c5
--- /dev/null
+++ b/media-video/captury/captury-0.2.0_pre200702251.ebuild
@@ -0,0 +1,119 @@
+# 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_pre200702241
+ 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
+
+ dodoc AUTHORS ChangeLog* NEWS README* TODO
+}
+
+# vim:ai:noet:ts=4:nowrap
diff --git a/media-video/captury/files/digest-captury-0.2.0_pre200702251 b/media-video/captury/files/digest-captury-0.2.0_pre200702251
new file mode 100644
index 0000000..51d6407
--- /dev/null
+++ b/media-video/captury/files/digest-captury-0.2.0_pre200702251
@@ -0,0 +1,3 @@
+MD5 bbfbeea93a999525232c27e6d9129bab captury-0.2.0_pre200702251.tar.bz2 442108
+RMD160 3be18d34f471102ab37701a1430356d2842a3085 captury-0.2.0_pre200702251.tar.bz2 442108
+SHA256 888ab48e09d8282d14a0fb0f350a174d268cb0bda1b4409df63b6821367af997 captury-0.2.0_pre200702251.tar.bz2 442108