]> git.pld-linux.org Git - packages/clementine.git/commitdiff
- clementine has problems with stripped libqsqlite.so add bcond to build with static...
authorBartłomiej Zimoń <cactus@pld-linux.org>
Sat, 10 Jul 2010 21:53:44 +0000 (21:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clementine.spec -> 1.15

clementine.spec

index 80cbc141ebe98208184134bd59e9d725f1b32924..ca4ae98e859274635044544ab63d1ed5a71a74fe 100644 (file)
@@ -13,6 +13,7 @@
 %bcond_with            engine_vlc              # without vlc engine
 %bcond_with            engine_qt_phonon        # without qt-phonon engine
 %bcond_without engine_gstreamer        # without gstreamer engine
+%bcond_with            static_sqlite   # with static sqlite3
 
 Summary:       A music player and library organiser
 Summary(hu.UTF-8):     Egy zenelejátszó és gyűjtemény-kezelő
@@ -56,12 +57,12 @@ BuildRequires:      qt4-linguist
 BuildRequires: qt4-qmake
 BuildRequires: rpmbuild(macros) >= 1.198
 BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel
+%{!?with_static_sqlite:BuildRequires:  sqlite3-devel}
 BuildRequires: taglib-devel >= 1.6
 BuildRequires: vlc-devel
 BuildRequires: xine-lib-devel
 Requires(post,postun): desktop-file-utils
-Requires:      QtSql-sqlite3
+%{!?with_static_sqlite:Requires:       QtSql-sqlite3}
 # while we do not link (yet), we use datafiles
 Requires:      libprojectM
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -86,7 +87,7 @@ a Qt4 előnyeit.
 
 # We already don't use these but just to make sure
 rm -rf 3rdparty/gmock
-rm -rf 3rdparty/qsqlite
+%{!?with_static_sqlite:rm -rf 3rdparty/qsqlite}
 rm -rf 3rdparty/qtsingleapplication
 rm -rf 3rdparty/qxt
 rm -rf 3rdparty/qtiocompressor
@@ -104,6 +105,7 @@ cd build
        -DENGINE_LIBVLC_ENABLED=%{?with_engine_vlc:ON}%{!?with_engine_vlc:OFF} \
        -DENGINE_LIBXINE_ENABLED=%{?with_engine_xine:ON}%{!?with_engine_xine:OFF} \
        -DENGINE_QT_PHONON_ENABLED=%{?with_engine_qt_phonon:ON}%{!?with_engine_qt_phonon:OFF} \
+       -DSTATIC_SQLITE=%{?with_static_sqlite:ON}%{!?with_static_sqlite:OFF} \
        ..
 %{__make}
 
This page took 0.108298 seconds and 4 git commands to generate.