From 2018227e9344edb9da15fc6a4a8298086cc2aa77 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 2 Jun 2019 21:45:28 +0100 Subject: gentoo resync : 02.06.2019 --- dev-libs/quazip/Manifest | 2 ++ dev-libs/quazip/quazip-0.8.1.ebuild | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-libs/quazip/quazip-0.8.1.ebuild (limited to 'dev-libs/quazip') diff --git a/dev-libs/quazip/Manifest b/dev-libs/quazip/Manifest index 8fd0aaecca7f..1e82c594959d 100644 --- a/dev-libs/quazip/Manifest +++ b/dev-libs/quazip/Manifest @@ -1,3 +1,5 @@ DIST quazip-0.7.6.tar.gz 149029 BLAKE2B 7eb99f550dc06d8d2911b22214294accaa5126657598bfd60614267715ea968790f470cea2820e1a78a8581ab0d4b75c90589c0da1ae815067e083e389020762 SHA512 4325a69918216bb66c6a7c53589ef73473c3752151522a135dd9c92dbf722b29656aea7be0314c84399a214391eca79296ecda5811ab31845d8cf53c010110d1 +DIST quazip-0.8.1.tar.gz 150584 BLAKE2B 4a1d61b65b01eee06e1292ee88b543675c77ac922d0fb1726ac0afd447d74e8c8154db82da0ce95c2f2c303c036f2795e8938a412dc22e921ee09a0ef99278f6 SHA512 d65dab16c2cbc4d8bb23dae5b2fdff5ef787aaff2653b8e75c3fc8ba1701f5568a52bdde39009f83c5069a9fe3331cd1a49cf965822c4180e88bbc341faa2bfb EBUILD quazip-0.7.6.ebuild 1128 BLAKE2B c688ed7a4574358ea89fbeb4965e23e3c25ed78a71dae0f202d98274322a1752f35a10e3a4a9442fd28676b96885037c3b3b71ce988a01d8301ef74586cc804f SHA512 56358d0d23a4b366cf9819a09b71bc494af7368b7825d1a328f1c638d012308507e3c26db6bcc0775d9a32e50da6a2e0a5a5a84b9fa4ea42ce668d6af9fdf072 +EBUILD quazip-0.8.1.ebuild 1137 BLAKE2B e6a8b68e60282463a8804c257ebfd24d0fcd2ceb6431be79572ead0bce48dc7a156a1b1c4a6dcda6f155f9b95a98a2be3e2879c9184b0d45c47170088b45f803 SHA512 8cfe8b24d963f3cc4e22783c09ce7da8a5173c29efcd58ac7f8c19693ce2e1daeb4f4e0fa309ab6809b872e9538a63e1be119ea34c5ef3f88c65e81076dd4c90 MISC metadata.xml 291 BLAKE2B c82030a8bb517384360ea44225c9c472868d2460ddc9f95f267ef58f8275d7386a87fc7f074995636bf88e056cdf516a3a89500d6d0da09ea97d0d70507eca73 SHA512 4bbb5644633f8430cf5aa8e2e0108154b9480129ebdfcdcd2e3138c550d03d4d4b2d5554ec2a2fcf592375cda4ce4825f59db8921256c491a3216500f8df0a98 diff --git a/dev-libs/quazip/quazip-0.8.1.ebuild b/dev-libs/quazip/quazip-0.8.1.ebuild new file mode 100644 index 000000000000..69667b006a02 --- /dev/null +++ b/dev-libs/quazip/quazip-0.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils flag-o-matic qmake-utils + +DESCRIPTION="Simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package" +HOMEPAGE="https://stachenov.github.io/quazip/" +SRC_URI="https://github.com/stachenov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + sys-libs/zlib[minizip] +" +DEPEND="${RDEPEND}" + +src_prepare() { + cmake-utils_src_prepare + if ! use static-libs ; then + sed -e "/^install/ s/quazip_static//" -i quazip/CMakeLists.txt || die + fi +} + +src_configure() { + local libdir=$(get_libdir) + local -x CXXFLAGS="${CXXFLAGS}" + append-cxxflags -std=c++11 -fPIC + + local mycmakeargs=( + -DBUILD_WITH_QT4=OFF + -DLIB_SUFFIX=${libdir/lib/} + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + # compatibility with not yet fixed rdeps (Gentoo bug #598136) + dosym libquazip5.so /usr/$(get_libdir)/libquazip.so +} -- cgit v1.2.3