diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-13 01:09:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-13 01:09:33 +0000 |
commit | 58523314abd7b5740c06e3bbcd41ada404e7c612 (patch) | |
tree | 2ec4372c4b63bd8679af9b4c591c2743e421b1b9 /dev-util/azuredatastudio | |
parent | 4fc30e4e13ecfbe29fbef3b5caf96218eab30b68 (diff) |
gentoo auto-resync : 13:01:2024 - 01:09:33
Diffstat (limited to 'dev-util/azuredatastudio')
-rw-r--r-- | dev-util/azuredatastudio/Manifest | 2 | ||||
-rw-r--r-- | dev-util/azuredatastudio/azuredatastudio-1.47.1.ebuild | 103 |
2 files changed, 105 insertions, 0 deletions
diff --git a/dev-util/azuredatastudio/Manifest b/dev-util/azuredatastudio/Manifest index 456c95d247d8..9b8b3c6dbcc8 100644 --- a/dev-util/azuredatastudio/Manifest +++ b/dev-util/azuredatastudio/Manifest @@ -1,3 +1,5 @@ DIST azuredatastudio-1.47.0-amd64.deb 138852252 BLAKE2B 20598aefb8ade4f1022213de1dfa17feddfb41ee0a241f8e9919e7573d00f3c3f81bbab947c9fec885a08b1e032a61616b1f49b943f3388c1edeb5502717e773 SHA512 7de1f1bafee735cfe7d52cb32324e38497ccb919a6322463b60bf2002af64546972f4ed207fdf0d9e55c48e33d7f5d7a9a3d10781c9c458edd4d18880ee5d310 +DIST azuredatastudio-1.47.1-amd64.deb 138850108 BLAKE2B f99374c00595f18f4a62e676235e1c5f71a47f14351ef3dc60c0bc84a69d15c325309be77613a4ba564e0f1322aed4fccc840ca871b83d0bbe2d48150e735afb SHA512 ad310cbb9955b8e46f8fdbcceb45ada6e61e2de8c0c40ff93312e7510f43fe675f1239ac07e095fee5573f034efc6fefbde13ebf70bae2f75e297a0e0e95df32 EBUILD azuredatastudio-1.47.0.ebuild 2246 BLAKE2B 1908333c121ef082fa8e38fa4fde1b77be3f87ebea08df44fc11a955df755076f9e01817e181947a938ae9bbc4f43c237884b0f2b80526b158388c489b6e446f SHA512 ccfccf2a915fc5415e4ad80d0da1709803938d8e360ed0975573a74e1d744ec78a375fad6a3ab6283f90de6772d293d086ad0303633e20d41cd34fe8517230c6 +EBUILD azuredatastudio-1.47.1.ebuild 2306 BLAKE2B 053c55df942e363de0ce243b9f90769cf3dd5c2fc47bab6562cb8d20d6723844ef9be743ec0e01769e296e14106f028c309ab9804f2195a38aa86d9af5d40201 SHA512 0a193f146caeab8f7c8e7a2f9f2dafb78f472e2ba3b8321128d8b5bb6a432c0ecfd904ef9d25fa8f535b4c00329d0eb1b7eb22c743c93b1f218271fdc30a6fdf MISC metadata.xml 822 BLAKE2B 72cadf27f137f7276f8cd3b3fc81afd0ac1eefa9f12e39aea8d81705454a17aa8d2b49de9d61c0523fda304dcf0363ef463d0b2fdbd04a524aa63a2ced6a6a6a SHA512 27dbc8a269df130994b8d59cefb193440b276638ef460f68d72e887dc02d40473218febc1ecf242a51f55593d90a3ea42255e4a8d8ce4237421c9e56e52c7030 diff --git a/dev-util/azuredatastudio/azuredatastudio-1.47.1.ebuild b/dev-util/azuredatastudio/azuredatastudio-1.47.1.ebuild new file mode 100644 index 000000000000..e59de53fa0ee --- /dev/null +++ b/dev-util/azuredatastudio/azuredatastudio-1.47.1.ebuild @@ -0,0 +1,103 @@ +# 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 + 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_extension_version=4.10.2.1 + local lib=System.Security.Cryptography.Native.OpenSsl.so + cd "resources/app/extensions/mssql/sqltoolsservice/Linux/${mssql_extension_version}" || die + patchelf --add-needed libcrypto.so.1.0.0 "${lib}" || die + patchelf --add-needed libssl.so.1.0.0 "${lib}" || die + patchelf --remove-needed libcrypto.so.10 "${lib}" || die + patchelf --remove-needed libssl.so.10 "${lib}" || die +} + +src_install() { + cp -r . "${ED}" || die + + dosym -r "/usr/share/${PN}/${PN}" "/usr/bin/${PN}" +} |