summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/azuredatastudio/Manifest1
-rw-r--r--dev-util/azuredatastudio/azuredatastudio-1.47.1-r1.ebuild105
-rw-r--r--dev-util/chirurgien/chirurgien-2.2.ebuild2
-rw-r--r--dev-util/intel_clc/Manifest1
-rw-r--r--dev-util/intel_clc/intel_clc-24.0.5.ebuild86
5 files changed, 88 insertions, 107 deletions
diff --git a/dev-util/azuredatastudio/Manifest b/dev-util/azuredatastudio/Manifest
index e5bd128d720f..252381ce3bf2 100644
--- a/dev-util/azuredatastudio/Manifest
+++ b/dev-util/azuredatastudio/Manifest
@@ -1,2 +1 @@
-DIST azuredatastudio-1.47.1-amd64.deb 138850108 BLAKE2B f99374c00595f18f4a62e676235e1c5f71a47f14351ef3dc60c0bc84a69d15c325309be77613a4ba564e0f1322aed4fccc840ca871b83d0bbe2d48150e735afb SHA512 ad310cbb9955b8e46f8fdbcceb45ada6e61e2de8c0c40ff93312e7510f43fe675f1239ac07e095fee5573f034efc6fefbde13ebf70bae2f75e297a0e0e95df32
DIST azuredatastudio-1.48.0-amd64.deb 135137768 BLAKE2B 92798acdfb2871f0ecc12ba33c2608357230ae7f6153012711d111586beae827771de804db17f66cb2d9429741b0dae7776727296625683037ad539777c8c977 SHA512 5781f26a1f53a16561adac910675ef8d944211838b127c271e65ce0e5d88eb91c0290d5b731f418742327d275f69ea26cde412dfc6833b2039dab6813f1943af
diff --git a/dev-util/azuredatastudio/azuredatastudio-1.47.1-r1.ebuild b/dev-util/azuredatastudio/azuredatastudio-1.47.1-r1.ebuild
deleted file mode 100644
index 882c2abf947b..000000000000
--- a/dev-util/azuredatastudio/azuredatastudio-1.47.1-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit unpacker xdg
-
-DESCRIPTION="Data management and development tool from Microsoft"
-HOMEPAGE="https://learn.microsoft.com/sql/azure-data-studio/
- https://github.com/microsoft/azuredatastudio/"
-SRC_URI="
- amd64? (
- https://azuredatastudio-update.azurewebsites.net/${PV}/linux-deb-x64/stable
- -> ${P}-amd64.deb
- )
-"
-S="${WORKDIR}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="kerberos"
-RESTRICT="bindist"
-
-# This is based on VSCode/VSCodium, so just copy their "RDEPEND".
-RDEPEND="
- >=app-accessibility/at-spi2-core-2.46.0:2
- app-crypt/libsecret[crypt]
- app-misc/ca-certificates
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- dev-util/lttng-ust:0/2.12
- media-libs/alsa-lib
- media-libs/libcanberra[gtk3]
- media-libs/libglvnd
- media-libs/mesa
- net-misc/curl
- net-print/cups
- sys-apps/dbus
- sys-libs/zlib
- sys-process/lsof
- x11-libs/cairo
- x11-libs/gtk+:3
- x11-libs/libdrm
- x11-libs/libnotify
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libxkbcommon
- x11-libs/libxkbfile
- x11-libs/libXrandr
- x11-libs/libXScrnSaver
- x11-libs/pango
- x11-misc/xdg-utils
- kerberos? ( app-crypt/mit-krb5 )
-"
-DEPEND="
- dev-libs/openssl-compat:1.0.0
-"
-BDEPEND="
- dev-util/patchelf
-"
-
-QA_PREBUILT="*"
-
-src_unpack() {
- unpack_deb "${A}"
-}
-
-src_prepare() {
- default
-
- cd "${S}/usr/share" || die
-
- mv appdata metainfo || die
- mv zsh/vendor-completions zsh/site-functions || die
-
- cd "${PN}" || die
-
- # Kerberos libs, same issue as VSCode/VSCodium.
- if ! use kerberos ; then
- rm -r resources/app/node_modules.asar.unpacked/kerberos || die
- fi
-
- # Patch "System.Security.Cryptography.Native.OpenSsl.so": *.so.10 -> *.so.1.0.0
- local mssql_ext_version=4.10.2.1
- local mssql_ext_lib=System.Security.Cryptography.Native.OpenSsl.so
- cd "resources/app/extensions/mssql/sqltoolsservice/Linux/${mssql_ext_version}" || die
- patchelf --add-needed libcrypto.so.1.0.0 "${mssql_ext_lib}" || die
- patchelf --add-needed libssl.so.1.0.0 "${mssql_ext_lib}" || die
- patchelf --remove-needed libcrypto.so.10 "${mssql_ext_lib}" || die
- patchelf --remove-needed libssl.so.10 "${mssql_ext_lib}" || die
- rm System.Native.a || die
-}
-
-src_install() {
- cp -r . "${ED}" || die
-
- dosym -r "/usr/share/${PN}/${PN}" "/usr/bin/${PN}"
-}
diff --git a/dev-util/chirurgien/chirurgien-2.2.ebuild b/dev-util/chirurgien/chirurgien-2.2.ebuild
index 137dd8168eaf..ea6b61616671 100644
--- a/dev-util/chirurgien/chirurgien-2.2.ebuild
+++ b/dev-util/chirurgien/chirurgien-2.2.ebuild
@@ -17,7 +17,7 @@ else
-> ${P}.tar.gz"
S="${WORKDIR}/${P^}"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-3+"
diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index e02ca356dfb3..ec91c0de7f0f 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1 +1,2 @@
DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f SHA512 1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
+DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef SHA512 9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
diff --git a/dev-util/intel_clc/intel_clc-24.0.5.ebuild b/dev-util/intel_clc/intel_clc-24.0.5.ebuild
new file mode 100644
index 000000000000..c3a79d7cdcc3
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.0.5.ebuild
@@ -0,0 +1,86 @@
+# 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_{8,9,10,11,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
+}