- Use %cmake macro
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/SVT-AV1?expand=0&rev=12
This commit is contained in:
parent
d220776634
commit
aef769443a
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 18 11:59:38 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Use %cmake macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 16 12:18:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Sat Feb 16 12:18:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
18
SVT-AV1.spec
18
SVT-AV1.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libopenshot-audio
|
# spec file for package SVT-AV1
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -61,16 +61,14 @@ sed -i -e 's, -fstack-protector-strong , ,' CMakeLists.txt
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cmake . \
|
# Shitty CMakeLists.txt requires this to be OFF, else it runs into
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
# undefined reference: coeff_tbl
|
||||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
|
# ...and yet it still produces shared libs. 'S all good man?
|
||||||
-DLIB_SUFFIX=64 \
|
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%cmake_install
|
||||||
mkdir -p %buildroot%_docdir/%name
|
mkdir -p %buildroot%_docdir/%name
|
||||||
install -m 0644 %{S:1} %buildroot%_docdir/%name
|
install -m 0644 %{S:1} %buildroot%_docdir/%name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user