File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments