From 6c87a04392399ba9b9bc4dd08b2b13d341753e16 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sun, 24 Jan 2021 16:05:37 +0000 Subject: [PATCH 1/3] dav1d bump and spec clean up. --- multimedia/video/dav1d/actions.py | 17 +++---- multimedia/video/dav1d/pspec.xml | 82 +++++++++++++++++-------------- multimedia/video/davs2/actions.py | 30 ++++++----- multimedia/video/davs2/pspec.xml | 68 +++++++++++++------------ 4 files changed, 99 insertions(+), 98 deletions(-) mode change 100755 => 100644 multimedia/video/dav1d/actions.py mode change 100755 => 100644 multimedia/video/dav1d/pspec.xml diff --git a/multimedia/video/dav1d/actions.py b/multimedia/video/dav1d/actions.py old mode 100755 new mode 100644 index 7c3e37b80d..1ac0cbda93 --- a/multimedia/video/dav1d/actions.py +++ b/multimedia/video/dav1d/actions.py @@ -2,21 +2,18 @@ # -*- coding: utf-8 -*- # # 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 pisitools -from pisi.actionsapi import shelltools -from pisi.actionsapi import mesontools -from pisi.actionsapi import get +from pisi.actionsapi import mesontools, pisitools def setup(): - mesontools.configure() - + mesontools.configure() + def build(): mesontools.build() - + def install(): mesontools.install() - pisitools.dodoc("COPYING", "README.md", "NEWS") + + pisitools.dodoc("COPYING", "NEWS", "README.md") diff --git a/multimedia/video/dav1d/pspec.xml b/multimedia/video/dav1d/pspec.xml old mode 100755 new mode 100644 index 4f20ccc09c..26456bb5ae --- a/multimedia/video/dav1d/pspec.xml +++ b/multimedia/video/dav1d/pspec.xml @@ -1,58 +1,66 @@ - + - - dav1d - https://code.videolan.org/videolan/dav1d/ - - Mathias Freire - mathiasfreire45@gmail.com - - BSD - library - AV1 cross-platform decoder focused on speed and correctness - dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness. - http://downloads.videolan.org/pub/videolan/dav1d/0.5.2/dav1d-0.5.2.tar.xz + + dav1d + https://code.videolan.org/videolan/dav1d + + Mathias Freire + mathiasfreire45@gmail.com + + BSD + library + multimedia.video + dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness. + 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). + + http://downloads.videolan.org/pub/videolan/dav1d/0.8.1/dav1d-0.8.1.tar.xz + - ninja + nasm meson + ninja - - - - dav1d + + + + dav1d libgcc - - /usr/bin + + /usr/bin/dav1d /usr/lib /usr/share/doc - - - + + + - dav1d-devel - Header files for dav1d. + dav1d-devel dav1d - - /usr/include - /usr/lib/pkgconfig - - + + /usr/include + /usr/lib/pkgconfig + + - - - 2020-01-12 + + + 2021-01-24 + 0.8.1 + Version bump. + fury + uglyside@yandex.ru + + + 2020-01-12 0.5.2 First release. Idris Kalp idriskalp@gmail.com - - + + - - diff --git a/multimedia/video/davs2/actions.py b/multimedia/video/davs2/actions.py index 76e0ee3a0e..20133b02de 100755 --- a/multimedia/video/davs2/actions.py +++ b/multimedia/video/davs2/actions.py @@ -2,29 +2,27 @@ # -*- coding: utf-8 -*- # # 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 autotools +from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): - shelltools.system("patch -p1 --binary < davs2-1.6-gcc8-fix.patch") - shelltools.cd("build/linux") - autotools.configure("--extra-ldflags='-Wl,-z,noexecstack' \ - --chroma-format='all' \ - --enable-shared \ - ") + shelltools.system("patch -p1 --binary < davs2-1.6-gcc8-fix.patch") + shelltools.cd("build/linux") + autotools.configure("--extra-ldflags='-Wl,-z,noexecstack' \ + --chroma-format='all' \ + --enable-shared ") def build(): - shelltools.cd("build/linux") - autotools.make() + shelltools.cd("build/linux") + autotools.make() def install(): - shelltools.cd("build/linux") - autotools.rawInstall("DESTDIR=%s" %get.installDIR()) - shelltools.cd("../..") - pisitools.dodoc("COPYING", "README.md") + shelltools.cd("build/linux") + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + shelltools.cd("../..") + pisitools.dodoc("COPYING", "README.md") diff --git a/multimedia/video/davs2/pspec.xml b/multimedia/video/davs2/pspec.xml index a2a5e52968..6126f8cc6f 100755 --- a/multimedia/video/davs2/pspec.xml +++ b/multimedia/video/davs2/pspec.xml @@ -1,60 +1,58 @@ - + davs2 https://github.com/pkuvcl/davs2/ - Mathias Freire - mathiasfreire45@gmail.com + Mathias Freire + mathiasfreire45@gmail.com - GPL - library - Open-Source decoder of AVS2-P2/IEEE1857.4 video coding standard + GPL + library + Open-Source decoder of AVS2-P2/IEEE1857.4 video coding standard davs2 is an open-source decoder of AVS2-P2/IEEE1857.4 video coding standard. - https://github.com/pkuvcl/davs2/archive/1.6.tar.gz + https://github.com/pkuvcl/davs2/archive/1.6.tar.gz yasm-devel - - davs2-1.6-gcc8-fix.patch - + + davs2-1.6-gcc8-fix.patch + - + davs2 - - libgcc - + + libgcc + /usr/bin - /usr/lib - /usr/share/doc - - - - - davs2-devel - Header files for davs2. - - davs2 - - - /usr/include - /usr/lib/pkgconfig + /usr/lib + /usr/share/doc - + + davs2-devel + Header files for davs2. + + davs2 + + + /usr/include + /usr/lib/pkgconfig + + + + 2020-01-12 - 1.6 - First release. - Idris Kalp - idriskalp@gmail.com + 1.6 + First release. + Idris Kalp + idriskalp@gmail.com - - From 372d63d4f29ccac83bb418435c695c84bdad6906 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sun, 24 Jan 2021 16:18:31 +0000 Subject: [PATCH 2/3] davs2. --- multimedia/video/davs2/pspec.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multimedia/video/davs2/pspec.xml b/multimedia/video/davs2/pspec.xml index 6126f8cc6f..9be9fbe15e 100755 --- a/multimedia/video/davs2/pspec.xml +++ b/multimedia/video/davs2/pspec.xml @@ -10,7 +10,7 @@ GPL library - Open-Source decoder of AVS2-P2/IEEE1857.4 video coding standard + Open-Source decoder of AVS2-P2/IEEE1857.4 video coding standard davs2 is an open-source decoder of AVS2-P2/IEEE1857.4 video coding standard. https://github.com/pkuvcl/davs2/archive/1.6.tar.gz @@ -40,8 +40,8 @@ davs2 - /usr/include - /usr/lib/pkgconfig + /usr/include + /usr/lib/pkgconfig From 6fff008d26b9161382581c945a6f210134135fee Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sun, 24 Jan 2021 16:19:13 +0000 Subject: [PATCH 3/3] davs2. --- multimedia/video/davs2/pspec.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/multimedia/video/davs2/pspec.xml b/multimedia/video/davs2/pspec.xml index 9be9fbe15e..8870fae38b 100755 --- a/multimedia/video/davs2/pspec.xml +++ b/multimedia/video/davs2/pspec.xml @@ -10,6 +10,7 @@ GPL library + multimedia.video Open-Source decoder of AVS2-P2/IEEE1857.4 video coding standard davs2 is an open-source decoder of AVS2-P2/IEEE1857.4 video coding standard. https://github.com/pkuvcl/davs2/archive/1.6.tar.gz