diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
commit | 9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch) | |
tree | 06520d9024b40745b94f02d0d3419386e6496863 /community/virtualgl/PKGBUILD | |
parent | 6cc893589a6bd208f2b7711f985e17df7a6df816 (diff) | |
parent | a86ff663185661ee304bb1f6d00d982102dd706d (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/virtualgl/PKGBUILD')
-rw-r--r-- | community/virtualgl/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/virtualgl/PKGBUILD b/community/virtualgl/PKGBUILD new file mode 100644 index 000000000..8bf79dcd3 --- /dev/null +++ b/community/virtualgl/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: FigoDaPaura <ffigoDaPaura> +# Contributor: Andres Jimenez + +pkgname=virtualgl +pkgver=2.3.2 +pkgrel=3 +pkgdesc="Redirects 3D commands from an OpenGL application onto a server-side 3D graphics card" +arch=('i686' 'x86_64' 'mips64el') +url="http://virtualgl.org" +license=('LGPL') +depends=('libxv' 'glu' 'turbojpeg') +makedepends=('cmake' 'mesa') +source=("http://downloads.sourceforge.net/project/virtualgl/VirtualGL/$pkgver/VirtualGL-$pkgver.tar.gz") +sha1sums=('f042862c21ceaba57c6e1f0ec72adb4f838725e9') + +build() { + cd "$srcdir/VirtualGL-$pkgver" + + mkdir -p build && cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr/share \ + -DTJPEG_INCLUDE_DIR=/usr/include \ + -DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so \ + -DVGL_LIBDIR=/usr/lib \ + -DVGL_BINDIR=/usr/bin \ + -DVGL_DOCDIR=/usr/share/doc/${pkgname} + make +} + +package() { + cd "$srcdir/VirtualGL-$pkgver/build" + make install DESTDIR="$pkgdir" + + mv "$pkgdir"/usr/bin/glxinfo "$pkgdir"/usr/bin/vglxinfo +} |