From c001a96eb76c0e2d91d1d4e179cc57e78fc563d1 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Fri, 16 Feb 2007 10:50:11 +0000 Subject: adding libcaptury and captury frontend ebuilds svn path=/overlay/; revision=22 --- media-libs/libcaptury/ChangeLog | 7 ++ media-libs/libcaptury/Manifest | 12 +++ .../libcaptury/files/digest-libcaptury-0.1.0 | 3 + media-libs/libcaptury/libcaptury-0.1.0.ebuild | 66 ++++++++++++++++ media-video/captury/ChangeLog | 7 ++ media-video/captury/Manifest | 12 +++ media-video/captury/captury-0.1.0.ebuild | 90 ++++++++++++++++++++++ media-video/captury/files/digest-captury-0.1.0 | 3 + 8 files changed, 200 insertions(+) create mode 100644 media-libs/libcaptury/ChangeLog create mode 100644 media-libs/libcaptury/Manifest create mode 100644 media-libs/libcaptury/files/digest-libcaptury-0.1.0 create mode 100644 media-libs/libcaptury/libcaptury-0.1.0.ebuild create mode 100644 media-video/captury/ChangeLog create mode 100644 media-video/captury/Manifest create mode 100644 media-video/captury/captury-0.1.0.ebuild create mode 100644 media-video/captury/files/digest-captury-0.1.0 diff --git a/media-libs/libcaptury/ChangeLog b/media-libs/libcaptury/ChangeLog new file mode 100644 index 0000000..f4447f9 --- /dev/null +++ b/media-libs/libcaptury/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for media-libs/libcaptury +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 16 Feb 2007; ChangeLog: + initial import + diff --git a/media-libs/libcaptury/Manifest b/media-libs/libcaptury/Manifest new file mode 100644 index 0000000..ab8db74 --- /dev/null +++ b/media-libs/libcaptury/Manifest @@ -0,0 +1,12 @@ +DIST captury-0.1.0.tar.bz2 34881 RMD160 ee105288e16cd2dc120adfc533f21d01f9e68528 SHA1 1a0ecc20ee557f25584c0f8799581aa7263ed466 SHA256 74dfb36d8275e1c5e1a893b33a2bdd24080887d8441fd80aa1d450342ff1d9a9 +EBUILD libcaptury-0.1.0.ebuild 1458 RMD160 6181fa6e029a079e43b425797115209bde859ea4 SHA1 d462c8ca48baacbee967e371e5a0168d670613ae SHA256 064183a7fa6db0701368fe8567327a321c2c92e53b95885704abed26b4ef9de0 +MD5 330f2859c64884b27b6723acced187a3 libcaptury-0.1.0.ebuild 1458 +RMD160 6181fa6e029a079e43b425797115209bde859ea4 libcaptury-0.1.0.ebuild 1458 +SHA256 064183a7fa6db0701368fe8567327a321c2c92e53b95885704abed26b4ef9de0 libcaptury-0.1.0.ebuild 1458 +MISC ChangeLog 186 RMD160 5872ae9a465d4945dc091199477c214f846116d9 SHA1 0ecc2f1b60f1efe824d759767f97403703340417 SHA256 cb1f8827777dff98664829d67a8ca59074a6e4342c751397f2edca2fb758eee1 +MD5 6304595e350b0b4ba1b3c2ee4001b09c ChangeLog 186 +RMD160 5872ae9a465d4945dc091199477c214f846116d9 ChangeLog 186 +SHA256 cb1f8827777dff98664829d67a8ca59074a6e4342c751397f2edca2fb758eee1 ChangeLog 186 +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 diff --git a/media-libs/libcaptury/files/digest-libcaptury-0.1.0 b/media-libs/libcaptury/files/digest-libcaptury-0.1.0 new file mode 100644 index 0000000..dfd0431 --- /dev/null +++ b/media-libs/libcaptury/files/digest-libcaptury-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 diff --git a/media-libs/libcaptury/libcaptury-0.1.0.ebuild b/media-libs/libcaptury/libcaptury-0.1.0.ebuild new file mode 100644 index 0000000..6188f0b --- /dev/null +++ b/media-libs/libcaptury/libcaptury-0.1.0.ebuild @@ -0,0 +1,66 @@ +# 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 multilib" + +RDEPEND="media-libs/xvid + x11-libs/libX11 + virtual/opengl" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RESTRICT="multilib-pkg-force" + +S="${WORKDIR}/captury-${PV}/${PN}" + +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 $(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 + + mkdir abi-${ABI} + pushd abi-${ABI} + + ../configure \ + --prefix="/usr" \ + --host="$(get_abi_CHOST ${ABI})" \ + --libdir="/usr/$(get_abi_LIBDIR ${ABI})" \ + || die "./configure for ABI ${ABI} failed" + + emake || die "make for ABI ${ABI} failed" + + popd +} + +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 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; 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 -- cgit v1.2.3-65-gdbad