From 15d4bf76a87e45cb2bf73df7b6fef14bce0db19d Mon Sep 17 00:00:00 2001 From: burakerturk Date: Sat, 9 Apr 2016 20:50:41 +0300 Subject: [PATCH] virtualgl add repo --- x11/misc/virtualgl/actions.py | 60 ++++++++++++++++++ x11/misc/virtualgl/pspec.xml | 95 +++++++++++++++++++++++++++++ x11/misc/virtualgl/translations.xml | 8 +++ 3 files changed, 163 insertions(+) create mode 100644 x11/misc/virtualgl/actions.py create mode 100644 x11/misc/virtualgl/pspec.xml create mode 100644 x11/misc/virtualgl/translations.xml diff --git a/x11/misc/virtualgl/actions.py b/x11/misc/virtualgl/actions.py new file mode 100644 index 0000000000..d247bc2319 --- /dev/null +++ b/x11/misc/virtualgl/actions.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import cmaketools +from pisi.actionsapi import shelltools + +def setup(): + shelltools.makedirs("build") + shelltools.cd("build") + + options = "-DVGL_FAKEXCB=1 \ + -DVGL_INCDIR=/usr/include \ + -DTJPEG_INCLUDE_DIR=/usr/include \ + -DVGL_DOCDIR=/usr/share/doc/%s \ + " % get.srcNAME() + + if get.buildTYPE() == "emul32": + + options += "-DVGL_LIBDIR=/usr/lib32 \ + -DCMAKE_INSTALL_PREFIX=/emul32 \ + -DVGL_BINDIR=/emul32/bin \ + -DTJPEG_LIBRARY=/usr/lib32/libturbojpeg.so \ + -DVGL_FAKELIBDIR=/usr/lib32/fakelib \ + " + elif get.ARCH() == "x86_64": + + options += "-DVGL_LIBDIR=/usr/lib \ + -DCMAKE_INSTALL_PREFIX=/usr/share \ + -DVGL_FAKELIBDIR=/usr/lib/fakelib \ + -DCMAKE_INSTALL_PREFIX=/usr/share \ + -DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so \ + -DVGL_BINDIR=/usr/bin" + + + + cmaketools.configure(options, sourceDir="..") + +def build(): + shelltools.cd("build") + cmaketools.make() + +def install(): + shelltools.cd("build") + + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + + + if get.buildTYPE() == "emul32": + pisitools.insinto("/usr/bin/","%s/emul32/bin/glxspheres" % get.installDIR(),"glxspheres32") + pisitools.removeDir("/emul32") + + + elif get.ARCH() == "x86_64": + pisitools.domove("/usr/bin/glxinfo", "/usr/bin/", "vglxinfo") + diff --git a/x11/misc/virtualgl/pspec.xml b/x11/misc/virtualgl/pspec.xml new file mode 100644 index 0000000000..e0d400360f --- /dev/null +++ b/x11/misc/virtualgl/pspec.xml @@ -0,0 +1,95 @@ + + + + + VirtualGL + http://virtualgl.org + + Marcin Bojara + marcin@pisilinux.org + + LGPLv2.1 + library + app:console + A toolkit for displaying OpenGL applications to thin clients + Redirects 3D commands from an OpenGL application onto a server-side 3D graphics card. + https://sourceforge.net/projects/virtualgl/files/2.5/VirtualGL-2.5.tar.gz + + cmake + fltk-devel + libXv-devel + libXext-devel + mesa-devel + mesa-glu-devel + libjpeg-turbo-devel + + + + + virtualgl + + fltk + libXv + libXext + mesa + mesa-glu + libjpeg-turbo + + + /usr/bin + /usr/lib + /usr/lib/fakelib + /usr/share/doc + + + + + virtualgl-32bit + 32 bit shared libraries of VirtualGL + emul32 + emul32 + + fltk-32bit + libXv-32bit + libXext-32bit + mesa-32bit + mesa-glu-32bit + libjpeg-turbo-32bit + + + fltk-32bit + libXv-32bit + libXext-32bit + mesa-32bit + mesa-glu-32bit + libjpeg-turbo-32bit + + + /usr/lib32 + /usr/lib32/fakelib + + + + + virtualgl-devel + Development files for virtualgl + + virtualgl + + + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + + + + 2016-04-08 + 2.5 + Version bump + Idris KALP + idriskalp@gmail.com + + + diff --git a/x11/misc/virtualgl/translations.xml b/x11/misc/virtualgl/translations.xml new file mode 100644 index 0000000000..1ce5e774af --- /dev/null +++ b/x11/misc/virtualgl/translations.xml @@ -0,0 +1,8 @@ + + + + virtualgl + OpenGL uygulamaları ince istemcilerde göstermek için bir kitaplık + Bir OpenGL uygulamadan gelen 3D komutlarını sunucu tarafındaki 3D grafik kartına yönlendirir. + + \ No newline at end of file