[packages/megacmd] add libmediainfo bcond (libzen is it's dependency)
glen
glen at pld-linux.org
Tue Nov 27 15:23:12 CET 2018
commit 7b4a00eb66925bd261e0460ce72506575133aa97
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Nov 27 15:50:15 2018 +0200
add libmediainfo bcond (libzen is it's dependency)
megacmd.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/megacmd.spec b/megacmd.spec
index 2a384f7..5ed3b8c 100644
--- a/megacmd.spec
+++ b/megacmd.spec
@@ -1,6 +1,7 @@
#
# Conditional build:
-%bcond_without fuse # build megafuse
+%bcond_without fuse # build megafuse
+%bcond_without libmediainfo # build with libmediainfo
Summary: Command Line Interactive and Scriptable Application to access MEGA
Name: megacmd
@@ -23,13 +24,12 @@ BuildRequires: cppcheck
BuildRequires: cryptopp-devel
BuildRequires: ffmpeg-devel
%{?with_fuse:BuildRequires: libfuse-devel}
-BuildRequires: libmediainfo-devel
+%{?with_mediainfo:BuildRequires: libmediainfo-devel}
BuildRequires: libraw-devel
BuildRequires: libsodium-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: libuv-devel
-BuildRequires: libzen-devel
BuildRequires: openssl-devel
BuildRequires: pcre-cxx-devel
BuildRequires: pcre-devel
@@ -81,6 +81,7 @@ mv sdk-*/* sdk
autoreconf -vif
%configure \
%{__with_without fuse} \
+ %{__with_without libmediainfo} \
--disable-silent-rules
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/megacmd.git/commitdiff/cce502dbbbd5d93bb263f1e6549a782996dcfc54
More information about the pld-cvs-commit
mailing list