Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/qca-gnupg: ChangeLog qca-gnupg-2.0.0_beta3.ebuild
Date: Sun, 31 Aug 2008 00:50:18
Message-Id: E1KZb8y-0000Zl-1z@stork.gentoo.org
1 dragonheart 08/08/31 00:50:16
2
3 Modified: ChangeLog
4 Added: qca-gnupg-2.0.0_beta3.ebuild
5 Log:
6 version bump as per bug #225389 requested by Davide Pesavento
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.22-vs2.2.0.7-gentoo x86_64)
8
9 Revision Changes Path
10 1.8 app-crypt/qca-gnupg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca-gnupg/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca-gnupg/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca-gnupg/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-crypt/qca-gnupg/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 18 Jul 2008 13:04:59 -0000 1.7
23 +++ ChangeLog 31 Aug 2008 00:50:15 -0000 1.8
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-crypt/qca-gnupg
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-gnupg/ChangeLog,v 1.7 2008/07/18 13:04:59 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-gnupg/ChangeLog,v 1.8 2008/08/31 00:50:15 dragonheart Exp $
29 +
30 +*qca-gnupg-2.0.0_beta3 (31 Aug 2008)
31 +
32 + 31 Aug 2008; Daniel Black <dragonheart@g.o>
33 + +qca-gnupg-2.0.0_beta3.ebuild:
34 + version bump as per bug #225389 requested by Davide Pesavento
35
36 18 Jul 2008; Alexis Ballier <aballier@g.o>
37 qca-gnupg-2.0.0_beta2.ebuild:
38
39
40
41 1.1 app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qca-gnupg-2.0.0_beta3.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-gnupg/qca-gnupg-2.0.0_beta3.ebuild,v 1.1 2008/08/31 00:50:15 dragonheart Exp $
51
52 inherit eutils qt4
53
54 MY_P="${P/_/-}"
55 QCA_VER="${PV%.*}"
56
57 DESCRIPTION="GnuPG plugin for QCA"
58 HOMEPAGE="http://delta.affinix.com/qca/"
59 SRC_URI="http://delta.affinix.com/download/qca/${QCA_VER}/plugins/${MY_P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="2"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
64 IUSE="debug"
65
66 DEPEND=">=app-crypt/qca-${QCA_VER}"
67 RDEPEND="${DEPEND}
68 app-crypt/gnupg"
69
70 S="${WORKDIR}/${MY_P}"
71
72 pkg_setup() {
73 if use debug && ! built_with_use ">=app-crypt/qca-${QCA_VER}" debug; then
74 echo
75 eerror "You are trying to compile ${PN} with USE=\"debug\""
76 eerror "while qca is built without this flag. It will not work."
77 echo
78 eerror "Possible solutions to this problem are:"
79 eerror "a) install ${PN} without debug USE flag"
80 eerror "b) re-emerge qca with debug USE flag"
81 echo
82 die "can't emerge ${PN} with debug USE flag"
83 fi
84 }
85
86 src_compile() {
87 # cannot use econf because of non-standard configure script
88 ./configure \
89 --qtdir=/usr \
90 $(use debug && echo "--debug" || echo "--release") \
91 --no-separate-debug-info \
92 || die "configure failed"
93
94 eqmake4 ${PN}.pro
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 emake INSTALL_ROOT="${D}" install || die "emake install failed"
100 }