diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -3,26 +3,26 @@ # Headless by: K900 <me@0upti.me> pkgname=qt5-base-headless -_qtver=5.11.2 +_qtver=5.12.0 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') url='http://qt-project.org/' license=('GPL3' 'LGPL3' 'FDL' 'custom') pkgdesc='A cross-platform application and UI framework - headless build (no QtGui or QtWidgets)' -depends=('sqlite' 'libproxy' 'double-conversion') -makedepends=('libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs') +depends=('sqlite' 'libproxy' 'double-conversion' 'pcre2' 'glib2' 'icu') +makedepends=('libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs' 'dbus') optdepends=('postgresql-libs: PostgreSQL driver' 'libmariadbclient: MariaDB driver' 'unixodbc: ODBC driver' - 'libfbclient: Firebird/iBase driver' 'freetds: MS SQL driver' - 'gtk3: GTK platform plugin') + 'python: build scripts for Apple platforms' + 'dbus: DBus module') conflicts=('qtchooser' 'qt5-base') provides=('qt5-base') _pkgfqn="qtbase-everywhere-src-${_qtver}" source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('6381e7c3468d5a1dcfe3683b29eeced192faa0f8a32434fec071a59b8bcd0107') +sha256sums=('5e03221d780e121aabd734896aab8f331e5d8c9d9b54f1eb04907d0818eaeecb') prepare() { cd ${_pkgfqn} @@ -45,7 +45,7 @@ build() { -datadir /usr/share/qt \ -sysconfdir /etc/xdg \ -examplesdir /usr/share/doc/qt/examples \ - -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \ + -plugin-sql-{psql,mysql,sqlite,odbc} \ -system-sqlite \ -openssl-linked \ -nomake examples \ @@ -63,7 +63,10 @@ build() { -no-xcb \ -no-eglfs \ -no-directfb \ - -no-cups + -no-cups \ + -no-accessibility \ + -no-freetype \ + -no-harfbuzz make } @@ -72,8 +75,7 @@ package() { cd ${_pkgfqn} make INSTALL_ROOT="${pkgdir}" install - install -D -m644 LGPL_EXCEPTION.txt \ - "${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt + install -Dm644 LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgbase # Drop QMAKE_PRL_BUILD_DIR because reference the build dir find "${pkgdir}/usr/lib" -type f -name '*.prl' \ @@ -85,6 +87,6 @@ package() { # Symlinks for backwards compatibility for b in "${pkgdir}"/usr/bin/*; do - ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5 + ln -s $(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5 done } |