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 87D7F138359 for ; Thu, 20 Aug 2020 01:49:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8C9AE0AD1; Thu, 20 Aug 2020 01:49:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 8D9B2E0AD1 for ; Thu, 20 Aug 2020 01:49:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 1FA8934F45A for ; Thu, 20 Aug 2020 01:49:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 817932D1 for ; Thu, 20 Aug 2020 01:49:50 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1597888181.2b594db8a968b0c512a33f0e1c155f21279bb1e1.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/pixz/Manifest app-arch/pixz/pixz-1.0.7.ebuild X-VCS-Directories: app-arch/pixz/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 2b594db8a968b0c512a33f0e1c155f21279bb1e1 X-VCS-Branch: master Date: Thu, 20 Aug 2020 01:49:50 +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: e8961da2-03e6-4a3e-8227-c589cddcdcfc X-Archives-Hash: 3a10cf6a13528c31902c958f2f6b578c commit: 2b594db8a968b0c512a33f0e1c155f21279bb1e1 Author: Patrick McLean sony com> AuthorDate: Thu Aug 20 01:49:41 2020 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu Aug 20 01:49:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b594db8 app-arch/pixz-1.0.7: Version bump Closes: https://bugs.gentoo.org/707474 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Patrick McLean gentoo.org> app-arch/pixz/Manifest | 1 + app-arch/pixz/pixz-1.0.7.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/app-arch/pixz/Manifest b/app-arch/pixz/Manifest index 97b996b1d4e..d5f9c719c42 100644 --- a/app-arch/pixz/Manifest +++ b/app-arch/pixz/Manifest @@ -1 +1,2 @@ DIST pixz-1.0.6.tar.xz 119516 BLAKE2B 758a4985b946284587998ab2a653e51ded9838a7c77c7795c82c15c1693714468b07c2cbfd86a0c7ce7be34d9a5bd8fdc3285d503524ce299ba53179447e60ed SHA512 361a8d8b736c350e4e3fd19b5d36777129a087eb81439d05edc08f9378938583bef8fc70e440ffd22efb6dad1f6494c6c3e532d7dd1ab12c9350b6078aa993d7 +DIST pixz-1.0.7.tar.xz 120876 BLAKE2B 23563837169611d54dc4540715537b2e16c66bd9682097e4f37957e7422b487f221603b11aa30a39fd05c77dbeddc1697ac9ffe208d984c1da885a67f79a180f SHA512 7f343cb74958b9582b60a2e916243e72421fad1ebecc5867c9e046c881e8a318da9bb885edd71da8fe6953fd5d5c2f5119133cd0bbbf4d0f9b35f8aecd61120d diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild new file mode 100644 index 00000000000..c6564c5abe3 --- /dev/null +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/vasi/${PN}.git" + inherit git-r3 autotools +else + SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Parallel Indexed XZ compressor" +HOMEPAGE="https://github.com/vasi/pixz" + +LICENSE="BSD-2" +SLOT="0" +IUSE="static" + +LIB_DEPEND=" + >=app-arch/libarchive-2.8:=[static-libs(+)] + >=app-arch/xz-utils-5[static-libs(+)] +" +RDEPEND=" + !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) +" +DEPEND="${RDEPEND} + static? ( ${LIB_DEPEND} ) +" +[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc" + +src_prepare() { + default + [[ ${PV} == "9999" ]] && eautoreconf +} + +src_configure() { + use static && append-ldflags -static + append-flags -std=gnu99 + # Workaround silly logic that breaks cross-compiles. + # https://github.com/vasi/pixz/issues/67 + export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) + econf +} + +src_test() { + emake check +}