diff options
author | Christian Parpart <trapni@gentoo.org> | 2007-02-16 10:50:11 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2007-02-16 10:50:11 +0000 |
commit | c001a96eb76c0e2d91d1d4e179cc57e78fc563d1 (patch) | |
tree | afed1797bd35cf502053c6f35eeabdfb86807dc4 /media-video | |
parent | ensuring yacs user/group at pkg_setup() (diff) | |
download | overlay-c001a96eb76c0e2d91d1d4e179cc57e78fc563d1.tar.gz overlay-c001a96eb76c0e2d91d1d4e179cc57e78fc563d1.tar.bz2 overlay-c001a96eb76c0e2d91d1d4e179cc57e78fc563d1.zip |
adding libcaptury and captury frontend ebuilds
svn path=/overlay/; revision=22
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/captury/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/captury/Manifest | 12 | ||||
-rw-r--r-- | media-video/captury/captury-0.1.0.ebuild | 90 | ||||
-rw-r--r-- | media-video/captury/files/digest-captury-0.1.0 | 3 |
4 files changed, 112 insertions, 0 deletions
diff --git a/media-video/captury/ChangeLog b/media-video/captury/ChangeLog new file mode 100644 index 0000000..a023dc5 --- /dev/null +++ b/media-video/captury/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for media-video/captury +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 16 Feb 2007; <trapni@gentoo.org> ChangeLog: + initial import + diff --git a/media-video/captury/Manifest b/media-video/captury/Manifest new file mode 100644 index 0000000..32f0700 --- /dev/null +++ b/media-video/captury/Manifest @@ -0,0 +1,12 @@ +DIST captury-0.1.0.tar.bz2 34881 RMD160 ee105288e16cd2dc120adfc533f21d01f9e68528 SHA1 1a0ecc20ee557f25584c0f8799581aa7263ed466 SHA256 74dfb36d8275e1c5e1a893b33a2bdd24080887d8441fd80aa1d450342ff1d9a9 +EBUILD captury-0.1.0.ebuild 1992 RMD160 7e2a4219049ff9df9258e834522eea8a477a3c66 SHA1 13ef1cbd501696e3ad35a57457772c58e1784007 SHA256 e6e0378d6bfd6797be1b4b44294e158b338a3b79e87f47b466396b5653d4489a +MD5 db6719c743f29195c055f49161ca93a6 captury-0.1.0.ebuild 1992 +RMD160 7e2a4219049ff9df9258e834522eea8a477a3c66 captury-0.1.0.ebuild 1992 +SHA256 e6e0378d6bfd6797be1b4b44294e158b338a3b79e87f47b466396b5653d4489a captury-0.1.0.ebuild 1992 +MISC ChangeLog 184 RMD160 4504a05fbcfa1fa6f33f01b9ce278c955c9666a2 SHA1 3844ec1e837a445c8676d5690b763c048d36e50c SHA256 caf3f26d899bb8d0e08a1ded57e845649c467701e7f8500fa3d446bf26055da6 +MD5 cfea2b388da91ee691ebe1506427406a ChangeLog 184 +RMD160 4504a05fbcfa1fa6f33f01b9ce278c955c9666a2 ChangeLog 184 +SHA256 caf3f26d899bb8d0e08a1ded57e845649c467701e7f8500fa3d446bf26055da6 ChangeLog 184 +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 diff --git a/media-video/captury/captury-0.1.0.ebuild b/media-video/captury/captury-0.1.0.ebuild new file mode 100644 index 0000000..486537c --- /dev/null +++ b/media-video/captury/captury-0.1.0.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 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 multilib" + +RDEPEND="media-libs/xvid + x11-libs/libX11 + virtual/opengl" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RESTRICT="multilib-pkg-force" + +S="${WORKDIR}/${P}/${PN}" + +setup_env() { + myconf="" + makeopts="" + + if [[ ${ABI} != ${DEFAULT_ABI} ]]; then + myconf="${myconf} --disable-builtin-strip-soname" + makeopts="${makeopts} STRIP_SONAME=$(pwd)/../abi-${DEFAULT_ABI}/src/libGLcaptury/strip-soname" + fi +} + +src_compile() { + if [[ -z ${OABI} ]] && ( use multilib || has_multilib_profile ); then + 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} + fi + + use debug && append-flags -O0 -g3 + use debug || append-flags -DNDEBUG=1 + + if [[ ! -f configure ]]; then + ./autogen.sh || die "autogen.sh failed" + fi + + test -d abi-${ABI} && return + + mkdir abi-${ABI} + pushd abi-${ABI} + + einfo "Compiling for ABI ${ABI}..." + einfo + + setup_env + + ../configure ${myconf} \ + --prefix="/usr" \ + --host="${CHOST}" \ + --libdir="/usr/$(get_libdir)" \ + || die "./configure for ABI ${ABI} failed" + + emake ${makeopts} \ + NATIVE_LIBGL="/usr/$(get_libdir)/libGL.so" \ + NATIVE_LIBX11="/usr/$(get_libdir)/libX11.so" \ + || die "make for ABI ${ABI} failed" + + popd +} + +src_install() { + for ABI in $(get_install_abis); do + pushd abi-${ABI} + setup_env + einfo "make ${makeopts} install DESTDIR=\"${D}\"" + make ${makeopts} install DESTDIR="${D}" || die "make install for ABI ${ABI} failed." + popd + done + + dodoc AUTHORS ChangeLog* NEWS README* TODO +} + +# vim:ai:noet:ts=4:nowrap diff --git a/media-video/captury/files/digest-captury-0.1.0 b/media-video/captury/files/digest-captury-0.1.0 new file mode 100644 index 0000000..dfd0431 --- /dev/null +++ b/media-video/captury/files/digest-captury-0.1.0 @@ -0,0 +1,3 @@ +MD5 1abccc753fc1d68790a6cfe9c5af94fa captury-0.1.0.tar.bz2 34881 +RMD160 ee105288e16cd2dc120adfc533f21d01f9e68528 captury-0.1.0.tar.bz2 34881 +SHA256 74dfb36d8275e1c5e1a893b33a2bdd24080887d8441fd80aa1d450342ff1d9a9 captury-0.1.0.tar.bz2 34881 |