dev-libs/libdwarf: add 0.9.2

Closes: https://bugs.gentoo.org/294661
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2024-04-18 15:57:27 +02:00
parent 9a42ded484
commit 1526886f9c
3 changed files with 52 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST libdwarf-0.9.1.tar.xz 2677488 BLAKE2B 811103cfd12420b35483c3929709d7759747a70d1a7790250fe84e7a467c03fcf095656dda1992b60488ffc15e45fa2ad6197d321fa3483740cd5dc92f363e9b SHA512 ec66f0dbc72df3dd689a2d38ebae029e081e0ec3008dd510372e0c2c387f0092c2f9fe8d9928ded87b9c2ec30f1c3dc63bfaca7cc4a14e1c8c557d3c3b37d227
DIST libdwarf-0.9.2.tar.xz 2692980 BLAKE2B bef2788b217916cf0887915a12695a82232bdeaf91bf1c5f5844db079d13e8b38996c5b8137ade9fd58297b5bf5ca2af4bce99c9bdf526217fce161755881c69 SHA512 f502b6da4b96d5962da1197c4ae522bfdb2858496c4af198109d844e0021318cb2a5ebc9c8cf9fc2e4439997ca9545c650ca4f28f0d96cb66b05c9b89b98f2f8

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
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="doc dwarfexample dwarfgen"
DEPEND="
app-arch/zstd:=
sys-libs/zlib:=
"
RDEPEND="${DEPEND}"
BDEPEND="doc? ( app-text/doxygen )"
DOCS=( AUTHORS NEWS README.md )
src_configure() {
local emesonargs=(
$(meson_use dwarfgen)
$(meson_use dwarfexample)
$(meson_use doc)
)
meson_src_configure
}
src_install(){
meson_src_install
dodoc ChangeLog* doc/*.pdf
if use doc; then
mv "${ED}"/usr/share/doc/${PN}/* "${ED}"/usr/share/doc/${PF}/ || die
rmdir "${ED}"/usr/share/doc/${PN} || die
fi
}

View File

@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person" proxied="yes">
<email>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
<upstream>
<remote-id type="github">davea42/libdwarf-code</remote-id>
</upstream>