update and remove unnecessary dependencies

This commit is contained in:
E5ten
2018-06-12 18:19:05 -04:00
parent ff265bb6b0
commit cd0f84a631
2 changed files with 23 additions and 65 deletions

View File

@@ -1,32 +1,18 @@
pkgbase = parsec-bin pkgbase = parsec-bin
pkgdesc = Remotely connect to a gaming pc for a low latency remote computing experience pkgdesc = Remotely connect to a gaming pc for a low latency remote computing experience
pkgver = 139_8 pkgver = 146_18
pkgrel = 2 pkgrel = 1
url = http://parsec.tv url = http://parsec.tv
arch = x86_64 arch = x86_64
depends = glibc depends = gtk2
depends = pulseaudio-module-sndio depends = libsm
depends = expat<=2.2.4 depends = gcc-libs
depends = libglvnd
optdepends = libva: For hardware accelerated decoding
provides = parsec provides = parsec
conflicts = parsec conflicts = parsec
source = http://archive.ubuntu.com/ubuntu/pool/universe/i/intel-vaapi-driver/i965-va-driver_1.7.0-1_amd64.deb
source = http://archive.ubuntu.com/ubuntu/pool/universe/libv/libva/libva-drm1_1.7.0-1_amd64.deb
source = http://archive.ubuntu.com/ubuntu/pool/universe/libv/libva/libva-egl1_1.7.0-1_amd64.deb
source = http://archive.ubuntu.com/ubuntu/pool/universe/libv/libva/libva-glx1_1.7.0-1_amd64.deb
source = http://archive.ubuntu.com/ubuntu/pool/universe/libv/libva/libva-wayland1_1.7.0-1_amd64.deb
source = http://archive.ubuntu.com/ubuntu/pool/universe/libv/libva/libva-x11-1_1.7.0-1_amd64.deb
source = http://archive.ubuntu.com/ubuntu/pool/universe/libv/libva/libva1_1.7.0-1_amd64.deb
source = http://archive.ubuntu.com/ubuntu/pool/universe/v/vdpau-video/vdpau-va-driver_0.7.4-5_amd64.deb
source = https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb source = https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb
md5sums = b2607f82422e4de75df474fc4d9ec682 md5sums = 606463260d9ae1efe727457ea1009b4d
md5sums = d0455e1f955862e60b28dd6a926c9a19
md5sums = 76afa64c4c6390c27c83e04fbaf5763a
md5sums = af58cfc1cae586235c09616189bfffe3
md5sums = c1d54fcc312f51dea259d9e3804b5a6d
md5sums = bcdd976b32d1d0f615a202b761379497
md5sums = 8b81c77b09b8cb02fa513dc5b72ea762
md5sums = 8362265530432f1de9c3db031b0b8779
md5sums = 438177b6f9d81f7eb1f093d920193295
pkgname = parsec-bin pkgname = parsec-bin

View File

@@ -1,53 +1,25 @@
# Maintainer : E5ten
# Maintainer : Shawn Dellysse sdellysse@gmail.com # Maintainer : Shawn Dellysse sdellysse@gmail.com
### Need an old version of expat for parsec to not segfault on connect.
### Download expat-2.2.4 from here: https://archive.archlinux.org/packages/e/expat/expat-2.2.4-1-x86_64.pkg.tar.xz
### sudo pacman -U expat-2.2.4*
### add expat to the IgnorePkg line in /etc/pacman.conf and uncomment the line
### You do not need to install any VA-API packages. This build includes the
### specific libraries parsec needs.
### on first run, parsec will fail to start. This creates the configuration
### directories. On second run, parsec will start fine.
### Credit: https://gist.github.com/aoleg94/ee1bcf82d68ddbc6073cd77b39a1fc8b#file-pkgbuild-L39
UBUNTU_MIRROR="http://archive.ubuntu.com/ubuntu"
pkgname=parsec-bin pkgname=parsec-bin
pkgver=139_8 pkgver=146_18
pkgrel=2 pkgrel=1
pkgdesc="Remotely connect to a gaming pc for a low latency remote computing experience" pkgdesc="Remotely connect to a gaming pc for a low latency remote computing experience"
url=http://parsec.tv url=http://parsec.tv
arch=('x86_64') arch=('x86_64')
provides=('parsec') provides=('parsec')
conflicts=('parsec') conflicts=('parsec')
depends=('glibc' 'pulseaudio-module-sndio' 'expat<=2.2.4') depends=('gtk2' 'libsm' 'gcc-libs' 'libglvnd')
source=( optdepends=('libva: For hardware accelerated decoding')
"${UBUNTU_MIRROR}/pool/universe/i/intel-vaapi-driver/i965-va-driver_1.7.0-1_amd64.deb" source=("https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb")
"${UBUNTU_MIRROR}/pool/universe/libv/libva/libva-drm1_1.7.0-1_amd64.deb" md5sums=('606463260d9ae1efe727457ea1009b4d')
"${UBUNTU_MIRROR}/pool/universe/libv/libva/libva-egl1_1.7.0-1_amd64.deb"
"${UBUNTU_MIRROR}/pool/universe/libv/libva/libva-glx1_1.7.0-1_amd64.deb"
"${UBUNTU_MIRROR}/pool/universe/libv/libva/libva-wayland1_1.7.0-1_amd64.deb"
"${UBUNTU_MIRROR}/pool/universe/libv/libva/libva-x11-1_1.7.0-1_amd64.deb"
"${UBUNTU_MIRROR}/pool/universe/libv/libva/libva1_1.7.0-1_amd64.deb"
"${UBUNTU_MIRROR}/pool/universe/v/vdpau-video/vdpau-va-driver_0.7.4-5_amd64.deb"
"https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb"
)
md5sums=('b2607f82422e4de75df474fc4d9ec682'
'd0455e1f955862e60b28dd6a926c9a19'
'76afa64c4c6390c27c83e04fbaf5763a'
'af58cfc1cae586235c09616189bfffe3'
'c1d54fcc312f51dea259d9e3804b5a6d'
'bcdd976b32d1d0f615a202b761379497'
'8b81c77b09b8cb02fa513dc5b72ea762'
'8362265530432f1de9c3db031b0b8779'
'438177b6f9d81f7eb1f093d920193295')
package() { package() {
for filename in *.deb; do mkdir -p $pkgdir/usr/bin
ar p "$filename" data.tar.xz | tar xJ -C "${pkgdir}" mkdir -p $pkgdir/usr/share/icons/hicolor/256x256/apps
done mkdir -p $pkgdir/usr/share/applications
bsdtar xf $srcdir/data.tar.xz
mv ${pkgdir}/usr/lib/x86_64-linux-gnu/*.so.1* "${pkgdir}/usr/lib" install -Dm755 $srcdir/usr/bin/parsecd $pkgdir/usr/bin/
install -Dm755 $srcdir/usr/share/applications/parsec.desktop $pkgdir/usr/share/applications/
install -Dm644 $srcdir/usr/share/icons/hicolor/256x256/apps/parsec.png $pkgdir/usr/share/icons/hicolor/256x256/apps/
} }