summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-05 06:01:51 +0100
committerSam James <sam@gentoo.org>2023-06-05 06:01:51 +0100
commit7bbf259721398464a22a3c4437d1b15d641fed47 (patch)
tree2d336a1f701b1223b366cf2fe30c9998f41ef918 /dev-util/seer
parentdev-util/seer: sync live (diff)
downloadgentoo-7bbf259721398464a22a3c4437d1b15d641fed47.tar.gz
gentoo-7bbf259721398464a22a3c4437d1b15d641fed47.tar.bz2
gentoo-7bbf259721398464a22a3c4437d1b15d641fed47.zip
dev-util/seer: add 2.0 (unkw'd)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/seer')
-rw-r--r--dev-util/seer/Manifest1
-rw-r--r--dev-util/seer/seer-2.0.ebuild58
-rw-r--r--dev-util/seer/seer-9999.ebuild13
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-util/seer/Manifest b/dev-util/seer/Manifest
index b4af0a699671..d79c7f868bde 100644
--- a/dev-util/seer/Manifest
+++ b/dev-util/seer/Manifest
@@ -1 +1,2 @@
DIST seer-1.17.tar.gz 410347 BLAKE2B 6ac10aecc862a669cf9c0a2f25104604bddb3791d48cf8653483edb14a913f8214e7a316f335e115e0df80703610c97d395f6b896406cc19814701f234e319cf SHA512 93a0b148685dcd52eb567c1d58848e65c43208af9505b3bc02202c1be02ed7f94af500a1b5fdb295f0d3cd13dd88e3d6d9a524396c9c37c74435532d3dfbec2d
+DIST seer-2.0.tar.gz 409888 BLAKE2B c39cc0a186a68bad8477262d8900f0b8e632dc2e21504b4157d881b7a2cd6c75d9c0d60e28767bf490c6420e1ca1f17e52c13ef642986d9d94b44b46148270b2 SHA512 ea01ccbc7e457d7a42bf8703da24c2d42c37d81c7c5223b30f5c3837200a8e3137cd5ff5fd6531cf3b3c22b1cf1bec576c68191bfb63a5d55a8527ab8283c04a
diff --git a/dev-util/seer/seer-2.0.ebuild b/dev-util/seer/seer-2.0.ebuild
new file mode 100644
index 000000000000..48b2a9ffe763
--- /dev/null
+++ b/dev-util/seer/seer-2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022-2023 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"
+
+ # Unkeyworded until tested a bit more
+ #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"
+SLOT="0"
+
+DEPEND="
+ dev-qt/qtcharts:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="
+ ${DEPEND}
+ sys-devel/gdb
+"
+
+src_configure() {
+ local mycmakeargs=(
+ # TODO: Support Qt 6 once it's unmasked
+ # Note that >= 2.0 barely supports Qt 5, see https://github.com/epasveer/seer/wiki/Building-Seer---Qt5.
+ -DQTVERSION=QT5
+ )
+
+ 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
+}
diff --git a/dev-util/seer/seer-9999.ebuild b/dev-util/seer/seer-9999.ebuild
index db6606d3c01e..48b2a9ffe763 100644
--- a/dev-util/seer/seer-9999.ebuild
+++ b/dev-util/seer/seer-9999.ebuild
@@ -13,7 +13,8 @@ if [[ ${PV} == 9999 ]] ; then
else
SRC_URI="https://github.com/epasveer/seer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~ppc64"
+ # Unkeyworded until tested a bit more
+ #KEYWORDS="~amd64 ~arm64 ~ppc64"
fi
S="${WORKDIR}"/${P}/src
@@ -35,6 +36,16 @@ RDEPEND="
sys-devel/gdb
"
+src_configure() {
+ local mycmakeargs=(
+ # TODO: Support Qt 6 once it's unmasked
+ # Note that >= 2.0 barely supports Qt 5, see https://github.com/epasveer/seer/wiki/Building-Seer---Qt5.
+ -DQTVERSION=QT5
+ )
+
+ cmake_src_configure
+}
+
src_install() {
cmake_src_install