From f82fcad2ed41b2b446a94800eebfe9417fbe2076 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 12 Jun 2023 11:44:44 +0200 Subject: figma-linux-bin new --- figma-bin/.gitignore | 1 + figma-bin/128x128.png | Bin 0 -> 10400 bytes figma-bin/192x192.png | Bin 0 -> 16443 bytes figma-bin/24x24.png | Bin 0 -> 5067 bytes figma-bin/256x256.png | Bin 0 -> 28203 bytes figma-bin/36x36.png | Bin 0 -> 6221 bytes figma-bin/384x384.png | Bin 0 -> 60045 bytes figma-bin/48x48.png | Bin 0 -> 5990 bytes figma-bin/512x512.png | Bin 0 -> 118345 bytes figma-bin/64x64.png | Bin 0 -> 6342 bytes figma-bin/72x72.png | Bin 0 -> 7373 bytes figma-bin/96x96.png | Bin 0 -> 8222 bytes figma-bin/PKGBUILD | 72 +++++++++++++++++++++++++++++++++++++++++++++++ figma-bin/figma.desktop | 10 +++++++ figma-bin/scalable.svg | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ 15 files changed, 156 insertions(+) create mode 100644 figma-bin/.gitignore create mode 100644 figma-bin/128x128.png create mode 100644 figma-bin/192x192.png create mode 100644 figma-bin/24x24.png create mode 100644 figma-bin/256x256.png create mode 100644 figma-bin/36x36.png create mode 100644 figma-bin/384x384.png create mode 100644 figma-bin/48x48.png create mode 100644 figma-bin/512x512.png create mode 100644 figma-bin/64x64.png create mode 100644 figma-bin/72x72.png create mode 100644 figma-bin/96x96.png create mode 100644 figma-bin/PKGBUILD create mode 100644 figma-bin/figma.desktop create mode 100644 figma-bin/scalable.svg (limited to 'figma-bin') diff --git a/figma-bin/.gitignore b/figma-bin/.gitignore new file mode 100644 index 000000000..5a7692e9a --- /dev/null +++ b/figma-bin/.gitignore @@ -0,0 +1 @@ +*.AppImage diff --git a/figma-bin/128x128.png b/figma-bin/128x128.png new file mode 100644 index 000000000..e0fb3a24e Binary files /dev/null and b/figma-bin/128x128.png differ diff --git a/figma-bin/192x192.png b/figma-bin/192x192.png new file mode 100644 index 000000000..ce183988f Binary files /dev/null and b/figma-bin/192x192.png differ diff --git a/figma-bin/24x24.png b/figma-bin/24x24.png new file mode 100644 index 000000000..4685ff548 Binary files /dev/null and b/figma-bin/24x24.png differ diff --git a/figma-bin/256x256.png b/figma-bin/256x256.png new file mode 100644 index 000000000..0a319dc9e Binary files /dev/null and b/figma-bin/256x256.png differ diff --git a/figma-bin/36x36.png b/figma-bin/36x36.png new file mode 100644 index 000000000..dd66d883c Binary files /dev/null and b/figma-bin/36x36.png differ diff --git a/figma-bin/384x384.png b/figma-bin/384x384.png new file mode 100644 index 000000000..3415e971c Binary files /dev/null and b/figma-bin/384x384.png differ diff --git a/figma-bin/48x48.png b/figma-bin/48x48.png new file mode 100644 index 000000000..7558f370b Binary files /dev/null and b/figma-bin/48x48.png differ diff --git a/figma-bin/512x512.png b/figma-bin/512x512.png new file mode 100644 index 000000000..c70fa5967 Binary files /dev/null and b/figma-bin/512x512.png differ diff --git a/figma-bin/64x64.png b/figma-bin/64x64.png new file mode 100644 index 000000000..59cacbda4 Binary files /dev/null and b/figma-bin/64x64.png differ diff --git a/figma-bin/72x72.png b/figma-bin/72x72.png new file mode 100644 index 000000000..32bc92526 Binary files /dev/null and b/figma-bin/72x72.png differ diff --git a/figma-bin/96x96.png b/figma-bin/96x96.png new file mode 100644 index 000000000..cada0f6e0 Binary files /dev/null and b/figma-bin/96x96.png differ diff --git a/figma-bin/PKGBUILD b/figma-bin/PKGBUILD new file mode 100644 index 000000000..89b9d419b --- /dev/null +++ b/figma-bin/PKGBUILD @@ -0,0 +1,72 @@ +# Maintainer: Erich Eckner +# Contributor: Speykious + +pkgname=figma-bin +pkgver='0.10.0' +_appimage="figma-linux_${pkgver}_linux_x86_64.AppImage" +pkgrel=1 +pkgdesc="The collaborative interface design tool. Unofficial Figma desktop client for Linux (AppImage)" +arch=(x86_64) +url="https://github.com/Figma-linux/figma-linux" +license=(GPL2) +_pinned_dependencies=( + 'glibc>=2.37' + 'zlib=1:1.2.13' +) +depends=(fuse2 hicolor-icon-theme "${_pinned_dependencies[@]}") +makedepends=(xdg-utils) +provides=(figma-linux figma-linux-bin) +conflicts=(figma-linux figma-linux-bin) +options=(!strip) +source=(figma.desktop + 24x24.png + 36x36.png + 48x48.png + 64x64.png + 72x72.png + 96x96.png + 128x128.png + 192x192.png + 256x256.png + 384x384.png + 512x512.png + "https://github.com/Figma-linux/figma-linux/releases/download/v$pkgver/$_appimage") +sha256sums=('dd02374b347f627d5d0a2201d366e5fd76eb1958759d311b3d72826a4a22fd47' + 'c94eaaf01a82688ab7951ea1d1085f50c3ebed588993d68c173139db848b21c6' + '40b456b40c557395b1d9cedd035c7d14a169f8207d60441177e1f3c0582768da' + '72d0c9df5b81a7666a05751a38fe096f629096be73792355f6069024cf7c0412' + '780219a3792c5c4160829e7a8023e16f78e12c807762d7217a9db90e43a3f777' + 'c00c6751c90b394fc7bca51e5c6f139f16843d5f9f425b4ba31627dbaffaf0f9' + '8d8f214d2e1f8e3816bbcf1262b273bedd56f1504326a2d54b2a1ba6cede63de' + '86f34a8d9ddfdcfad5cc5e170a729cee7bca61102fbe0b10746b7f83b19d45bc' + 'f31ecf744bcf883a10656568aa3e3d5e9efa5c705d54803a3e58fe768d30006a' + '1db635df7d84f73694303eba423acd75da892e084cf35c4e260bd5c6b56fcc1e' + '5dc381da3bb02e5bc9d60cdbae3e3c5c8f249a83b4ef606721bb87559d0a122b' + 'e77bf9e7c699a53e69ba4a025e31ccf2b0a3b4c86acc842f7d0ecf1f8fe71ac2' + '59c4f54e925f17253ad8852f48bb936c9f08c9964591682333dd6c91395848e1') + +pkgver() { + curl -Ls -o /dev/null -w %{url_effective} "$url/releases/latest" \ + | sed ' + s@^.*/v@@ + t + w /dev/stderr + d + ' +} + +package() { + install -Dm644 "$srcdir/figma.desktop" "$pkgdir/usr/share/applications/figma.desktop" + install -Dm644 "$srcdir/256x256.png" "$pkgdir/usr/share/pixmaps/figma.png" + + for size in 24 36 48 64 72 96 128 192 256 384 512; do + install -Dm644 "$srcdir/${size}x${size}.png" \ + "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/figma.png" + done + + # Install binary + install -Dm755 "$_appimage" "$pkgdir/usr/bin/figma" + + # This is required for browser login to work + xdg-mime default figma.desktop x-scheme-handler/figma +} diff --git a/figma-bin/figma.desktop b/figma-bin/figma.desktop new file mode 100644 index 000000000..e31ebd222 --- /dev/null +++ b/figma-bin/figma.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Figma Linux +Comment=Unofficial desktop application for linux +Exec=/usr/bin/figma-linux --no-sandbox --enable-oop-rasterization --ignore-gpu-blacklist -enable-experimental-canvas-features --enable-accelerated-2d-canvas --force-gpu-rasterization --enable-fast-unload --enable-accelerated-vpx-decode=3 --enable-tcp-fastopen --javascript-harmony --enable-checker-imaging --v8-cache-options=code --v8-cache-strategies-for-cache-storage=aggressive --enable-zero-copy --ui-enable-zero-copy --enable-native-gpu-memory-buffers --enable-webgl-image-chromium --enable-accelerated-video --enable-gpu-rasterization %U +Terminal=false +Type=Application +Icon=figma-linux +StartupWMClass=figma-linux +Categories=Graphics; +MimeType=application/figma;x-scheme-handler/figma; diff --git a/figma-bin/scalable.svg b/figma-bin/scalable.svg new file mode 100644 index 000000000..e2c49136c --- /dev/null +++ b/figma-bin/scalable.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2