summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2010-01-13 18:44:41 +0000
committerJonathan Callen <jcallen@gentoo.org>2010-01-13 18:44:41 +0000
commitda985f31e69b3fcec020d53ca4555513eddd63ac (patch)
treef1ea08c8eaa51fe386d47782e6de0d30af18c8b3 /app-crypt/qca
parentEnable support for JRuby. (diff)
downloadhistorical-da985f31e69b3fcec020d53ca4555513eddd63ac.tar.gz
historical-da985f31e69b3fcec020d53ca4555513eddd63ac.tar.bz2
historical-da985f31e69b3fcec020d53ca4555513eddd63ac.zip
Add initial USE=aqua support, fix rpaths for prefix
Package-Manager: portage--svn/cvs/Linux i686
Diffstat (limited to 'app-crypt/qca')
-rw-r--r--app-crypt/qca/ChangeLog7
-rw-r--r--app-crypt/qca/Manifest14
-rw-r--r--app-crypt/qca/qca-2.0.2-r2.ebuild19
3 files changed, 33 insertions, 7 deletions
diff --git a/app-crypt/qca/ChangeLog b/app-crypt/qca/ChangeLog
index d4146dfe685a..7f6fcec380b4 100644
--- a/app-crypt/qca/ChangeLog
+++ b/app-crypt/qca/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-crypt/qca
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.80 2009/12/29 18:10:42 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.81 2010/01/13 18:44:41 abcd Exp $
+
+ 13 Jan 2010; Jonathan Callen <abcd@gentoo.org> qca-2.0.2-r2.ebuild:
+ Add initial USE=aqua support, fix rpaths for prefix
29 Dec 2009; Raúl Porcel <armin76@gentoo.org> qca-2.0.2-r2.ebuild:
Add ~arm wrt #288000
diff --git a/app-crypt/qca/Manifest b/app-crypt/qca/Manifest
index df19d42e8eab..3ef0d3f490db 100644
--- a/app-crypt/qca/Manifest
+++ b/app-crypt/qca/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX qca-2.0.2-pcfilespath.patch 409 RMD160 65368cb474f2dd1d79b0c9d00424831acd777465 SHA1 a2defc2ae7d3dc31986f89cb8ec2760df85cb208 SHA256 d4d276c13f08bc538b79779aba49126b310df5c97f95b2c7010de050c880d695
DIST qca-2.0.2.tar.bz2 1937201 RMD160 18b0f497709f9700227644977946735d2ec3c623 SHA1 5a414c3296cd37d1ec34182be0d089c5073f55a8 SHA256 49b5474450104a2298747c243de1451ab7a6aeed4bf7df43ffa4b7128a2837b8
-EBUILD qca-2.0.2-r2.ebuild 1629 RMD160 4dee8c9807c8a04285b757ad38cfbe9814fb5c23 SHA1 affb86afd216413913ea01567a81df7fa40d9771 SHA256 eb632f909d7dcf20bcf9f6bfc347a7144e70081022a965f9ec9719afb495322e
-MISC ChangeLog 9801 RMD160 5736b58fd6d192ba705a4d65bc59d845c0a248b9 SHA1 bc94154519aa982bbf712bbb5ef1d2339fd1195d SHA256 ef015f03a9937405267289f3f8bd81e62b2720af98be6da52fee5c65e337764c
+EBUILD qca-2.0.2-r2.ebuild 2087 RMD160 8e69e7b70316f7ef6fa9c364e2f5a93a0b91af30 SHA1 79830f4c0dfad5bf510e203d1083a4c8a42bd324 SHA256 f84b514edb711d6c991839e2d51ac9370ff14e8f6a2786f9f04b67e7cb21979f
+MISC ChangeLog 9923 RMD160 43fc9eb5f1cfd2097518deebed475d0c3d17b8c7 SHA1 76fa3a83423b336acf42b02bff6a8a675d3fcd11 SHA256 43c15c9c93ef3654095f5dfe96a56472ab06bcec9de17c140f2ce4dd93e4833a
MISC metadata.xml 192 RMD160 421d4665996ea38fdfc756e2da700603abe17ec7 SHA1 c32af4b790776c36b524e5f2e2dca587c9cd3351 SHA256 e585d77a075b30463ad28cc89374f9ef2876636bca95a23321b824e0122aa6fd
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAktOFKIACgkQOypDUo0oQOpRQQCgqEyFdm4sXkm/TDBeMHrV1M9g
+TgQAoIKc3rdx6806lYkaVC2T7JKoVw/h
+=yCuw
+-----END PGP SIGNATURE-----
diff --git a/app-crypt/qca/qca-2.0.2-r2.ebuild b/app-crypt/qca/qca-2.0.2-r2.ebuild
index 7040132cb9a8..fb7105cf8a52 100644
--- a/app-crypt/qca/qca-2.0.2-r2.ebuild
+++ b/app-crypt/qca/qca-2.0.2-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.2-r2.ebuild,v 1.11 2009/12/29 18:10:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.2-r2.ebuild,v 1.12 2010/01/13 18:44:41 abcd Exp $
EAPI="2"
@@ -13,7 +13,7 @@ SRC_URI="http://delta.affinix.com/download/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="debug doc examples"
+IUSE="aqua debug doc examples"
RESTRICT="test"
DEPEND="x11-libs/qt-core:4[debug?]"
@@ -23,6 +23,10 @@ RDEPEND="${DEPEND}
src_prepare() {
epatch "${FILESDIR}"/${P}-pcfilespath.patch
+
+ use aqua && sed -i \
+ -e "s|QMAKE_LFLAGS_SONAME =.*|QMAKE_LFLAGS_SONAME = -Wl,-install_name,|g" \
+ src/src.pro
}
src_configure() {
@@ -30,6 +34,9 @@ src_configure() {
_libdir=$(get_libdir)
+ # Ensure proper rpath
+ export EXTRA_QMAKE_RPATH="${EPREFIX}/usr/${_libdir}/qca2"
+
./configure \
--prefix="${EPREFIX}"/usr \
--qtdir="${EPREFIX}"/usr \
@@ -39,6 +46,7 @@ src_configure() {
--no-separate-debug-info \
--disable-tests \
--$(use debug && echo debug || echo release) \
+ --no-framework \
|| die "configure failed"
eqmake4
@@ -61,4 +69,9 @@ src_install() {
insinto /usr/share/doc/${PF}/
doins -r "${S}"/examples || die "Failed to install examples"
fi
+
+ # add the proper rpath for packages that do CONFIG += crypto
+ echo "QMAKE_RPATHDIR += \"${EPREFIX}/usr/${_libdir}/qca2\"" >> \
+ "${D%/}${EPREFIX}/usr/share/qt4/mkspecs/features/crypto.prf" \
+ || die "failed to add rpath to crypto.prf"
}