From: | "Wulf Krueger (philantrop)" <philantrop@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-crypt/qca: ChangeLog qca-2.0.0-r2.ebuild |
Date: | Sun, 13 Jan 2008 17:54:18 |
Message-Id: | E1JE72E-0004Mq-6N@stork.gentoo.org |
1 | philantrop 08/01/13 17:54:14 |
2 | |
3 | Modified: ChangeLog |
4 | Added: qca-2.0.0-r2.ebuild |
5 | Log: |
6 | Version bump as per bug 129536. |
7 | (Portage version: 2.1.4) |
8 | |
9 | Revision Changes Path |
10 | 1.29 app-crypt/qca/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?rev=1.29&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?rev=1.29&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/ChangeLog?r1=1.28&r2=1.29 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v |
19 | retrieving revision 1.28 |
20 | retrieving revision 1.29 |
21 | diff -u -r1.28 -r1.29 |
22 | --- ChangeLog 19 Oct 2006 00:14:00 -0000 1.28 |
23 | +++ ChangeLog 13 Jan 2008 17:54:13 -0000 1.29 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-crypt/qca |
26 | -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.28 2006/10/19 00:14:00 jokey Exp $ |
28 | +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.29 2008/01/13 17:54:13 philantrop Exp $ |
30 | + |
31 | +*qca-2.0.0-r2 (13 Jan 2008) |
32 | + |
33 | + 13 Jan 2008; Wulf C. Krueger <philantrop@g.o> |
34 | + +files/qca-2.0.0-debug-same-pkgconfig-file.patch, +qca-2.0.0-r2.ebuild: |
35 | + Version bump as per bug 129536. |
36 | |
37 | 19 Oct 2006; Markus Ullmann <jokey@g.o> qca-1.0-r2.ebuild: |
38 | minor QA: IUSE wrt bug #150083 |
39 | |
40 | |
41 | |
42 | 1.1 app-crypt/qca/qca-2.0.0-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/qca-2.0.0-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/qca/qca-2.0.0-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: qca-2.0.0-r2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.0-r2.ebuild,v 1.1 2008/01/13 17:54:13 philantrop Exp $ |
52 | |
53 | EAPI="1" |
54 | |
55 | inherit eutils multilib qt4 |
56 | |
57 | DESCRIPTION="Qt Cryptographic Architecture (QCA)" |
58 | HOMEPAGE="http://delta.affinix.com/qca/" |
59 | SRC_URI="http://delta.affinix.com/download/qca/${PV%.*}/${P}.tar.bz2" |
60 | |
61 | LICENSE="LGPL-2" |
62 | SLOT="2" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="debug doc examples" |
65 | RESTRICT="mirror test" |
66 | |
67 | DEPEND=">=x11-libs/qt-4.2.0:4" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | pkg_setup() { |
71 | if use debug && ! built_with_use x11-libs/qt:4 debug; then |
72 | echo |
73 | eerror "You are trying to compile ${PN} package with USE=\"debug\"" |
74 | eerror "while qt4 is built without this particular flag." |
75 | echo |
76 | eerror "Possible solutions to this problem are:" |
77 | eerror "a) install package ${PN} without debug USE flag" |
78 | eerror "b) re-emerge qt4 with debug USE flag" |
79 | echo |
80 | die "can't emerge ${PN} with debug USE flag" |
81 | fi |
82 | } |
83 | |
84 | src_unpack() { |
85 | unpack ${A} |
86 | cd "${S}" |
87 | |
88 | epatch "${FILESDIR}/${P}-debug-same-pkgconfig-file.patch" |
89 | } |
90 | |
91 | src_compile() { |
92 | _libdir=$(get_libdir) |
93 | local myconf |
94 | if use debug; then |
95 | myconf="--debug" |
96 | else |
97 | myconf="--release" |
98 | fi |
99 | |
100 | # Multilib fix. |
101 | sed -e "/pcfiles.path/s:lib:${_libdir}:" \ |
102 | -i "${S}"/configure || die "Multilib fix failed." |
103 | |
104 | ./configure \ |
105 | --prefix=/usr \ |
106 | --qtdir=/usr \ |
107 | --includedir="/usr/include/qca2" \ |
108 | --libdir="/usr/${_libdir}/qca2" \ |
109 | --no-separate-debug-info \ |
110 | --disable-tests \ |
111 | ${myconf} \ |
112 | || die "configure failed" |
113 | |
114 | eqmake4 ${PN}.pro |
115 | emake || die "emake failed" |
116 | } |
117 | |
118 | src_install() { |
119 | emake INSTALL_ROOT="${D}" install || die "emake install failed" |
120 | dodoc README TODO || die "dodoc failed." |
121 | |
122 | cat <<-EOF > "${WORKDIR}"/44qca2 |
123 | LDPATH=/usr/${_libdir}/qca2 |
124 | EOF |
125 | doenvd "${WORKDIR}"/44qca2 |
126 | |
127 | if use doc; then |
128 | dohtml "${S}"/apidocs/html/* || die "Failed to install documentation" |
129 | fi |
130 | |
131 | if use examples; then |
132 | insinto /usr/share/doc/${PF}/ |
133 | doins -r "${S}"/examples || die "Failed to install examples" |
134 | fi |
135 | } |
136 | |
137 | |
138 | |
139 | -- |
140 | gentoo-commits@l.g.o mailing list |