Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-libs/quazip/
Date: Thu, 29 Aug 2013 23:06:58
Message-Id: 1377768450.acd56101fa11e05a2c227d6e3fb70215c6c71be4.pesa@gentoo
1 commit: acd56101fa11e05a2c227d6e3fb70215c6c71be4
2 Author: Uwe L. Korn <uwelk <AT> xhochy <DOT> com>
3 AuthorDate: Mon Aug 26 17:31:48 2013 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 29 09:27:30 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=acd56101
7
8 [dev-libs/quazip] Add 9999 ebuild with qt5 support
9
10 ---
11 dev-libs/quazip/quazip-9999.ebuild | 47 ++++++++++++++++++++++++++++++++++++++
12 1 file changed, 47 insertions(+)
13
14 diff --git a/dev-libs/quazip/quazip-9999.ebuild b/dev-libs/quazip/quazip-9999.ebuild
15 new file mode 100644
16 index 0000000..2886e61
17 --- /dev/null
18 +++ b/dev-libs/quazip/quazip-9999.ebuild
19 @@ -0,0 +1,47 @@
20 +# Copyright 1999-2013 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI=5
25 +
26 +DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
27 +HOMEPAGE="http://quazip.sourceforge.net/"
28 +ESVN_REPO_URI="svn://svn.code.sf.net/p/quazip/code/trunk/quazip"
29 +ESVN_PROJECT="quazip"
30 +
31 +inherit cmake-utils subversion
32 +
33 +LICENSE="LGPL-2.1"
34 +SLOT="0"
35 +KEYWORDS=""
36 +IUSE="doc +qt4 qt5 test"
37 +
38 +RDEPEND="
39 + sys-libs/zlib[minizip]
40 + qt4? ( dev-qt/qtcore:4 )
41 + qt5? ( dev-qt/qtcore:5 )"
42 +DEPEND="${RDEPEND}
43 + doc? ( app-doc/doxygen )
44 + test? (
45 + qt4? ( dev-qt/qttest:4 )
46 + qt5? ( dev-qt/qttest:5 )
47 + )"
48 +
49 +REQUIRED_USE="^^ ( qt4 qt5 )"
50 +
51 +src_configure() {
52 + local mycmakeargs=(
53 + $(cmake-utils_use qt4 BUILD_WITH_QT4)
54 + )
55 +
56 + cmake-utils_src_configure
57 +}
58 +
59 +src_install() {
60 + if use doc; then
61 + doxygen Doxyfile || die "Generating documentation failed"
62 + HTML_DOCS=( doc/html/ )
63 + fi
64 +
65 + cmake-utils_src_install
66 +}