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
+4 -1
View File
@@ -10,7 +10,10 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
mesontools.configure("-Dwith_xnvctrl=disabled")
mesontools.configure("-Dwith_xnvctrl=disabled \
-Dmangoapp=true \
-Dmangohudctl=true \
-Dmangoapp_layer=true")
def build():
mesontools.build()
+6 -2
View File
@@ -19,6 +19,8 @@
<Dependency>gcc</Dependency>
<Dependency>ninja</Dependency>
<Dependency>meson</Dependency>
<Dependency>glfw-devel</Dependency>
<Dependency>glew-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>python3-mako</Dependency>
<Dependency>libX11-devel</Dependency>
@@ -27,13 +29,15 @@
<Dependency>nlohmann-json</Dependency>
<Dependency>glslang-devel</Dependency>
<Dependency>libglvnd-devel</Dependency>
<Dependency>libXrandr-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>mangohud</Name>
<RuntimeDependencies>
<Dependency>dbus</Dependency>
<Dependency>glew</Dependency>
<Dependency>glfw</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
@@ -43,7 +47,7 @@
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc/mangohud</Path>
<Path fileType="data">/usr/share/vulkan/implicit_layer.d/MangoHud.x86_64.json</Path>
<Path fileType="data">/usr/share/vulkan/implicit_layer.d</Path>
<Path fileType="data">/usr/share/metainfo</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="library">/usr/lib/mangohud</Path>
+71 -2
View File
@@ -242489,6 +242489,8 @@ It supports email, address books, calendars, tasks, news feeds and much more.</D
<Dependency>gcc</Dependency>
<Dependency>ninja</Dependency>
<Dependency>meson</Dependency>
<Dependency>glfw-devel</Dependency>
<Dependency>glew-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>python3-mako</Dependency>
<Dependency>libX11-devel</Dependency>
@@ -242497,13 +242499,15 @@ It supports email, address books, calendars, tasks, news feeds and much more.</D
<Dependency>nlohmann-json</Dependency>
<Dependency>glslang-devel</Dependency>
<Dependency>libglvnd-devel</Dependency>
<Dependency>libXrandr-devel</Dependency>
</BuildDependencies>
<SourceURI>hardware/info/mangohud/pspec.xml</SourceURI>
</Source>
<Package>
<Name>mangohud</Name>
<RuntimeDependencies>
<Dependency>dbus</Dependency>
<Dependency>glew</Dependency>
<Dependency>glfw</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
@@ -242513,7 +242517,7 @@ It supports email, address books, calendars, tasks, news feeds and much more.</D
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc/mangohud</Path>
<Path fileType="data">/usr/share/vulkan/implicit_layer.d/MangoHud.x86_64.json</Path>
<Path fileType="data">/usr/share/vulkan/implicit_layer.d</Path>
<Path fileType="data">/usr/share/metainfo</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="library">/usr/lib/mangohud</Path>
@@ -423041,6 +423045,71 @@ contacts, tasks, and calendar information.</Summary>
</Update>
</History>
</SpecFile>
<SpecFile>
<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>
<IsA>library</IsA>
<PartOf>x11.library</PartOf>
<Summary xml:lang="en">A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input</Summary>
<Summary xml:lang="tr">OpenGL, OpenGL ES, Vulkan, pencere ve giriş için çok platformlu bir kütüphane</Summary>
<Description xml:lang="en">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>
<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>
<Icon>glfw</Icon>
<Archive type="targz" sha1sum="edbe2d3b94aee91d1cefcc87c71d32164ad0a7d2" name="3.3.9.tar.gz">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>
<SourceURI>x11/library/glfw/pspec.xml</SourceURI>
</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 xml:lang="en">Development files for glfw</Summary>
<Summary xml:lang="tr">glfw için geliştirme dosyaları</Summary>
<RuntimeDependencies>
<Dependency release="1">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>
</SpecFile>
<SpecFile>
<Source>
<Name>libclc</Name>
+1 -1
View File
@@ -1 +1 @@
7cf0a48ff3c5dccaa253540e4b341c39b9560e0c
e92fc3e3773f47ad41b4c5c08ace4ae3e6d0c687
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
18bff2010145bb09cadd1b2a5432617bb76fec05
80c17478a0db1e31c605ab8bbc0b1bd4ff1a1b7c
+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>