dev-libs/libzip: 1.2.0 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 16 Mar 2017 21:59:25 +0000 (22:59 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 17 Mar 2017 18:46:26 +0000 (19:46 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-libs/libzip/Manifest
dev-libs/libzip/files/libzip-1.2.0-fts.patch [moved from dev-libs/libzip/files/libzip-1.1.3-fts.patch with 100% similarity]
dev-libs/libzip/files/libzip-1.2.0-headers.patch [new file with mode: 0644]
dev-libs/libzip/libzip-1.2.0.ebuild [moved from dev-libs/libzip/libzip-1.1.3-r1.ebuild with 74% similarity]

index 6aaa97920c30c7f7a2b374637f388f1313b13587..8261429ac91a76fe1cf5b8e493df1eb279b187b3 100644 (file)
@@ -1,2 +1,3 @@
 DIST libzip-1.0.1.tar.xz 450308 SHA256 f948d597afbb471de8d528d0e35ed977de85b2f4d76fdd74abbb985550e5d840 SHA512 df51ca44e97e2644a5d6930e3c76830453579c1486d11b9529d3cef173bb5ae873ef34b0af0ea6403dd4076805371fa93975a18ce56e37aa2a52500eb279887b WHIRLPOOL 6705e5739417738d474a85e10c72718c2feaae68698d6fc71af17d2761c76acab705fcf6c8c69be165afca9230dc55c47843d9b0281abde445aad23addef1c41
 DIST libzip-1.1.3.tar.xz 460128 SHA256 729a295a59a9fd6e5b9fe9fd291d36ae391a9d2be0b0824510a214cfaa05ceee SHA512 a3be13a98ab28d5a2c3729ba6b01891c1fdbee724e6827d208a8d33dad7108a57c82108409f8073002a4fddae97490bdbe7697dccb70ac9601ee862d4271f138 WHIRLPOOL ab3434f08542ba34a11b628f451b8e1133230237a9b6f25dc57454950ba57d01ad3cec3f4cc7b076f07eff12457044e273bbbfcf8df0c8f32e074fdcafe8b817
+DIST libzip-1.2.0.tar.xz 938284 SHA256 ffc0764395fba3d45dc5a6e32282788854618b9e9838337f8218b596007f1376 SHA512 1ba8626d72e6b47f735568afaf007d1e18beb3ebedf6b69a6b575f9e04d3b84550371191a89be153f8fcedb4a8eac2f996e141da95cdbb52380b6283cc99cf8b WHIRLPOOL 794a462fc4d1529008fccbe6df41c5616b34712ef34721e0cbe555aa12ada7928d22f6e9421de210efdf7b460188a4d6a9a6e53fc0266bcf52d47d6a7e30a5f6
diff --git a/dev-libs/libzip/files/libzip-1.2.0-headers.patch b/dev-libs/libzip/files/libzip-1.2.0-headers.patch
new file mode 100644 (file)
index 0000000..f1a6d5d
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -3,8 +3,7 @@
+ lib_LTLIBRARIES = libzip.la
+ noinst_HEADERS = zipint.h gladman-fcrypt.h
+-include_HEADERS = zip.h
+-nodist_libinclude_HEADERS = zipconf.h
++include_HEADERS = zip.h zipconf.h
+ # also update CMakeLists.txt when changing version
+ libzip_la_LDFLAGS=-no-undefined -version-info 3:0:1
similarity index 74%
rename from dev-libs/libzip/libzip-1.1.3-r1.ebuild
rename to dev-libs/libzip/libzip-1.2.0.ebuild
index ecc3aa63760fb60549145b80d43432ae408ec81e..574096ebb16ab1e21ce5a0b3a1732d2c542a4712 100644 (file)
@@ -18,18 +18,22 @@ RDEPEND="
        sys-libs/zlib
        elibc_musl? ( sys-libs/fts-standalone )
 "
-DEPEND="${RDEPEND}
-       app-arch/xz-utils
-"
+DEPEND="${RDEPEND}"
 
 DOCS=( AUTHORS NEWS.md API-CHANGES THANKS )
 
 PATCHES=(
-       "${FILESDIR}/${PN}-1.1.3-headers.patch"
-       "${FILESDIR}/${PN}-1.1.3-fts.patch"
+       "${FILESDIR}/${P}-headers.patch"
+       "${FILESDIR}/${P}-fts.patch"
 )
 
 src_prepare() {
        default
        eautoreconf
 }
+
+src_install() {
+       default
+       use static-libs || rm "${D}"/usr/lib64/libzip.a || die
+       find "${D}" -name '*.la' -delete || die
+}