void-packages/srcpkgs/parsec/template
Juan RP f8eae3a419
srcpkgs: declare libGL/GLES/EGL as virtual pkgs and update pkgs.
virtualpkgs should be declared as "virtual?foo".

This makes "./xbps-src show-build-deps" suceed on pkgs
that had `depends="libGL"`.
2020-04-06 21:07:44 +02:00

26 lines
874 B
Bash

# Template file for 'parsec'
pkgname=parsec
version=147.9
revision=1
archs="x86_64"
build_style=fetch
depends="libgcc virtual?libGL libglib-static libSM libsndio libstdc++ libX11 libXxf86vm"
short_desc="Low latency proprietary game streaming application"
maintainer="Kozova1 <mug66kk@gmail.com>"
license="Proprietary"
homepage="https://parsecgaming.com"
distfiles="https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb"
checksum=beed951ebee0189e8c22aa3d9190e1ddc7691c4703379e146a8b812c21b3a273
nopie=yes
restricted=yes
do_extract() {
ar x "${XBPS_SRCDISTDIR}/${pkgname}-${version}/parsec-linux.deb"
}
do_install() {
bsdtar xf "data.tar.xz" -C ${DESTDIR}
vmkdir usr/lib/parsec
mv ${DESTDIR}/usr/share/parsec/skel/parsecd-147-9.so ${DESTDIR}/usr/lib/parsec/parsecd-147-9.so
ln -rs ${DESTDIR}/usr/lib/parsec/parsecd-147-9.so ${DESTDIR}/usr/share/parsec/skel/
}