SPECS: kradio.spec - added lirc support (with bcond) - BR: gettext-devel

charles charles at pld-linux.org
Mon Jun 2 16:19:09 CEST 2008


Author: charles                      Date: Mon Jun  2 14:19:09 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added lirc support (with bcond)
- BR: gettext-devel

---- Files affected:
SPECS:
   kradio.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/kradio.spec
diff -u SPECS/kradio.spec:1.8 SPECS/kradio.spec:1.9
--- SPECS/kradio.spec:1.8	Mon Jun  2 14:05:01 2008
+++ SPECS/kradio.spec	Mon Jun  2 16:19:03 2008
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	lirc		# without lirc support
+#
 Summary:	KRadio - The KDE Radio Application
 Summary(pl.UTF-8):	KRadio - Radio dla KDE
 Name:		kradio
@@ -13,11 +16,13 @@
 BuildRequires:	alsa-lib-devel
 #BuildRequires:	autoconf
 #BuildRequires:	automake
+BuildRequires:	gettext-devel
 BuildRequires:	kdelibs-devel
 BuildRequires:	lame-libs-devel
 BuildRequires:	libsndfile-devel
 BuildRequires:	libtool
 BuildRequires:	libvorbis-devel
+%{?with_lirc:BuildRequires:	lirc-devel}
 BuildRequires:	unsermake
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -71,6 +76,7 @@
 %configure \
 	--with-qt-includes=%{_includedir}/qt \
 	--with-qt-libraries=%{_libdir} \
+	--%{?with_lirc:en}%{!?with_lirc:dis}able-lirc \
 	--enable-shared \
 	--disable-static \
 	--enable-v4l2
@@ -124,6 +130,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008-06-02 14:19:03  charles
+- added lirc support (with bcond)
+- BR: gettext-devel
+
 Revision 1.8  2008-06-02 12:05:01  kosmo
 - updated to snap 2006-11-12-r497
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kradio.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list