From deeb0420ead93fec5f123c96468ca7d35204a235 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sun, 27 Apr 2008 21:47:10 +0200 Subject: [PATCH] Bump to app-crypt/qca-gnupg-2.0.0_beta3. --- app-crypt/qca-gnupg/Manifest | 3 ++ app-crypt/qca-gnupg/metadata.xml | 7 ++++ app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild | 53 ++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 app-crypt/qca-gnupg/Manifest create mode 100644 app-crypt/qca-gnupg/metadata.xml create mode 100644 app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild diff --git a/app-crypt/qca-gnupg/Manifest b/app-crypt/qca-gnupg/Manifest new file mode 100644 index 0000000..098cc6a --- /dev/null +++ b/app-crypt/qca-gnupg/Manifest @@ -0,0 +1,3 @@ +DIST qca-gnupg-2.0.0-beta3.tar.bz2 38177 RMD160 2531d81179e0b78cc3689c7891b4c6c60d56a422 SHA1 77e3874b9ed427e281b23b9bf41ecc95e74f7053 SHA256 b255bc52050811cfdc4256bb48223b7b6d9ca553b6185e98190de15e4b5fffcd +EBUILD qca-gnupg-2.0.0_beta3.ebuild 1441 RMD160 ca2ca71b0e2fafefc2c13e7faecc55e6d370373a SHA1 8ad53721b042d85b7e79eef6d43af56ae4325634 SHA256 47c72aef7243f7c4cfdee63175a543e3b8653bc1c5756ecbdb505f3f5554f785 +MISC metadata.xml 192 RMD160 745ecce4d913885d0c5794b96fafd63a29a6e19e SHA1 fe4c3a2accae45b2ade98c5b45a3bd4533aac681 SHA256 2f70cf009da734f5a0166d90a267b186b6a4148cec4778a7f27ca8ef38709096 diff --git a/app-crypt/qca-gnupg/metadata.xml b/app-crypt/qca-gnupg/metadata.xml new file mode 100644 index 0000000..1bbdcda --- /dev/null +++ b/app-crypt/qca-gnupg/metadata.xml @@ -0,0 +1,7 @@ + + + +kde +crypto +qt + diff --git a/app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild b/app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild new file mode 100644 index 0000000..14e8dab --- /dev/null +++ b/app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild @@ -0,0 +1,53 @@ +# 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" +} -- 2.11.4.GIT