New package: wire-desktop-3.6.2885

closes #9543
This commit is contained in:
Young Jin Park 2019-03-09 14:21:52 +09:00 committed by maxice8
parent 5cec89b153
commit ffcf516c21
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 37 additions and 0 deletions

View File

@ -125,6 +125,7 @@ libGLESv2.so rpi-userland-0.0.0.0.20150907_1
libGLESv2.so opera-55.0.2994.37_2
libGLESv2.so discord-0.0.7_1
libGLESv2.so riot-desktop-0.17.9_2
libGLESv2.so wire-desktop-3.6.2885_1
libbrcmEGL.so rpi-userland-20180103_2
libbrcmGLESv2.so rpi-userland-20180103_2
libbrcmOpenVG.so rpi-userland-20180103_2

View File

@ -0,0 +1,36 @@
# Template file for 'wire-desktop'
pkgname=wire-desktop
version=3.6.2885
revision=1
wrksrc="${pkgname}-linux-${version}"
hostmakedepends="nodejs yarn git"
short_desc="Wire for desktop"
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://wire.com"
distfiles="https://github.com/wireapp/wire-desktop/archive/linux/${version}.tar.gz"
checksum=524db450d41a2dc677b8450cdf4e13dcc753280b2f6565ed5e23e6f59c14bed4
nocross=yes
shlib_provides="libGLVESv2.so"
pre_build() {
vsed -i '/node-addressbook/d' electron/package.json
yarn
yarn build:ts
}
do_build() {
npx grunt --target=dir linux-other
}
do_install() {
vmkdir usr/lib/wire-desktop
vcopy wrap/dist/linux-unpacked/* usr/lib/wire-desktop
vmkdir usr/bin
ln -sf /usr/lib/wire-desktop/wire-desktop ${DESTDIR}/usr/bin/
vmkdir usr/share/icons/hicolor/256x256/apps
vcopy resources/icons/256x256.png usr/share/icons/hicolor/256x256/apps/wire-desktop.png
vmkdir usr/share/icons/hicolor/32x32/apps
vcopy resources/icons/32x32.png usr/share/icons/hicolor/32x32/apps/wire-desktop.png
vlicense LICENSE
}