media-gfx/figma-bin: add version 0.8.1

Closes: https://gitlab.com/src_prepare/src_prepare-overlay/-/issues/29
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-07-26 23:31:23 +02:00
parent 12d5fe0913
commit d9dff30e86
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST figma-bin-0.8.1-amd64.zip 145418083 BLAKE2B 7fbab84a192a0f1a9b9c63ae8d54083692b4551a5fe79126c66092a6ec83ebf193c02e025d5f256794ffcb08712fbe6b2027abecdcc05885c40a75920fd93760 SHA512 9bef661eca3b59f91dea13ea99f72b1c35c4b826b558265bbe5c987801d0eb165083bd06c40ecb7b36b3ddd93b5d91afd2d5a189357ec0a951b8246195b20158
DIST figma-bin-0.8.1-arm64.zip 144496746 BLAKE2B 667fcfa4424ecf155ccc6c8e793f01f73cf173533088c9d6be09ffa0018d48218e3bc42c19b6c5be2df08e62dbd7d1105db604de5bfb7744271d92e06b2901e0 SHA512 f038abfe45c927580e20e21f1d92f33a72595d6c7365f0064ede26291b42ff55849566c9d30f03e6217d687d6bcc9319700dcbbe38831496f0dc842cb096d075

View File

@ -0,0 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit wrapper desktop xdg
DESCRIPTION="Unofficial desktop client for Figma - collaborative interface design tool"
HOMEPAGE="https://github.com/Figma-Linux/figma-linux"
SRC_URI="
amd64? ( https://github.com/Figma-Linux/figma-linux/releases/download/v${PV}/figma-linux_${PV}_linux_amd64.zip -> ${P}-amd64.zip )
arm64? ( https://github.com/Figma-Linux/figma-linux/releases/download/v${PV}/figma-linux_${PV}_linux_arm64.zip -> ${P}-arm64.zip )
"
S="${WORKDIR}"
RESTRICT="mirror test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
IUSE="test"
BDEPEND="app-arch/unzip"
RDEPEND="
app-accessibility/at-spi2-atk
dev-libs/nss
media-libs/alsa-lib
media-libs/libpng:0/16
x11-libs/cairo
x11-libs/gtk+:3
x11-libs/libnotify
x11-libs/libxkbcommon
x11-libs/libxkbfile
x11-libs/libXScrnSaver
x11-libs/libXtst
x11-libs/pango
"
QA_PREBUILT="*"
src_install() {
local pnopt="/opt/${PN}"
mkdir -p "${D}/${pnopt}" || die
cp -R * "${D}/${pnopt}" || die
make_wrapper "${PN}" "${EROOT}/${pnopt}/figma-linux"
make_desktop_entry "${PN}" "${PN^}" "${EROOT}/${pnopt}/figma-linux.png"
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">Figma-Linux/figma-linux</remote-id>
</upstream>
</pkgmetadata>