Skip to content

Commit 8d12c7d

Browse files
committed
dev-util/elf-dissector: new package, add 9999
Signed-off-by: Alfred Wingate <parona@protonmail.com>
1 parent 13ee5bc commit 8d12c7d

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Copyright 2025 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
ECM_TEST=true
7+
KFMIN=6.9.0
8+
QTMIN=6.7
9+
inherit ecm kde.org xdg
10+
11+
DESCRIPTION="Static analysis tool for ELF libraries and executables"
12+
HOMEPAGE="https://invent.kde.org/sdk/elf-dissector"
13+
14+
LICENSE="BSD-2 GPL-2 LGPL-2+"
15+
SLOT="0"
16+
KEYWORDS=""
17+
18+
IUSE="capstone"
19+
20+
# libdwarf supports appears to have issues with >=2.0.0
21+
#dwarf? ( >=dev-libs/libdwarf-0.10:= )
22+
DEPEND="
23+
>=dev-qt/qtbase-${QTMIN}:6[widgets]
24+
sys-libs/binutils-libs:=
25+
capstone? ( dev-libs/capstone:= )
26+
"
27+
RDEPEND="${DEPEND}
28+
sci-visualization/gnuplot
29+
"
30+
31+
src_configure() {
32+
local mycmakeargs=(
33+
$(cmake_use_find_package capstone Capstone)
34+
-DCMAKE_DISABLE_FIND_PACKAGE_Dwarf=ON
35+
#$(cmake_use_find_package dwarf Dwarf)
36+
)
37+
ecm_src_configure
38+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<maintainer type="project">
5+
<email>kde@gentoo.org</email>
6+
<name>Gentoo KDE Project</name>
7+
</maintainer>
8+
<upstream>
9+
<remote-id type="kde-invent">sdk/elf-dissector</remote-id>
10+
</upstream>
11+
<use>
12+
<flag name="capstone">Enable disassembly support with <pkg>dev-libs/capstone</pkg></flag>
13+
</use>
14+
</pkgmetadata>

0 commit comments

Comments
 (0)