app-arch/par2cmdline-turbo: add 1.4.0

Signed-off-by: Joe Kappus <joe@wt.gd>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/57
Merges: https://codeberg.org/gentoo/gentoo/pulls/57
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Joe Kappus
2026-02-14 23:34:43 -05:00
committed by Sam James
parent e399e09bd3
commit 0cd1982c8a
2 changed files with 39 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST par2cmdline-turbo-1.3.0.tar.gz 3951714 BLAKE2B 743b385a2f457598ccf4f7c396aa56e5767513711429793de9f20ac91fa18af17f58d7d12e1120487323ca0957af66558fc037f92f9059e8537875a2ed4855f0 SHA512 63b4b5e7c9f184d7251ad94b5bfef70e7d27fb155e4af26c3cab1dc8e0b80618ebdc08f45b1f3e8b64812f45d62e3d29dee6532774a24b9453c2cefc077d3d1d
DIST par2cmdline-turbo-1.4.0.tar.gz 3979042 BLAKE2B 2bca43342ef0038b428e4897b4eb893b681c7089287b8243fffd9613b580df04543043e1b5a6d0648962b0ce20146f361b1914d6aa1ce6c1f0b961da4aeb6ace SHA512 79054be70bffa46b5fa1c2e2ee74b209e1b63bfeda22bba0d119f228bcc4ddb7f79fc48ef4d7d6357100b5404fb4d788c5641d86d7bafd2f887b4005580cc9a4

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/animetosho/par2cmdline-turbo"
else
SRC_URI="https://github.com/animetosho/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
DESCRIPTION="par2cmdline × ParPar: speed focused par2cmdline fork"
HOMEPAGE="https://github.com/animetosho/par2cmdline-turbo"
LICENSE="GPL-2+"
SLOT="0"
RDEPEND="
!app-arch/par2cmdline
"
PATCHES=("${FILESDIR}/${PN}-no-inline-hints.patch")
src_prepare() {
default
eautoreconf
}
src_configure() {
# Needed for -Og to be buildable, otherwise fails a/ always_inline (bug #961901))
is-flagq '-Og' && append-cppflags -DPAR2_NO_INLINE_HINTS
econf
}