diff options
Diffstat (limited to 'dev-libs/zziplib')
-rw-r--r-- | dev-libs/zziplib/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/zziplib/metadata.xml | 9 | ||||
-rw-r--r-- | dev-libs/zziplib/zziplib-0.13.72-r1.ebuild | 45 |
3 files changed, 48 insertions, 9 deletions
diff --git a/dev-libs/zziplib/Manifest b/dev-libs/zziplib/Manifest index 7a526ae0f0a0..c38c469d51a6 100644 --- a/dev-libs/zziplib/Manifest +++ b/dev-libs/zziplib/Manifest @@ -1,3 +1,4 @@ DIST zziplib-0.13.72.tar.gz 1162175 BLAKE2B ff5617645e25040e4666e5440651fbb2b04c0505c7bda08b158f44c63c5dd53ec97a9942908314c3b103a4685be49368e964d249fcf9b9d685e328f0ebabdedd SHA512 4bb089e74813c6fac9657cd96e44e4a6469bf86aba3980d885c4573e8db45e74fd07bbdfcec9f36297c72227c8c0b2c37dab1bc4326cef8529960e482fe501c8 +EBUILD zziplib-0.13.72-r1.ebuild 1275 BLAKE2B c63ad088360e7f0dc55c39324a36b7b47f3b5077f759d9f2270023e365a1ac0a3571ba047ec4d3ae6db28ed4fccb6347ed2cc7027a6d4ce42056c0eabec5919c SHA512 b8cad421ef427d959c44500effef18ac15f4bcaacc1273f294a2c92c3f5a6115e1c591d516887214cf04a45a50e7d453d0bd16cd43e8107e429df61a23d778ec EBUILD zziplib-0.13.72.ebuild 1266 BLAKE2B d481c3cc8ce2bf1c410684815b31b77e00c7f8f1771c7fa0bb6fa3476af9eb3e38d77b24d2f592e52cd66077caa2415897d278a131648110077b40da5630711c SHA512 3a5c1d92c211138d653197683734f6fbf774a9bc629ed53d1dfa182ea63f0a733fee7069e57e77fb1fd97043a3f8732503fbe81ae6b831f07608eb2d47340b74 -MISC metadata.xml 535 BLAKE2B 38ac12b42d8e3b079ad579728457b28bcb6af37af384df1041fb611804b0956336c52b7fc8e4d5fe517f9636e84d72c382214f1aa66e33d0681458276c885a58 SHA512 59dd99da1f9ca0ae11769fc1e14e25bfda2079eb55419e7d17a1cebc85053e4b7c9f9cadb657b52d00b1797c3ae4ed5086996a100e1355e1956c035f77ba7efd +MISC metadata.xml 300 BLAKE2B 5bd0efee346b2d954d36b1dd83e1d8ef54944ec7f7fb3a88bdcba73b2f85d0236cd638f763388ed43a30c44f9db5b83223310d66232731e6d37ef57315c04129 SHA512 0a233cbfe081cd55c76d8229261f1d8d8a8bf1435886c36e938a3a059a2db9b44bed165b7aeddbe568756a3e19e3cbd12dbee659a5a8eb2feea21c5f2ab35d22 diff --git a/dev-libs/zziplib/metadata.xml b/dev-libs/zziplib/metadata.xml index ba9e3444e762..5b652428f205 100644 --- a/dev-libs/zziplib/metadata.xml +++ b/dev-libs/zziplib/metadata.xml @@ -1,14 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>gentoo@pogatzki.net</email> - <name>Volkmar W. Pogatzki</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> +<!-- maintainer-needed --> <upstream> <remote-id type="github">gdraheim/zziplib</remote-id> <remote-id type="sourceforge">zziplib</remote-id> diff --git a/dev-libs/zziplib/zziplib-0.13.72-r1.ebuild b/dev-libs/zziplib/zziplib-0.13.72-r1.ebuild new file mode 100644 index 000000000000..40f017c176cd --- /dev/null +++ b/dev-libs/zziplib/zziplib-0.13.72-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake flag-o-matic python-any-r1 + +DESCRIPTION="Lightweight library for extracting data from files archived in a single zip file" +HOMEPAGE="https://github.com/gdraheim/zziplib http://zziplib.sourceforge.net/" +SRC_URI="https://github.com/gdraheim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0/13" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="sdl static-libs" + +# Tests require internet access +# https://github.com/gdraheim/zziplib/issues/24 + +BDEPEND=" + ${PYTHON_DEPS} +" +DEPEND=" + sys-libs/zlib + sdl? ( >=media-libs/libsdl-1.2.6 ) +" +RDEPEND="${DEPEND}" + +src_configure() { + # https://github.com/gdraheim/zziplib/commit/f3bfc0dd6663b7df272cc0cf17f48838ad724a2f#diff-b7b1e314614cf326c6e2b6eba1540682R100 + append-flags -fno-strict-aliasing + + local mycmakeargs=( + -DZZIPSDL="$(usex sdl)" + -DBUILD_STATIC_LIBS="$(usex static-libs)" + -DBUILD_TESTS=OFF + -DZZIPTEST=OFF + -DZZIPDOCS=ON + -DZZIPWRAP=OFF + ) + + cmake_src_configure +} |