Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/quazip/
Date: Tue, 27 Feb 2018 16:14:18
Message-Id: 1519748011.c2f6fa469df675273b452aaf2b7e74d251f39af5.asturm@gentoo
1 commit: c2f6fa469df675273b452aaf2b7e74d251f39af5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 27 15:04:18 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 27 16:13:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f6fa46
7
8 dev-libs/quazip: Drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-libs/quazip/Manifest | 1 -
13 dev-libs/quazip/quazip-0.7.2-r1.ebuild | 93 ----------------------------------
14 dev-libs/quazip/quazip-0.7.3.ebuild | 93 ----------------------------------
15 3 files changed, 187 deletions(-)
16
17 diff --git a/dev-libs/quazip/Manifest b/dev-libs/quazip/Manifest
18 index 90ff561cac6..d767f3003b2 100644
19 --- a/dev-libs/quazip/Manifest
20 +++ b/dev-libs/quazip/Manifest
21 @@ -1,2 +1 @@
22 -DIST quazip-0.7.2.tar.gz 466915 BLAKE2B fe96398e86e9066ddeea09d225b775371fc72479291f4cdefa9b5657adb2646e42b7cfbc2de920c4a4cdd024e9dcf1dfc12f30caec8f78494b1c7128847ca66d SHA512 669efb01edefee084ae755728aa2392bf160331fb13db62b7fac5e91bd45c29bb824a41ec63dd4a74c4a9780848d3308c0dcdb503f907a0fcccfbe969c291dd0
23 DIST quazip-0.7.3.tar.gz 439536 BLAKE2B 7b91d12f14e060f3554e6d9b4041aef56f269c3e5cc3a4e67eaa415cf990f474da8581a248037d2b741117c5f83c514f3dc4e30310dccc954cf363435acfc4c6 SHA512 d4b55bd040e47e97e7bd5d080399ae4aa5fbc4985d6ab5979b468abc852c91b2e3e5d35af90d4b4de3bb01ea9135d0247473d6eab0413392b1c8567dc799a9fe
24
25 diff --git a/dev-libs/quazip/quazip-0.7.2-r1.ebuild b/dev-libs/quazip/quazip-0.7.2-r1.ebuild
26 deleted file mode 100644
27 index e5fda1cb8c7..00000000000
28 --- a/dev-libs/quazip/quazip-0.7.2-r1.ebuild
29 +++ /dev/null
30 @@ -1,93 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit cmake-utils flag-o-matic multibuild qmake-utils
37 -
38 -DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
39 -HOMEPAGE="http://quazip.sourceforge.net/"
40 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
41 -
42 -LICENSE="LGPL-2.1"
43 -SLOT="0"
44 -KEYWORDS="alpha amd64 arm ~hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
45 -IUSE="qt4 +qt5 static-libs test"
46 -
47 -REQUIRED_USE="|| ( qt4 qt5 )"
48 -
49 -RDEPEND="
50 - sys-libs/zlib[minizip]
51 - qt4? ( dev-qt/qtcore:4 )
52 - qt5? (
53 - dev-qt/qtcore:5
54 - dev-qt/qtnetwork:5
55 - )
56 -"
57 -DEPEND="${RDEPEND}
58 - test? (
59 - qt4? ( dev-qt/qttest:4 )
60 - )
61 -"
62 -
63 -DOCS=( NEWS.txt README.txt )
64 -HTML_DOCS=( doc/html/. )
65 -
66 -pkg_setup() {
67 - MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
68 -}
69 -
70 -src_prepare() {
71 - if ! use static-libs ; then
72 - sed -e "/^install/ s/quazip_static//" -i quazip/CMakeLists.txt || die
73 - fi
74 - cmake-utils_src_prepare
75 -}
76 -
77 -src_configure() {
78 - myconfigure() {
79 - local libdir=$(get_libdir)
80 - local mycmakeargs=(
81 - -DLIB_SUFFIX=${libdir/lib/}
82 - )
83 - unset libdir
84 - if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
85 - mycmakeargs+=( -DBUILD_WITH_QT4=ON )
86 - fi
87 - if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
88 - local -x CXXFLAGS="${CXXFLAGS}"
89 - append-cxxflags -std=c++11 -fPIC
90 - mycmakeargs+=( -DBUILD_WITH_QT4=OFF )
91 - fi
92 - cmake-utils_src_configure
93 - }
94 -
95 - multibuild_foreach_variant myconfigure
96 -}
97 -
98 -src_compile() {
99 - multibuild_foreach_variant cmake-utils_src_compile
100 -}
101 -
102 -src_test() {
103 - cd "${S}"/qztest || die
104 - mytest() {
105 - if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
106 - eqmake4 \
107 - LIBS+="-L${WORKDIR}/${P}-qt4"
108 - emake
109 - LD_LIBRARY_PATH="${WORKDIR}/${P}-qt4" ./qztest || die
110 - fi
111 - }
112 -
113 - multibuild_foreach_variant mytest
114 -}
115 -
116 -src_install() {
117 - multibuild_foreach_variant cmake-utils_src_install
118 -
119 - # compatibility with not yet fixed rdeps (Gentoo bug #598136)
120 - if ! use qt4; then
121 - dosym libquazip5.so /usr/$(get_libdir)/libquazip.so
122 - fi
123 -}
124
125 diff --git a/dev-libs/quazip/quazip-0.7.3.ebuild b/dev-libs/quazip/quazip-0.7.3.ebuild
126 deleted file mode 100644
127 index e3a070a0450..00000000000
128 --- a/dev-libs/quazip/quazip-0.7.3.ebuild
129 +++ /dev/null
130 @@ -1,93 +0,0 @@
131 -# Copyright 1999-2017 Gentoo Foundation
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI=6
135 -
136 -inherit cmake-utils flag-o-matic multibuild qmake-utils
137 -
138 -DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
139 -HOMEPAGE="http://quazip.sourceforge.net/"
140 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
141 -
142 -LICENSE="LGPL-2.1-with-linking-exception"
143 -SLOT="0"
144 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
145 -IUSE="qt4 +qt5 static-libs test"
146 -
147 -REQUIRED_USE="|| ( qt4 qt5 )"
148 -
149 -RDEPEND="
150 - sys-libs/zlib[minizip]
151 - qt4? ( dev-qt/qtcore:4 )
152 - qt5? (
153 - dev-qt/qtcore:5
154 - dev-qt/qtnetwork:5
155 - )
156 -"
157 -DEPEND="${RDEPEND}
158 - test? (
159 - qt4? ( dev-qt/qttest:4 )
160 - )
161 -"
162 -
163 -DOCS=( NEWS.txt README.txt )
164 -HTML_DOCS=( doc/html/. )
165 -
166 -pkg_setup() {
167 - MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
168 -}
169 -
170 -src_prepare() {
171 - if ! use static-libs ; then
172 - sed -e "/^install/ s/quazip_static//" -i quazip/CMakeLists.txt || die
173 - fi
174 - cmake-utils_src_prepare
175 -}
176 -
177 -src_configure() {
178 - myconfigure() {
179 - local libdir=$(get_libdir)
180 - local mycmakeargs=(
181 - -DLIB_SUFFIX=${libdir/lib/}
182 - )
183 - unset libdir
184 - if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
185 - mycmakeargs+=( -DBUILD_WITH_QT4=ON )
186 - fi
187 - if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
188 - local -x CXXFLAGS="${CXXFLAGS}"
189 - append-cxxflags -std=c++11 -fPIC
190 - mycmakeargs+=( -DBUILD_WITH_QT4=OFF )
191 - fi
192 - cmake-utils_src_configure
193 - }
194 -
195 - multibuild_foreach_variant myconfigure
196 -}
197 -
198 -src_compile() {
199 - multibuild_foreach_variant cmake-utils_src_compile
200 -}
201 -
202 -src_test() {
203 - cd "${S}"/qztest || die
204 - mytest() {
205 - if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
206 - eqmake4 \
207 - LIBS+="-L${WORKDIR}/${P}-qt4"
208 - emake
209 - LD_LIBRARY_PATH="${WORKDIR}/${P}-qt4" ./qztest || die
210 - fi
211 - }
212 -
213 - multibuild_foreach_variant mytest
214 -}
215 -
216 -src_install() {
217 - multibuild_foreach_variant cmake-utils_src_install
218 -
219 - # compatibility with not yet fixed rdeps (Gentoo bug #598136)
220 - if ! use qt4; then
221 - dosym libquazip5.so /usr/$(get_libdir)/libquazip.so
222 - fi
223 -}