commit:     b58e34a967a74b093fdc8f003fb97fc38cdeaf4b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 14:45:03 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 15:03:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58e34a9

dev-util/azuredatastudio: add some tweaks from vscode pkg

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...datastudio-1.50.0.ebuild => azuredatastudio-1.50.0-r1.ebuild} | 9 +++++++--
 dev-util/azuredatastudio/azuredatastudio-1.51.1.ebuild           | 7 ++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/dev-util/azuredatastudio/azuredatastudio-1.50.0.ebuild 
b/dev-util/azuredatastudio/azuredatastudio-1.50.0-r1.ebuild
similarity index 89%
rename from dev-util/azuredatastudio/azuredatastudio-1.50.0.ebuild
rename to dev-util/azuredatastudio/azuredatastudio-1.50.0-r1.ebuild
index af042f7066aa..08c503670c03 100644
--- a/dev-util/azuredatastudio/azuredatastudio-1.50.0.ebuild
+++ b/dev-util/azuredatastudio/azuredatastudio-1.50.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ SRC_URI="
 "
 S="${WORKDIR}"
 
-LICENSE="MIT"
+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"
@@ -85,6 +85,11 @@ src_prepare() {
 
        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

diff --git a/dev-util/azuredatastudio/azuredatastudio-1.51.1.ebuild 
b/dev-util/azuredatastudio/azuredatastudio-1.51.1.ebuild
index 53d8dc5667e8..472ce1d714cb 100644
--- a/dev-util/azuredatastudio/azuredatastudio-1.51.1.ebuild
+++ b/dev-util/azuredatastudio/azuredatastudio-1.51.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 "
 S="${WORKDIR}"
 
-LICENSE="MIT"
+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"
@@ -85,6 +85,11 @@ src_prepare() {
 
        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

Reply via email to