vulkan-tools add to repo
This commit is contained in:
Executable
+37
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- 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 cmaketools
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
pisitools.cxxflags.add("-std=gnu++11")
|
||||||
|
|
||||||
|
ver = get.srcVERSION()
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
cmaketools.configure("-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
||||||
|
-DCMAKE_SKIP_RPATH=True \
|
||||||
|
-DBUILD_WSI_XCB_SUPPORT=On \
|
||||||
|
-DBUILD_WSI_XLIB_SUPPORT=On \
|
||||||
|
-DBUILD_WSI_WAYLAND_SUPPORT=On \
|
||||||
|
-DBUILD_CUBE=ON \
|
||||||
|
-DBUILD_VULKANINFO=ON \
|
||||||
|
-DBUILD_ICD=OFF \
|
||||||
|
")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cmaketools.make()
|
||||||
|
|
||||||
|
|
||||||
|
def install():
|
||||||
|
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
|
||||||
|
|
||||||
|
|
||||||
|
pisitools.dodoc("README.md", "CONTRIBUTING.md", "LICENSE.txt", "CODE_OF_CONDUCT.md", "GOVERNANCE.md")
|
||||||
Executable
+54
@@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>vulkan-tools</Name>
|
||||||
|
<Homepage>https://www.khronos.org/vulkan/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>BSD</License>
|
||||||
|
<IsA>app:console</IsA>
|
||||||
|
<Summary>Vulkan Utilities and Tools</Summary>
|
||||||
|
<Description>This project provides Khronos official Vulkan Tools and Utilities for Linux</Description>
|
||||||
|
<Archive sha1sum="fd6add922c8b23567945699871a7fa5ac46d382e" type="targz" name="Vulkan-Tools-1.1.130">https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-1.1.130.0.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>libX11-devel</Dependency>
|
||||||
|
<Dependency>libxcb-devel</Dependency>
|
||||||
|
<Dependency>libXrandr-devel</Dependency>
|
||||||
|
<Dependency>wayland-devel</Dependency>
|
||||||
|
<Dependency>vulkan-headers</Dependency>
|
||||||
|
<Dependency>vulkan-devel</Dependency>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>git</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>vulkan-tools</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libX11</Dependency>
|
||||||
|
<Dependency>libxcb</Dependency>
|
||||||
|
<Dependency>libXrandr</Dependency>
|
||||||
|
<Dependency>wayland</Dependency>
|
||||||
|
<Dependency>vulkan</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-01-14</Date>
|
||||||
|
<Version>1.1.130</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user