]> git.pld-linux.org Git - packages/amarok.git/commitdiff
- added bcond for sqlite, so we can use the included lib version, which
authorMichał Łukaszek <mlukaszek+pld@gmail.com>
Thu, 13 Oct 2005 21:59:27 +0000 (21:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  makes the creation of new collection possible (PLD version is too new)
- release 2

Changed files:
    amarok.spec -> 1.77

amarok.spec

index a5c267b905ea29a0e67405c41ddbb89ed70f1db2..2716c136f78af19790c20a1ea3f5e2682a4e241e 100644 (file)
@@ -12,6 +12,7 @@
 %bcond_without xine            # disable xine engine
 %bcond_without xmms            # disable xmms wrapping
 %bcond_without zeroconf        # disable support for zeroconf
+%bcond_with included_sqlite # use included sqlite, not the distro's
 %bcond_with    helix           # enable HelixPlayer engine
 %bcond_with    nmm             # enable NMM audio backend
 %bcond_with    mysql           # enable mysql support
@@ -21,7 +22,7 @@ Summary:      A KDE audio player
 Summary(pl):   Odtwarzacz audio dla KDE
 Name:          amarok
 Version:       1.3.3
-Release:       1
+Release:       2
 License:       GPL
 Group:         X11/Applications/Multimedia
 Source0:       http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2
@@ -48,7 +49,7 @@ BuildRequires:        pcre-devel
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel
+%{?!with_included_sqlite:BuildRequires:        sqlite3-devel}
 BuildRequires: taglib-devel >= 1.4
 %{?with_xine:BuildRequires:            xine-lib-devel >= 2:1.0-0.rc5.0}
 %{?with_xmms:BuildRequires:            xmms-devel}
@@ -199,7 +200,7 @@ cp -f /usr/share/automake/config.sub admin
        %{?with_mysql:--with-mysql} \
        --disable-final \
        --with-qt-libraries=%{_libdir} \
-       --without-included-sqlite
+       --with%{?!with_included_sqlite:out}-included-sqlite
 
 %{__make}
 
This page took 0.035467 seconds and 4 git commands to generate.