public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin" <justin026@protonmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-client/mullvad-browser-bin/
Date: Fri,  6 Sep 2024 17:03:32 +0000 (UTC)	[thread overview]
Message-ID: <1725642080.c8caaf8dccc424c46d802b0bef3bbab000778865.justin026@gentoo> (raw)

commit:     c8caaf8dccc424c46d802b0bef3bbab000778865
Author:     Justin Donofrio <justin026 <AT> protonmail <DOT> com>
AuthorDate: Fri Sep  6 17:01:20 2024 +0000
Commit:     Justin <justin026 <AT> protonmail <DOT> com>
CommitDate: Fri Sep  6 17:01:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8caaf8d

www-client/mullvad-browser-bin: add 13.5.3, drop 13.5.2

Signed-off-by: Justin Donofrio <justin026 <AT> protonmail.com>

 www-client/mullvad-browser-bin/Manifest            |  2 +-
 ....2.ebuild => mullvad-browser-bin-13.5.3.ebuild} | 38 ++++++++++------------
 2 files changed, 19 insertions(+), 21 deletions(-)

diff --git a/www-client/mullvad-browser-bin/Manifest b/www-client/mullvad-browser-bin/Manifest
index 670a4a0d0..ff99c1aa0 100644
--- a/www-client/mullvad-browser-bin/Manifest
+++ b/www-client/mullvad-browser-bin/Manifest
@@ -1 +1 @@
-DIST mullvad-browser-linux-x86_64-13.5.2.tar.xz 103405692 BLAKE2B cac35a9b6ce8cb4a75e19722edda45c021f8b96fc15176964d4fdc7c814cc3a26a53ad5445cca33e9ffe0c55370dc3b8e9ae676e4b493fe208dae899b670c77a SHA512 bbec8268d0bd287bd52ef988ee1c89c6f5a634b90b2fd613dfc42f0ca74cef51f2d080c831e34bf8a2d2c2819a7863c8710f2e77336de9f4899664ae9e535ae0
+DIST mullvad-browser-bin-13.5.3.tar.xz 103419608 BLAKE2B f8af5ee54822349afbf9d73ff810c25330ec91a47203d78cb4363d129b6a09f963ea8bcfbdc9e67388f8c73efd82bc137ddf78b216357ef128cc3ed6c8205a5c SHA512 8144a57daca9cceccd7ab3c809f7def70fe9aee1d5ad7bd6a49ea640408718496de61ab6f0c19cd444b33e82c5151ede0d5285b244b1115e98a555207116a0e6

diff --git a/www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.2.ebuild b/www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.3.ebuild
similarity index 58%
rename from www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.2.ebuild
rename to www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.3.ebuild
index d75df1bbf..152fe5865 100644
--- a/www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.2.ebuild
+++ b/www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.3.ebuild
@@ -6,8 +6,8 @@ EAPI=8
 inherit desktop optfeature toolchain-funcs xdg
 
 DESCRIPTION="The Mullvad Browser is developed to minimize tracking and fingerprinting."
-HOMEPAGE="https://github.com/mullvad/mullvad-browser https://mullvad.net/"
-SRC_URI="https://github.com/mullvad/mullvad-browser/releases/download/${PV}/mullvad-browser-linux-x86_64-${PV}.tar.xz"
+HOMEPAGE="https://github.com/mullvad/mullvad-browser/ https://mullvad.net/"
+SRC_URI="https://github.com/mullvad/mullvad-browser/releases/download/${PV}/mullvad-browser-linux-x86_64-${PV}.tar.xz -> ${P}.tar.xz"
 
 S="${WORKDIR}"
 LICENSE="MPL-2.0"
@@ -16,8 +16,6 @@ KEYWORDS="-* ~amd64"
 
 IUSE="X"
 
-RESTRICT="bindist mirror test strip"
-
 RDEPEND="
 	app-accessibility/at-spi2-core
 	app-misc/mime-types
