[packages/imlib2_loaders] - updated to 1.7.0 - disable eet by default
qboosh
qboosh at pld-linux.org
Sun Oct 4 22:19:57 CEST 2020
commit 5bcc0f27cc473761a5e07479c38e6969292b11c7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 4 22:23:00 2020 +0200
- updated to 1.7.0
- disable eet by default
imlib2_loaders.spec | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/imlib2_loaders.spec b/imlib2_loaders.spec
index 55faf6a..6fd745e 100644
--- a/imlib2_loaders.spec
+++ b/imlib2_loaders.spec
@@ -1,16 +1,20 @@
+#
+# Conditional build:
+%bcond_with eet # eet images support
+
Summary: Additional Loaders for Imlib2
Summary(pl.UTF-8): Dodatkowe biblioteki wczytujące dla Imlib2
Name: imlib2_loaders
-Version: 1.4.10
+Version: 1.7.0
Release: 1
License: GPL v2+ (XCF loader), BSD-like (the rest)
Group: Libraries
Source0: http://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.bz2
-# Source0-md5: 0c5f36bb2bc52179280536fc4d9a5636
+# Source0-md5: 7e5f5daf3ee29bdf57782341e3d5e03b
URL: https://www.enlightenment.org/
BuildRequires: autoconf >= 2.52
BuildRequires: automake >= 1.6
-BuildRequires: eet-devel >= 1.0.2
+%{?with_eet:BuildRequires: eet-devel >= 1.0.2}
BuildRequires: imlib2-devel >= 1.4.10
BuildRequires: libtool >= 2:2
BuildRequires: pkgconfig
@@ -32,13 +36,14 @@ rozprowadzane bezpośrednio z biblioteką Imlib2.
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
- --enable-eet \
- --enable-xcf
+ --disable-silent-rules \
+ --enable-eet%{!?with_eet:=no}
+
%{__make}
%install
@@ -56,6 +61,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS COPYING COPYING-PLAIN README
%attr(755,root,root) %{_libdir}/imlib2/loaders/ani.so
+%if %{with eet}
%attr(755,root,root) %{_libdir}/imlib2/loaders/eet.so
-%attr(755,root,root) %{_libdir}/imlib2/loaders/ico.so
+%endif
%attr(755,root,root) %{_libdir}/imlib2/loaders/xcf.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/imlib2_loaders.git/commitdiff/5bcc0f27cc473761a5e07479c38e6969292b11c7
More information about the pld-cvs-commit
mailing list