diff options
| author | Sam James <sam@gentoo.org> | 2025-08-17 20:56:55 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-08-17 20:57:01 +0100 |
| commit | 9e96e2afe78812f3893829938d9af7f200254f11 (patch) | |
| tree | 592176173b51378dd00c9d4c0e2e7d4853a15071 /dev-util/debugedit/debugedit-5.2.ebuild | |
| parent | a2cd8332821facc86f5676e61d954401ab155262 (diff) | |
| download | gentoo-9e96e2afe78812f3893829938d9af7f200254f11.tar.gz gentoo-9e96e2afe78812f3893829938d9af7f200254f11.tar.bz2 gentoo-9e96e2afe78812f3893829938d9af7f200254f11.zip | |
dev-util/debugedit: add 5.2
I see some test failures but they're not consistent and I see them with
5.1 too. I'll speak to mjw when I get a chance to see if he has any
ideas.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/debugedit/debugedit-5.2.ebuild')
| -rw-r--r-- | dev-util/debugedit/debugedit-5.2.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-util/debugedit/debugedit-5.2.ebuild b/dev-util/debugedit/debugedit-5.2.ebuild new file mode 100644 index 000000000000..5bda18a844b7 --- /dev/null +++ b/dev-util/debugedit/debugedit-5.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multiprocessing verify-sig toolchain-funcs + +DESCRIPTION="Create debuginfo and source file distributions" +HOMEPAGE="https://sourceware.org/debugedit/" +SRC_URI=" + https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz + verify-sig? ( https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz.sig ) +" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +#KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + >=dev-libs/elfutils-0.176-r1:= + >=dev-libs/xxhash-0.8:= + elibc_musl? ( >=sys-libs/error-standalone-2.0 ) +" +RDEPEND=" + ${DEPEND} + sys-devel/dwz +" +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig + verify-sig? ( + sec-keys/openpgp-keys-debugedit + ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/debugedit.gpg + +PATCHES=( + "${FILESDIR}"/${P}-bashism.patch + "${FILESDIR}"/${P}-buildid.patch +) + +src_configure() { + tc-export PKG_CONFIG + + if use elibc_musl; then + export CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags error-standalone)" + export LIBS="${LIBS} $(${PKG_CONFIG} --libs error-standalone)" + fi + + local myconf=( + # avoid BDEP on dwz + DWZ=dwz + ac_cv_dwz_j=yes + ) + econf "${myconf[@]}" +} + +src_test() { + emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" +} |
