void-packages/srcpkgs/VirtualGL/template

31 lines
974 B
Bash

# Template file for 'VirtualGL'
pkgname=VirtualGL
version=2.6
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="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.virtualgl.org/"
distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz"
checksum=a692e37ba7ec4ec192b911ba2f678596e1bec4a2cf96356440989b920ab2b031
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
post_install() {
mv ${DESTDIR}/usr/bin/{glxinfo,vglxinfo}
}
VirtualGL-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}