torbrowser-launcher: update to 0.3.5.

This commit is contained in:
travankor 2021-07-10 06:31:27 -07:00 committed by Érico Nogueira Rolim
parent 5a4a5af37b
commit 8d831e7aab
3 changed files with 18 additions and 15 deletions

View file

@ -1,11 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@
SHARE = 'share'
# detect linux distribution
-distro = platform.dist()[0]
+distro = 'Void'
def file_list(path):

View file

@ -0,0 +1,14 @@
diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox
index 6882f9d..365b073 100644
--- a/apparmor/torbrowser.Browser.firefox
+++ b/apparmor/torbrowser.Browser.firefox
@@ -115,6 +115,9 @@ profile torbrowser_firefox @{torbrowser_firefox_executable} {
owner /{dev,run}/shm/org.chromium.* rw,
owner /dev/shm/org.mozilla.ipc.[0-9]*.[0-9]* rw, # for Chromium IPC
+ # Required for Wayland display protocol support
+ owner /dev/shm/wayland.mozilla.ipc.[0-9]* rw,
+
# Deny access to DRM nodes, that's granted by the X abstraction, which is
# sourced by the gnome abstraction, that we include.
deny /dev/dri/** rwklx,

View file

@ -1,10 +1,10 @@
# Template file for 'torbrowser-launcher'
pkgname=torbrowser-launcher
version=0.3.3
revision=2
version=0.3.5
revision=1
archs="i686 x86_64" # limited by Tor Browser itself
build_style=python3-module
hostmakedepends="gettext python3-setuptools"
hostmakedepends="gettext python3-distro python3-setuptools"
depends="python3-PyQt5 python3-gpg python3-requests python3-pysocks gnupg2 tor dbus-glib
python3-packaging"
short_desc="Securely download, verify and run Tor Browser"
@ -13,7 +13,7 @@ license="MIT"
homepage="https://github.com/micahflee/torbrowser-launcher"
changelog="https://raw.githubusercontent.com/micahflee/torbrowser-launcher/master/CHANGELOG.md"
distfiles="https://github.com/micahflee/torbrowser-launcher/archive/v${version}.tar.gz"
checksum=58b17bd5a9a6f35fe78d83e69fdf77919ffa8c2492b1add1d47aed6237794f93
checksum=623cd77c6095711f371fee5b5cc521ecd8dd89d964b75fad6449633d10925089
post_install() {
vlicense LICENSE