diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-util/azuredatastudio | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-util/azuredatastudio')
| -rw-r--r-- | dev-util/azuredatastudio/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/azuredatastudio/azuredatastudio-1.52.0-r1.ebuild | 115 | ||||
| -rw-r--r-- | dev-util/azuredatastudio/metadata.xml | 20 |
3 files changed, 136 insertions, 0 deletions
diff --git a/dev-util/azuredatastudio/Manifest b/dev-util/azuredatastudio/Manifest new file mode 100644 index 000000000000..c7d48317ccaf --- /dev/null +++ b/dev-util/azuredatastudio/Manifest @@ -0,0 +1 @@ +DIST azuredatastudio-1.52.0-amd64.deb 142489084 BLAKE2B c58b5dec7cdf125a65f6b395681a6f3ba7e68e7ea6c6e010d2ca68a9b2087d951440236c8143ecc3c0cd8ace94de18bc2db065b279a89d9a0d4034ef500bf94d SHA512 90ecabda64ffd29f4fe0724fd935a663cbaa3662dc6a292fcd313467d73dce03b218e4aae46252874c9f652d1cb74cbaad10fea6402991638908695e9d7ab937 diff --git a/dev-util/azuredatastudio/azuredatastudio-1.52.0-r1.ebuild b/dev-util/azuredatastudio/azuredatastudio-1.52.0-r1.ebuild new file mode 100644 index 000000000000..5d7f5cc39e0b --- /dev/null +++ b/dev-util/azuredatastudio/azuredatastudio-1.52.0-r1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2025 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="Apache-2.0 BSD BSD-1 BSD-2 BSD-4 CC-BY-4.0 ISC LGPL-2.1+ MIT MPL-2.0 openssl PYTHON TextMate-bundle Unlicense UoI-NCSA W3C" +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-compat:0/2.12 + dev-util/lttng-ust:0/2.12 + ) + media-libs/alsa-lib + || ( + media-libs/libcanberra-gtk3 + media-libs/libcanberra[gtk3(-)] + ) + media-libs/libglvnd + media-libs/mesa + net-misc/curl + net-print/cups + sys-apps/dbus + virtual/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}/resources/app" || die + + rm -r ./ThirdPartyNotices.txt || die + + # Disable update server. + sed -e "/updateUrl/d" -i ./product.json || die + + # Kerberos libs, same issue as VSCode/VSCodium. + if ! use kerberos ; then + rm -r node_modules.asar.unpacked/kerberos || die + fi + + # Patch "System.Security.Cryptography.Native.OpenSsl.so": *.so.10 -> *.so.1.0.0 + local mssql_ext_version="5.0.20250115.1" + local mssql_ext_lib="libSystem.Security.Cryptography.Native.OpenSsl.so" + cd "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 +} + +src_install() { + cp -r . "${ED}" || die + + dosym -r "/usr/share/${PN}/${PN}" "/usr/bin/${PN}" +} diff --git a/dev-util/azuredatastudio/metadata.xml b/dev-util/azuredatastudio/metadata.xml new file mode 100644 index 000000000000..b89b462e8235 --- /dev/null +++ b/dev-util/azuredatastudio/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <longdescription> + Azure Data Studio is a data management and development tool with + connectivity to popular cloud and on-premises databases. Azure Data Studio + supports Windows, macOS, and Linux, with immediate capability to connect to + Azure SQL and SQL Server. Browse the extension library for more database + support options including MySQL, PostgreSQL, and MongoDB. + </longdescription> + <upstream> + <bugs-to>https://github.com/microsoft/azuredatastudio/</bugs-to> + <remote-id type="github">microsoft/azuredatastudio</remote-id> + </upstream> +</pkgmetadata> |
