Merge pull request #9857 from Rmys/master

cargo-c rav1e new package
This commit is contained in:
Rmys
2021-11-04 10:59:37 +02:00
committed by GitHub
11 changed files with 350 additions and 10 deletions
+38
View File
@@ -0,0 +1,38 @@
#!/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 get
def build():
shelltools.system("cargo build \
--release \
--manifest-path Cargo.toml")
shelltools.system("cargo cbuild \
--release \
--frozen \
--prefix=/usr \
--manifest-path Cargo.toml")
def install():
shelltools.system("cargo install --path . \
--root='%s'/usr" % get.installDIR())
shelltools.system("cargo cinstall \
--release \
--frozen \
--prefix /usr \
--destdir %s" % get.installDIR())
pisitools.remove("/usr/lib/librav1e.a")
pisitools.remove("/usr/.crates.toml")
pisitools.remove("/usr/.crates2.json")
pisitools.dodoc("LICENSE", "README*")
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>rav1e</Name>
<Homepage>https://github.com/xiph/rav1e</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>The fastest and safest AV1 encoder</Summary>
<Description>En hızlı ve en güvenli AV1 kodlayıcı</Description>
<Archive sha1sum="75ce2478992b53bda6f6d1891c3ff4aadbb93df4" type="targz">https://github.com/xiph/rav1e/archive/refs/tags/v0.5.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>rust</Dependency>
<Dependency>nasm</Dependency>
<Dependency>cargo-c</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>rav1e.patch</Patch>
<Patch level="1">rav1e.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>rav1e</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>rav1e-devel</Name>
<Summary>Development files for rav1e</Summary>
<RuntimeDependencies>
<Dependency release="current">rav1e</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-11-02</Date>
<Version>0.5.0</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>rav1e</Name>
<Summary xml:lang="tr">The fastest and safest AV1 encoder</Summary>
<Description xml:lang="tr">En hızlı ve en güvenli AV1 kodlayıcı</Description>
</Source>
</PISI>
+29
View File
@@ -0,0 +1,29 @@
#!/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 get
import os
def build():
shelltools.system("cargo fetch \
--locked \
--manifest-path Cargo.toml \
cargo build \
--release \
--frozen \
--manifest-path Cargo.toml")
#autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")
+128 -8
View File
@@ -19913,7 +19913,7 @@ complete albums that you have purchased from Amazon.</Description>
<Summary xml:lang="tr">Run X clients under wayland</Summary>
<Description xml:lang="en">Run X clients under wayland</Description>
<Description xml:lang="tr">Run X clients under wayland</Description>
<Archive type="tarxz" sha1sum="62769f867babf7294a30d389c158380c421ae8e2" name="xwayland-21.1.2.tar.xz">https://xorg.freedesktop.org/archive/individual/xserver/xwayland-21.1.2.tar.xz</Archive>
<Archive type="tarxz" sha1sum="88c52bb55424c38e67540938048dd8d0eb563e52" name="xwayland-21.1.2.901.tar.xz">https://xorg.freedesktop.org/archive/individual/xserver/xwayland-21.1.2.901.tar.xz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>xtrans</Dependency>
@@ -19970,7 +19970,7 @@ complete albums that you have purchased from Amazon.</Description>
<Name>xorg-xwayland-devel</Name>
<Summary xml:lang="en">Development files for xorg-xwayland</Summary>
<RuntimeDependencies>
<Dependency release="3">xorg-xwayland</Dependency>
<Dependency release="4">xorg-xwayland</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
@@ -19981,6 +19981,13 @@ complete albums that you have purchased from Amazon.</Description>
</Conflicts>
</Package>
<History>
<Update release="4">
<Date>2021-11-03</Date>
<Version>21.1.2.901</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="3">
<Date>2021-10-06</Date>
<Version>21.1.2</Version>
@@ -63821,7 +63828,7 @@ cleaner, which will allow to add new features in the future.</Description>
<Update release="19">
<Date>2021-10-25</Date>
<Version>2.93.5</Version>
<Comment>Version bump.</Comment>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
@@ -73451,6 +73458,7 @@ cleaner, which will allow to add new features in the future.</Description>
<Dependency>tiff-devel</Dependency>
<Dependency>webp-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libavif-devel</Dependency>
<Dependency>libheif-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>libvpx-devel</Dependency>
@@ -73467,6 +73475,7 @@ cleaner, which will allow to add new features in the future.</Description>
<Dependency>webp</Dependency>
<Dependency>tiff</Dependency>
<Dependency>zlib</Dependency>
<Dependency>libavif</Dependency>
<Dependency>libheif</Dependency>
<Dependency>libpng</Dependency>
<Dependency>libvpx</Dependency>
@@ -73491,6 +73500,7 @@ cleaner, which will allow to add new features in the future.</Description>
<Dependency>tiff-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libheif-devel</Dependency>
<Dependency>libavif-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
@@ -77290,6 +77300,61 @@ Bu Skype SILK codec ve Xiph.Org &apos;s Celt codec teknolojisi dahil RFC 6716 ol
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>rav1e</Name>
<Homepage>https://github.com/xiph/rav1e</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<PartOf>multimedia.misc</PartOf>
<Summary xml:lang="en">The fastest and safest AV1 encoder</Summary>
<Summary xml:lang="tr">The fastest and safest AV1 encoder</Summary>
<Description xml:lang="en">En hızlı ve en güvenli AV1 kodlayıcı</Description>
<Description xml:lang="tr">En hızlı ve en güvenli AV1 kodlayıcı</Description>
<Archive type="targz" sha1sum="75ce2478992b53bda6f6d1891c3ff4aadbb93df4" name="v0.5.0.tar.gz">https://github.com/xiph/rav1e/archive/refs/tags/v0.5.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>rust</Dependency>
<Dependency>nasm</Dependency>
<Dependency>cargo-c</Dependency>
</BuildDependencies>
<SourceURI>multimedia/misc/rav1e/pspec.xml</SourceURI>
</Source>
<Package>
<Name>rav1e</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>rav1e-devel</Name>
<Summary xml:lang="en">Development files for rav1e</Summary>
<RuntimeDependencies>
<Dependency release="1">rav1e</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-11-02</Date>
<Version>0.5.0</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>exiv2</Name>
@@ -216323,7 +216388,7 @@ load.</Description>
<Summary xml:lang="tr">Library with common API for various GNOME modules</Summary>
<Description xml:lang="en">Library with common API for various GNOME modules</Description>
<Description xml:lang="tr">Library with common API for various GNOME modules</Description>
<Archive type="tarxz" sha1sum="b78866bdabf2eea86dde6aedaca18defb52f0797" name="gnome-desktop-41.0.tar.xz">https://download.gnome.org/sources/gnome-desktop/41/gnome-desktop-41.0.tar.xz</Archive>
<Archive type="tarxz" sha1sum="fab0be64cbed0c6b9afff1478de3f85b4a1346f1" name="gnome-desktop-41.1.tar.xz">https://download.gnome.org/sources/gnome-desktop/41/gnome-desktop-41.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>itstool</Dependency>
@@ -216374,7 +216439,7 @@ load.</Description>
<Name>gnome-desktop-devel</Name>
<Summary xml:lang="en">Development files for gnome-desktop</Summary>
<RuntimeDependencies>
<Dependency release="6">gnome-desktop</Dependency>
<Dependency release="7">gnome-desktop</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>iso-codes-devel</Dependency>
@@ -216393,13 +216458,20 @@ load.</Description>
<Name>gnome-desktop-docs</Name>
<Summary xml:lang="en">Development files for gnome-desktop</Summary>
<RuntimeDependencies>
<Dependency release="6">gnome-desktop</Dependency>
<Dependency release="7">gnome-desktop</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/gtk-doc</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2021-11-02</Date>
<Version>41.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="6">
<Date>2021-09-20</Date>
<Version>41.0</Version>
@@ -254750,6 +254822,47 @@ GNOME Session and the applications that run under it.</Summary>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>cargo-c</Name>
<Homepage>https://github.com/lu-zero/cargo-c</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<PartOf>programming.language</PartOf>
<Summary xml:lang="en">A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Summary>
<Summary xml:lang="tr">A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Summary>
<Description xml:lang="en">A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Description>
<Description xml:lang="tr">A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Description>
<Archive type="targz" sha1sum="991664fdb5c479c795c5520937d54b6ef59b5f6a" name="v0.9.5.tar.gz">https://github.com/lu-zero/cargo-c/archive/refs/tags/v0.9.5.tar.gz</Archive>
<BuildDependencies>
<Dependency>rust</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>openssl-devel</Dependency>
</BuildDependencies>
<SourceURI>programming/language/cargo-c/pspec.xml</SourceURI>
</Source>
<Package>
<Name>cargo-c</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-11-02</Date>
<Version>0.9.5</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>ocaml</Name>
@@ -277426,7 +277539,7 @@ to create header files and sources from protocol files.</Description>
<Summary xml:lang="tr">Building blocks for modern GNOME applications.</Summary>
<Description xml:lang="en">Modern GNOME uygulamaları için yapı taşları.</Description>
<Description xml:lang="tr">Modern GNOME uygulamaları için yapı taşları.</Description>
<Archive type="tarxz" sha1sum="5d686ef0fa8b871add11d3bd7075b70c89b7bae4" name="libadwaita-1.0.0.alpha.3.tar.xz">https://download.gnome.org/sources/libadwaita/1.0/libadwaita-1.0.0.alpha.3.tar.xz</Archive>
<Archive type="tarxz" sha1sum="1c81ea053515297108a142336889a4537fbd3eac" name="libadwaita-1.0.0.alpha.4.tar.xz">https://download.gnome.org/sources/libadwaita/1.0/libadwaita-1.0.0.alpha.4.tar.xz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>sassc</Dependency>
@@ -277464,7 +277577,7 @@ to create header files and sources from protocol files.</Description>
<Name>libadwaita-devel</Name>
<Summary xml:lang="en">Development files for libadwaita</Summary>
<RuntimeDependencies>
<Dependency release="1">libadwaita</Dependency>
<Dependency release="2">libadwaita</Dependency>
<Dependency>gtk4-devel</Dependency>
</RuntimeDependencies>
<Files>
@@ -277473,6 +277586,13 @@ to create header files and sources from protocol files.</Description>
</Files>
</Package>
<History>
<Update release="2">
<Date>2021-11-02</Date>
<Version>1.0.0</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="1">
<Date>2021-09-30</Date>
<Version>1.0.0</Version>
+1 -1
View File
@@ -1 +1 @@
f9e3dd8bf7c6c8cfaec7ebd71285890c40ce023e
93862186c35123e7c8abe8a7b0a4eb36e76ba9c7
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
3af8ae93273c4240ddb366cf8783dc41c45e4112
3daf15deec77b7ff6c039b86a081d4f4fb5fbee0
+23
View File
@@ -0,0 +1,23 @@
#!/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 get
def build():
shelltools.system('cargo build --release')
def install():
shelltools.system("cargo install --path . --root='%s'/usr" % get.installDIR())
pisitools.remove("/usr/.crates.toml")
pisitools.remove("/usr/.crates2.json")
pisitools.dodoc("LICENSE", "README*")
+52
View File
@@ -0,0 +1,52 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>cargo-c</Name>
<Homepage>https://github.com/lu-zero/cargo-c</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Summary>
<Description>A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Description>
<Archive sha1sum="991664fdb5c479c795c5520937d54b6ef59b5f6a" type="targz">https://github.com/lu-zero/cargo-c/archive/refs/tags/v0.9.5.tar.gz</Archive>
<BuildDependencies>
<Dependency>rust</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>openssl-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>cargo-c.patch</Patch>
<Patch level="1">cargo-c.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>cargo-c</Name>
<!--
<RuntimeDependencies>
<Dependency>rust</Dependency>
</RuntimeDependencies>
-->
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-11-02</Date>
<Version>0.9.5</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>cargo-c</Name>
<Summary xml:lang="tr">A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Summary>
<Description xml:lang="tr">A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Description>
</Source>
</PISI>