1
0
forked from jengelh/SVT-AV1
Adrian Schröter 2019-02-05 09:00:05 +00:00 committed by Git OBS Bridge
commit 6b56007a63
8 changed files with 144 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

4
SVT-AV1.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Feb 5 08:58:20 UTC 2019 - Adrian Schröter <adrian@suse.de>
- initial package of current git master (no tags yet)

87
SVT-AV1.spec Normal file
View File

@ -0,0 +1,87 @@
#
# spec file for package libopenshot-audio
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define sover 6
Name: SVT-AV1
Version: 0.1.6
Release: 0
Summary: SVT-AV1 encoder
License: GPL-3.0-or-later
Group: Productivity/Multimedia/Other
Url: https://github.com/OpenVisualCloud/SVT-AV1
Source0: %{name}-%{version}.tar.xz
Source1: svt-av1_encoder_user_guide.pdf
BuildRequires: cmake
BuildRequires: yasm
#BuildRequires: gcc-c++
#BuildRequires: pkgconfig
#BuildRequires: pkgconfig(alsa)
#BuildRequires: pkgconfig(freetype2)
#BuildRequires: pkgconfig(xcursor)
#BuildRequires: pkgconfig(xinerama)
#BuildRequires: pkgconfig(xrandr)
%description
%package -n libSvtAv1Enc
Summary: library for the AV1 encoder
Group: System/Libraries
%description -n libSvtAv1Enc
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name}%{sover} = %{version}
%description devel
%prep
%setup -q
%build
cmake . \
-DCMAKE_BUILD_TYPE=Release
make %{?_smp_mflags}
%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%_libdir
install -m 0644 Bin/Release/SvtAv1Enc* %buildroot%_bindir/
install -m 0644 Bin/Release/libSvtAv1Enc.so %buildroot%_libdir/libSvtAv1Enc.so.%soversion
ln -s libSvtAv1Enc.so.%soversion %buildroot%_libdir/libSvtAv1Enc.so
mkdir -p %buildroot%_docdir/%name
install -m 0644 %{S:1} %buildroot%_docdir/%name
%post -n libSvtAv1Enc -p /sbin/ldconfig
%postun -n libSvtAv1Enc -p /sbin/ldconfig
%files -n libSvtAv1Enc
%license LICENSE.md
%{_libdir}/libSvtAv1Enc.so.*
%files
%doc README.md NOTICES.md
%doc %_docdir/%name/svt-av1_encoder_user_guide.pdf
%_bindir/*
%files devel
%{_libdir}/libSvtAv1Enc.so
%changelog

18
_service Normal file
View File

@ -0,0 +1,18 @@
<services>
<service name="obs_scm">
<param name="url">https://github.com/OpenVisualCloud/SVT-AV1.git</param>
<param name="scm">git</param>
<param name="versionprefix">0.0~pre</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="buildtime" name="set_version" />
<service name="download_url">
<param name="protocol">https</param>
<param name="host">github.com</param>
<param name="path">/OpenVisualCloud/SVT-AV1/blob/master/Docs/svt-av1_encoder_user_guide.pdf</param>
</service>
</services>

BIN
_service:download_url:svt-av1_encoder_user_guide.pdf (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:974c871636443997dbfdeac01661a6b2ce4c04a04547d36bc31a1a57fe38979e
size 15040013

View File

@ -0,0 +1,5 @@
name: SVT-AV1
version: 0.0~pre.1549319082.2a52193
mtime: 1549319082
commit: 2a52193fed7aa99211716c897943d811e14c76b1