glfw: new package for mangohud

This commit is contained in:
suvari
2024-01-02 23:08:06 +03:00
parent f08d9bd93b
commit ae9015f3b5
9 changed files with 181 additions and 7 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/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 pisitools
from pisi.actionsapi import get
def build():
cmaketools.configure("-DBUILD_SHARED_LIBS=ON")
def install():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE*", "README*")
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>glfw</Name>
<Homepage>https://www.glfw.org/</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<Icon>glfw</Icon>
<IsA>library</IsA>
<Summary>A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input</Summary>
<Description>GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.</Description>
<Archive sha1sum="edbe2d3b94aee91d1cefcc87c71d32164ad0a7d2" type="targz">https://github.com/glfw/glfw/archive/refs/tags/3.3.9.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>libXi-devel</Dependency>
<Dependency>vulkan-headers</Dependency>
<Dependency>libXrandr-devel</Dependency>
<Dependency>libXcursor-devel</Dependency>
<Dependency>libXinerama-devel</Dependency>
<Dependency>libxkbcommon-devel</Dependency>
<Dependency>extra-cmake-modules</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>glfw</Name>
<RuntimeDependencies>
<Dependency>libX11</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libglfw.so*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>glfw-devel</Name>
<Summary>Development files for glfw</Summary>
<RuntimeDependencies>
<Dependency release="current">glfw</Dependency>
<Dependency>libX11-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/cmake/glfw3</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-01-02</Date>
<Version>3.3.9</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>glfw</Name>
<Summary xml:lang="tr">OpenGL, OpenGL ES, Vulkan, pencere ve giriş için çok platformlu bir kütüphane</Summary>
<Description xml:lang="tr">GLFW, OpenGL, OpenGL ES ve Vulkan uygulama geliştirmeye yönelik Açık Kaynaklı, çok platformlu bir kütüphanedir. Pencereler, bağlamlar ve yüzeyler oluşturmak, girdileri okumak, olayları işlemek vb. için basit, platformdan bağımsız bir API sağlar.</Description>
</Source>
<Package>
<Name>glfw-devel</Name>
<Summary xml:lang="tr">glfw için geliştirme dosyaları</Summary>
</Package>
</PISI>