diff options
author | Christian Parpart <trapni@gentoo.org> | 2007-06-14 14:37:53 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2007-06-14 14:37:53 +0000 |
commit | b92728833546e00e0b8e25c4f075cb5cf0993424 (patch) | |
tree | 929d00c719964d0d6e1d5f7b8ce34541f277d0e0 /media-libs/libcaptury | |
parent | Use JAVA_PKG_IUSE. (diff) | |
download | historical-b92728833546e00e0b8e25c4f075cb5cf0993424.tar.gz historical-b92728833546e00e0b8e25c4f075cb5cf0993424.tar.bz2 historical-b92728833546e00e0b8e25c4f075cb5cf0993424.zip |
initial import
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'media-libs/libcaptury')
-rw-r--r-- | media-libs/libcaptury/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/libcaptury/Manifest | 16 | ||||
-rw-r--r-- | media-libs/libcaptury/files/digest-libcaptury-0.3.0_pre200706031 | 3 | ||||
-rw-r--r-- | media-libs/libcaptury/libcaptury-0.3.0_pre200706031.ebuild | 92 | ||||
-rw-r--r-- | media-libs/libcaptury/metadata.xml | 7 |
5 files changed, 128 insertions, 0 deletions
diff --git a/media-libs/libcaptury/ChangeLog b/media-libs/libcaptury/ChangeLog new file mode 100644 index 000000000000..f1720b68c4cf --- /dev/null +++ b/media-libs/libcaptury/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/libcaptury +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaptury/ChangeLog,v 1.1 2007/06/14 14:37:53 trapni Exp $ + +*libcaptury-0.3.0_pre200706031 (14 Jun 2007) + + 14 Jun 2007; <trapni@gentoo.org> +metadata.xml, + +libcaptury-0.3.0_pre200706031.ebuild: + initial import + diff --git a/media-libs/libcaptury/Manifest b/media-libs/libcaptury/Manifest new file mode 100644 index 000000000000..bb651909f167 --- /dev/null +++ b/media-libs/libcaptury/Manifest @@ -0,0 +1,16 @@ +DIST captury-0.3.0_pre200706031.tar.bz2 1215736 RMD160 fedb5db4b560a3fcb225a204f2b58f95c61c393c SHA1 ccd84184b37fe4120c82034fbc3d1cff859d7cbf SHA256 51904c4b1183cf77809ff47bbe6b1cdcffabfdefc301ac838de89a0d4d799289 +EBUILD libcaptury-0.3.0_pre200706031.ebuild 2072 RMD160 c1e06cafc271d4babe3232c8eaa6361891278fe9 SHA1 6dde743d2178cae92cafedf34b346fca8825e42e SHA256 211c608fd504336dbf85e9a98ec5b9bdd7a7c6da826f71535af21cbd2d6efedd +MD5 e7b4f7d9289f005d09bb2ef1eb8793b6 libcaptury-0.3.0_pre200706031.ebuild 2072 +RMD160 c1e06cafc271d4babe3232c8eaa6361891278fe9 libcaptury-0.3.0_pre200706031.ebuild 2072 +SHA256 211c608fd504336dbf85e9a98ec5b9bdd7a7c6da826f71535af21cbd2d6efedd libcaptury-0.3.0_pre200706031.ebuild 2072 +MISC ChangeLog 370 RMD160 f11fbb08b96f7ab1b1368fa9e9cd2d4351e6a97c SHA1 90dfcae9bc96f6262be9094ae884f29687b89dcb SHA256 a585106be61e3b72bd6e36c889046cc53d874ef8db4283ecb098409319293fd5 +MD5 99939d58e6135786cbf36363fc2e3209 ChangeLog 370 +RMD160 f11fbb08b96f7ab1b1368fa9e9cd2d4351e6a97c ChangeLog 370 +SHA256 a585106be61e3b72bd6e36c889046cc53d874ef8db4283ecb098409319293fd5 ChangeLog 370 +MISC metadata.xml 199 RMD160 852e94c35804ed3cf83a7149b577cd41a38e2ea1 SHA1 fda1928420c1ef71f25d78ac4a34e6236d9740fc SHA256 3137765885d09c96954a5018ae5627d0276f743c3d7a1f9cf7f1be517855ac5d +MD5 bff27c36ac89297d86169d3fc2d2ad46 metadata.xml 199 +RMD160 852e94c35804ed3cf83a7149b577cd41a38e2ea1 metadata.xml 199 +SHA256 3137765885d09c96954a5018ae5627d0276f743c3d7a1f9cf7f1be517855ac5d metadata.xml 199 +MD5 1f1a3bd6711b2b55c547d8cc430e47bd files/digest-libcaptury-0.3.0_pre200706031 286 +RMD160 55bc2ad6bbe5354fcb188c2bb0fa2d16ccd7068e files/digest-libcaptury-0.3.0_pre200706031 286 +SHA256 98a25268eff43a13bed753f0aca90340c888b33b891b4311d0b7789e08d9c968 files/digest-libcaptury-0.3.0_pre200706031 286 diff --git a/media-libs/libcaptury/files/digest-libcaptury-0.3.0_pre200706031 b/media-libs/libcaptury/files/digest-libcaptury-0.3.0_pre200706031 new file mode 100644 index 000000000000..ebc7613d1260 --- /dev/null +++ b/media-libs/libcaptury/files/digest-libcaptury-0.3.0_pre200706031 @@ -0,0 +1,3 @@ +MD5 ddeebbde3acfe728dd98d100d5423340 captury-0.3.0_pre200706031.tar.bz2 1215736 +RMD160 fedb5db4b560a3fcb225a204f2b58f95c61c393c captury-0.3.0_pre200706031.tar.bz2 1215736 +SHA256 51904c4b1183cf77809ff47bbe6b1cdcffabfdefc301ac838de89a0d4d799289 captury-0.3.0_pre200706031.tar.bz2 1215736 diff --git a/media-libs/libcaptury/libcaptury-0.3.0_pre200706031.ebuild b/media-libs/libcaptury/libcaptury-0.3.0_pre200706031.ebuild new file mode 100644 index 000000000000..0696fa0215fd --- /dev/null +++ b/media-libs/libcaptury/libcaptury-0.3.0_pre200706031.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaptury/libcaptury-0.3.0_pre200706031.ebuild,v 1.1 2007/06/14 14:37:53 trapni Exp $ + +inherit multilib flag-o-matic + +DESCRIPTION="Captury Framework Library" +HOMEPAGE="http://rm-rf.in/projects/captury/" +SRC_URI="http://upstream.rm-rf.in./captury/captury-${PV}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=media-libs/capseo-0.3.0_pre200706031 + x11-libs/libX11 + x11-libs/libXfixes + virtual/opengl + amd64? ( multilib? ( + 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 + + ABI=${ABI:-default} + + 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-libs/libcaptury/metadata.xml b/media-libs/libcaptury/metadata.xml new file mode 100644 index 000000000000..7f177456d4ef --- /dev/null +++ b/media-libs/libcaptury/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>trapni@gentoo.org</email> +</maintainer> +</pkgmetadata> |