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: ChangeLog qca-2.0.1.ebuild
Date: Sun, 31 Aug 2008 00:56:10
Message-Id: E1KZbEd-0000c6-HQ@stork.gentoo.org
1 dragonheart 08/08/31 00:56:07
2
3 Modified: ChangeLog
4 Added: qca-2.0.1.ebuild
5 Log:
6 version bump as per bug #225467 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.43 app-crypt/qca/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 27 Jul 2008 19:14:20 -0000 1.42
23 +++ ChangeLog 31 Aug 2008 00:56:06 -0000 1.43
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-crypt/qca
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.42 2008/07/27 19:14:20 carlo Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.43 2008/08/31 00:56:06 dragonheart Exp $
29 +
30 +*qca-2.0.1 (31 Aug 2008)
31 +
32 + 31 Aug 2008; Daniel Black <dragonheart@g.o> +qca-2.0.1.ebuild:
33 + version bump as per bug #225467 requested by Davide Pesavento
34
35 27 Jul 2008; Carsten Lohrke <carlo@g.o> qca-1.0-r2.ebuild,
36 qca-1.0-r3.ebuild:
37
38
39
40 1.1 app-crypt/qca/qca-2.0.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/qca-2.0.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/qca-2.0.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: qca-2.0.1.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.1.ebuild,v 1.1 2008/08/31 00:56:06 dragonheart Exp $
50
51 EAPI="1"
52
53 inherit eutils multilib qt4
54
55 DESCRIPTION="Qt Cryptographic Architecture (QCA)"
56 HOMEPAGE="http://delta.affinix.com/qca/"
57 SRC_URI="http://delta.affinix.com/download/${PN}/${PV%.*}/${P}.tar.bz2"
58
59 LICENSE="LGPL-2"
60 SLOT="2"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="debug doc examples"
63 RESTRICT="test"
64
65 DEPEND="!<app-crypt/qca-1.0-r3
66 || ( x11-libs/qt-core:4
67 >=x11-libs/qt-4.2.0:4 )"
68 RDEPEND="${DEPEND}"
69
70 pkg_setup() {
71 if use debug; then
72 if has_version "<x11-libs/qt-4.4.0_alpha1:4" && ! built_with_use x11-libs/qt:4 debug; then
73 eerror "You are trying to compile ${PN} with USE=\"debug\""
74 eerror "while x11-libs/qt:4 is built without this particular flag."
75 die "Rebuild x11-libs/qt:4 with USE=\"debug\"."
76 elif has_version "x11-libs/qt-core:4" && ! built_with_use x11-libs/qt-core:4 debug; then
77 eerror "You are trying to compile ${PN} with USE=\"debug\""
78 eerror "while x11-libs/qt-core:4 is built without this particular flag."
79 die "Rebuild x11-libs/qt-core:4 with USE=\"debug\"."
80 fi
81 fi
82 }
83
84 src_compile() {
85 _libdir=$(get_libdir)
86 local myconf
87 use debug && myconf="--debug" || myconf="--release"
88
89 ./configure \
90 --prefix=/usr \
91 --qtdir=/usr \
92 --includedir="/usr/include/qca2" \
93 --libdir="/usr/${_libdir}/qca2" \
94 --no-separate-debug-info \
95 --disable-tests \
96 ${myconf} \
97 || die "configure failed"
98
99 eqmake4 ${PN}.pro
100 emake || die "emake failed"
101 }
102
103 src_install() {
104 emake INSTALL_ROOT="${D}" install || die "emake install failed"
105 dodoc README TODO || die "dodoc failed."
106
107 cat <<-EOF > "${WORKDIR}"/44qca2
108 LDPATH=/usr/${_libdir}/qca2
109 EOF
110 doenvd "${WORKDIR}"/44qca2
111
112 if use doc; then
113 dohtml "${S}"/apidocs/html/* || die "Failed to install documentation"
114 fi
115
116 if use examples; then
117 insinto /usr/share/doc/${PF}/
118 doins -r "${S}"/examples || die "Failed to install examples"
119 fi
120 }