summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libcaptury/ChangeLog3
-rw-r--r--media-libs/libcaptury/Manifest12
-rw-r--r--media-libs/libcaptury/files/digest-libcaptury-0.2.0_pre2007022013
-rw-r--r--media-libs/libcaptury/libcaptury-0.2.0_pre200702201.ebuild89
-rw-r--r--media-video/captury/ChangeLog3
-rw-r--r--media-video/captury/Manifest8
-rw-r--r--media-video/captury/captury-0.2.0_pre200702201.ebuild121
-rw-r--r--media-video/captury/files/digest-captury-0.2.0_pre2007022013
8 files changed, 242 insertions, 0 deletions
diff --git a/media-libs/libcaptury/ChangeLog b/media-libs/libcaptury/ChangeLog
index f4447f9..1c8e475 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: $
+ 20 Feb 2007; <trapni@gentoo.org> ChangeLog:
+ snapshot bump
+
16 Feb 2007; <trapni@gentoo.org> ChangeLog:
initial import
diff --git a/media-libs/libcaptury/Manifest b/media-libs/libcaptury/Manifest
index 382144e..a581fa5 100644
--- a/media-libs/libcaptury/Manifest
+++ b/media-libs/libcaptury/Manifest
@@ -1,8 +1,17 @@
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
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_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
+SHA256 f804279b307967c12a4cc8617ef7c7540d66406650f90947a52108f00bf0abb4 libcaptury-0.2.0_pre200702201.ebuild 1890
+MISC .libcaptury-0.2.0_pre200702201.ebuild.swp 12288 RMD160 cd8f91fd039802b70d1091e9359b1e2fe06f39ae SHA1 42d833113ec6aa88d7105dff0a09b22831f3ba6a SHA256 2bd5f88936a2073263ef9599d9996bfe1ce5b635ad595b70a78dccd26c7322b5
+MD5 c48f6d472279362d5003b19f62bcf8e1 .libcaptury-0.2.0_pre200702201.ebuild.swp 12288
+RMD160 cd8f91fd039802b70d1091e9359b1e2fe06f39ae .libcaptury-0.2.0_pre200702201.ebuild.swp 12288
+SHA256 2bd5f88936a2073263ef9599d9996bfe1ce5b635ad595b70a78dccd26c7322b5 .libcaptury-0.2.0_pre200702201.ebuild.swp 12288
MISC ChangeLog 186 RMD160 5872ae9a465d4945dc091199477c214f846116d9 SHA1 0ecc2f1b60f1efe824d759767f97403703340417 SHA256 cb1f8827777dff98664829d67a8ca59074a6e4342c751397f2edca2fb758eee1
MD5 6304595e350b0b4ba1b3c2ee4001b09c ChangeLog 186
RMD160 5872ae9a465d4945dc091199477c214f846116d9 ChangeLog 186
@@ -10,3 +19,6 @@ SHA256 cb1f8827777dff98664829d67a8ca59074a6e4342c751397f2edca2fb758eee1 ChangeLo
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
diff --git a/media-libs/libcaptury/files/digest-libcaptury-0.2.0_pre200702201 b/media-libs/libcaptury/files/digest-libcaptury-0.2.0_pre200702201
new file mode 100644
index 0000000..c6e4024
--- /dev/null
+++ b/media-libs/libcaptury/files/digest-libcaptury-0.2.0_pre200702201
@@ -0,0 +1,3 @@
+MD5 1a2090955160f73e6ec2c428b3878d32 captury-0.2.0_pre200702201.tar.bz2 32418
+RMD160 23040d7f96ebfccb747951b4c4d0e8b9759d7865 captury-0.2.0_pre200702201.tar.bz2 32418
+SHA256 45e46f7cec58eebb8fc4be9330bbda98297dac3eb93a2737c01f2433278cce63 captury-0.2.0_pre200702201.tar.bz2 32418
diff --git a/media-libs/libcaptury/libcaptury-0.2.0_pre200702201.ebuild b/media-libs/libcaptury/libcaptury-0.2.0_pre200702201.ebuild
new file mode 100644
index 0000000..9e170ab
--- /dev/null
+++ b/media-libs/libcaptury/libcaptury-0.2.0_pre200702201.ebuild
@@ -0,0 +1,89 @@
+# 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
+ x11-libs/libX11
+ 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/ChangeLog b/media-video/captury/ChangeLog
index a023dc5..c5b6e00 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: $
+ 20 Feb 2007; <trapni@gentoo.org> ChangeLog:
+ snapshot bump
+
16 Feb 2007; <trapni@gentoo.org> ChangeLog:
initial import
diff --git a/media-video/captury/Manifest b/media-video/captury/Manifest
index 5beb25d..a1a733e 100644
--- a/media-video/captury/Manifest
+++ b/media-video/captury/Manifest
@@ -1,8 +1,13 @@
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
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
SHA256 caf0a01b0679e090ee1f9d22c1aa1fa3da29ca8d5cddebb80b81086f885b4270 captury-0.1.0.ebuild 3000
+EBUILD captury-0.2.0_pre200702201.ebuild 3030 RMD160 a0538a49b7036796d8798db641d737c46a236af5 SHA1 0f40e7a0e86cf559bfc5ee2abdc85ee4b66ed0d0 SHA256 0b9d0f449fff1e4161e592222e988720783ac4142ff380ae93846fef5cd2c0e9
+MD5 e124df6bb40d42cf1fcae02a829de0fc captury-0.2.0_pre200702201.ebuild 3030
+RMD160 a0538a49b7036796d8798db641d737c46a236af5 captury-0.2.0_pre200702201.ebuild 3030
+SHA256 0b9d0f449fff1e4161e592222e988720783ac4142ff380ae93846fef5cd2c0e9 captury-0.2.0_pre200702201.ebuild 3030
MISC ChangeLog 184 RMD160 4504a05fbcfa1fa6f33f01b9ce278c955c9666a2 SHA1 3844ec1e837a445c8676d5690b763c048d36e50c SHA256 caf3f26d899bb8d0e08a1ded57e845649c467701e7f8500fa3d446bf26055da6
MD5 cfea2b388da91ee691ebe1506427406a ChangeLog 184
RMD160 4504a05fbcfa1fa6f33f01b9ce278c955c9666a2 ChangeLog 184
@@ -10,3 +15,6 @@ SHA256 caf3f26d899bb8d0e08a1ded57e845649c467701e7f8500fa3d446bf26055da6 ChangeLo
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 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_pre200702201.ebuild b/media-video/captury/captury-0.2.0_pre200702201.ebuild
new file mode 100644
index 0000000..ed8542d
--- /dev/null
+++ b/media-video/captury/captury-0.2.0_pre200702201.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
+ 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_pre200702201 b/media-video/captury/files/digest-captury-0.2.0_pre200702201
new file mode 100644
index 0000000..c6e4024
--- /dev/null
+++ b/media-video/captury/files/digest-captury-0.2.0_pre200702201
@@ -0,0 +1,3 @@
+MD5 1a2090955160f73e6ec2c428b3878d32 captury-0.2.0_pre200702201.tar.bz2 32418
+RMD160 23040d7f96ebfccb747951b4c4d0e8b9759d7865 captury-0.2.0_pre200702201.tar.bz2 32418
+SHA256 45e46f7cec58eebb8fc4be9330bbda98297dac3eb93a2737c01f2433278cce63 captury-0.2.0_pre200702201.tar.bz2 32418