summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-31 08:35:08 +0100
committerSam James <sam@gentoo.org>2024-08-31 08:46:15 +0100
commit6be883cbe08421ca5ceb23a11f1f818631aea71c (patch)
tree10eddf6087ca2a517c00e40c880d06fecddf553d /dev-debug
parentxfce-extra/xfce4-smartbookmark-plugin: Remove old (diff)
downloadgentoo-6be883cbe08421ca5ceb23a11f1f818631aea71c.tar.gz
gentoo-6be883cbe08421ca5ceb23a11f1f818631aea71c.tar.bz2
gentoo-6be883cbe08421ca5ceb23a11f1f818631aea71c.zip
dev-debug/gprofng-gui: add 9999
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/gprofng-gui/gprofng-gui-1.1.ebuild15
-rw-r--r--dev-debug/gprofng-gui/gprofng-gui-9999.ebuild35
2 files changed, 47 insertions, 3 deletions
diff --git a/dev-debug/gprofng-gui/gprofng-gui-1.1.ebuild b/dev-debug/gprofng-gui/gprofng-gui-1.1.ebuild
index 494aab5c7e6f..a97566fb7708 100644
--- a/dev-debug/gprofng-gui/gprofng-gui-1.1.ebuild
+++ b/dev-debug/gprofng-gui/gprofng-gui-1.1.ebuild
@@ -7,12 +7,18 @@ inherit java-pkg-2
DESCRIPTION="Full-fledged graphical interface to operate gprofng"
HOMEPAGE="https://www.gnu.org/software/gprofng-gui/"
-SRC_URI="mirror://gnu/gprofng-gui/${P}.tar.gz"
-S="${WORKDIR}/${P}"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://git.savannah.gnu.org/git/gprofng-gui.git"
+ inherit autotools git-r3
+else
+ SRC_URI="mirror://gnu/gprofng-gui/${P}.tar.gz"
+ S="${WORKDIR}/${P}"
+
+ KEYWORDS="~amd64"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND="
@@ -22,5 +28,8 @@ RDEPEND="
src_prepare() {
default
+
+ [[ ${PV} == 9999 ]] && eautoreconf
+
java-pkg-2_src_prepare
}
diff --git a/dev-debug/gprofng-gui/gprofng-gui-9999.ebuild b/dev-debug/gprofng-gui/gprofng-gui-9999.ebuild
new file mode 100644
index 000000000000..a97566fb7708
--- /dev/null
+++ b/dev-debug/gprofng-gui/gprofng-gui-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-2
+
+DESCRIPTION="Full-fledged graphical interface to operate gprofng"
+HOMEPAGE="https://www.gnu.org/software/gprofng-gui/"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://git.savannah.gnu.org/git/gprofng-gui.git"
+ inherit autotools git-r3
+else
+ SRC_URI="mirror://gnu/gprofng-gui/${P}.tar.gz"
+ S="${WORKDIR}/${P}"
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND="
+ sys-devel/binutils:*[gprofng(-)]
+ >=virtual/jre-1.8:*
+"
+
+src_prepare() {
+ default
+
+ [[ ${PV} == 9999 ]] && eautoreconf
+
+ java-pkg-2_src_prepare
+}