diff options
author | Sam James <sam@gentoo.org> | 2022-10-25 06:40:11 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-25 06:51:09 +0100 |
commit | dbd081bb7cc58f533df35692c925b6dd4c5bad50 (patch) | |
tree | 2b1db19f46cb7c5e736da8199bbfe0c988bb0a77 /dev-util/seer | |
parent | mail-filter/mimedefang: drop 2.84-r1 (diff) | |
download | gentoo-dbd081bb7cc58f533df35692c925b6dd4c5bad50.tar.gz gentoo-dbd081bb7cc58f533df35692c925b6dd4c5bad50.tar.bz2 gentoo-dbd081bb7cc58f533df35692c925b6dd4c5bad50.zip |
dev-util/seer: add 1.12
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/seer')
-rw-r--r-- | dev-util/seer/Manifest | 1 | ||||
-rw-r--r-- | dev-util/seer/files/seer-1.12-build-fixes.patch | 18 | ||||
-rw-r--r-- | dev-util/seer/seer-1.12.ebuild | 51 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-util/seer/Manifest b/dev-util/seer/Manifest index 29a3c9830642..c9293ae546de 100644 --- a/dev-util/seer/Manifest +++ b/dev-util/seer/Manifest @@ -1,2 +1,3 @@ DIST seer-1.10.tar.gz 367629 BLAKE2B e09ed500103428d5aee7138beb2cf8b2dafa167e2c6e3e60d0a5e26be358945af8544a9165dda835b2ec44264da4d16a3a44398000392263d690c6080cad914f SHA512 b691b433e206c78b121a48578ac632f236ca8734f9ee6c5e9c0eb3503ac11ee786595d66ef15c46e7ae5b31a58b444b7631cea2ef67389f0be7e292c7d2279ef DIST seer-1.11.tar.gz 380123 BLAKE2B 786061d12127cac2b64012461a8cab4f082c2f028db42c8856187cefae940ed084b70db68f6deb4735e5d6237f2d936be5d28d417f676a18324e37fc14342aec SHA512 be58f4c24f34b7d55689c82c7bf0584780e36d47f2e153555fca51b35763732ff639cd2f8281bf7eba8270d706c5560efea72d2c8b19cca5d4e2480d72f9f440 +DIST seer-1.12.tar.gz 387336 BLAKE2B 2db88904c230f5e5d1aa7112a77a88f709879aed8a6c6867ef05d53cfbba5baa56b477345be8e00a8a5881b2156da9730b71285dc68945d78cb959fccbb988be SHA512 94ce329fa0aebea34d838c1742cd3ab34d76123d3a99e102314b2e4a300944be2fb4cd3116d023efbc3a48aec562493ca241a8478a995bd99df58bf0fecc3d50 diff --git a/dev-util/seer/files/seer-1.12-build-fixes.patch b/dev-util/seer/files/seer-1.12-build-fixes.patch new file mode 100644 index 000000000000..1230e899c4c9 --- /dev/null +++ b/dev-util/seer/files/seer-1.12-build-fixes.patch @@ -0,0 +1,18 @@ +https://github.com/epasveer/seer/commit/75f44adf35b44739c6454ac8078ba2e3757a797c + +From 75f44adf35b44739c6454ac8078ba2e3757a797c Mon Sep 17 00:00:00 2001 +From: Malik Mlitat <malik.mlitat@gmail.com> +Date: Sat, 22 Oct 2022 23:33:12 +0200 +Subject: [PATCH] Fix debian and cmake build on linux + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -193,8 +193,6 @@ qt5_add_resources(SOURCE_FILES resource.qrc) + if(NOT CMAKE_BUILD_TYPE MATCHES Debug) #Release, RelWithDebInfo and MinSizeRel + if(WIN32) # Check if we are on Windows + set(SYSTEM_TYPE WIN32) +- else() # UNIX +- set(SYSTEM_TYPE EXCLUDE_FROM_ALL) + endif() + message("System type is " ${SYSTEM_TYPE}) + endif() diff --git a/dev-util/seer/seer-1.12.ebuild b/dev-util/seer/seer-1.12.ebuild new file mode 100644 index 000000000000..3106394943f3 --- /dev/null +++ b/dev-util/seer/seer-1.12.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022 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" +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 +" + +PATCHES=( + "${FILESDIR}"/${P}-build-fixes.patch +) + +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 +} |