@@ -50,14 +48,14 @@ QA_PREBUILT="*"
 
 src_install() {
 	# Install profiles to home dir
-	touch "${S}"/mullvad-browser/Browser/is-packaged-app || die
+	touch mullvad-browser/Browser/is-packaged-app || die
 
 	# Fix desktop file vars
 	sed -i \
-		-e "s|Name=.*|Name=Mullvad Browser|g" \
-		-e "s|Exec=.*|Exec=/opt/mullvad-browser/Browser/start-mullvad-browser --detach|g" \
-		-e "s|Icon=.*|Icon=mullvad-browser|g" \
-		"${S}"/mullvad-browser/start-mullvad-browser.desktop || die
+		-e 's|Name=.*|Name=Mullvad Browser|g' \
+		-e 's|Exec=.*|Exec=/opt/mullvad-browser/Browser/start-mullvad-browser --detach|g' \
+		-e 's|Icon=.*|Icon=mullvad-browser|g' \
+		mullvad-browser/start-mullvad-browser.desktop || die
 
 	# Install shim for X11. Browser doesn't seem to launch without it, see upstream issue:
 	# https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/issues/40565
@@ -68,25 +66,25 @@ src_install() {
 		      void gdk_wayland_display_get_wl_compositor() { abort(); }
 		      void gdk_wayland_device_get_wl_pointer() { abort(); }
 		      void gdk_wayland_window_get_wl_surface() { abort(); }
-		      void gdk_wayland_display_get_wl_display() { abort(); }" > "${S}"/X11shim.c
-		$(tc-getCC) -shared -o "${S}"/mullvad-browser/X11shim.so "${S}"/X11shim.c || die
-		sed -i '1iexport LD_PRELOAD=/opt/mullvad-browser/X11shim.so' "${S}"/mullvad-browser/Browser/start-mullvad-browser
+		      void gdk_wayland_display_get_wl_display() { abort(); }" > X11shim.c || die
+		$(tc-getCC) -shared -o mullvad-browser/X11shim.so X11shim.c || die
+		sed -i '1iexport LD_PRELOAD=/opt/mullvad-browser/X11shim.so' mullvad-browser/Browser/start-mullvad-browser  || die
 	fi
 
 	insinto /opt/
-	doins -r "${S}"/mullvad-browser
+	doins -r mullvad-browser
 
-	dosym "../../opt/mullvad-browser/Browser/start-mullvad-browser" /usr/bin/${PN}
-	domenu "${S}"/mullvad-browser/start-mullvad-browser.desktop
+	dosym ../../opt/mullvad-browser/Browser/start-mullvad-browser /usr/bin/${PN}
+	domenu mullvad-browser/start-mullvad-browser.desktop
 	local x
 	for x in 16 32 48 64 128; do
-		newicon -s ${x} "${S}"/mullvad-browser/Browser/browser/chrome/icons/default/default${x}.png mullvad-browser.png
+		newicon -s ${x} mullvad-browser/Browser/browser/chrome/icons/default/default${x}.png mullvad-browser.png
 	done
 
-	fperms 755 "/opt/mullvad-browser/Browser/abicheck"
-	fperms +x "/opt/mullvad-browser/Browser/start-mullvad-browser"
-	fperms +x "/opt/mullvad-browser/Browser/mullvadbrowser"
-	fperms +x "/opt/mullvad-browser/Browser/mullvadbrowser.real"
+	fperms 755 /opt/mullvad-browser/Browser/abicheck
+	fperms +x /opt/mullvad-browser/Browser/start-mullvad-browser
+	fperms +x /opt/mullvad-browser/Browser/mullvadbrowser
+	fperms +x /opt/mullvad-browser/Browser/mullvadbrowser.real
 }
 
 pkg_postinst() {


             reply	other threads:[~2024-09-06 17:03 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-06 17:03 Justin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-01 18:50 [gentoo-commits] repo/proj/guru:dev commit in: www-client/mullvad-browser-bin/ Justin
2025-03-05 14:05 strategictraveler
2025-03-05 14:02 strategictraveler
2025-02-05 16:11 Justin
2025-01-14  8:37 Lucio Sauer
2025-01-13 21:13 strategictraveler
2024-11-29 21:15 Justin
2024-11-26 10:43 Justin
2024-11-19 14:14 Justin
2024-10-10 21:35 Justin
2024-10-08 19:06 Justin
2024-08-13  4:30 Justin
2024-08-13  4:24 Justin
2024-08-13  4:06 Justin
2024-08-11  5:14 Justin
2024-08-11  5:10 Justin
2024-07-12 16:05 Justin
2024-07-07 13:43 Justin
2024-07-05 22:27 Justin
2024-07-03 12:59 Justin
2024-07-03 12:53 Justin
2024-07-03  4:19 Justin
2024-07-03  3:19 Justin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1725642080.c8caaf8dccc424c46d802b0bef3bbab000778865.justin026@gentoo \
    --to=justin026@protonmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox