cxx-rust-cssparser new package

This commit is contained in:
Rmys
2026-06-09 22:32:47 +03:00
parent 014b7a2dbe
commit f4ee366b01
10 changed files with 378651 additions and 378101 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DCORROSION_BUILD_TESTS=OFF")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("LICENSE*", "README*")
+51
View File
@@ -0,0 +1,51 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>corrosion</Name>
<Homepage>https://github.com/corrosion-rs/corrosion</Homepage>
<Packager>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>Tool for integrating Rust into an existing CMake project</Summary>
<Description>Rust'ı mevcut bir CMake projesine entegre etmek için kullanılan araç.</Description>
<Archive sha1sum="96471e52266c526c6045526e1c99da40aae44480" type="targz">https://github.com/corrosion-rs/corrosion/archive/refs/tags/v0.6.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>rust</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>corrosion.patch</Patch>
<Patch level="1">corrosion.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>corrosion</Name>
<!--
<RuntimeDependencies>
<Dependency>Dep1</Dependency>
</RuntimeDependencies>
-->
<Files>
<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>2026-06-09</Date>
<Version>0.6.1</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>corrosion</Name>
<Summary xml:lang="tr">Tool for integrating Rust into an existing CMake project</Summary>
<Description xml:lang="tr">Rust'ı mevcut bir CMake projesine entegre etmek için kullanılan araç.</Description>
</Source>
</PISI>
@@ -0,0 +1,19 @@
#!/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 pisitools
from pisi.actionsapi import kde6
def setup():
kde6.configure()
def build():
kde6.make()
def install():
kde6.install()
pisitools.dodoc("LICENSES/*", "README*")
@@ -0,0 +1,66 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>cxx-rust-cssparser</Name>
<Homepage>https://kde.org/plasma-desktop/</Homepage>
<Packager>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>LGPLv3</License>
<IsA>library</IsA>
<Summary>Library for parsing CSS using the Rust cssparser crate</Summary>
<Description>Rust cssparser kütüphanesini kullanarak CSS'i ayrıştırmak için kullanılan kütüphane</Description>
<Archive sha1sum="56cd304f534cab97a1b0583d387a9d1c158b9406" type="tarxz">https://download.kde.org/stable/cxx-rust-cssparser/cxx-rust-cssparser-1.0.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>corrosion</Dependency>
<Dependency>qt6-base-devel</Dependency>
<Dependency>extra-cmake-modules</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>cxx-rust-cssparser.patch</Patch>
<Patch level="1">cxx-rust-cssparser.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>cxx-rust-cssparser</Name>
<!--
<RuntimeDependencies>
<Dependency>Dep1</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>
<Package>
<Name>cxx-rust-cssparser-devel</Name>
<Summary>Development files for cxx-rust-cssparser</Summary>
<RuntimeDependencies>
<Dependency release="current">cxx-rust-cssparser</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2026-06-09</Date>
<Version>1.0.0</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>cxx-rust-cssparser</Name>
<Summary xml:lang="tr">Library for parsing CSS using the Rust cssparser crate</Summary>
<Description xml:lang="tr">Rust cssparser kütüphanesini kullanarak CSS'i ayrıştırmak için kullanılan kütüphane</Description>
</Source>
</PISI>