mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 16:21:38 +01:00
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
|
|
# Maintainer: Leon White <badfunkstripe@gmail.com>
|
|
pkgname=virtualgl
|
|
pkgver=3.1.3
|
|
pkgrel=0
|
|
pkgdesc="Toolkit to run remote OpenGL applications with full 3D hardware acceleration"
|
|
url="https://virtualgl.org/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="
|
|
cmake
|
|
fltk-dev
|
|
glu-dev
|
|
libjpeg-turbo-dev
|
|
libx11-dev
|
|
libxtst-dev
|
|
libxv-dev
|
|
mesa-dev
|
|
opencl-dev
|
|
openssl-dev
|
|
samurai
|
|
xcb-util-keysyms-dev
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://github.com/VirtualGL/virtualgl/releases/download/$pkgver/VirtualGL-$pkgver.tar.gz
|
|
install.patch
|
|
"
|
|
builddir="$srcdir/VirtualGL-$pkgver"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/$pkgname \
|
|
-DVGL_FAKEXCB=ON \
|
|
-DVGL_FAKEOPENCL=ON \
|
|
-DVGL_SYSTEMFLTK=ON
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
# conflicts with mesa-utils
|
|
mv "$pkgdir"/usr/bin/eglinfo "$pkgdir"/usr/bin/virtualgl-eglinfo
|
|
mv "$pkgdir"/usr/bin/glxinfo "$pkgdir"/usr/bin/virtualgl-glxinfo
|
|
|
|
# not required
|
|
rm -f "$pkgdir"/usr/bin/.vglrun.vars64
|
|
}
|
|
|
|
sha512sums="
|
|
43e57626efaa86bd5568c61620db5f915db92d6bda2c16f43c6f5d99e9d093bcface8fd0c043af02c58f5d06e9b5f56bbc3cc9fe9b5ec7201902325d49592a92 VirtualGL-3.1.3.tar.gz
|
|
acd348b3005840869baf3f51b0e66bcfbbc93bab2630460a6801a972a13cf428bfe6bee1fac409fe927f0a9d9f6a498ab08c36c4b892b073511503ab81557089 install.patch
|
|
"
|