mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/qt5-base to 5.7.0-3
This commit is contained in:
parent
8b860f0ab4
commit
2b03e58f38
1 changed files with 7 additions and 8 deletions
|
@ -10,14 +10,14 @@
|
|||
pkgname=qt5-base
|
||||
_qtver=5.7.0
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://qt-project.org/'
|
||||
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
||||
license=('GPL3' 'LGPL3' 'FDL' 'custom')
|
||||
pkgdesc='A cross-platform application and UI framework'
|
||||
depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'fontconfig'
|
||||
'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
|
||||
'qtchooser' 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy')
|
||||
'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy')
|
||||
makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
|
||||
'gtk3' 'libpulse' 'cups' 'freetds')
|
||||
optdepends=('qt5-svg: to use SVG icon themes'
|
||||
|
@ -28,6 +28,7 @@ optdepends=('qt5-svg: to use SVG icon themes'
|
|||
'freetds: MS SQL driver'
|
||||
'mtdev: evdev plugin'
|
||||
'gtk3: GTK platform plugin')
|
||||
conflicts=('qtchooser')
|
||||
groups=('qt' 'qt5')
|
||||
_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
|
||||
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
|
||||
|
@ -74,7 +75,6 @@ build() {
|
|||
|
||||
PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
|
||||
-prefix /usr \
|
||||
-bindir /usr/lib/qt/bin \
|
||||
-docdir /usr/share/doc/qt \
|
||||
-headerdir /usr/include/qt \
|
||||
-archdatadir /usr/lib/qt \
|
||||
|
@ -119,9 +119,8 @@ package() {
|
|||
sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
|
||||
"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
|
||||
|
||||
# Useful symlinks
|
||||
install -d "${pkgdir}"/usr/bin
|
||||
for b in "${pkgdir}"/usr/lib/qt/bin/*; do
|
||||
ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
|
||||
# Symlinks for backwards compatibility
|
||||
for b in "${pkgdir}"/usr/bin/*; do
|
||||
ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue