Merge branch 'master' of github.com:pisilinux/main
This commit is contained in:
+78259
-78200
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
108e5dd0ed4b801def1e736deaa5389151d76bbc
|
||||
cf52b4c2b28013ea6d6a85537750e623d10a1adf
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
0e4c49520e1b8fcdd78219463d10808f7ecbcce8
|
||||
d8fe56a1a8196d4cd668656382e5315a4b1d0ae0
|
||||
Executable
+27
@@ -0,0 +1,27 @@
|
||||
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright 2009 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
||||
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def build():
|
||||
shelltools.system("LIBDIR=lib make")
|
||||
shelltools.system("LIBDIR=lib32 CXX='g++ -m32' make")
|
||||
|
||||
|
||||
|
||||
def install():
|
||||
pisitools.insinto("/etc/bash_completion.d", "primus.bash-completion", "primusrun")
|
||||
pisitools.dobin("primusrun")
|
||||
|
||||
pisitools.insinto("/usr/lib/primus", "lib/*")
|
||||
pisitools.insinto("/usr/lib32/primus", "lib32/*")
|
||||
|
||||
pisitools.dodoc("LICENSE.txt","README.md", "technotes.md")
|
||||
pisitools.doman("primusrun.1")
|
||||
@@ -0,0 +1,31 @@
|
||||
Index: primus-master/primusrun
|
||||
===================================================================
|
||||
--- primus-master/primusrun
|
||||
+++ primus-master/primusrun 2014-02-07 19:09:03.459850030 +0100
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
# Upload/display method
|
||||
# 0: autodetect, 1: textures, 2: PBO/glDrawPixels (needs Mesa-10.1+)
|
||||
-# export PRIMUS_UPLOAD=${PRIMUS_UPLOAD:-0}
|
||||
+export PRIMUS_UPLOAD=\${PRIMUS_UPLOAD:-2}
|
||||
|
||||
# Approximate sleep ratio in the readback thread, percent
|
||||
# export PRIMUS_SLEEP=${PRIMUS_SLEEP:-90}
|
||||
@@ -20,13 +20,13 @@
|
||||
|
||||
# "Accelerating" libGL
|
||||
# $LIB will be interpreted by the dynamic linker
|
||||
-# export PRIMUS_libGLa=${PRIMUS_libGLa:-'/usr/$LIB/nvidia/libGL.so.1'}
|
||||
+export PRIMUS_libGLa=${PRIMUS_libGLa:-'/usr/lib/nvidia-current/libGL.so.1.2.0:/usr/lib32/nvidia-current/libGL.so.1.2.0'}
|
||||
|
||||
# "Displaying" libGL
|
||||
-# export PRIMUS_libGLd=${PRIMUS_libGLd:-'/usr/$LIB/libGL.so.1'}
|
||||
+export PRIMUS_libGLd=${PRIMUS_libGLd:-'/usr/lib/libGL.so.1.2.0:/usr/lib32/libGL.so.1.2.0'}
|
||||
|
||||
# Directory containing primus libGL
|
||||
-PRIMUS_libGL=${PRIMUS_libGL:-$(dirname `readlink -ne $0`)/'$LIB'}
|
||||
+PRIMUS_libGL='/usr/lib/primus:/usr/lib32/primus'
|
||||
|
||||
# On some distributions, e.g. on Ubuntu, libnvidia-tls.so is not available
|
||||
# in default search paths. Add its path manually after the primus library
|
||||
|
||||
Executable
+64
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>primus</Name>
|
||||
<Homepage>https://github.com/amonakov/primus</Homepage>
|
||||
<Packager>
|
||||
<Name>Mathias Freire</Name>
|
||||
<Email>mathiasfreire45@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>ISC</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Minimalistic and efficient OpenGL offloading for Bumblebee</Summary>
|
||||
<Description>Primus is a shared library that provides OpenGL and GLX APIs and implements low-overhead local-only client-side OpenGL offloading via GLX forking, similar to VirtualGL.</Description>
|
||||
<Archive sha1sum="07619d043cbb1e85a23499b25835aedb7921c480" type="targz">mirrors://sourceforge/pisilinux/source/primus-20160408.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">primus-nvidia-libs.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>primus</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libX11</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>primus-32bit</Name>
|
||||
<BuildDependencies>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>mesa-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2016-04-09</Date>
|
||||
<Version>2015.03.28</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user