add new packages qt5-canvas3d, qt5-gamepad, assimp dependency for new package qt5-3d

This commit is contained in:
groni
2017-02-21 13:35:33 +01:00
parent 995565cb11
commit 92acf11c47
10 changed files with 704 additions and 238 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/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 get
from pisi.actionsapi import pisitools
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DASSIMP_BUILD_SAMPLES=OFF")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE", "Readme.md", "README")
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>assimp</Name>
<Homepage>http://assimp.sourceforge.net/index.html</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<Summary>A JavaScript 3D rendering API for Qt Quick</Summary>
<Description>APIs are provided for C and C++. There are various bindings to other languages (C#, Java, Python, Delphi, D). Assimp also runs on Android and iOS.</Description>
<BuildDependencies>
<Dependency>boost-devel</Dependency>
<Dependency>cmake</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>pkgconfig</Dependency>
<Dependency>minizip-devel</Dependency>
<Dependency>git</Dependency>
</BuildDependencies>
<Archive sha1sum="cfe119af9d02a7bcd76d044d702e58003a94f61c" type="targz">https://github.com/assimp/assimp/archive/v3.3.1.tar.gz</Archive>
</Source>
<Package>
<Name>assimp</Name>
<Summary>Portable Open Source library to import various well-known 3D model formats in an uniform manner</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>assimp-devel</Name>
<Summary>Development files for assimp</Summary>
<RuntimeDependencies>
<Dependency>boost-devel</Dependency>
<Dependency release="current">assimp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="config">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2017-02-21</Date>
<Version>3.3.1</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>