diff options
author | Sam James <sam@gentoo.org> | 2022-08-31 03:26:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-31 03:26:35 +0100 |
commit | ce35f7b5075be35bd5c6b4dfd9acd11880c4cc0a (patch) | |
tree | 4ef45e74bea3696b5444eedeab1c087c3fc45478 /dev-util/seer | |
parent | dev-util/seer: add desktop file (diff) | |
download | gentoo-ce35f7b5075be35bd5c6b4dfd9acd11880c4cc0a.tar.gz gentoo-ce35f7b5075be35bd5c6b4dfd9acd11880c4cc0a.tar.bz2 gentoo-ce35f7b5075be35bd5c6b4dfd9acd11880c4cc0a.zip |
dev-util/seer: add live ebuild
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/seer')
-rw-r--r-- | dev-util/seer/seer-1.9-r2.ebuild | 11 | ||||
-rw-r--r-- | dev-util/seer/seer-9999.ebuild | 45 |
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-util/seer/seer-1.9-r2.ebuild b/dev-util/seer/seer-1.9-r2.ebuild index e2bb45d01c0f..b5ad9e01cc7a 100644 --- a/dev-util/seer/seer-1.9-r2.ebuild +++ b/dev-util/seer/seer-1.9-r2.ebuild @@ -7,12 +7,19 @@ inherit cmake desktop xdg DESCRIPTION="A GUI frontend to gdb" HOMEPAGE="https://github.com/epasveer/seer" -SRC_URI="https://github.com/epasveer/seer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +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 LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" DEPEND=" dev-qt/qtcharts:5 diff --git a/dev-util/seer/seer-9999.ebuild b/dev-util/seer/seer-9999.ebuild new file mode 100644 index 000000000000..b5ad9e01cc7a --- /dev/null +++ b/dev-util/seer/seer-9999.ebuild @@ -0,0 +1,45 @@ +# 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 + +LICENSE="GPL-3" +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_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 +} |