mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-libs/zziplib: Drop 0.13.69-r1
Closes: https://bugs.gentoo.org/700490 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,5 +1 @@
|
||||
DIST zziplib-0.13.69-html.tar.xz 152536 BLAKE2B 05f14b2e6d2e3af4488096eabc1614222cb9607e832618e7534cb55a022f2ba3d2c6f8c6337f4bf9e80a350e43eb05a4c1708b63efa5e0ed10297a5f19ec7adb SHA512 211a83594d4043a29472f9c556d72ad486e40f28d55426b970b8b0617aca76f9dcbd4a3ca5991df943dfac1a1cab623b19aa04fb6ef7807a7740730e01926205
|
||||
DIST zziplib-0.13.69-man.tar.xz 10988 BLAKE2B 2c3c5cfd17b3d3e17a3e72031b2246e32c9fe471b9578a4717c128725493054ceafc34763a763d31cf5532f082a596a6bceb8e417ef70476a59f4daa0a14b587 SHA512 5a804896a2d06b1d32d6b8715ffdb374ff7179145d033e919acecd46426dad3e44d4889adabce33e7f6bbc18e2b70b50a8a059498bf4f1f3d6844dda90c33c7e
|
||||
DIST zziplib-0.13.69-patches.tar.xz 5000 BLAKE2B 4612052bb8a312831daec9283cad8593b2161e2acd76122a982339154cd76d58b5398c61f605e3e29e0f63399c9a176710f95a1e6632ff4e1249ac596978006b SHA512 16190e20b8c722f3aee8e77ef7cc24026976b067402430c833d21761a13e32ed5f2eff543a2c13469e442d01c2ed5ae373badd6b8851c962852d6c09620a0d91
|
||||
DIST zziplib-0.13.69.tar.gz 1132204 BLAKE2B 92e9f5e95665c7a47d1e472f570402e3c174d404abf461bed644ea8a37ff7661ee98b8fa241728aae375e32c470f2f48a817f72410eeda81a6a3be6e6bdb2635 SHA512 ade026289737f43ca92a8746818d87dd7618d473dbce159546ce9071c9e4cbe164a6b1c9efff16efb7aa0327b2ec6b34f3256c6bda19cd6e325703fffc810ef0
|
||||
DIST zziplib-0.13.71.tar.gz 1150654 BLAKE2B 00394de5da8b3c5b95ef0aea060e523354845261b846e3c876b13d2d05c6569496475a279d6b211c3215a6f17e6bfe53958baabcebb13cd72d30a9f0c40d9449 SHA512 e035d0ac26dca78335ae3defc652543ff7b353a1a95d76ed1beeb21a08e16f287a62d488f528cfbb77d5b558581b68d439aa0823577524e9aa61a3cf5f208cb5
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit autotools libtool 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="https://github.com/gdraheim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~asturm/distfiles/${P}-patches.tar.xz
|
||||
https://dev.gentoo.org/~asturm/distfiles/${P}-man.tar.xz
|
||||
doc? ( https://dev.gentoo.org/~asturm/distfiles/${P}-html.tar.xz )"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc sdl static-libs test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
app-arch/zip
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
sys-libs/zlib
|
||||
sdl? ( >=media-libs/libsdl-1.2.6 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${WORKDIR}"/${P}-patches )
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
use test && 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 || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build || die
|
||||
|
||||
append-flags -fno-strict-aliasing # bug reported upstream
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable sdl)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
# Disable aclocal probing as the default path works #449156
|
||||
ECONF_SOURCE=${S} ACLOCAL=true \
|
||||
econf "${myeconfargs[@]}"
|
||||
MAKEOPTS+=' -C build'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
|
||||
default
|
||||
doman "${WORKDIR}"/man3/*
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# need this because `make test` will always return true
|
||||
# tests fail with -j > 1 (bug #241186)
|
||||
emake -j1 check
|
||||
}
|
||||
Reference in New Issue
Block a user