commit:     28b378e8ae62edb23d76bdd13290076c18a624fd
Author:     Justin Donofrio <justin026 <AT> protonmail <DOT> com>
AuthorDate: Wed Jul  3 04:09:41 2024 +0000
Commit:     Justin <justin026 <AT> protonmail <DOT> com>
CommitDate: Wed Jul  3 04:09:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=28b378e8

www-client/mullvad-browser-bin: update DESCRIPTION

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

 www-client/mullvad-browser-bin/Manifest            |  2 --
 www-client/mullvad-browser-bin/metadata.xml        |  3 +++
 .../mullvad-browser-bin-13.5.ebuild                | 22 ++++++++++++----------
 3 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/www-client/mullvad-browser-bin/Manifest 
b/www-client/mullvad-browser-bin/Manifest
index e409b53ca..aa0b0089b 100644
--- a/www-client/mullvad-browser-bin/Manifest
+++ b/www-client/mullvad-browser-bin/Manifest
@@ -1,3 +1 @@
 DIST mullvad-browser-linux-x86_64-13.5.tar.xz 103263340 BLAKE2B 
a66e20e75152e6d03b4eff8b5580418fb11587700bb5e16036f9bcb2c094cb0fe531653ef1daf64b1bf5841b25c3bf2378b85aae9b4ccb88287896cd054842ee
 SHA512 
8dfd65460852f1be2906d8e87e3b45589534e79213477ae5ae51b16e170fa24b1ea0ba1866771b625fbd3fc80311310b56abd493e5e3799bbaa9031654574401
-EBUILD mullvad-browser-bin-13.5.ebuild 3007 BLAKE2B 
59b9467557691a4b2a2a82a14c3a00d8f3fe9f703d51739eedb3e8e8c6751b962e135d6bde32b7dfbf063f336e429dc37e313cb6c739f71bf3a8ee8566a6b114
 SHA512 
5871ab4071f476ea06edb95c9c5b4b6ae58feb6b42eddcbac0b6bd98ad4649ea0b3903c0bd608a19b5a0199a778caf01b1376e4c188d3b6b08d0bcdd22483162
-MISC metadata.xml 475 BLAKE2B 
ad3e7ef5ae310f30924606b3ced24745a990825251ae23a9d029b571f5318caab04f89cea91c2e4253daaa0efd37237b808b321b0d78bb19b22037ef32ead6bd
 SHA512 
cb416d14e5e8af4a9f6a274ec183fcbb46ef194d7f861a6f174345b7b909eeeb2a8f260408f65be28b6ebe1071443339e65e0fb873e6d238c832f165524dede5

diff --git a/www-client/mullvad-browser-bin/metadata.xml 
b/www-client/mullvad-browser-bin/metadata.xml
index 36843982a..e2ecf8d8f 100644
--- a/www-client/mullvad-browser-bin/metadata.xml
+++ b/www-client/mullvad-browser-bin/metadata.xml
@@ -5,6 +5,9 @@
                 <email>justin...@protonmail.com</email>
                 <name>Justin</name>
         </maintainer>
+        <upstream>
+                <remote-id type="github">mullvad/mullvadvpn-browser</remote-id>
+        </upstream>
         <use>
                 <flag name="X">Add support for X11</flag>
                 <flag name="wayland">Add support for screensharing on 
wayland</flag>

diff --git a/www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.ebuild 
b/www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.ebuild
index 1a223de8e..150f8cd16 100644
--- a/www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.ebuild
+++ b/www-client/mullvad-browser-bin/mullvad-browser-bin-13.5.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 inherit desktop xdg
 
-DESCRIPTION="The Mullvad Browser is developed – in collaboration between 
Mullvad VPN and the Tor Project – to minimize tracking and fingerprinting."
+DESCRIPTION="The Mullvad Browser is developed to minimize tracking and 
fingerprinting."
 HOMEPAGE="https://github.com/mullvad/mullvadvpn-browser https://mullvad.net/";
 SRC_URI="amd64? ( 
https://github.com/mullvad/mullvad-browser/releases/download/${PV}/mullvad-browser-linux-x86_64-${PV}.tar.xz
 )"
 
@@ -58,11 +58,13 @@ src_install() {
        touch "${S}"/mullvad-browser/Browser/is-packaged-app
 
        # Fix desktop file vars
-        sed -i "s|Name=.*|Name=Mullvad Browser|g" 
"${S}"/mullvad-browser/start-mullvad-browser.desktop
-        sed -i 
"s|Exec=.*|Exec=/opt/mullvad-browser/Browser/start-mullvad-browser --detach|g" 
"${S}"/mullvad-browser/start-mullvad-browser.desktop
-        sed -i "s|Icon=.*|Icon=mullvad-browser|g" 
"${S}"/mullvad-browser/start-mullvad-browser.desktop
+       sed -i "s|Name=.*|Name=Mullvad Browser|g" 
"${S}"/mullvad-browser/start-mullvad-browser.desktop
+       sed -i 
"s|Exec=.*|Exec=/opt/mullvad-browser/Browser/start-mullvad-browser --detach|g" 
"${S}"/mullvad-browser/start-mullvad-browser.desktop
+       sed -i "s|Icon=.*|Icon=mullvad-browser|g" 
"${S}"/mullvad-browser/start-mullvad-browser.desktop
 
-       # Install shim for X11, doesn't seem to launch without it, see upstream 
issue 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/issues/40565
+       # 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
+       #
        # The X11 shim below does not affect the browser's fingerprint or 
functionality.
        if use X ; then
                echo "#include <stdlib.h>
@@ -77,12 +79,12 @@ src_install() {
        insinto /opt/
        doins -r "${S}"/mullvad-browser
 
-       dosym "/opt/mullvad-browser/Browser/start-mullvad-browser" 
/usr/bin/${PN}
+       dosym "../../opt/mullvad-browser/Browser/start-mullvad-browser" 
/usr/bin/${PN}
        domenu "${S}"/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
-        done
+       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
+       done
 
        fperms +x "/opt/mullvad-browser/Browser/start-mullvad-browser"
        fperms +x "/opt/mullvad-browser/Browser/mullvadbrowser"

Reply via email to