diff options
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' |