]> git.pld-linux.org Git - packages/aom.git/commitdiff
enable neon only on archs which support it
authorJan Palus <jpalus@fastmail.com>
Sat, 21 May 2022 09:28:42 +0000 (11:28 +0200)
committerJan Palus <jpalus@fastmail.com>
Sat, 21 May 2022 09:31:09 +0000 (11:31 +0200)
aom.spec

index 80f45572024f55a39ddc428dfdb89de91c175907..b9f2d9d300454aeae847256b8abc8243b1dfbff4 100644 (file)
--- a/aom.spec
+++ b/aom.spec
@@ -2,6 +2,10 @@
 # Conditional build:
 %bcond_without wxwidgets       # wxWidgets based analyzer
 
+%ifarch %{arm_with_neon}
+%define                with_neon       1
+%endif
+
 Summary:       Royalty-free next-generation video format
 Summary(pl.UTF-8):     Format wideo nowej generacji bez opÅ‚at licencyjnych
 Name:          aom
@@ -21,7 +25,7 @@ BuildRequires:        doxygen >= 1:1.8.10
 BuildRequires: graphviz
 BuildRequires: libstdc++-devel
 BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: rpmbuild(macros) >= 2.007
 BuildRequires: sed >= 4.0
 %{?with_wxwidgets:BuildRequires:       wxGTK3-unicode-devel}
 BuildRequires: yasm
@@ -135,6 +139,7 @@ cd builddir
        -DCONFIG_WEBM_IO=1 \
        -DENABLE_CCACHE=1 \
        -DENABLE_DOCS=1 \
+       %{cmake_on_off neon ENABLE_NEON} \
        -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-gtk3-unicode-config
 
 %{__make}
This page took 2.904694 seconds and 4 git commands to generate.