diff options
Diffstat (limited to 'app-arch/pixz')
-rw-r--r-- | app-arch/pixz/Manifest | 6 | ||||
-rw-r--r-- | app-arch/pixz/pixz-1.0.6-r1.ebuild | 2 | ||||
-rw-r--r-- | app-arch/pixz/pixz-1.0.7.ebuild | 51 | ||||
-rw-r--r-- | app-arch/pixz/pixz-9999.ebuild | 21 |
4 files changed, 71 insertions, 9 deletions
diff --git a/app-arch/pixz/Manifest b/app-arch/pixz/Manifest index 751853df1a6f..a6957afb298e 100644 --- a/app-arch/pixz/Manifest +++ b/app-arch/pixz/Manifest @@ -1,5 +1,7 @@ AUX pixz-1.0.6-avoid-unaligned-accesses.patch 1253 BLAKE2B e852f1c991bc7ba282b47516598d09a41182f01ceade67276dcfb192767c1bf33a36cf992d5de201bddc24790896af9e22e83f3fcd48a84f3ea3f6c9cfd7e50e SHA512 6390ec34f3d7d07be6ef6842a631d2e2ef87abe54e5f745846a6c08a4c1a7c15d50d3327afae131dd4b64a66ff187ada1d4cdae4f4503c33e249dc238082ce9a DIST pixz-1.0.6.tar.xz 119516 BLAKE2B 758a4985b946284587998ab2a653e51ded9838a7c77c7795c82c15c1693714468b07c2cbfd86a0c7ce7be34d9a5bd8fdc3285d503524ce299ba53179447e60ed SHA512 361a8d8b736c350e4e3fd19b5d36777129a087eb81439d05edc08f9378938583bef8fc70e440ffd22efb6dad1f6494c6c3e532d7dd1ab12c9350b6078aa993d7 -EBUILD pixz-1.0.6-r1.ebuild 1183 BLAKE2B 2d8986ce006b2cc210bd3b6f37ee6e597e4eb9ee67ada725d6361458821fff94960626c6eb22c0f47b30d8bbf476def3f480fd0902217cc90fb171b46da3f525 SHA512 257be5210265a0b7e29d905ad448e842e4c9b896b7308cfdf4f27bb9842a16124a73e3ebfabe763cc31178b0bad96ed861dac0a4f2eecfe02dc69241e79a5348 -EBUILD pixz-9999.ebuild 1126 BLAKE2B 497f27f12ac24fedd182a7d243f3146fed4fefee90b5ab3d1b973cb040ccaf20b221326babea0a79412b74bea4d8283a773e0dcc8ce9dda6f346ec2e40379d1c SHA512 162de9348066f59328d9f71f770f99ec5cc2fa649bacbc09c5fb8646d05491129e505130c67222defdba029858ed5274c777e6605984a0980831a504f8129882 +DIST pixz-1.0.7.tar.xz 120876 BLAKE2B 23563837169611d54dc4540715537b2e16c66bd9682097e4f37957e7422b487f221603b11aa30a39fd05c77dbeddc1697ac9ffe208d984c1da885a67f79a180f SHA512 7f343cb74958b9582b60a2e916243e72421fad1ebecc5867c9e046c881e8a318da9bb885edd71da8fe6953fd5d5c2f5119133cd0bbbf4d0f9b35f8aecd61120d +EBUILD pixz-1.0.6-r1.ebuild 1181 BLAKE2B 46d6fdf0d1aaa4b1ed24aff66405fd92e0e40710f64a7d7afbe175e9d597ce4fbd56b63b264b5ab57f0640fb2bee0ae3ae3b33400635ddf9961c7aa33866782a SHA512 907db330a6197304585318a3dcee21e7f7a6656bffdc5cc0c6cf2824ecff29c20564bf680c77cfb196b9e3bd662b5471c2da272b57b0847da66a913c771415c5 +EBUILD pixz-1.0.7.ebuild 1161 BLAKE2B 0dfa4c22f5909ca72297c574b7418ba5e202763dfa09f4467f6ca89aed139b9765a578879cc92126922a4a230088c0f8db070b0ada0b34640293521ab1343fa9 SHA512 418e57b0aa7ce08351c0934e5d8c37cb2ce0e47077ccddcf1beca7830ca89b1cc27f2d1759d7bb0138923be789f61ac7dfb364b92383dbd2dc075f02621a5db7 +EBUILD pixz-9999.ebuild 1161 BLAKE2B 0dfa4c22f5909ca72297c574b7418ba5e202763dfa09f4467f6ca89aed139b9765a578879cc92126922a4a230088c0f8db070b0ada0b34640293521ab1343fa9 SHA512 418e57b0aa7ce08351c0934e5d8c37cb2ce0e47077ccddcf1beca7830ca89b1cc27f2d1759d7bb0138923be789f61ac7dfb364b92383dbd2dc075f02621a5db7 MISC metadata.xml 331 BLAKE2B 15bff5a59c7a5ff1dc23d59a9c9acda8ad40691a1b79d992ea05eaab0436e56cf0419f0e70b4e8dbeed37bee33735bb6700a85a2f26d50fd857cb38eb55f152c SHA512 54391cfef5b3719b7ad708cc7367740ba68f3223e0d92ae8ae5992ff127f41291fc1afa0d0bd7a1a02cf53b76c3817a57696a16ae535f8522e9d9249f4ddf401 diff --git a/app-arch/pixz/pixz-1.0.6-r1.ebuild b/app-arch/pixz/pixz-1.0.6-r1.ebuild index faee51a9f012..08b4bdc897d7 100644 --- a/app-arch/pixz/pixz-1.0.6-r1.ebuild +++ b/app-arch/pixz/pixz-1.0.6-r1.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then 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" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor" 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 000000000000..c6564c5abe3d --- /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 +} diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild index 32751bd95c46..c6564c5abe3d 100644 --- a/app-arch/pixz/pixz-9999.ebuild +++ b/app-arch/pixz/pixz-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 inherit flag-o-matic @@ -20,12 +20,17 @@ 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(+)]} )" +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" ]] && DEPEND+=" app-text/asciidoc" + static? ( ${LIB_DEPEND} ) +" +[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc" src_prepare() { default @@ -40,3 +45,7 @@ src_configure() { export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } + +src_test() { + emake check +} |