29 lines
639 B
Plaintext
29 lines
639 B
Plaintext
# Tanım: opengl kullanan bir uygulamadan opengl ekran kartına 3d komut iletir
|
||
# URL: http://virtualgl.org
|
||
# Paketçi: milisarge
|
||
# Gerekler: xorg-libxv xorg-glu libjpeg-turbo xorg-xcb-util-keysyms
|
||
|
||
name=virtualgl
|
||
version=2.5.2
|
||
release=1
|
||
source=(https://github.com/VirtualGL/$name/archive/$version.tar.gz)
|
||
|
||
derle() {
|
||
cd $name-$version
|
||
|
||
cmake . \
|
||
-DCMAKE_BINARY_DIR=/usr \
|
||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
-DCMAKE_INSTALL_DEFAULT_LIBDIR=lib \
|
||
-DCMAKE_SYSTEM_PROCESSOR=x86_64
|
||
|
||
make
|
||
make DESTDIR=$PKG install
|
||
|
||
rm -rf $PKG/usr/share
|
||
|
||
rm -rf $PKG/usr/bin/.vglrun.vars64
|
||
|
||
mv $PKG/usr/bin/glxinfo $PKG/usr/bin/vglxinfo
|
||
}
|