diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libzip | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libzip')
-rw-r--r-- | dev-libs/libzip/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/libzip/files/libzip-1.2.0-fts.patch | 11 | ||||
-rw-r--r-- | dev-libs/libzip/files/libzip-1.2.0-headers.patch | 12 | ||||
-rw-r--r-- | dev-libs/libzip/libzip-1.3.0.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/libzip/metadata.xml | 12 |
5 files changed, 88 insertions, 0 deletions
diff --git a/dev-libs/libzip/Manifest b/dev-libs/libzip/Manifest new file mode 100644 index 000000000000..cd07b460795b --- /dev/null +++ b/dev-libs/libzip/Manifest @@ -0,0 +1,5 @@ +AUX libzip-1.2.0-fts.patch 393 BLAKE2B 1d158551eceda9f4b6f305ae1c1c253ca85de8f47e10b568d267ad2f1a5a271cb43c35a2a929477c9fc2a723b797b0a7cb4fdf1103eeb9c006db06820948ec04 SHA512 ae3fbad5122a6d4089db1bdfaa11882e5e5f5b7f17d13dc24b17c178236167ce364efbe87ef28970ddd5fa262fd8dc48b5a92e091a365ff92e39254319f79a89 +AUX libzip-1.2.0-headers.patch 341 BLAKE2B d4a0227da9e3415f4372f6141071f2e070f0b14256dec7933dea9cdbd1d54830ae886a89a7984dd8c66e8d523e18a9070336b1a42b02426e6678ee97f742cf28 SHA512 25a54a4901e45d78263c35ea788c9ae84760c4e2cbb7e09f0dd33b35eefb47165a1788ab33a7f306d112ffdfa35a3f3ab65c1f50463d5a30ffd265a2be6208f9 +DIST libzip-1.3.0.tar.xz 955876 BLAKE2B 9bb59cb34ed7e85e3161770f0eef7ed1f59fb2f7f648cd201fa5dc6c62339481ad72a71024df443c04ef0c7efe6f00838a3ac316da2ef06c0045ab69ade8f71b SHA512 8e12a23fe62b993ff4592e1b9da152533a363b0603fc1f65e6cbb6121d4260c45f98171effbccb76dec4030b0fcdcd273919755a2496ab462431646ac83bb900 +EBUILD libzip-1.3.0.ebuild 1037 BLAKE2B a6c127395aa6a983c434825153b516f2abe0b24db546a5bd6c16cfed2bdf7ce63b5b2e98b91fb19853e7066d51a6c9b1f8f840b00069e11e5cebd8b61948f326 SHA512 f9528dbbb48af3a9330afdee4e82f6e5e9541e4ec67d4b8a665f6bc7e0b5da77e5dae769fdccbaf5ea6467de0fa8f2eb53bfa8d0dc83f47abe39b792d42f2d64 +MISC metadata.xml 350 BLAKE2B 0726e0b8dc7bf1efeaaf5ea63c1bff0251523cc4151765d93c06bde1f97fcfd63d2846314ba642419a3e45d70acd843ed1667980a00e7c2740720161a0f7991f SHA512 8a4e76c7530802e09662da3b6e5131baa2d58bd657f69c776e48e18fd93d3db6262d06916ce86d28b5685bb2be74e1357e1a9eb1764e524ca95887c35e4ed401 diff --git a/dev-libs/libzip/files/libzip-1.2.0-fts.patch b/dev-libs/libzip/files/libzip-1.2.0-fts.patch new file mode 100644 index 000000000000..bd9bf232c0a8 --- /dev/null +++ b/dev-libs/libzip/files/libzip-1.2.0-fts.patch @@ -0,0 +1,11 @@ +--- a/configure.ac 2016-05-28 10:35:31.000000000 +0100 ++++ b/configure.ac 2017-02-25 23:34:22.309684397 +0100 +@@ -65,6 +65,8 @@ + AC_DEFINE([HAVE___PROGNAME], [1], [Define if libc defines __progname]) + fi + ++AC_SEARCH_LIBS(fts_open, fts) ++ + AC_CACHE_CHECK([whether we are building for a Win32 host], [ac_cv_win32_host], + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#ifdef _WIN32 + choke me 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 index 000000000000..f1a6d5d0819d --- /dev/null +++ b/dev-libs/libzip/files/libzip-1.2.0-headers.patch @@ -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 diff --git a/dev-libs/libzip/libzip-1.3.0.ebuild b/dev-libs/libzip/libzip-1.3.0.ebuild new file mode 100644 index 000000000000..1d27b7ae357c --- /dev/null +++ b/dev-libs/libzip/libzip-1.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Library for manipulating zip archives" +HOMEPAGE="https://nih.at/libzip/" +SRC_URI="https://www.nih.at/libzip/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0/5" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="bzip2 static-libs" + +RDEPEND=" + sys-libs/zlib + bzip2? ( app-arch/bzip2 ) + elibc_musl? ( sys-libs/fts-standalone ) +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS.md API-CHANGES THANKS ) + +PATCHES=( + "${FILESDIR}/${PN}-1.2.0-headers.patch" + "${FILESDIR}/${PN}-1.2.0-fts.patch" +) + +src_prepare() { + default + + # fails in portage build only + sed -i -e "/encryption-nonrandom-aes.*.test/d" regress/Makefile.am || die + + eautoreconf +} + +src_configure() { + econf $(use_with bzip2) +} + +src_install() { + default + use static-libs || rm "${ED%/}"/usr/$(get_libdir)/libzip.a || die + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libzip/metadata.xml b/dev-libs/libzip/metadata.xml new file mode 100644 index 000000000000..12dd2df42ad5 --- /dev/null +++ b/dev-libs/libzip/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>creffett@gentoo.org</email> + <name>Chris Reffett</name> +</maintainer> +<maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> +</maintainer> +</pkgmetadata> |