ChangeLog

# ChangeLog for app-crypt/qca-gnupg
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-gnupg/ChangeLog,v 1.6 2008/03/27 16:59:48 jer Exp $

27 Mar 2008; Jeroen Roovers qca-gnupg-2.0.0_beta2.ebuild:
Marked ~hppa (bug #211667).

27 Mar 2008; Markus Rothe
qca-gnupg-2.0.0_beta2.ebuild:
Added ~ppc

26 Mar 2008; Raúl Porcel
qca-gnupg-2.0.0_beta2.ebuild:
Add ~alpha/~ia64/~sparc wrt #213868

15 Mar 2008; Markus Rothe
qca-gnupg-2.0.0_beta2.ebuild:
Added ~ppc64

14 Jan 2008; Wulf C. Krueger metadata.xml,
qca-gnupg-2.0.0_beta2.ebuild:
Removed accidental RESTRICT=mirror and updated metadata.xml.

13 Jan 2008; Wulf C. Krueger +metadata.xml,
+qca-gnupg-2.0.0_beta2.ebuild:
Initial import to the tree as per bug 129536.

*qca-gnupg-2.0.0_beta2 (15 Dec 2007)

15 Dec 2007; Ingmar Vanhassel
-qca-gnupg-2.0.0_beta1.ebuild, +qca-gnupg-2.0.0_beta2.ebuild:
Added qca-gnupg-2.0.0_beta2.ebuild.

06 Nov 2007; Ingmar Vanhassel
+qca-gnupg-2.0.0_beta1.ebuild, -qca-gnupg-0.1_p20070904-r1.ebuild:
Added qca-gnupg-2.0.0_beta1.ebuild, thanks to Davide Pesavento in Bug 129536.

04 Oct 2007; Emanuele A. Bagnaschi
-qca-gnupg-0.1_p20070904.ebuild, qca-gnupg-0.1_p20070904-r1.ebuild:
Minor changes to the ebuild, thanks to Davide Pesavento. See bug #129536.
Removed '-r0' ebuild.

10 Sep 2007; Emanuele A. Bagnaschi
+qca-gnupg-0.1_p20070904-r1.ebuild:
Updated to reflect change about the behaviour of debug builds.
Thanks to Davide Pesavento.

10 Sep 2007; Emanuele A. Bagnaschi
+qca-gnupg-0.1_p20070904-r1.ebuild:
Updated to reflect change about the behaviour of debug builds.

07 Sep 2007; Emanuele A. Bagnaschi
+qca-gnupg-0.1_p20070904.ebuild:
Added qca-gnupg-0.1_p20070904. Moving to a more sane qca2 framework. Many
thanks to Davide Pesavento and Alon Bar-Lev, see bug #129536.

Manifest

DIST qca-gnupg-2.0.0-beta2.tar.bz2 34667 RMD160 c28d37a5d045e3f5e2102b1b98d422b4d8d7b310 SHA1 d7b7834132f40c73ad6bf589951949b878868906 SHA256 dbd478ff53545489227fab57106fc4e9e6ddd7cb7d6e6ca3ce7fe09a61202205
EBUILD qca-gnupg-2.0.0_beta2.ebuild 1441 RMD160 ca2ca71b0e2fafefc2c13e7faecc55e6d370373a SHA1 8ad53721b042d85b7e79eef6d43af56ae4325634 SHA256 47c72aef7243f7c4cfdee63175a543e3b8653bc1c5756ecbdb505f3f5554f785
MISC ChangeLog 2175 RMD160 312bb90762813055d6c245420979e84c13b646e1 SHA1 936d029cff32110b23ae59bb2c088b517186d3ca SHA256 c9478c249f7ba94ccc595717e0d8050b9a4e6d66b8a0df90764be49d3942ecdf
MISC metadata.xml 192 RMD160 745ecce4d913885d0c5794b96fafd63a29a6e19e SHA1 fe4c3a2accae45b2ade98c5b45a3bd4533aac681 SHA256 2f70cf009da734f5a0166d90a267b186b6a4148cec4778a7f27ca8ef38709096

metadata.xml




kde
crypto
qt

qca-gnupg-2.0.0_beta2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta2.ebuild,v 1.6 2008/03/27 16:59:48 jer Exp $

inherit eutils qt4

MY_P="${P/_/-}"
QCA_VER="${PV%.*}"

DESCRIPTION="GnuPG plugin for QCA"
HOMEPAGE="http://delta.affinix.com/qca/"
SRC_URI="http://delta.affinix.com/download/qca/${QCA_VER}/plugins/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug"

DEPEND=">=app-crypt/qca-${QCA_VER}"
RDEPEND="${DEPEND}
app-crypt/gnupg"

S="${WORKDIR}/${MY_P}"

pkg_setup() {
if use debug && ! built_with_use ">=app-crypt/qca-${QCA_VER}" debug; then
echo
eerror "You are trying to compile ${PN} with USE=\"debug\""
eerror "while qca is built without this flag. It will not work."
echo
eerror "Possible solutions to this problem are:"
eerror "a) install ${PN} without debug USE flag"
eerror "b) re-emerge qca with debug USE flag"
echo
die "can't emerge ${PN} with debug USE flag"
fi
}

src_compile() {
# cannot use econf because of non-standard configure script
./configure \
--qtdir=/usr \
$(use debug && echo "--debug" || echo "--release") \
--no-separate-debug-info \
|| die "configure failed"

eqmake4 ${PN}.pro
emake || die "emake failed"
}

src_install() {
emake INSTALL_ROOT="${D}" install || die "emake install failed"
}