mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/617 Merges: https://codeberg.org/gentoo/gentoo/pulls/617 Signed-off-by: Sam James <sam@gentoo.org>
57 lines
1.2 KiB
Bash
57 lines
1.2 KiB
Bash
# Copyright 2022-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake desktop xdg
|
|
|
|
DESCRIPTION="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
|
|
# https://github.com/epasveer/seer/pull/457
|
|
#SRC_URI="https://github.com/epasveer/seer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
SRC_URI="https://gitlab.com/api/v4/projects/32909921/packages/generic/${PN}/${PV}/${P}-gentoo.tar.gz"
|
|
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64"
|
|
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,opengl,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
|
|
|
|
-DCONFIG_SEER_INSTALL_ICONS=1
|
|
-DCONFIG_SEER_INSTALL_FLATHUB_FILES=0
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
|
|
domenu resources/seergdb.desktop
|
|
|
|
}
|