diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-30 09:36:00 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-30 09:36:00 +0200 |
commit | 38e2ca05a73307a06dc9a8d6e9e97da7fcdff4fa (patch) | |
tree | 1e9650dfff01e7e84dadaa9b7525d1992285aa8b /extra/qt | |
parent | 50aa5b5bd92fbf10494cbce145f4e7b19ce36daf (diff) |
Build qt without libfbclient dependency.
Diffstat (limited to 'extra/qt')
-rw-r--r-- | extra/qt/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/qt/PKGBUILD b/extra/qt/PKGBUILD index a13a3ece1..8726234fa 100644 --- a/extra/qt/PKGBUILD +++ b/extra/qt/PKGBUILD @@ -12,7 +12,8 @@ license=('GPL3' 'LGPL') makedepends=('libtiff' 'libpng' 'libmng' 'sqlite' 'ca-certificates' 'glib2' 'dbus' 'fontconfig' 'libgl' 'libsm' 'libxrandr' 'libxv' 'libxi' 'alsa-lib' 'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'mesa' 'postgresql-libs' - 'mysql' 'unixodbc' 'cups' 'gtk2' 'libfbclient') + 'mysql' 'unixodbc' 'cups' 'gtk2') +[ "$CARCH" != "mips64el" ] && makedepends+=('libfbclient') options=('!libtool') _pkgfqn="${pkgbase}-everywhere-opensource-src-${pkgver}" source=("http://releases.qt-project.org/qt4/source/${_pkgfqn}.tar.gz" @@ -50,6 +51,8 @@ build() { sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" mkspecs/common/gcc-base-unix.conf sed -i "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" mkspecs/common/gcc-base.conf + [ "$CARCH" != "mips64el" ] && extra="-plugin-sql-ibase" + ./configure -confirm-license -opensource \ -prefix /usr \ -docdir /usr/share/doc/qt \ @@ -60,7 +63,7 @@ build() { -sysconfdir /etc/xdg \ -examplesdir /usr/share/doc/qt/examples \ -demosdir /usr/share/doc/qt/demos \ - -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \ + -plugin-sql-{psql,mysql,sqlite,odbc} \ -system-sqlite \ -no-phonon \ -no-phonon-backend \ @@ -75,7 +78,8 @@ build() { -optimized-qmake \ -reduce-relocations \ -dbus-linked \ - -no-openvg + -no-openvg \ + $extra make } @@ -86,9 +90,9 @@ package_qt() { 'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils') optdepends=('postgresql-libs: PostgreSQL driver' 'libmysqlclient: MySQL driver' - 'unixodbc: ODBC driver' - 'libfbclient: Firebird/iBase driver' - 'libxinerama: Xinerama support' + 'unixodbc: ODBC driver') + [ "$CARCH" != "mips64el" ] && optdepends+=('libfbclient: Firebird/iBase driver') + optdepends+=('libxinerama: Xinerama support' 'libxcursor: Xcursor support' 'libxfixes: Xfixes support') install='qt.install' |