Accepting request 883693 from home:dirkmueller:Factory
- avoid packaging the pkgconfig dir - it comes from filesystem - spec-cleaner run OBS-URL: https://build.opensuse.org/request/show/883693 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=27
This commit is contained in:
parent
71a35ad6f0
commit
ac14c7a8e1
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 7 21:40:52 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- avoid packaging the pkgconfig dir - it comes from filesystem
|
||||
- spec-cleaner run
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 7 05:19:14 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
13
rav1e.spec
13
rav1e.spec
@ -18,14 +18,12 @@
|
||||
|
||||
|
||||
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
|
||||
|
||||
Name: rav1e
|
||||
Version: 0.4.1
|
||||
Release: 0
|
||||
Summary: Fastest and safest AV1 encoder
|
||||
License: BSD-2-Clause
|
||||
Group: Productivity/Multimedia/Video/Editors and Convertors
|
||||
|
||||
URL: https://github.com/xiph/rav1e
|
||||
#
|
||||
Source0: https://github.com/xiph/rav1e/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
@ -96,22 +94,22 @@ root = '%{buildroot}%{_prefix}'
|
||||
[term]
|
||||
verbose = true
|
||||
EOF
|
||||
%{__rm} -f Cargo.lock
|
||||
rm -f Cargo.lock
|
||||
|
||||
# Disable rav1e_js
|
||||
sed -i 's/"rav1e_js", //' Cargo.toml
|
||||
|
||||
%build
|
||||
export RUSTFLAGS=%{rustflags}
|
||||
%cargo_build
|
||||
CFLAGS="%{optflags}" %__cargo cbuild
|
||||
%{cargo_build}
|
||||
CFLAGS="%{optflags}" %{__cargo} cbuild
|
||||
|
||||
%install
|
||||
export RUSTFLAGS=%{rustflags}
|
||||
%cargo_install
|
||||
%{cargo_install}
|
||||
rm -rf %{buildroot}%{_datadir}/cargo
|
||||
|
||||
%__cargo cinstall \
|
||||
%{__cargo} cinstall \
|
||||
--destdir=%{buildroot} \
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
@ -135,7 +133,6 @@ rm -f %{buildroot}%{_libdir}/librav1e.a
|
||||
%dir %{_includedir}/rav1e
|
||||
%{_includedir}/rav1e/rav1e.h
|
||||
%{_libdir}/librav1e.so
|
||||
%dir %{_libdir}/pkgconfig
|
||||
%{_libdir}/pkgconfig/rav1e.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user