void-packages/srcpkgs/VirtualGL/template

32 lines
975 B
Bash

# Template file for 'VirtualGL'
pkgname=VirtualGL
version=2.6.2
revision=2
build_style=cmake
configure_args="-DTJPEG_INCLUDE_DIR=/usr/include -DVGL_SYSTEMGLX=ON
-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DCMAKE_INSTALL_LIBDIR=/usr/lib
-DVGL_SYSTEMFLTK=ON -DVGL_USESSL=ON"
makedepends="libXv-devel glu-devel libjpeg-turbo-devel MesaLib-devel
libXtst-devel fltk-devel libressl-devel"
short_desc="Run remote OpenGL applications with full acceleration"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.virtualgl.org/"
distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz"
checksum=79dff857862890215794509ac65826005625925d03bf0874a486d695aae6f859
patch_args="-Np1"
archs="i686* x86_64*"
post_install() {
mv ${DESTDIR}/usr/bin/{glxinfo,vglxinfo}
}
VirtualGL-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}