blob: 9415e7984c4934399959a4970335b1f1a39f4fd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop xdg
DESCRIPTION="A GUI frontend to gdb"
HOMEPAGE="https://github.com/epasveer/seer"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/epasveer/seer"
inherit git-r3
else
SRC_URI="https://github.com/epasveer/seer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
S="${WORKDIR}"/${P}/src
# Upstream keep 'debian/copyright' up to date
# https://github.com/epasveer/seer/issues/86
LICENSE="GPL-3+ CC-BY-3.0 CC-BY-4.0 MIT"
SLOT="0"
DEPEND="
dev-qt/qtbase:6[gui,widgets]
dev-qt/qtcharts:6
dev-qt/qtsvg:6
"
RDEPEND="
${DEPEND}
dev-debug/gdb
"
src_configure() {
local mycmakeargs=(
# Upstream don't really support Qt 5 for >= 2.0:
# https://github.com/epasveer/seer/wiki/Building-Seer---Qt5.
-DQTVERSION=QT6
)
cmake_src_configure
}
src_install() {
cmake_src_install
domenu resources/seergdb.desktop
local size
for size in 32 64 128 256 512 ; do
newicon -s ${size} resources/seergdb_${size}x${size}.png seergdb.png
done
}
|