diff options
Diffstat (limited to 'dev-libs/zziplib')
-rw-r--r-- | dev-libs/zziplib/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch | 14 | ||||
-rw-r--r-- | dev-libs/zziplib/metadata.xml | 13 | ||||
-rw-r--r-- | dev-libs/zziplib/zziplib-0.13.62-r2.ebuild | 82 |
4 files changed, 115 insertions, 0 deletions
diff --git a/dev-libs/zziplib/Manifest b/dev-libs/zziplib/Manifest new file mode 100644 index 000000000000..9b1793719acc --- /dev/null +++ b/dev-libs/zziplib/Manifest @@ -0,0 +1,6 @@ +AUX zziplib-0.13.49-SDL-test.patch 392 SHA256 88554ed81a8d07677ac27caddb4b622b00ac0bfe199e42d82ccfc6ca83815078 SHA512 b5a3e6e7fb4af7ab48a9aa26bdecbde6f3345ee3997c810fafa3d0e348ea0aee9247ae7acab7ccdc3fc1b9ab62daa7f29ac54862013206de8dd094361dd6facf WHIRLPOOL db44079690b6bcc7d8c0602863f657e459ee16961108c3f9e1f827364bc4716a2161958f5369f7a4362bbc86ea7253e11354d00c24de1290d16ea0d3b1b34ba6 +DIST zziplib-0.13.62.tar.bz2 685770 SHA256 a1b8033f1a1fd6385f4820b01ee32d8eca818409235d22caf5119e0078c7525b SHA512 fd3b9e9015ba7603bdebd8f6a2ac6d11003705bfab22f3a0025f75455042664aea69440845b59e6f389417dff5ac777f49541d8cbacb2a220e67d20bb6973e25 WHIRLPOOL 598571c5a2051fba0ede01aed6ada6fa9f9959ed3bc13ad668f9e79a9af9bcfd87090a34036e4b8cd6b5cec47f01848b786aaa8601e9ab2beea063d0190a3108 +EBUILD zziplib-0.13.62-r2.ebuild 2184 SHA256 f01b36ef928bbbbafcc695473f0212ed978d27e83784c3a6815d402bfba8fcdb SHA512 dcb8c0707bc32bb7a27b08e45163b994c31444127258d3b211c25c1f6192639356f9953898c72c8850d88f99b8d77b418445f25a0d925f1b21a1d924ac332326 WHIRLPOOL 710d422b1ec7d13e5759d32c323ffc54b29d9422f83924c676233e176ab3148ce88d1ae36299f60d48890729c78a6596d621ed222c5e2bdcdbf81c4363e1125b +MISC ChangeLog 3386 SHA256 467afceff8a960511995fa46c5246b8314abbccd5db4356cc7f50caa7087292d SHA512 5ab94d9b97f00d551e63034db070a560a36466a29fc97330c12b9d0f87cfc1fbd92b77eebb102d1bd65649695fc6f9da5415b2fa6e7a407e018d63d979588961 WHIRLPOOL e93b75d714d4943129309926c648e7986228acf753a4cb99fc86f3696c6e1516f4b6323bfc955f9be2df317dcb055c87fc7208f6fcc72fc88d597792e5bec543 +MISC ChangeLog-2015 14997 SHA256 5ff6f9f9feb2a4d785ec108cfa3a2bb170007bdb7c6aad2feb67bdc7d5900e37 SHA512 20d91f7605cdfcbe3efbd3bf182c4a918dfaa13fcf8dcc8e35e84b42684fab13c6a810116842da2c707f17495965273dff7c05052859f08af7e8350d48198a72 WHIRLPOOL 4e4df182ad2555e21a9f8301197973ddb2cb163eb34eca28b7e20017825ff3f14ba7411d5c78c9a5d958f7cb14c8b3cee5f25bbf440c292feaac9e82a46e0505 +MISC metadata.xml 375 SHA256 b1c90f1532f11b04421650015f14ffe397d6fbcbe15cb6e5c4991fb0e4bd0468 SHA512 13cce017e88810e03febd0c88784a43627d7b62b09cd432203cceef5b072be8d64e150b74ba959e374e19175e164fdd884f67c09782052e81605d3e042b9ef51 WHIRLPOOL f12a4779e182599a8d10bbfd9c3ed79956038280a3de3075f44311d527aa9e36b78e54fb0aa31b4c25dcb72a3b68091937e2d23e641db664739528666c02155b diff --git a/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch b/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch new file mode 100644 index 000000000000..410a2c746c95 --- /dev/null +++ b/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch @@ -0,0 +1,14 @@ +this test isnt even run automatically and the dependencies are all broken, +so just disable it and be done + +--- SDL/Makefile.in ++++ SDL/Makefile.in +@@ -38,7 +38,7 @@ + build_triplet = @build@ + host_triplet = @host@ + target_triplet = @target@ +-check_PROGRAMS = zzcatsdl$(EXEEXT) ++check_PROGRAMS = + subdir = SDL + DIST_COMMON = $(pkgconfig_HEADERS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in diff --git a/dev-libs/zziplib/metadata.xml b/dev-libs/zziplib/metadata.xml new file mode 100644 index 000000000000..fea29d2bd600 --- /dev/null +++ b/dev-libs/zziplib/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vapier@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>mr_bones_@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">zziplib</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/zziplib/zziplib-0.13.62-r2.ebuild b/dev-libs/zziplib/zziplib-0.13.62-r2.ebuild new file mode 100644 index 000000000000..83d49e733a5f --- /dev/null +++ b/dev-libs/zziplib/zziplib-0.13.62-r2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit libtool eutils flag-o-matic python-any-r1 + +DESCRIPTION="Lightweight library for extracting data from files archived in a single zip file" +HOMEPAGE="http://zziplib.sourceforge.net/" +SRC_URI="mirror://sourceforge/zziplib/${P}.tar.bz2" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc sdl static-libs test" + +RDEPEND=" + sys-libs/zlib + sdl? ( >=media-libs/libsdl-1.2.6 )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + test? ( app-arch/zip )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.13.49-SDL-test.patch + + python_fix_shebang . + + # workaround AX_CREATE_PKGCONFIG_INFO bug #353195 + sed -i \ + -e '/ax_create_pkgconfig_ldflags/s:$LDFLAGS::' \ + -e '/ax_create_pkgconfig_cppflags/s:$CPPFLAGS::' \ + configure || die + + # zziplib tries to install backwards compat symlinks we dont want + sed -i -e '/^zzip-postinstall:/s|$|\ndisable-this:|' Makefile.in || die + sed -i -e '/^install-exec-hook:/s|$|\ndisable-this:|' zzip/Makefile.in || die + + elibtoolize + + # Do an out-of-tree build as their configure will do it automatically + # otherwise and that can lead to funky errors. #492816 + mkdir -p build +} + +src_configure() { + cd "${S}"/build + + append-flags -fno-strict-aliasing # bug reported upstream + export ac_cv_path_XMLTO= # man pages are bundled in .tar's + + # Disable aclocal probing as the default path works #449156 + ECONF_SOURCE=${S} \ + ACLOCAL=true \ + econf \ + $(use_enable sdl) \ + $(use_enable static-libs static) + MAKEOPTS+=' -C build' +} + +src_test() { + # need this because `make test` will always return true + # tests fail with -j > 1 (bug #241186) + emake -j1 check +} + +src_install() { + default + # fowners fails when we don't have enough permissions (Prefix) + if [[ ${EUID} == 0 ]] ; then + fowners -R root /usr/share/man #321975 + fi + + prune_libtool_files + + if use doc ; then + dohtml -r docs/* + fi +} |