summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-11-18 10:54:29 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-12-10 07:45:58 +0100
commitcda029e9c96b5ef57e507ddd829b4e58cb8d7f65 (patch)
treed1078baa06c97527c20ce32d288f1f7626687276 /dev-util
parentnet-analyzer/wireshark: Stabilize 4.4.2 amd64, #945995 (diff)
downloadgentoo-cda029e9c96b5ef57e507ddd829b4e58cb8d7f65.tar.gz
gentoo-cda029e9c96b5ef57e507ddd829b4e58cb8d7f65.tar.bz2
gentoo-cda029e9c96b5ef57e507ddd829b4e58cb8d7f65.zip
dev-util/oprofile: adjust java deps, update EAPI 7 -> 8
Java dependencies adjusted according to: https://wiki.gentoo.org/wiki/Java_Developer_Guide#JDK.2FJRE Closes: https://bugs.gentoo.org/945865 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/39589/commits/b6e224521757f1575b7b79ddb5b3c87c172bb4e2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/oprofile/oprofile-1.4.0-r1.ebuild (renamed from dev-util/oprofile/oprofile-1.4.0.ebuild)11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-util/oprofile/oprofile-1.4.0.ebuild b/dev-util/oprofile/oprofile-1.4.0-r1.ebuild
index e4667ded8841..44788d7acaae 100644
--- a/dev-util/oprofile/oprofile-1.4.0.ebuild
+++ b/dev-util/oprofile/oprofile-1.4.0-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools java-pkg-opt-2 linux-info
DESCRIPTION="A transparent low-overhead system-wide profiler"
-HOMEPAGE="http://oprofile.sourceforge.net"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+HOMEPAGE="https://oprofile.sourceforge.io/news/"
+SRC_URI="https://downloads.sourceforge.net/project/oprofile/oprofile/${P}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -15,7 +15,6 @@ IUSE="apidoc java pch static-libs"
BDEPEND="
apidoc? ( app-text/doxygen[dot] )
- java? ( >=virtual/jdk-1.8:= )
"
CDEPEND="
>=dev-libs/popt-1.7-r1
@@ -25,10 +24,12 @@ CDEPEND="
"
DEPEND="${CDEPEND}
>=sys-kernel/linux-headers-2.6.31
+ java? ( >=virtual/jdk-1.8:* )
"
RDEPEND="${CDEPEND}
acct-user/oprofile
acct-group/oprofile
+ java? ( >=virtual/jre-1.8:* )
"
CONFIG_CHECK="~PERF_EVENTS"
@@ -42,7 +43,7 @@ pkg_setup() {
echo
fi
- use java && java-pkg_init
+ use java && java-pkg-opt-2_pkg_setup
}
src_prepare() {