From 41e2b955dd4c5475165f9d2cf0e7fd9563286048 Mon Sep 17 00:00:00 2001 From: David Roman Date: Thu, 27 Jun 2024 14:53:10 +0200 Subject: dev-libs/libdwarf: add 0.10.0 Signed-off-by: David Roman --- dev-libs/libdwarf/Manifest | 1 + dev-libs/libdwarf/libdwarf-0.10.0.ebuild | 47 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-libs/libdwarf/libdwarf-0.10.0.ebuild (limited to 'dev-libs') diff --git a/dev-libs/libdwarf/Manifest b/dev-libs/libdwarf/Manifest index 2240a5dcb..e1cfcf2f6 100644 --- a/dev-libs/libdwarf/Manifest +++ b/dev-libs/libdwarf/Manifest @@ -1,2 +1,3 @@ +DIST libdwarf-0.10.0.tar.xz 2707888 BLAKE2B 37c7e9bf154b5994601e26a8abeff94d8a1bc74f254ef4d74d85d471f7197e2ed2d128f5e3c0c78e4dc9134281e0c2f5f8ad839fb720289457ed967ab57be68d SHA512 02f747a5c23a4f27723f450d9bff62ec4f9ef5cbac45f8e4bfa3ede760e738f187de2f8bba8d31720eb8711a322608749b60798ce5a0e78e5339025d2b05917e DIST libdwarf-0.9.1.tar.xz 2677488 BLAKE2B 811103cfd12420b35483c3929709d7759747a70d1a7790250fe84e7a467c03fcf095656dda1992b60488ffc15e45fa2ad6197d321fa3483740cd5dc92f363e9b SHA512 ec66f0dbc72df3dd689a2d38ebae029e081e0ec3008dd510372e0c2c387f0092c2f9fe8d9928ded87b9c2ec30f1c3dc63bfaca7cc4a14e1c8c557d3c3b37d227 DIST libdwarf-0.9.2.tar.xz 2692980 BLAKE2B bef2788b217916cf0887915a12695a82232bdeaf91bf1c5f5844db079d13e8b38996c5b8137ade9fd58297b5bf5ca2af4bce99c9bdf526217fce161755881c69 SHA512 f502b6da4b96d5962da1197c4ae522bfdb2858496c4af198109d844e0021318cb2a5ebc9c8cf9fc2e4439997ca9545c650ca4f28f0d96cb66b05c9b89b98f2f8 diff --git a/dev-libs/libdwarf/libdwarf-0.10.0.ebuild b/dev-libs/libdwarf/libdwarf-0.10.0.ebuild new file mode 100644 index 000000000..ef3d5e160 --- /dev/null +++ b/dev-libs/libdwarf/libdwarf-0.10.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="The DWARF Debugging Information Format" +HOMEPAGE=" + https://www.prevanders.net/dwarf.html + https://www.dwarfstd.org + https://github.com/davea42/libdwarf-code +" +SRC_URI="https://www.prevanders.net/${P}.tar.xz" + +LICENSE="BSD GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test doc dwarfexample dwarfgen" +RESTRICT="!test? ( test )" + +DEPEND=" + app-arch/zstd:= + sys-libs/zlib:= +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS NEWS README.md ) + +PATCHES=( "${FILESDIR}/${PN}-0.9.2-fix-include-patch.patch" ) + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED=ON + -DBUILD_DWARFGEN=$(usex dwarfgen) + -DBUILD_DWARFEXAMPLE=$(usex dwarfexample) + -DDO_TESTING=$(usex test) + ) + + cmake_src_configure +} + +src_install(){ + cmake_src_install + + dodoc ChangeLog* doc/*.pdf +} -- cgit v1.2.3-65-gdbad