dav1d bump and spec clean up.

This commit is contained in:
4fury-c3440d8
2021-01-24 16:05:37 +00:00
parent ae8a2e54c8
commit 6c87a04392
4 changed files with 99 additions and 98 deletions
+5 -8
View File
@@ -2,21 +2,18 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools from pisi.actionsapi import mesontools, pisitools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import get
def setup(): def setup():
mesontools.configure() mesontools.configure()
def build(): def build():
mesontools.build() mesontools.build()
def install(): def install():
mesontools.install() mesontools.install()
pisitools.dodoc("COPYING", "README.md", "NEWS")
pisitools.dodoc("COPYING", "NEWS", "README.md")
Executable → Regular
+42 -34
View File
@@ -1,58 +1,66 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>dav1d</Name> <Name>dav1d</Name>
<Homepage>https://code.videolan.org/videolan/dav1d/</Homepage> <Homepage>https://code.videolan.org/videolan/dav1d</Homepage>
<Packager> <Packager>
<Name>Mathias Freire</Name> <Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email> <Email>mathiasfreire45@gmail.com</Email>
</Packager> </Packager>
<License>BSD</License> <License>BSD</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>AV1 cross-platform decoder focused on speed and correctness</Summary> <PartOf>multimedia.video</PartOf>
<Description>dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness.</Description> <Summary>dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness.</Summary>
<Archive sha1sum="a3f16d7c7c47231249edc39667baae17442f781e" type="tarxz">http://downloads.videolan.org/pub/videolan/dav1d/0.5.2/dav1d-0.5.2.tar.xz</Archive> <Description>The goal of this project is to provide a decoder for most platforms, and achieve the highest speed possible to overcome the temporary lack of AV1 hardware decoder. It supports all features from AV1, including all subsampling and bit-depth parameters. In the future, this project will host simple tools or simple wrappings (like, for example, an MFT transform).</Description>
<Archive sha1sum="508f2314488c6e0f7927a56b2554e760abcd12cd" type="tarxz">
http://downloads.videolan.org/pub/videolan/dav1d/0.8.1/dav1d-0.8.1.tar.xz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>ninja</Dependency> <Dependency>nasm</Dependency>
<Dependency>meson</Dependency> <Dependency>meson</Dependency>
<Dependency>ninja</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
<Package> <Package>
<Name>dav1d</Name> <Name>dav1d</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin/dav1d</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
<Package> <Package>
<Name>dav1d-devel</Name> <Name>dav1d-devel</Name>
<Summary>Header files for dav1d.</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">dav1d</Dependency> <Dependency release="current">dav1d</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="library">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="1"> <Update release="2">
<Date>2020-01-12</Date> <Date>2021-01-24</Date>
<Version>0.8.1</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="1">
<Date>2020-01-12</Date>
<Version>0.5.2</Version> <Version>0.5.2</Version>
<Comment>First release.</Comment> <Comment>First release.</Comment>
<Name>Idris Kalp</Name> <Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email> <Email>idriskalp@gmail.com</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>
+14 -16
View File
@@ -2,29 +2,27 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup(): def setup():
shelltools.system("patch -p1 --binary < davs2-1.6-gcc8-fix.patch") shelltools.system("patch -p1 --binary < davs2-1.6-gcc8-fix.patch")
shelltools.cd("build/linux") shelltools.cd("build/linux")
autotools.configure("--extra-ldflags='-Wl,-z,noexecstack' \ autotools.configure("--extra-ldflags='-Wl,-z,noexecstack' \
--chroma-format='all' \ --chroma-format='all' \
--enable-shared \ --enable-shared ")
")
def build(): def build():
shelltools.cd("build/linux") shelltools.cd("build/linux")
autotools.make() autotools.make()
def install(): def install():
shelltools.cd("build/linux") shelltools.cd("build/linux")
autotools.rawInstall("DESTDIR=%s" %get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("../..") shelltools.cd("../..")
pisitools.dodoc("COPYING", "README.md") pisitools.dodoc("COPYING", "README.md")
+24 -26
View File
@@ -1,60 +1,58 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>davs2</Name> <Name>davs2</Name>
<Homepage>https://github.com/pkuvcl/davs2/</Homepage> <Homepage>https://github.com/pkuvcl/davs2/</Homepage>
<Packager> <Packager>
<Name>Mathias Freire</Name> <Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email> <Email>mathiasfreire45@gmail.com</Email>
</Packager> </Packager>
<License>GPL</License> <License>GPL</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary> Open-Source decoder of AVS2-P2/IEEE1857.4 video coding standard</Summary> <Summary> Open-Source decoder of AVS2-P2/IEEE1857.4 video coding standard</Summary>
<Description>davs2 is an open-source decoder of AVS2-P2/IEEE1857.4 video coding standard.</Description> <Description>davs2 is an open-source decoder of AVS2-P2/IEEE1857.4 video coding standard.</Description>
<Archive sha1sum="640563a6d4bf98e8b8d67b727e92403cca9beb3d" type="targz">https://github.com/pkuvcl/davs2/archive/1.6.tar.gz</Archive> <Archive sha1sum="640563a6d4bf98e8b8d67b727e92403cca9beb3d" type="targz">https://github.com/pkuvcl/davs2/archive/1.6.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>yasm-devel</Dependency> <Dependency>yasm-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<AdditionalFiles> <AdditionalFiles>
<AdditionalFile target="davs2-1.6-gcc8-fix.patch">davs2-1.6-gcc8-fix.patch</AdditionalFile> <AdditionalFile target="davs2-1.6-gcc8-fix.patch">davs2-1.6-gcc8-fix.patch</AdditionalFile>
</AdditionalFiles> </AdditionalFiles>
</Source> </Source>
<Package> <Package>
<Name>davs2</Name> <Name>davs2</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
<Package> <Package>
<Name>davs2-devel</Name> <Name>davs2-devel</Name>
<Summary>Header files for davs2.</Summary> <Summary>Header files for davs2.</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">davs2</Dependency> <Dependency release="current">davs2</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/include</Path> <Path fileType="library">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="1"> <Update release="1">
<Date>2020-01-12</Date> <Date>2020-01-12</Date>
<Version>1.6</Version> <Version>1.6</Version>
<Comment>First release.</Comment> <Comment>First release.</Comment>
<Name>Idris Kalp</Name> <Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email> <Email>idriskalp@gmail.com</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>