add vscodium-bin/vscodium-bin-1.74.0.22342.ebuild
This commit is contained in:
parent
32b5dadef2
commit
663928449c
67
app-editors/vscodium-bin/vscodium-bin-1.74.0.22342.ebuild
Normal file
67
app-editors/vscodium-bin/vscodium-bin-1.74.0.22342.ebuild
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit desktop pax-utils xdg-utils
|
||||||
|
|
||||||
|
MY_PN="${PN/-bin}"
|
||||||
|
|
||||||
|
DESCRIPTION="Free/Libre Open Source Software Binaries of VSCode (binary version)"
|
||||||
|
HOMEPAGE="https://vscodium.com"
|
||||||
|
|
||||||
|
SRC_URI="
|
||||||
|
amd64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz )
|
||||||
|
arm? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz )
|
||||||
|
arm64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz )"
|
||||||
|
|
||||||
|
RESTRICT="mirror strip bindist"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=media-libs/libpng-1.2.46
|
||||||
|
>=x11-libs/gtk+-2.24.8-r1:2
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/libXtst
|
||||||
|
!app-editors/vscodium"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
app-accessibility/at-spi2-atk
|
||||||
|
>=net-print/cups-2.0.0
|
||||||
|
x11-libs/libnotify
|
||||||
|
x11-libs/libXScrnSaver
|
||||||
|
dev-libs/nss
|
||||||
|
app-crypt/libsecret[crypt]"
|
||||||
|
|
||||||
|
QA_PRESTRIPPED="*"
|
||||||
|
QA_PREBUILT="opt/${MY_PN}/codium"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install(){
|
||||||
|
mkdir -p "${ED%/}/opt/${MY_PN}"
|
||||||
|
cd "${ED%/}/opt/${MY_PN}/"
|
||||||
|
unpack ${A}
|
||||||
|
dodir /usr/bin
|
||||||
|
dosym ../../opt/${MY_PN}/bin/codium /usr/bin/${MY_PN}
|
||||||
|
dosym ../../opt/${MY_PN}/bin/codium /usr/bin/codium
|
||||||
|
domenu "${FILESDIR}/${PN}.desktop"
|
||||||
|
newicon "resources/app/resources/linux/code.png" ${MY_PN}.png
|
||||||
|
pax-mark m "${ED%/}"/opt/${MY_PN}/codium
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
14
metadata/md5-cache/app-editors/vscodium-bin-1.74.0.22342
Normal file
14
metadata/md5-cache/app-editors/vscodium-bin-1.74.0.22342
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=install postinst postrm unpack
|
||||||
|
DEPEND=>=media-libs/libpng-1.2.46 >=x11-libs/gtk+-2.24.8-r1:2 x11-libs/cairo x11-libs/libXtst !app-editors/vscodium
|
||||||
|
DESCRIPTION=Free/Libre Open Source Software Binaries of VSCode (binary version)
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://vscodium.com
|
||||||
|
INHERIT=desktop pax-utils xdg-utils
|
||||||
|
KEYWORDS=-* ~amd64 ~arm ~arm64
|
||||||
|
LICENSE=MIT
|
||||||
|
RDEPEND=>=media-libs/libpng-1.2.46 >=x11-libs/gtk+-2.24.8-r1:2 x11-libs/cairo x11-libs/libXtst !app-editors/vscodium app-accessibility/at-spi2-atk >=net-print/cups-2.0.0 x11-libs/libnotify x11-libs/libXScrnSaver dev-libs/nss app-crypt/libsecret[crypt]
|
||||||
|
RESTRICT=mirror strip bindist
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=amd64? ( https://github.com/VSCodium/vscodium/releases/download/1.74.0.22342/VSCodium-linux-x64-1.74.0.22342.tar.gz ) arm? ( https://github.com/VSCodium/vscodium/releases/download/1.74.0.22342/VSCodium-linux-armhf-1.74.0.22342.tar.gz ) arm64? ( https://github.com/VSCodium/vscodium/releases/download/1.74.0.22342/VSCodium-linux-arm64-1.74.0.22342.tar.gz )
|
||||||
|
_eclasses_=desktop 7eb20ad915a0a318176d51bc2508ff5c pax-utils 91d47e5d20627c717aa878b9167c62a8 xdg-utils ac0e315a3688929e34ac75b139e7349a
|
||||||
|
_md5_=a3290cd7ccb9f9024c325bc9f425dc68
|
Loading…
Reference in New Issue
Block a user