From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22285138359 for ; Mon, 24 Aug 2020 08:29:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4914DE01B5; Mon, 24 Aug 2020 08:29:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30FAFE01B5 for ; Mon, 24 Aug 2020 08:29:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42043340806 for ; Mon, 24 Aug 2020 08:29:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C582EEC for ; Mon, 24 Aug 2020 08:29:02 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1598257728.abef57edb8f5cea4c8e896a6492a528b7c464f67.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/zziplib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/zziplib/zziplib-0.13.71-r2.ebuild X-VCS-Directories: dev-libs/zziplib/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: abef57edb8f5cea4c8e896a6492a528b7c464f67 X-VCS-Branch: master Date: Mon, 24 Aug 2020 08:29:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7f1c5211-f317-45fd-bef2-65991170282b X-Archives-Hash: c94d02beede8e6926f8dc5856732501c commit: abef57edb8f5cea4c8e896a6492a528b7c464f67 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sun Aug 23 12:31:18 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Mon Aug 24 08:28:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abef57ed dev-libs/zziplib: remove ZZIP_LARGEFILE Closes: https://bugs.gentoo.org/738282 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/17233 Signed-off-by: Mikle Kolyada gentoo.org> dev-libs/zziplib/zziplib-0.13.71-r2.ebuild | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/dev-libs/zziplib/zziplib-0.13.71-r2.ebuild b/dev-libs/zziplib/zziplib-0.13.71-r2.ebuild new file mode 100644 index 00000000000..5b35a0f72f4 --- /dev/null +++ b/dev-libs/zziplib/zziplib-0.13.71-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit cmake 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" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0/13" +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=" + doc? ( + ${PYTHON_DEPS} + ) + test? ( + ${PYTHON_DEPS} + app-arch/zip + ) +" +DEPEND=" + sys-libs/zlib + sdl? ( >=media-libs/libsdl-1.2.6 ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.13.69-009-perror.patch + "${FILESDIR}"/${PN}-0.13.71-join-paths-pc-zzipsdldir.patch + "${FILESDIR}"/${PN}-0.13.71-find-bash.patch + "${FILESDIR}"/${PN}-0.13.71-testbuilds-opensuse15-ninja-sdl2.patch + "${FILESDIR}"/${PN}-0.13.71-shell-DESTDIR.patch +) + +pkg_setup() { + (use test || use doc) && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + (use test || use doc) && python_fix_shebang . +} + +src_configure() { + append-flags -fno-strict-aliasing # bug reported upstream + + local mycmakeargs=( + -DZZIPCOMPAT=OFF + -DZZIPSDL="$(usex sdl ON OFF)" + -DBUILD_STATIC_LIBS="$(usex static-libs ON OFF)" + -DBUILD_TESTS="$(usex test ON OFF)" + -DZZIPTEST="$(usex test ON OFF)" + -DZZIPDOCS="$(usex doc ON OFF)" + -DZZIPWRAP=OFF + ) + + cmake_src_configure +}