virtualgl add repo
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>VirtualGL</Name>
|
||||
<Homepage>http://virtualgl.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A toolkit for displaying OpenGL applications to thin clients</Summary>
|
||||
<Description>Redirects 3D commands from an OpenGL application onto a server-side 3D graphics card.</Description>
|
||||
<Archive sha1sum="494ced91402e7cd4b3f561c202f8b4298d777785" type="targz">https://sourceforge.net/projects/virtualgl/files/2.5/VirtualGL-2.5.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>fltk-devel</Dependency>
|
||||
<Dependency>libXv-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>mesa-glu-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>virtualgl</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>fltk</Dependency>
|
||||
<Dependency>libXv</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>mesa-glu</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="library">/usr/lib/fakelib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>virtualgl-32bit</Name>
|
||||
<Summary>32 bit shared libraries of VirtualGL</Summary>
|
||||
<PartOf>emul32</PartOf>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>fltk-32bit</Dependency>
|
||||
<Dependency>libXv-32bit</Dependency>
|
||||
<Dependency>libXext-32bit</Dependency>
|
||||
<Dependency>mesa-32bit</Dependency>
|
||||
<Dependency>mesa-glu-32bit</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>fltk-32bit</Dependency>
|
||||
<Dependency>libXv-32bit</Dependency>
|
||||
<Dependency>libXext-32bit</Dependency>
|
||||
<Dependency>mesa-32bit</Dependency>
|
||||
<Dependency>mesa-glu-32bit</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
<Path fileType="library">/usr/lib32/fakelib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>virtualgl-devel</Name>
|
||||
<Summary>Development files for virtualgl</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">virtualgl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2016-04-08</Date>
|
||||
<Version>2.5</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Idris KALP</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>virtualgl</Name>
|
||||
<Summary xml:lang="tr">OpenGL uygulamaları ince istemcilerde göstermek için bir kitaplık</Summary>
|
||||
<Description xml:lang="tr">Bir OpenGL uygulamadan gelen 3D komutlarını sunucu tarafındaki 3D grafik kartına yönlendirir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user