Compare commits
3 Commits
9d8c1a8895
...
1088204cf4
Author | SHA1 | Date | |
---|---|---|---|
1088204cf4 | |||
03b4b01e7d | |||
f12160c2f3 |
@@ -3,7 +3,7 @@
|
||||
# GNU General Public License version 3
|
||||
|
||||
name: zen-browser
|
||||
version: 1.14.11b
|
||||
version: 1.15b
|
||||
license: MPL-2.0
|
||||
summary: Zen Browser - Welcome to a calmer internet
|
||||
description: |
|
||||
@@ -117,7 +117,6 @@ parts:
|
||||
after:
|
||||
- launcher
|
||||
- desktop
|
||||
- icons
|
||||
build-packages:
|
||||
- curl
|
||||
- tar
|
||||
@@ -125,58 +124,21 @@ parts:
|
||||
mkdir -p "$CRAFT_PART_INSTALL/usr/lib"
|
||||
curl -L -O https://github.com/zen-browser/desktop/releases/download/$SNAPCRAFT_PROJECT_VERSION/zen.linux-x86_64.tar.xz
|
||||
tar xf zen.linux-x86_64.tar.xz -C "$CRAFT_PART_INSTALL/usr/lib"
|
||||
organize:
|
||||
usr/lib/zen/browser/chrome/icons/default/default16.png: usr/share/icons/hicolor/16x16/apps/zen-browser.png
|
||||
usr/lib/zen/browser/chrome/icons/default/default32.png: usr/share/icons/hicolor/32x32/apps/zen-browser.png
|
||||
usr/lib/zen/browser/chrome/icons/default/default48.png: usr/share/icons/hicolor/48x48/apps/zen-browser.png
|
||||
usr/lib/zen/browser/chrome/icons/default/default64.png: usr/share/icons/hicolor/64x64/apps/zen-browser.png
|
||||
usr/lib/zen/browser/chrome/icons/default/default128.png: usr/share/icons/hicolor/128x128/apps/zen-browser.png
|
||||
prime:
|
||||
- usr/lib/zen
|
||||
- usr/share/icons/*
|
||||
- usr/lib/*/libproxy
|
||||
- usr/lib/*/libpci.so.*
|
||||
# - usr/lib/*/opensc-pkcs11.so
|
||||
# - usr/lib/*/pkcs11/opensc-pkcs11.so
|
||||
# - usr/lib/*/libasn1.so.*
|
||||
# - usr/lib/*/libcurl.so.*
|
||||
# - usr/lib/*/libgssapi.so.*
|
||||
# - usr/lib/*/libhcrypto.so.*
|
||||
# - usr/lib/*/libheimbase.so.*
|
||||
# - usr/lib/*/libheimntlm.so.*
|
||||
# - usr/lib/*/libhogweed.so.*
|
||||
# - usr/lib/*/libhx509.so.*
|
||||
# - usr/lib/*/libkrb5.so.*
|
||||
# - usr/lib/*/liblber-2.4.so.*
|
||||
# - usr/lib/*/libldap_r-2.4.so.*
|
||||
# - usr/lib/*/libnettle.so.*
|
||||
# - usr/lib/*/libnghttp2.so.*
|
||||
# - usr/lib/*/libpipewire*.so*
|
||||
# - usr/lib/*/libroken.so.*
|
||||
# - usr/lib/*/librtmp.so.*
|
||||
# - usr/lib/*/libsasl2.so.*
|
||||
# - usr/lib/*/libspeechd.so.*
|
||||
# - usr/lib/*/libssh.so.*
|
||||
# - usr/lib/*/libssl.so.*
|
||||
# - usr/lib/*/libvulkan*
|
||||
# - usr/lib/*/libVkLayer*
|
||||
# - usr/lib/*/libwind.so.*
|
||||
# - usr/lib/*/libXt.so.*
|
||||
# - usr/lib/*/pipewire-*
|
||||
# - usr/lib/*/spa-*
|
||||
# alsa does not seem to be found
|
||||
# - usr/share/alsa
|
||||
# - usr/share/pipewire
|
||||
# - usr/share/vulkan
|
||||
stage-packages:
|
||||
- libproxy1v5
|
||||
- glib-networking
|
||||
- libpci3
|
||||
- libasound2
|
||||
- libcurl4
|
||||
- libpipewire-0.3-0
|
||||
- libpipewire-0.3-modules
|
||||
- libspa-0.2-modules
|
||||
- libspeechd2
|
||||
- libvulkan1
|
||||
- libxt6
|
||||
- mesa-vulkan-drivers
|
||||
- pipewire-bin
|
||||
- pipewire-pulse
|
||||
- opensc-pkcs11
|
||||
|
||||
desktop:
|
||||
plugin: dump
|
||||
@@ -190,27 +152,6 @@ parts:
|
||||
cp "$CRAFT_PROJECT_DIR/zen-browser.launcher" "$CRAFT_PRIME/"
|
||||
chmod a+rwx "$CRAFT_PRIME/zen-browser.launcher"
|
||||
|
||||
icons:
|
||||
plugin: nil
|
||||
build-packages:
|
||||
- inkscape
|
||||
- curl
|
||||
override-build: |
|
||||
curl -L -O https://raw.githubusercontent.com/zen-browser/desktop/refs/heads/dev/docs/assets/zen-dark.svg
|
||||
inkscape -w 16 -h 16 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/16.png"
|
||||
inkscape -w 32 -h 32 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/32.png"
|
||||
inkscape -w 48 -h 48 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/48.png"
|
||||
inkscape -w 64 -h 64 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/64.png"
|
||||
inkscape -w 128 -h 128 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/128.png"
|
||||
organize:
|
||||
16.png: usr/share/icons/hicolor/16x16/apps/zen-browser.png
|
||||
32.png: usr/share/icons/hicolor/32x32/apps/zen-browser.png
|
||||
48.png: usr/share/icons/hicolor/48x48/apps/zen-browser.png
|
||||
64.png: usr/share/icons/hicolor/64x64/apps/zen-browser.png
|
||||
128.png: usr/share/icons/hicolor/128x128/apps/zen-browser.png
|
||||
prime:
|
||||
- usr/share/icons/*
|
||||
|
||||
slots:
|
||||
dbus-daemon:
|
||||
interface: dbus
|
||||
|
Reference in New Issue
Block a user