diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-05-04 22:52:36 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-05-04 22:53:09 -0300 |
commit | d9aa10d7186808865f5aa4f3b5915e9f40bac7d7 (patch) | |
tree | 7af3c60af296ef1fad930666d140c2641caee820 /pcr/xpra-gtk2 | |
parent | 80e9be5eab0b3b937102956a77949f2f597718fa (diff) | |
download | abslibre-d9aa10d7186808865f5aa4f3b5915e9f40bac7d7.tar.gz abslibre-d9aa10d7186808865f5aa4f3b5915e9f40bac7d7.tar.bz2 abslibre-d9aa10d7186808865f5aa4f3b5915e9f40bac7d7.zip |
pcr/xpra-gtk2: add new package to [pcr]
Diffstat (limited to 'pcr/xpra-gtk2')
-rw-r--r-- | pcr/xpra-gtk2/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/xpra-gtk2/PKGBUILD b/pcr/xpra-gtk2/PKGBUILD new file mode 100644 index 000000000..5b73525f3 --- /dev/null +++ b/pcr/xpra-gtk2/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Márcio Silva <coadde@parabola.nu> + +_pkgname=xpra +pkgname=$_pkgname-gtk2 +pkgver=0.17.1 +pkgrel=1 +pkgdesc='multi-platform X11 screen and application forwarding system' +arch=('i686' 'x86_64' 'armv7h') +license=('GPL2') +url="https://www.$_pkgname.org" +backup=("etc/$_pkgname/"{xorg,$_pkgname}".conf") +depends=('pygtk' 'ffmpeg' 'python2-cairo' 'xorg-server') # 'xvidcore': needs similar to support xvid +optdepends=('cups: CUPS (printing) support' + 'python2-lcms: LittleCMS support' + 'python2-lz4: LZ4 compression support' + 'python2-lzo: LZO compression support' + 'python2-pycups: CUPS (printing) support' + 'python2-pyopencl: OpenCL support' + 'xf86-video-dummy: Xdummy support') +makedepends=('cups' 'cython2' 'lsb-release' 'xf86-video-dummy') +conflicts=("$_pkgname") +source=("$url/src/$_pkgname-$pkgver.tar.xz") +sha1sums=('9303e0ca5d60e5f9d5497b1012ce7829dc642dec') + +build () { + cd $_pkgname-$pkgver + CFLAGS="$CFLAGS -fno-strict-aliasing" python2 setup.py build \ + --with-{csc_opencl,gtk_x11,server,shadow,verbose,Xdummy{,_wrapper}} --without-{csc_libyuv,xvid} + cd rencode + python2 setup.py build +} + +package() { + cd $_pkgname-$pkgver + python2 setup.py install --root=$pkgdir + cd rencode + python2 setup.py install --root=$pkgdir +} |