aboutsummaryrefslogtreecommitdiffstats
path: root/testing/virtualgl
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2016-05-13 14:33:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-20 15:53:30 +0000
commitfee8fa3eb0a75e19f27718ef6d7741532b2f7d44 (patch)
tree6dfa08fb3bef24c7ab3e186c75a56c344aa2fc43 /testing/virtualgl
parent1b0a3e1c91915514f56293cb07768be638846185 (diff)
downloadaports-fee8fa3eb0a75e19f27718ef6d7741532b2f7d44.tar.bz2
aports-fee8fa3eb0a75e19f27718ef6d7741532b2f7d44.tar.xz
testing/virtualgl: new aport
VirtualGL is a toolkit to run remote OpenGL applications with full 3D hardware acceleration. http://www.virtualgl.org
Diffstat (limited to 'testing/virtualgl')
-rw-r--r--testing/virtualgl/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/virtualgl/APKBUILD b/testing/virtualgl/APKBUILD
new file mode 100644
index 0000000000..a5adb7c98a
--- /dev/null
+++ b/testing/virtualgl/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
+# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
+pkgname=virtualgl
+_pkgname=VirtualGL
+pkgver=2.5
+pkgrel=0
+pkgdesc="VirtualGL is a toolkit to run remote OpenGL applications with full 3D hardware acceleration."
+url="http://www.virtualgl.org"
+arch="x86_64"
+license="LGPL"
+depends=""
+depends_dev=""
+makedepends="mesa-dev cmake openssl-dev libjpeg-turbo-dev libx11-dev glu-dev libxv-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
+
+builddir=${srcdir}/${_pkgname}-${pkgver}
+build() {
+ cd "$builddir"
+ mkdir -p build && cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr/share \
+ -DTJPEG_INCLUDE_DIR=/usr/include \
+ -DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so \
+ -DOPENGL_glu_LIBRARY=/usr/lib/libGLU.so \
+ -DVGL_USESSL=1 \
+ -DVGL_LIBDIR=/usr/lib \
+ -DVGL_BINDIR=/usr/bin \
+ -DVGL_DOCDIR=/usr/share/doc/${pkgname} \
+ -DVGL_FAKEXCB=1 || return 1
+ make
+}
+
+package() {
+ cd "$builddir/build"
+ make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir" && rm -r build
+}
+
+md5sums="7b0a781be8eb249fbe77a99af89cc758 VirtualGL-2.5.tar.gz"
+sha256sums="14d5ba1af9fe8859bbb6131714fee465143f16184449d2d7adb65bd4aba4d7d6 VirtualGL-2.5.tar.gz"
+sha512sums="1c14144d0d1de6350d6b82bea85719f3716575bb811763163bac06b387efdcc066f3f99d5e751872aa9b05e8f9572ebea09802a596d49d126eef5e30909af0d0 VirtualGL-2.5.tar.gz"