diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-03-09 15:26:18 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-03-09 15:26:18 +0000 |
commit | a1fd44c4623aa1d3183c2fc48b1938c22df8cd06 (patch) | |
tree | f408a51b212cd0493dfa61fc05f36e02ed18abf6 /dev-libs/quazip | |
parent | Version bump. Fix bug 420245. (diff) | |
download | gentoo-2-a1fd44c4623aa1d3183c2fc48b1938c22df8cd06.tar.gz gentoo-2-a1fd44c4623aa1d3183c2fc48b1938c22df8cd06.tar.bz2 gentoo-2-a1fd44c4623aa1d3183c2fc48b1938c22df8cd06.zip |
Version Bump
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-libs/quazip')
-rw-r--r-- | dev-libs/quazip/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/quazip/quazip-0.7.1.ebuild | 73 |
2 files changed, 80 insertions, 2 deletions
diff --git a/dev-libs/quazip/ChangeLog b/dev-libs/quazip/ChangeLog index d2dfa29432e7..85f49380fe4a 100644 --- a/dev-libs/quazip/ChangeLog +++ b/dev-libs/quazip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/quazip -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/ChangeLog,v 1.38 2014/07/17 12:37:30 jlec Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/ChangeLog,v 1.39 2015/03/09 15:26:18 jlec Exp $ + +*quazip-0.7.1 (09 Mar 2015) + + 09 Mar 2015; Justin Lecher <jlec@gentoo.org> +quazip-0.7.1.ebuild: + Version Bump *quazip-0.6.2-r1 (17 Jul 2014) diff --git a/dev-libs/quazip/quazip-0.7.1.ebuild b/dev-libs/quazip/quazip-0.7.1.ebuild new file mode 100644 index 000000000000..2fb1e6423040 --- /dev/null +++ b/dev-libs/quazip/quazip-0.7.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/quazip-0.7.1.ebuild,v 1.1 2015/03/09 15:26:18 jlec Exp $ + +EAPI=5 + +inherit multilib qmake-utils + +DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package" +HOMEPAGE="http://quazip.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="test qt4 qt5" + +REQUIRED_USE="^^ ( qt4 qt5 )" + +RDEPEND=" + sys-libs/zlib[minizip] + qt4? ( dev-qt/qtcore:4 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + ) + " +DEPEND="${RDEPEND} + test? ( + qt4? ( dev-qt/qttest:4 ) + qt5? ( dev-qt/qttest:5 ) + )" + +S="${WORKDIR}"/${P} + +DOCS="NEWS.txt README.txt" +HTML_DOCS=( doc/html/. ) + +MULTIBUILD_VARIANTS=( qt4 qt5 ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.1-prll.patch +) + +src_prepare() { + sed \ + -e "s:\/lib/:\/$(get_libdir)\/:g" \ + -i ${PN}/${PN}.pro || die + + echo "PREFIX=${EPREFIX}/usr" >> ${PN}/${PN}.pri || die + + use test || sed -e 's:qztest::g' -i ${PN}.pro || die +} + +src_configure() { + if use qt5; then + eqmake5 + else + eqmake4 + fi +} + +src_test() { + cd qztest || die + LD_LIBRARY_PATH="${BUILD_DIR}"/${PN} ./qztest || die +} + +src_install() { + emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install + einstalldocs + insinto /usr/share/cmake/Modules + doins FindQuaZip.cmake +} |