]> git.pld-linux.org Git - packages/gegl.git/blobdiff - gegl.spec
- disable lua on x32 (due to no luajit)
[packages/gegl.git] / gegl.spec
index 041769a03d7bb2414076995e88d7a43ec1d352bc..e56cac5fe83118e9c952951065815ac74f68e264 100644 (file)
--- 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
 %undefine      with_vala
 %endif
 
-%define        babl_version    0.1.50
-%define        mrg_version     0.1.2-1.20180122.1
+%ifarch x32
+%undefine      with_lua
+%endif
+
+%define        babl_version    0.1.62
+%define        mrg_version     0.1.2-1.20190322.1
 
 Summary:       Generic image processing library
 Summary(pl.UTF-8):     Ogólna biblioteka przetwarzania obrazu
 Name:          gegl
-Version:       0.4.2
+Version:       0.4.14
 Release:       1
 License:       LGPL v3+
 Group:         Libraries
 Source0:       https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.bz2
-# Source0-md5: 47b8f88c466e0a38f5e8d6181bba89bd
+# Source0-md5: 88004f3a204e2506cd0cc445eba8d63e
 Patch1:                %{name}-ruby1.9.patch
 Patch2:                %{name}-build.patch
 Patch3:                umfpack.patch
+Patch4:                %{name}-Wformat-security.patch
+Patch5:                %{name}-without-lua.patch
 URL:           http://www.gegl.org/
 BuildRequires: OpenEXR-devel >= 1.6.1
 BuildRequires: SDL-devel >= 1.2.0
@@ -66,11 +73,15 @@ 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
 BuildRequires: pkgconfig
+BuildRequires: poppler-glib-devel >= 0.71.0
 BuildRequires: python >= 1:2.5.0
 # either one?
 #BuildRequires:        python-pygobject-devel >= 2.26
@@ -168,6 +179,8 @@ API języka Vala dla biblioteki gegl.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
 
 %build
 %{__libtoolize}
@@ -183,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
This page took 0.043659 seconds and 4 git commands to generate.