[packages/gegl] - disable lua on x32 (due to no luajit)
adamg
adamg at pld-linux.org
Tue Apr 9 10:47:07 CEST 2019
commit 4ad808cfb80f59afc5c968871854631a45c86cfd
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Tue Apr 9 10:46:04 2019 +0200
- disable lua on x32 (due to no luajit)
gegl.spec | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/gegl.spec b/gegl.spec
index 2ff32ff..e56cac5 100644
--- a/gegl.spec
+++ b/gegl.spec
@@ -3,6 +3,7 @@
%bcond_with mmx # use MMX instructions
%bcond_with sse # use SSE instructions
%bcond_without doc # apidocs
+%bcond_without lua # without lua support
%bcond_without static_libs # static library
%bcond_without introspection # API introspection
%bcond_without vala # Vala API
@@ -17,6 +18,10 @@
%undefine with_vala
%endif
+%ifarch x32
+%undefine with_lua
+%endif
+
%define babl_version 0.1.62
%define mrg_version 0.1.2-1.20190322.1
@@ -68,8 +73,10 @@ BuildRequires: libtiff-devel >= 4.0.0
BuildRequires: libtool >= 2:2.2
BuildRequires: libv4l-devel >= 1.0.1
BuildRequires: libwebp-devel >= 0.5.0
+%if %{with lua}
BuildRequires: luajit-devel >= 2.0.4
BuildRequires: lua51-devel >= 5.1.5-2
+%endif
BuildRequires: mrg-devel >= %{mrg_version}
BuildRequires: pango-devel >= 1:1.38.0
BuildRequires: perl-base
@@ -189,7 +196,8 @@ API języka Vala dla biblioteki gegl.
%{!?with_sse:--disable-sse} \
--disable-silent-rules \
%{?with_static_libs:--enable-static} \
- --with-vala%{!?with_vala:=no}
+ --with-vala%{!?with_vala:=no} \
+ %{__with_without lua}
%{__make}
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gegl.git/commitdiff/975cab4025ded5d28b942f2e2b76c898f474286e
More information about the pld-cvs-commit
mailing list