summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-19 12:11:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-19 12:11:50 +0100
commitfe0961fc9674dd24a017f474a34c1edbbd005965 (patch)
treedfdf05888e0f5fff9c1faafe6eb0dd5d827b63e5 /dev-util
parentbcd00c826070701606b0ccebf46234dfc792d3e9 (diff)
gentoo auto-resync : 19:09:2024 - 12:11:50
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin65069 -> 65068 bytes
-rw-r--r--dev-util/intel_clc/Manifest22
-rw-r--r--dev-util/intel_clc/intel_clc-24.0.9.ebuild86
-rw-r--r--dev-util/intel_clc/intel_clc-24.1.3.ebuild87
-rw-r--r--dev-util/intel_clc/intel_clc-24.1.4.ebuild87
-rw-r--r--dev-util/intel_clc/intel_clc-24.1.5.ebuild87
-rw-r--r--dev-util/intel_clc/intel_clc-24.1.6.ebuild87
-rw-r--r--dev-util/intel_clc/intel_clc-24.1.7.ebuild2
-rw-r--r--dev-util/intel_clc/intel_clc-24.2.0_rc4.ebuild93
-rw-r--r--dev-util/intel_clc/intel_clc-24.2.1.ebuild93
-rw-r--r--dev-util/intel_clc/intel_clc-24.2.2.ebuild93
-rw-r--r--dev-util/intel_clc/intel_clc-24.2.3.ebuild (renamed from dev-util/intel_clc/intel_clc-24.2.0.ebuild)0
-rw-r--r--dev-util/visualvm/Manifest2
-rw-r--r--dev-util/visualvm/visualvm-2.1.10.ebuild182
14 files changed, 188 insertions, 733 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index 53b14ef3b90f..c35260ea1c47 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 9117273338ca..142d5f59f643 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,22 +1,6 @@
-DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a SHA512 de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
-DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb SHA512 db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
-DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 2109fc604858a0927271d7b1edb76a24514acac6117e564c6999c99f068624964f5cf0b7d022cac5726e432353a32a5278b3aa00b64dd4118bb2f0b7123c3b41 SHA512 0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748
-DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1 SHA512 5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288
-DIST mesa-24.1.6.tar.xz 29172600 BLAKE2B 295634438e1a2ae64bd1c5b0309a253e72a4d95e559cabad72f94aa2b91e5b05179c69cce5e371b69707419399dae0bfe808cb16b2e9ee112277e18b8f0f31f9 SHA512 2df0c78126f34a9ab7ce4946ed9fcd58d828717ecfd93681d9e136e605e9a8e01428dd632c0125e06d805498ffd75250f0e617f47fbb7e6368e6c8a48f4c4dfc
DIST mesa-24.1.7.tar.xz 29206724 BLAKE2B b3102fcf96c032d07826186c2d60dc93e5c17b26f725c20cf1e402d1cfbaaba9809bff7a04d3df0179d2ec8606bc9fb391761d17a148671b9270cf2aaca0324d SHA512 890f6387963bbb86a85305ea963cca326a3b3f8f8758ae2082fd62c52df77c2883a359341e91f36614fea59219394ef78f799a334080699a0bb71d984a68cb01
-DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5 SHA512 5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
-DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721 SHA512 a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294
-DIST mesa-24.2.1.tar.xz 29431192 BLAKE2B f4ef9fd08bbf16551498a8edce1e19e594a0b85ee1f05f8f7c80fcf12ec7ac4cb5947b713791f5202201f8cfc48773507d869dbd239e6fc3dcf2c3a621892327 SHA512 3b77e5faec51b67583131123b0cc010b52325ea308e4075323102aa999d9c9fbb65b873eb537ed4f577b5a0811e7f096e7e101510cb50326ea5c439b4b468380
-DIST mesa-24.2.2.tar.xz 29441876 BLAKE2B 14b29989b056c3bc76cb64babef6e93dd31af37ea72674adaad3f7ef7373c004996e375941662b1c3bbacfd707a21e2e3631a116a841130edfa1bfe3450ae5ab SHA512 d9979f7a1ae7bfeb0658d1b6c9021b7d0043c3ca71db9deaa2fc8a3d4c07cd58497b9233737a31fb66ef711a369a859757a63fb86c2aadd859867f9a4eaf16a9
-EBUILD intel_clc-24.0.9.ebuild 1741 BLAKE2B b4fc7184409bedcfec1cd559149b7d57b9a5bd708cc4aea847c47573cd194804e3435a15120914fadc4bd5f9172e946d93a9164a875809feae2cc7589a36f74e SHA512 d9825be298668fb6bc933ff6131c5a2d18b76bbcb9b6ca2176512d7a4273cf42f5fe00097478a4cd3e9c678fa53c8a95f83115c4f569ac37eebe940749ba340e
-EBUILD intel_clc-24.1.3.ebuild 1746 BLAKE2B 29d3a3345eb3a42a43079d169fe923e59ec7db0e5f5d3057fcb66aeac3c31fadf0522000c860c23b6b5a6aa0a9d82e09b88817c2791adb4d803dbafa6acc16e2 SHA512 8f1de0280d57dc7196d8602f19dcce0211599b47353e2580116289627ab6f8584c8c8bf66d415d177cfa9dda0514a4640057d637d26da081e38ffcddd310b9a3
-EBUILD intel_clc-24.1.4.ebuild 1748 BLAKE2B 1546870b9ef18aeaa21da10acf8edd2875015453e22dc15ee3c2bf6e37afab1454f83040af343c7fec75d5fcdd8819e4ff0a8f56f27691b6a78c6d5438601efc SHA512 3981e62ce60c42485d2faedf58ff68f261d264c5d0fa891b0db41cbc1427a9cdd761b2119afbbd04f37b5ec34d9ec516cff233a31445d72af0962b570e0f3c1b
-EBUILD intel_clc-24.1.5.ebuild 1748 BLAKE2B 1546870b9ef18aeaa21da10acf8edd2875015453e22dc15ee3c2bf6e37afab1454f83040af343c7fec75d5fcdd8819e4ff0a8f56f27691b6a78c6d5438601efc SHA512 3981e62ce60c42485d2faedf58ff68f261d264c5d0fa891b0db41cbc1427a9cdd761b2119afbbd04f37b5ec34d9ec516cff233a31445d72af0962b570e0f3c1b
-EBUILD intel_clc-24.1.6.ebuild 1746 BLAKE2B 29d3a3345eb3a42a43079d169fe923e59ec7db0e5f5d3057fcb66aeac3c31fadf0522000c860c23b6b5a6aa0a9d82e09b88817c2791adb4d803dbafa6acc16e2 SHA512 8f1de0280d57dc7196d8602f19dcce0211599b47353e2580116289627ab6f8584c8c8bf66d415d177cfa9dda0514a4640057d637d26da081e38ffcddd310b9a3
-EBUILD intel_clc-24.1.7.ebuild 1748 BLAKE2B 1546870b9ef18aeaa21da10acf8edd2875015453e22dc15ee3c2bf6e37afab1454f83040af343c7fec75d5fcdd8819e4ff0a8f56f27691b6a78c6d5438601efc SHA512 3981e62ce60c42485d2faedf58ff68f261d264c5d0fa891b0db41cbc1427a9cdd761b2119afbbd04f37b5ec34d9ec516cff233a31445d72af0962b570e0f3c1b
-EBUILD intel_clc-24.2.0.ebuild 1977 BLAKE2B da708552132721c9b9c4a4723d4b403ad8e00899667959384c4ba9845bad7edb978d165ca4e6770dfab9f32e8854886fe8bcdf391e21f7ea7713571d99ec4b03 SHA512 e3905923dd69c1fea7c534b4df421dbd0baded98b96f2d8aa91bd2fb8c7fe81858a8bdb4e9fa5cc63733c9af74c1da9287d1f08e31471ba2c974188042194704
-EBUILD intel_clc-24.2.0_rc4.ebuild 1977 BLAKE2B 0332b944edc09e0d85098e7ae65f9be4050833557236e7831ee251f7569d6d6cc1ece76e2cbfa5d8ba801d8192003f42ccc80350ff6410150527ce3fae73c996 SHA512 e4303ea928e9557aa729e88910c52386be1f058a26565a3b3bb6c06e1d38ee7b37b21e0e4bd136fbe8df96a6217cd95c869bf581ab86bd2b602361bbb54ab5ef
-EBUILD intel_clc-24.2.1.ebuild 1977 BLAKE2B da708552132721c9b9c4a4723d4b403ad8e00899667959384c4ba9845bad7edb978d165ca4e6770dfab9f32e8854886fe8bcdf391e21f7ea7713571d99ec4b03 SHA512 e3905923dd69c1fea7c534b4df421dbd0baded98b96f2d8aa91bd2fb8c7fe81858a8bdb4e9fa5cc63733c9af74c1da9287d1f08e31471ba2c974188042194704
-EBUILD intel_clc-24.2.2.ebuild 1977 BLAKE2B da708552132721c9b9c4a4723d4b403ad8e00899667959384c4ba9845bad7edb978d165ca4e6770dfab9f32e8854886fe8bcdf391e21f7ea7713571d99ec4b03 SHA512 e3905923dd69c1fea7c534b4df421dbd0baded98b96f2d8aa91bd2fb8c7fe81858a8bdb4e9fa5cc63733c9af74c1da9287d1f08e31471ba2c974188042194704
+DIST mesa-24.2.3.tar.xz 29465732 BLAKE2B 3c480bd9f5948ae4d66a833cfc059b1b872fca989296a070deaa46aeb72298eaca6a3fa9d13574859623cec4a6af978f44d2c9562b9757be2257364c27600be6 SHA512 7a1ace23568d1907b778a2859f97c8988a414ba74e02e1fb5af6f95f768e1b1a2dfdaf412b0d655678ed915d28273953fd1236ebcd87553a1880f1a7f3ea4d44
+EBUILD intel_clc-24.1.7.ebuild 1746 BLAKE2B 29d3a3345eb3a42a43079d169fe923e59ec7db0e5f5d3057fcb66aeac3c31fadf0522000c860c23b6b5a6aa0a9d82e09b88817c2791adb4d803dbafa6acc16e2 SHA512 8f1de0280d57dc7196d8602f19dcce0211599b47353e2580116289627ab6f8584c8c8bf66d415d177cfa9dda0514a4640057d637d26da081e38ffcddd310b9a3
+EBUILD intel_clc-24.2.3.ebuild 1977 BLAKE2B da708552132721c9b9c4a4723d4b403ad8e00899667959384c4ba9845bad7edb978d165ca4e6770dfab9f32e8854886fe8bcdf391e21f7ea7713571d99ec4b03 SHA512 e3905923dd69c1fea7c534b4df421dbd0baded98b96f2d8aa91bd2fb8c7fe81858a8bdb4e9fa5cc63733c9af74c1da9287d1f08e31471ba2c974188042194704
EBUILD intel_clc-9999.ebuild 1977 BLAKE2B da708552132721c9b9c4a4723d4b403ad8e00899667959384c4ba9845bad7edb978d165ca4e6770dfab9f32e8854886fe8bcdf391e21f7ea7713571d99ec4b03 SHA512 e3905923dd69c1fea7c534b4df421dbd0baded98b96f2d8aa91bd2fb8c7fe81858a8bdb4e9fa5cc63733c9af74c1da9287d1f08e31471ba2c974188042194704
MISC metadata.xml 388 BLAKE2B 0558cfe706987a93605fb383bc2c30ff4f4cf5837ca19afd3e16d9702ea7dcd3d575579d53aacb531e1d421c8b1692eb4607d713793a89240223c031d7781a31 SHA512 e0375912a94fa92b49ed78d9a88c4eacc8b441d8b2fa117a48df2d8a958f1cf91279299aca109e24f76b27ca04f0067f83e5b8e4141f85ac64d379bca0945d2a
diff --git a/dev-util/intel_clc/intel_clc-24.0.9.ebuild b/dev-util/intel_clc/intel_clc-24.0.9.ebuild
deleted file mode 100644
index 922614294c85..000000000000
--- a/dev-util/intel_clc/intel_clc-24.0.9.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( 16 17 )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm-r1 meson python-any-r1
-
-MY_PV="${PV/_/-}"
-
-DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
-HOMEPAGE="https://mesa3d.org/"
-
-if [[ ${PV} == 9999 ]]; then
- S="${WORKDIR}/intel_clc-${MY_PV}"
- EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
- inherit git-r3
-else
- S="${WORKDIR}/mesa-${MY_PV}"
- SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="amd64"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/libclc
- dev-util/spirv-tools
- >=sys-libs/zlib-1.2.8:=
- x11-libs/libdrm
- $(llvm_gen_dep '
- dev-util/spirv-llvm-translator:${LLVM_SLOT}
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
-"
-DEPEND="${RDEPEND}
- dev-libs/expat
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
- virtual/pkgconfig
-"
-
-python_check_deps() {
- python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
-
- local emesonargs=(
- -Dllvm=enabled
- -Dshared-llvm=enabled
- -Dintel-clc=enabled
-
- -Dgallium-drivers=''
- -Dvulkan-drivers=''
-
- # Set platforms empty to avoid the default "auto" setting. If
- # platforms is empty meson.build will add surfaceless.
- -Dplatforms=''
-
- -Dglx=disabled
- -Dlibunwind=disabled
- -Dzstd=disabled
-
- -Dbuildtype=$(usex debug debug plain)
- -Db_ndebug=$(usex debug false true)
- )
- meson_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}
diff --git a/dev-util/intel_clc/intel_clc-24.1.3.ebuild b/dev-util/intel_clc/intel_clc-24.1.3.ebuild
deleted file mode 100644
index 4ff279ed0893..000000000000
--- a/dev-util/intel_clc/intel_clc-24.1.3.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..18} )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm-r1 meson python-any-r1
-
-MY_PV="${PV/_/-}"
-
-DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
-HOMEPAGE="https://mesa3d.org/"
-
-if [[ ${PV} == 9999 ]]; then
- S="${WORKDIR}/intel_clc-${MY_PV}"
- EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
- inherit git-r3
-else
- S="${WORKDIR}/mesa-${MY_PV}"
- SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="amd64 x86"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/libclc
- dev-util/spirv-tools
- >=sys-libs/zlib-1.2.8:=
- x11-libs/libdrm
- $(llvm_gen_dep '
- dev-util/spirv-llvm-translator:${LLVM_SLOT}
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
-"
-DEPEND="${RDEPEND}
- dev-libs/expat
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
- virtual/pkgconfig
-"
-
-python_check_deps() {
- python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
-
- use debug && EMESON_BUILDTYPE=debug
-
- local emesonargs=(
- -Dllvm=enabled
- -Dshared-llvm=enabled
- -Dintel-clc=enabled
-
- -Dgallium-drivers=''
- -Dvulkan-drivers=''
-
- # Set platforms empty to avoid the default "auto" setting. If
- # platforms is empty meson.build will add surfaceless.
- -Dplatforms=''
-
- -Dglx=disabled
- -Dlibunwind=disabled
- -Dzstd=disabled
-
- -Db_ndebug=$(usex debug false true)
- )
- meson_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}
diff --git a/dev-util/intel_clc/intel_clc-24.1.4.ebuild b/dev-util/intel_clc/intel_clc-24.1.4.ebuild
deleted file mode 100644
index df38191345d0..000000000000
--- a/dev-util/intel_clc/intel_clc-24.1.4.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..18} )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm-r1 meson python-any-r1
-
-MY_PV="${PV/_/-}"
-
-DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
-HOMEPAGE="https://mesa3d.org/"
-
-if [[ ${PV} == 9999 ]]; then
- S="${WORKDIR}/intel_clc-${MY_PV}"
- EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
- inherit git-r3
-else
- S="${WORKDIR}/mesa-${MY_PV}"
- SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/libclc
- dev-util/spirv-tools
- >=sys-libs/zlib-1.2.8:=
- x11-libs/libdrm
- $(llvm_gen_dep '
- dev-util/spirv-llvm-translator:${LLVM_SLOT}
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
-"
-DEPEND="${RDEPEND}
- dev-libs/expat
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
- virtual/pkgconfig
-"
-
-python_check_deps() {
- python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
-
- use debug && EMESON_BUILDTYPE=debug
-
- local emesonargs=(
- -Dllvm=enabled
- -Dshared-llvm=enabled
- -Dintel-clc=enabled
-
- -Dgallium-drivers=''
- -Dvulkan-drivers=''
-
- # Set platforms empty to avoid the default "auto" setting. If
- # platforms is empty meson.build will add surfaceless.
- -Dplatforms=''
-
- -Dglx=disabled
- -Dlibunwind=disabled
- -Dzstd=disabled
-
- -Db_ndebug=$(usex debug false true)
- )
- meson_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}
diff --git a/dev-util/intel_clc/intel_clc-24.1.5.ebuild b/dev-util/intel_clc/intel_clc-24.1.5.ebuild
deleted file mode 100644
index df38191345d0..000000000000
--- a/dev-util/intel_clc/intel_clc-24.1.5.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..18} )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm-r1 meson python-any-r1
-
-MY_PV="${PV/_/-}"
-
-DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
-HOMEPAGE="https://mesa3d.org/"
-
-if [[ ${PV} == 9999 ]]; then
- S="${WORKDIR}/intel_clc-${MY_PV}"
- EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
- inherit git-r3
-else
- S="${WORKDIR}/mesa-${MY_PV}"
- SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/libclc
- dev-util/spirv-tools
- >=sys-libs/zlib-1.2.8:=
- x11-libs/libdrm
- $(llvm_gen_dep '
- dev-util/spirv-llvm-translator:${LLVM_SLOT}
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
-"
-DEPEND="${RDEPEND}
- dev-libs/expat
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
- virtual/pkgconfig
-"
-
-python_check_deps() {
- python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
-
- use debug && EMESON_BUILDTYPE=debug
-
- local emesonargs=(
- -Dllvm=enabled
- -Dshared-llvm=enabled
- -Dintel-clc=enabled
-
- -Dgallium-drivers=''
- -Dvulkan-drivers=''
-
- # Set platforms empty to avoid the default "auto" setting. If
- # platforms is empty meson.build will add surfaceless.
- -Dplatforms=''
-
- -Dglx=disabled
- -Dlibunwind=disabled
- -Dzstd=disabled
-
- -Db_ndebug=$(usex debug false true)
- )
- meson_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}
diff --git a/dev-util/intel_clc/intel_clc-24.1.6.ebuild b/dev-util/intel_clc/intel_clc-24.1.6.ebuild
deleted file mode 100644
index 4ff279ed0893..000000000000
--- a/dev-util/intel_clc/intel_clc-24.1.6.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..18} )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm-r1 meson python-any-r1
-
-MY_PV="${PV/_/-}"
-
-DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
-HOMEPAGE="https://mesa3d.org/"
-
-if [[ ${PV} == 9999 ]]; then
- S="${WORKDIR}/intel_clc-${MY_PV}"
- EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
- inherit git-r3
-else
- S="${WORKDIR}/mesa-${MY_PV}"
- SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="amd64 x86"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/libclc
- dev-util/spirv-tools
- >=sys-libs/zlib-1.2.8:=
- x11-libs/libdrm
- $(llvm_gen_dep '
- dev-util/spirv-llvm-translator:${LLVM_SLOT}
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
-"
-DEPEND="${RDEPEND}
- dev-libs/expat
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
- virtual/pkgconfig
-"
-
-python_check_deps() {
- python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
-
- use debug && EMESON_BUILDTYPE=debug
-
- local emesonargs=(
- -Dllvm=enabled
- -Dshared-llvm=enabled
- -Dintel-clc=enabled
-
- -Dgallium-drivers=''
- -Dvulkan-drivers=''
-
- # Set platforms empty to avoid the default "auto" setting. If
- # platforms is empty meson.build will add surfaceless.
- -Dplatforms=''
-
- -Dglx=disabled
- -Dlibunwind=disabled
- -Dzstd=disabled
-
- -Db_ndebug=$(usex debug false true)
- )
- meson_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}
diff --git a/dev-util/intel_clc/intel_clc-24.1.7.ebuild b/dev-util/intel_clc/intel_clc-24.1.7.ebuild
index df38191345d0..4ff279ed0893 100644
--- a/dev-util/intel_clc/intel_clc-24.1.7.ebuild
+++ b/dev-util/intel_clc/intel_clc-24.1.7.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} == 9999 ]]; then
else
S="${WORKDIR}/mesa-${MY_PV}"
SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 x86"
fi
LICENSE="MIT SGI-B-2.0"
diff --git a/dev-util/intel_clc/intel_clc-24.2.0_rc4.ebuild b/dev-util/intel_clc/intel_clc-24.2.0_rc4.ebuild
deleted file mode 100644
index a413a9047a73..000000000000
--- a/dev-util/intel_clc/intel_clc-24.2.0_rc4.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..18} )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm-r1 meson python-any-r1
-
-MY_PV="${PV/_/-}"
-
-DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
-HOMEPAGE="https://mesa3d.org/"
-
-if [[ ${PV} == 9999 ]]; then
- S="${WORKDIR}/intel_clc-${MY_PV}"
- EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
- inherit git-r3
-else
- S="${WORKDIR}/mesa-${MY_PV}"
- SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/libclc
- dev-util/spirv-tools
- >=sys-libs/zlib-1.2.8:=
- x11-libs/libdrm
- $(llvm_gen_dep '
- dev-util/spirv-llvm-translator:${LLVM_SLOT}
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
-"
-DEPEND="${RDEPEND}
- dev-libs/expat
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_any_dep "
- >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
- dev-python/packaging[\${PYTHON_USEDEP}]
- dev-python/pyyaml[\${PYTHON_USEDEP}]
- ")
- virtual/pkgconfig
-"
-
-python_check_deps() {
- python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" || return 1
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
-
- use debug && EMESON_BUILDTYPE=debug
-
- local emesonargs=(
- -Dllvm=enabled
- -Dshared-llvm=enabled
- -Dintel-clc=enabled
-
- -Dgallium-drivers=''
- -Dvulkan-drivers=''
-
- # Set platforms empty to avoid the default "auto" setting. If
- # platforms is empty meson.build will add surfaceless.
- -Dplatforms=''
-
- -Dglx=disabled
- -Dlibunwind=disabled
- -Dzstd=disabled
-
- -Db_ndebug=$(usex debug false true)
- )
- meson_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}
diff --git a/dev-util/intel_clc/intel_clc-24.2.1.ebuild b/dev-util/intel_clc/intel_clc-24.2.1.ebuild
deleted file mode 100644
index 4acbe36c77e0..000000000000
--- a/dev-util/intel_clc/intel_clc-24.2.1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..18} )
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit llvm-r1 meson python-any-r1
-
-MY_PV="${PV/_/-}"
-
-DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
-HOMEPAGE="https://mesa3d.org/"
-
-if [[ ${PV} == 9999 ]]; then
- S="${WORKDIR}/intel_clc-${MY_PV}"
- EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
- inherit git-r3
-else
- S="${WORKDIR}/mesa-${MY_PV}"
- SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/libclc
- dev-util/spirv-tools
- >=sys-libs/zlib-1.2.8:=
- x11-libs/libdrm
- $(llvm_gen_dep '
- dev-util/spirv-llvm-translator:${LLVM_SLOT}
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
-"
-DEPEND="${RDEPEND}
- dev-libs/expat
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_any_dep "
- >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
- dev-python/packaging[\${PYTHON_USEDEP}]
- dev-python/pyyaml[\${PYTHON_USEDEP}]
- ")
- virtual/pkgconfig
-"
-
-python_check_deps() {
- python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" || return 1
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
-
- use debug && EMESON_BUILDTYPE=debug
-
- local emesonargs=(
- -Dllvm=enabled
- -Dshared-llvm=enabled
- -Dintel-clc=enabled
-
- -Dgallium-drivers=''
- -Dvulkan-drivers=''
-
- # Set platforms empty to avoid the default "auto" setting. If
- # platforms is empty meson.build will add surfaceless.
- -Dplatforms=''
-
- -Dglx=disabled
- -Dlibunwind=disabled
- -Dzstd=disabled
-
- -Db_ndebug=$(usex debug false true)
- )
- meson_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}
diff --git a/dev-util/intel_clc/intel_clc-24.2.2.ebuild b/dev-util/intel_clc/intel_clc-24.2.2.ebuild
deleted file mode 100644
index 4acbe36c77e0..000000000000
--- a/dev-util/intel_clc/intel_clc-24.2.2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {16..18} )
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit llvm-r1 meson python-any-r1
-
-MY_PV="${PV/_/-}"
-
-DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
-HOMEPAGE="https://mesa3d.org/"
-
-if [[ ${PV} == 9999 ]]; then
- S="${WORKDIR}/intel_clc-${MY_PV}"
- EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
- inherit git-r3
-else
- S="${WORKDIR}/mesa-${MY_PV}"
- SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/libclc
- dev-util/spirv-tools
- >=sys-libs/zlib-1.2.8:=
- x11-libs/libdrm
- $(llvm_gen_dep '
- dev-util/spirv-llvm-translator:${LLVM_SLOT}
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
-"
-DEPEND="${RDEPEND}
- dev-libs/expat
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_any_dep "
- >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
- dev-python/packaging[\${PYTHON_USEDEP}]
- dev-python/pyyaml[\${PYTHON_USEDEP}]
- ")
- virtual/pkgconfig
-"
-
-python_check_deps() {
- python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" || return 1
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_configure() {
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
-
- use debug && EMESON_BUILDTYPE=debug
-
- local emesonargs=(
- -Dllvm=enabled
- -Dshared-llvm=enabled
- -Dintel-clc=enabled
-
- -Dgallium-drivers=''
- -Dvulkan-drivers=''
-
- # Set platforms empty to avoid the default "auto" setting. If
- # platforms is empty meson.build will add surfaceless.
- -Dplatforms=''
-
- -Dglx=disabled
- -Dlibunwind=disabled
- -Dzstd=disabled
-
- -Db_ndebug=$(usex debug false true)
- )
- meson_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}
diff --git a/dev-util/intel_clc/intel_clc-24.2.0.ebuild b/dev-util/intel_clc/intel_clc-24.2.3.ebuild
index 4acbe36c77e0..4acbe36c77e0 100644
--- a/dev-util/intel_clc/intel_clc-24.2.0.ebuild
+++ b/dev-util/intel_clc/intel_clc-24.2.3.ebuild
diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index b1023c1aea0f..dfbf7901188f 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,6 +1,8 @@
AUX visualvm-r2.sh 423 BLAKE2B cdc5db4465a339735ccff5f37bed89d76da2f2d514f522b7768fa37aad46804997d267285b09d6346674d43964d0ef0a0cadb24d28e9b90256a593d7420aab4a SHA512 eb7356e10a94db048fb471215b2115b93764931ed4178594bca5a1aac480f2262ef361b2f53fc23dbcdb4d44e1aeab678204c50583abb8016696a7d87288a9bb
DIST nashorn-core-15.4.jar 2167292 BLAKE2B f40349e9f369eed1bb3795622ffe9353c98f35df1d5c2f5f3845d8f1fd5ecea553e11da15d17b9083f6ae2efa4485df131a9a9216499f1c7d440ca4b1d772a2b SHA512 3b560e1ae67d5d5d19250849dee3f813d2c801e56ba85d90439a067378a47f95020910da85b7c8afb6675ea2e25cd274953483efd07e89097656aadc804c8020
DIST nb190_platform_20231030.zip 26056691 BLAKE2B 7815c08ad60515e8018336452e24c2fb0743d1ef48c58ffd80d371000fa664f8f0053a4c1d56a012b9e50f6714a44c300a915061afebd586f9438abae7867447 SHA512 779256d678c9a13dde4314a5771480c450ae86c49e80ac99eb90a4e9e32e3bc5759128f60a610aecc3ce9e7dbce56b0076b528c8f18a682ebac2dd74cb5a6eea
+DIST visualvm-2.1.10.tar.gz 11782775 BLAKE2B 6c25293fc456cd5add37aa11d623e7a329f31f2608eaf5217a64f014d26a0ab439569edac6367a79102c3d89fe88182bd9ac56edf96aac515b6b6146eaf70a25 SHA512 dd8da529b766c97e8dfc392eafeafb672cd5f74d8a86cb5c4c4385769c5cb1376e7757601d5254de46d7bc5ff705aef0d839692426ffd1a3a10304c3fa90d440
DIST visualvm-2.1.9.tar.gz 11781212 BLAKE2B e924134e211a7f0a95d299f21dab2fff35fb0c0f646ea25adc0eb1204628fbec752075380dc6f717ff902f566040cf9ed8186b1470f9277d39742e288142de67 SHA512 ed950c6216185b9d09ed0605729cd02b649df32fef0f204066419bf96f61f63887b7bad082e5434e740f23856270be2b5c0bd35aa825511cb35486059592b3e7
+EBUILD visualvm-2.1.10.ebuild 6509 BLAKE2B 123eada0806ce11335bb29959c22d9b7cfc4ccc7f11cf9791862adfff4ae386d0f0ab256cf6c15d004267b9774087d26e23bfc866329e3a6788d3635d20fcd13 SHA512 c54d7e9acbfb1927eafc83f6e9379c33ec4896118edd091e62e39c517a68cfbeae828a07252b1268f0c06be7d6f60100cfc920fefd2745b5f487650cea04500e
EBUILD visualvm-2.1.9-r1.ebuild 5825 BLAKE2B 98f8c40b013424cff9ceb8d62b5ac825b037c7e29d6eff04f5c5f2058378a9f2537766ab5383a94c8c617f95f6fb50459a10bec3fcd2722b4bd70e0cf67cd6bc SHA512 fa0ce7ef0ff0f8da86c04f3a1f88d3a5b893dda67596d03755068cdeed08b4d6410ecdd9886df0c504dbf8f6ea452eaa30313c35158c97599189b9b828b72dae
MISC metadata.xml 317 BLAKE2B e5f32379a40e3c2180df4f3ac4e7ea03a7dbfe69b1cb6537c1693262cc06e6334959abfb68f888c588fa933f60e85f137355bb57ff769107dfe805595d1a3ad1 SHA512 605d7206793c3d865547b69f9715305d46d433d18096b886b362d2d86adf4eda894c23af1819b6af95423fbe2a37781d1d100a9df9f15a01942f66c73dc2fa2c
diff --git a/dev-util/visualvm/visualvm-2.1.10.ebuild b/dev-util/visualvm/visualvm-2.1.10.ebuild
new file mode 100644
index 000000000000..d71b0bc917f6
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.10.ebuild
@@ -0,0 +1,182 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NBV=190
+NBT=20231030
+NBZ=nb${NBV}_platform_${NBT}.zip
+ASM_UTIL_VERSION="9.5"
+ASM_UTIL_FILE="asm-util-${ASM_UTIL_VERSION}.jar"
+FLIGHT_RECORDER_VERSION="8.3.1"
+FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
+COMMON_VERSION="8.3.1"
+COMMON_FILE="common-${COMMON_VERSION}.jar"
+ENCODER_VERSION="1.2.3"
+ENCODER_FILE="encoder-${ENCODER_VERSION}.jar"
+LZ4_JAVA_VERSION="1.8.0"
+LZ4_JAVA_FILE="lz4-java-${LZ4_JAVA_VERSION}.jar"
+NASHORN_CORE_VERSION="15.4"
+NASHORN_CORE_FILE="nashorn-core-${NASHORN_CORE_VERSION}.jar"
+
+inherit java-pkg-2 desktop
+
+DESCRIPTION="Integrates commandline JDK tools and profiling capabilities"
+HOMEPAGE="https://visualvm.github.io"
+
+SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/oracle/${PN}/releases/download/2.1.8/${NBZ}
+ https://repo1.maven.org/maven2/org/openjdk/nashorn/nashorn-core/${NASHORN_CORE_VERSION}/${NASHORN_CORE_FILE}"
+S="${WORKDIR}/${P}/${PN}"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ app-arch/unzip
+ >=dev-java/ant-1.10.14-r3:0
+"
+
+COMMON_DEPEND="
+ dev-java/jmc:0
+ dev-java/lz4-java:0
+ dev-java/owasp-java-encoder:0
+"
+
+# it does not compile with java 11
+# not even after removing hardcoded -source and -target values
+DEPEND="
+ ${COMMON_DEPEND}
+ virtual/jdk:1.8
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ !dev-util/visualvm:7
+ dev-java/asm:9
+ dev-java/hamcrest-core:1.3
+ dev-java/jcommander:0
+ dev-java/jna:4
+ dev-java/junit:4
+ dev-java/junit:5
+ dev-java/testng:0
+ >=virtual/jre-1.8:*
+"
+
+QA_PREBUILT="
+ /usr/share/visualvm/cluster/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so
+ /usr/share/visualvm/cluster/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
+ /usr/share/visualvm/platform/modules/lib/libflatlaf-linux-x86_64.so
+ /usr/share/visualvm/platform/modules/lib/aarch64/linux/libjnidispatch-nb.so
+ /usr/share/visualvm/platform/modules/lib/amd64/linux/libjnidispatch-nb.so
+ /usr/share/visualvm/platform/modules/lib/riscv64/linux/libjnidispatch-nb.so
+"
+
+INSTALL_DIR=/usr/share/${PN}
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}" || die
+ unpack ${NBZ}
+}
+
+src_prepare() {
+ java-pkg-2_src_prepare
+
+ # Remove unneeded binaries
+ rm -rv netbeans/platform/lib/*.{dll,exe} \
+ netbeans/platform/modules/lib/{amd64/*.dll,i386,x86} || die
+ find libs.profiler/lib.profiler/release/lib/deployed/jdk1? -mindepth 1 \
+ -maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die
+
+ # link in external libraries
+ ln -s "${DISTDIR}/${NASHORN_CORE_FILE}" nashorn.jdk15/external || die "Failed to link nashorn core jar"
+ java-pkg_jar-from --into nashorn.jdk15/external asm-9 asm-util.jar ${ASM_UTIL_FILE} \
+ || die "Failed to link asm util jar"
+ java-pkg_jar-from --into jfr.generic/external jmc jmc-common.jar ${COMMON_FILE} \
+ || die "Failed to link jmc common jar"
+ java-pkg_jar-from --into jfr.generic/external jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} \
+ || die "Failed to link jmc flightrecorder jar"
+ java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
+ || die "Failed to link lz4 java jar"
+ java-pkg_jar-from --into jfr.generic/external owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} \
+ || die "Failed to link owasp-java-encoder jar"
+
+ # remove hardcoded javac's source & target settings
+ cd .. || die
+ find -name build.xml \
+ -exec sed -Ei 's,(source|target)="1.5",,g' {} + ||
+ die "remove javac's source & target in build.xml files"
+
+ cd .. || die
+ find -name build.xml \
+ -exec sed -Ei 's,(source|target)="1.4",,g' {} + ||
+ die "remove javac's source & target in build.xml files"
+
+ for prop in $(find -name project.properties); do
+ sed -e '/javac.source=/d' -e '/javac.target/d' -i ${prop}
+ done
+
+ for impl in $(find -name build-impl.xml); do
+ sed -e '/default.javac.source=/d' -e '/default.javac.target/d' -i ${mpl}
+ done
+}
+
+src_compile() {
+ eant -v \
+ -Dext.binaries.downloaded=true \
+ -Djavac.source="$(java-pkg_get-source)" \
+ -Djavac.target="$(java-pkg_get-target)" \
+ build
+}
+
+src_install() {
+ # this is the visualvm cluster
+ insinto ${INSTALL_DIR}
+ doins -r build/cluster netbeans/{harness,platform}
+
+ # configuration file that can be used to tweak visualvm startup parameters
+ insinto /etc/${PN}
+ newins launcher/visualvm.conf ${PN}.conf
+ sed -i "s%visualvm_default_userdir=.*%visualvm_default_userdir=\"\${HOME}/.visualvm\"%g" \
+ "${ED}/etc/${PN}/visualvm.conf" || die "Failed to update userdir"
+ sed -i "s%visualvm_default_cachedir=.*%visualvm_default_cachedir=\"\${HOME}/.cache/visualvm\"%g" \
+ "${ED}/etc/${PN}/visualvm.conf" || die "Failed to update cachedir"
+ echo -e "\nvisualvm_jdkhome=\"\$(java-config -O)\"" >> "${ED}/etc/${PN}/visualvm.conf" \
+ || die "Failed to set jdk detection"
+
+ # replace bundled stuff
+ pushd "${ED}/${INSTALL_DIR}/platform/core" > /dev/null || die
+ for name in asm{,-commons,-tree}; do
+ rm ${name}-9.5.jar && java-pkg_jar-from asm-9 ${name}.jar ${name}-9.2.jar || die
+ done
+ popd > /dev/null
+
+ pushd "${ED}/${INSTALL_DIR}/platform/modules/ext" > /dev/null || die
+ rm hamcrest-core-1.3.jar && java-pkg_jar-from hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar || die
+ rm jcommander-1.78.jar && java-pkg_jar-from jcommander jcommander.jar jcommander-1.78.jar || die
+ for name in jna{,-platform}; do
+ rm ${name}-5.12.1.jar && java-pkg_jar-from jna-4 ${name}.jar ${name}-5.12.1.jar || die
+ done
+ rm junit-4.13.2.jar && java-pkg_jar-from junit-4 junit.jar junit-4.13.2.jar || die
+ for name in junit-jupiter-{api,engine,params}; do
+ rm ${name}-5.6.0.jar && java-pkg_jar-from junit-5 ${name}.jar ${name}-5.6.0.jar || die
+ done
+ rm testng-6.14.3.jar && java-pkg_jar-from testng testng.jar testng-6.14.3.jar || die
+ popd > /dev/null
+
+ pushd "${ED}/${INSTALL_DIR}/cluster/modules/ext" > /dev/null || die
+ rm ${ASM_UTIL_FILE} && java-pkg_jar-from asm-9 asm-util.jar ${ASM_UTIL_FILE} || die
+ rm ${COMMON_FILE} && java-pkg_jar-from jmc jmc-common.jar ${COMMON_FILE} || die
+ rm ${FLIGHT_RECORDER_FILE} && java-pkg_jar-from jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} || die
+ rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
+ rm ${ENCODER_FILE} && java-pkg_jar-from owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} || die
+ popd > /dev/null
+
+ # visualvm runtime script
+ newbin "${FILESDIR}"/${PN}-r2.sh ${PN}
+
+ # makes visualvm entry
+ make_desktop_entry ${PN} VisualVM java "Development;Java;"
+}