summaryrefslogtreecommitdiff
blob: a97566fb770897532155e901bd29270db6531dc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
}