Gentoo Archives: gentoo-commits

From: "Dominik Kapusta (ayoy)" <ayoy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/qoauth: qoauth-1.0.1.ebuild ChangeLog
Date: Sun, 01 Aug 2010 15:03:45
Message-Id: 20100801144843.A74082CE15@corvid.gentoo.org
1 ayoy 10/08/01 14:48:43
2
3 Modified: ChangeLog
4 Added: qoauth-1.0.1.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.8 dev-libs/qoauth/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/qoauth/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/qoauth/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/qoauth/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/qoauth/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 20 Dec 2009 19:34:06 -0000 1.7
23 +++ ChangeLog 1 Aug 2010 14:48:43 -0000 1.8
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/qoauth
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/qoauth/ChangeLog,v 1.7 2009/12/20 19:34:06 ayoy Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qoauth/ChangeLog,v 1.8 2010/08/01 14:48:43 ayoy Exp $
30 +
31 +*qoauth-1.0.1 (01 Aug 2010)
32 +
33 + 01 Aug 2010; Dominik Kapusta <ayoy@g.o> +qoauth-1.0.1.ebuild:
34 + Version bump
35
36 20 Dec 2009; Dominik Kapusta <ayoy@g.o> qoauth-1.0-r1.ebuild:
37 Porting to qt4-r2.eclass
38
39
40
41 1.1 dev-libs/qoauth/qoauth-1.0.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/qoauth/qoauth-1.0.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/qoauth/qoauth-1.0.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qoauth-1.0.1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/qoauth/qoauth-1.0.1.ebuild,v 1.1 2010/08/01 14:48:43 ayoy Exp $
51
52 EAPI="2"
53
54 inherit qt4-r2
55
56 DESCRIPTION="A Qt-based library for OAuth support"
57 HOMEPAGE="http://wiki.github.com/ayoy/qoauth"
58 SRC_URI="http://files.ayoy.net/qoauth/release/${PV}/src/${P}-src.tar.bz2"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="debug doc static-libs test"
64
65 COMMON_DEPEND="app-crypt/qca:2[debug?]"
66 DEPEND="${COMMON_DEPEND}
67 doc? ( app-doc/doxygen )"
68 RDEPEND="${COMMON_DEPEND}
69 app-crypt/qca-ossl:2[debug?]"
70
71 S="${WORKDIR}/${P}-src"
72
73 src_prepare() {
74 sed -i -e '/^ *docs \\$/d' \
75 -e '/^ *build_all \\$/d' \
76 -e 's/^\#\(!macx\)/\1/' \
77 src/src.pro || die "sed failed"
78
79 sed -i -e "s/\(.*\)lib$/\1$(get_libdir)/" src/pcfile.sh || die "sed failed"
80
81 if ! use test; then
82 sed -i -e 's/^\(SUBDIRS.*\) tests/\1/' ${PN}.pro || die "sed failed"
83 fi
84 }
85
86 src_compile() {
87 default
88 if use static-libs; then
89 emake -C src static || die "emake failed"
90 fi
91 }
92
93 src_install() {
94 emake INSTALL_ROOT="${D}" install || die "emake install failed"
95 dodoc README CHANGELOG || die "dodoc failed"
96
97 if use static-libs; then
98 dolib.a "${S}/lib/lib${PN}.a" || die "dolib failed"
99 fi
100
101 if use doc; then
102 doxygen "${S}/Doxyfile" || die "Failed to generate documentation"
103 dohtml "${S}"/doc/html/* || die "Failed to install documentation"
104 fi
105 }