aboutsummaryrefslogtreecommitdiffstats
path: root/community/xpra/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-12 00:23:59 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-03-12 00:23:59 +0100
commit7cef75c885a07a4cf9e876c2ebe4f41f1e8d240c (patch)
treecc368175c532437ec4017a0bf6dd8ea6b5604655 /community/xpra/APKBUILD
parent925504c82522d062d303ea6b00b8b94a58a9c98a (diff)
downloadaports-7cef75c885a07a4cf9e876c2ebe4f41f1e8d240c.tar.bz2
aports-7cef75c885a07a4cf9e876c2ebe4f41f1e8d240c.tar.xz
community/xpra: improve abuild
Diffstat (limited to 'community/xpra/APKBUILD')
-rw-r--r--community/xpra/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/xpra/APKBUILD b/community/xpra/APKBUILD
index 0545e13f52..45824499ce 100644
--- a/community/xpra/APKBUILD
+++ b/community/xpra/APKBUILD
@@ -19,6 +19,7 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
+
# https://www.xpra.org/trac/ticket/1080
CFLAGS="$CFLAGS -fno-strict-aliasing"
python2 setup.py build \
@@ -29,6 +30,7 @@ build() {
package() {
cd "$builddir"
+
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
# fixes Error relocating /usr/lib/xorg/modules/drivers/dummy_drv.so: fbPictureInit: symbol not found
printf '\nSection "Module"\n Load\t"fb"\nEndSection' >> $pkgdir/etc/xpra/xorg.conf
@@ -36,15 +38,17 @@ package() {
}
tests() {
- cd "$builddir"
pkgdesc="Xpra test suite"
+
+ cd "$builddir"
mkdir -p "$subpkgdir"/usr/share/xpra
cp -rf tests "$subpkgdir"/usr/share/xpra/
}
webclient() {
- cd "$pkgdir"
pkgdesc="Xpra websockets client"
+
+ cd "$pkgdir"
mkdir -p "$subpkgdir"/usr/share/xpra
cp -rf usr/share/xpra/www "$subpkgdir"/usr/share/xpra/
}