summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2007-02-20 01:26:48 +0000
committerChristian Parpart <trapni@gentoo.org>2007-02-20 01:26:48 +0000
commit1d4c559f3a2cf156c249639539106908184aeb95 (patch)
treef8990fd4b144ab778b5ab6a7e7c4e4ddc29da49b /media-video
parentversion bump (diff)
downloadoverlay-1d4c559f3a2cf156c249639539106908184aeb95.tar.gz
overlay-1d4c559f3a2cf156c249639539106908184aeb95.tar.bz2
overlay-1d4c559f3a2cf156c249639539106908184aeb95.zip
snapshot bumps of libcaptury and captury
svn path=/overlay/; revision=36
Diffstat (limited to 'media-video')
-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
4 files changed, 135 insertions, 0 deletions
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