rav1e 0.3.1-2 (znver1) 2020-11482
1
Status | rejected | |||||||
Submitter | nobodydead [@T] gmail.com | |||||||
Platform | rolling | |||||||
Repository | main | |||||||
URL | https://abf.openmandriva.org/build_lists/758664 | |||||||
Packages |
|
|||||||
Build Date | 2020-04-17 22:46:12 +0000 UTC | |||||||
Last Updated | 2020-04-21 01:44:32.546991343 +0000 UTC |
$ git diff --patch-with-stat --summary b2949f2a84f48d458c861d80dc3c9e82fcbc03b7..a0db540bb6dddc1ab013c8e7271675699eea5a8a .abf.yml | 2 +- rav1e.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 53 insertions(+), 7 deletions(-) diff --git a/.abf.yml b/.abf.yml index 597e1f0..5f28210 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - rav1e-0.3.0.tar.gz: aa225fdc343a60fa8b786fef7850646d9b80b4ef + rav1e-0.3.1.tar.gz: f61f2323ad2b93f3bd3853c7088a2342b5467004 diff --git a/rav1e.spec b/rav1e.spec index d308e1c..f243c0e 100644 --- a/rav1e.spec +++ b/rav1e.spec @@ -1,8 +1,11 @@ -%define debug_package %{nil} +#define debug_package %{nil} +%define libname %mklibname rav1e 0 +%define devname %mklibname -d rav1e +%define staticname %mklibname -d -s rav1e Name: rav1e -Version: 0.3.0 -Release: 1 +Version: 0.3.1 +Release: 2 Summary: The fastest and safest AV1 encoder License: BSD @@ -12,6 +15,7 @@ Source0: https://github.com/xiph/rav1e/archive/%{version}/%{name}-%{versi BuildRequires: rust BuildRequires: rust-src BuildRequires: cargo +BuildRequires: cargo-c BuildRequires: cmake BuildRequires: git-core BuildRequires: perl-interpreter @@ -24,18 +28,60 @@ rav1e is an experimental AV1 video encoder. It is designed to eventually cover all use cases, though in its current form it is most suitable for cases where libaom (the reference encoder) is too slow. +%package -n %{libname} +Summary: The rav1e AV1 encoding library +Group: Development/Libraries + +%description -n %{libname} +The rav1e AV1 encoding library + +%package -n %{devname} +Summary: Development files for the rav1e AV1 encoding library +Requires: %{libname} = %{EVRD} + +%description -n %{devname} +Development files for the rav1e AV1 encoding library + +%package -n %{staticname} +Summary: Static library files for the rav1e AV1 encoding library +Requires: %{devname} = %{EVRD} + +%description -n %{staticname} +Static library files for the rav1e AV1 encoding library + %prep %autosetup -#git submodule update --init %build cargo build --release +cargo cbuild --release \ + --destdir=%{buildroot} \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --includedir=%{_includedir} \ + --pkgconfigdir=%{_libdir}/pkgconfig %install -mkdir -p %{buildroot}%{_bindir} -cp target/release/rav1e %{buildroot}%{_bindir} +cargo install --root %{buildroot}%{_prefix} --no-track --path . +cargo cinstall --release \ + --destdir=%{buildroot} \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --includedir=%{_includedir} \ + --pkgconfigdir=%{_libdir}/pkgconfig %files %doc README.md %license LICENSE PATENTS %{_bindir}/rav1e + +%files -n %{libname} +%{_libdir}/librav1e.so.* + +%files -n %{devname} +%{_includedir}/rav1e +%{_libdir}/librav1e.so +%{_libdir}/pkgconfig/rav1e.pc + +%files -n %{staticname} +%{_libdir}/librav1e.a
Not Available
benbullard79 [@T] cox.net | *Should* be OK | 1682d 18hrs |
benbullard79 [@T] cox.net | No Comment. | 1679d 18hrs |