works for qt5-base
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
options = "\-DCMAKE_BUILD_TYPE=Release \
|
||||
"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
|
||||
shelltools.export("CFLAGS", "-m32")
|
||||
shelltools.export("CXXFLAGS", "-m32")
|
||||
|
||||
options += "-DCMAKE_INSTALL_LIBDIR=lib32 \
|
||||
"
|
||||
|
||||
elif get.ARCH() == "x86_64":
|
||||
|
||||
options += "-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
"
|
||||
|
||||
cmaketools.configure(options)
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "README")
|
||||
pisitools.dohtml("doc/*")
|
||||
@@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>freeglut</Name>
|
||||
<Homepage>http://freeglut.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>The OpenGL Utility Toolkit (Freeglut)</Summary>
|
||||
<Description>Freeglut is the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs. It implements a simple windowing application programming interface (API) for OpenGL. Freeglut makes it considerably easier to learn about and explore OpenGL Programming.</Description>
|
||||
<Archive sha1sum="fca52242f9344627a30f11487ee42002e6b0dacd" type="targz">mirrors://sourceforge/freeglut/freeglut-3.0.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>libXi-devel</Dependency>
|
||||
<Dependency>libXxf86vm-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libXrandr-devel</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>freeglut</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libXi</Dependency>
|
||||
<Dependency>libXxf86vm</Dependency>
|
||||
<Dependency>libXrandr</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc/freeglut</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>freeglut-devel</Name>
|
||||
<Summary>Development files for freeglut</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">freeglut</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>freeglut-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for freeglut</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>mesa-32bit</Dependency>
|
||||
<Dependency>libXi-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>libXxf86vm-32bit</Dependency>
|
||||
<Dependency>libXrandr-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">freeglut</Dependency>
|
||||
<Dependency>mesa-32bit</Dependency>
|
||||
<Dependency>libXi-32bit</Dependency>
|
||||
<Dependency>libXxf86vm-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>libXrandr-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-04-27</Date>
|
||||
<Version>3.0.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-16</Date>
|
||||
<Version>2.8.1</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-01-25</Date>
|
||||
<Version>2.8.1</Version>
|
||||
<Comment>rebuild unused</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-08</Date>
|
||||
<Version>2.8.1</Version>
|
||||
<Comment>verbump to 2.8.1 , Rebuild, clean emul32 installation.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-25</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-13</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>freeglut</Name>
|
||||
<Summary xml:lang="tr">OpenGL Araç Kiti (Freeglut)</Summary>
|
||||
<Description xml:lang="tr">Freeglut, OpenGL programlarını yazmak için bağımsız araç kutusu pencere sistemin olan bir OpenGL Hizmeti Araç Takımıdır. OpenGl için basit bir pencere uygulama proglaması arayüzü (API) sağlar. Freeglut, OpenGL Programlamasını keşfetmek öğrenmek isteyenler için kolaylıklar sağlar.</Description>
|
||||
<Description xml:lang="fr">Freeglut est la boîte à outils utilitaire d'OpenGL, une boîte à outils indépendante du système de fenêtrage pour écrire des programmes OpenGL. Il implémente une Interface de Programmation d'Application (API) de fenêtrage pour OpenGL. Freeglut facilite considérablement l'apprentissage et l'exploration de la programmation en OpenGL.</Description>
|
||||
<Description xml:lang="es">Freeglut es la caja de herramientas de OpenGL, con herramientas para crear programas OpenGL, independientemente del sistema de ventanas. Facilita una simple interfaz de programación de aplicaciones (API) con ventanas para OpanGL. Freeglut facilita considerablemente el aprendizaje y exploración de la programación OpenGL.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>freeglut-devel</Name>
|
||||
<Summary xml:lang="tr">freeglut için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>freeglut-32bit</Name>
|
||||
<Summary xml:lang="tr">freeglut için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user