summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-02 07:17:06 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-02 07:17:06 +0000
commitb9bc54126d911ebef873a70a847c748f8fb28b2e (patch)
treeff5d558fe74f1ed5b733354306d8c3606f4443ea
parentdev-perl => perl-core migration (diff)
downloadgentoo-2-b9bc54126d911ebef873a70a847c748f8fb28b2e.tar.gz
gentoo-2-b9bc54126d911ebef873a70a847c748f8fb28b2e.tar.bz2
gentoo-2-b9bc54126d911ebef873a70a847c748f8fb28b2e.zip
Add ppc/ppc64 love for KDE 4.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26.2 x86_64)
-rw-r--r--media-libs/libcaptury/ChangeLog6
-rw-r--r--media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild47
2 files changed, 24 insertions, 29 deletions
diff --git a/media-libs/libcaptury/ChangeLog b/media-libs/libcaptury/ChangeLog
index a8e511e8d241..6e359e049352 100644
--- a/media-libs/libcaptury/ChangeLog
+++ b/media-libs/libcaptury/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libcaptury
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaptury/ChangeLog,v 1.7 2008/10/13 19:55:19 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaptury/ChangeLog,v 1.8 2008/11/02 07:17:06 vapier Exp $
+
+ 02 Nov 2008; Mike Frysinger <vapier@gentoo.org>
+ libcaptury-0.3.0_pre200712251-r2.ebuild:
+ Add ppc/ppc64 love for KDE 4.
*libcaptury-0.3.0_pre200712251-r2 (13 Oct 2008)
diff --git a/media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild b/media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild
index da0d8f3a916d..4997d8bbfe31 100644
--- a/media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild
+++ b/media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild
@@ -1,28 +1,29 @@
# Copyright 1999-2008 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_pre200712251-r2.ebuild,v 1.1 2008/10/13 19:55:19 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild,v 1.2 2008/11/02 07:17:06 vapier 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"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="debug multilib"
RDEPEND=">=media-libs/capseo-0.3.0_pre200712251
- x11-libs/libX11
- x11-libs/libXfixes
- virtual/opengl
- amd64? ( multilib? (
- app-emulation/emul-linux-x86-xlibs
- app-emulation/emul-linux-x86-medialibs
- ) )"
+ x11-libs/libX11
+ x11-libs/libXfixes
+ virtual/opengl
+ amd64? ( multilib? (
+ >=app-emulation/emul-linux-x86-xlibs-20071114
+ app-emulation/emul-linux-x86-medialibs
+ ) )"
DEPEND="${RDEPEND}
- dev-util/pkgconfig"
+ dev-util/pkgconfig"
EMULTILIB_PKG="true"
@@ -35,26 +36,20 @@ pkg_setup() {
}
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
-
# workaround for users having FEATURES=ccache set, as ccache doesn't, play
# nice to multilib builds (see bug 206822)
filter-flags -DABI=*
append-flags -DABI=${ABI}
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if [[ ! -f configure ]]; then
+ ./autogen.sh || die "autogen.sh failed"
+ fi
+}
+
src_compile() {
if [[ -z ${OABI} ]] && has_multilib_profile; then
use debug && append-flags -O0 -g3
@@ -72,10 +67,6 @@ src_compile() {
cd "${S}"
- if [[ ! -f configure ]]; then
- ./autogen.sh || die "autogen.sh failed"
- fi
-
ABI=${ABI:-default}
setup_env