libplacebo new package

This commit is contained in:
Rmys
2023-11-22 16:45:11 +03:00
parent 21ddb9c998
commit 25a40bde0d
7 changed files with 189 additions and 4 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import get
def setup():
mesontools.configure("-Dshaderc=disabled \
-Ddemos=false \
-Dxxhash=enabled \
-Dlcms=enabled \
-Dvulkan=enabled \
-Dglslang=enabled \
-Dd3d11=disabled \
-Dlibdovi=disabled \
-Dopengl=disabled")
def build():
mesontools.build()
def install():
mesontools.install()
#shelltools.cd("..")
pisitools.dodoc("RELEASING*", "LICENSE", "README*")
+73
View File
@@ -0,0 +1,73 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libplacebo</Name>
<Homepage>https://github.com/haasn/libplacebo/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Core rendering algorithms and ideas of mpv rewritten as an independent library</Summary>
<Icon>libplacebo</Icon>
<Description>Bağımsız bir kitaplık olarak yeniden yazılan çekirdek oluşturma algoritmaları ve mpv fikirleri</Description>
<Archive sha1sum="69585bc16a752612c128b9db44d488c19fc74b30" type="targz">https://github.com/haasn/libplacebo/archive/refs/tags/v6.338.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>lcms2-devel</Dependency>
<Dependency>vulkan-devel</Dependency>
<Dependency>xxhash-devel</Dependency>
<Dependency>glslang-devel</Dependency>
<Dependency>vulkan-headers</Dependency>
<Dependency>libunwind-devel</Dependency>
<Dependency>python3-Jinja2</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>libplacebo.patch</Patch>
<Patch level="1">libplacebo.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>libplacebo</Name>
<RuntimeDependencies>
<Dependency>lcms2</Dependency>
<Dependency>vulkan</Dependency>
<Dependency>libunwind</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libplacebo-devel</Name>
<Summary>Development files for libplacebo</Summary>
<RuntimeDependencies>
<Dependency>lcms2-devel</Dependency>
<Dependency>vulkan-devel</Dependency>
<Dependency>libunwind-devel</Dependency>
<Dependency release="current">libplacebo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-11-22</Date>
<Version>6.338.1</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libplacebo</Name>
<Summary xml:lang="tr">Core rendering algorithms and ideas of mpv rewritten as an independent library</Summary>
<Description xml:lang="tr">Bağımsız bir kitaplık olarak yeniden yazılan çekirdek oluşturma algoritmaları ve mpv fikirleri</Description>
</Source>
</PISI>