diff options
author | Jocelyn Turcotte | 2016-08-22 16:31:45 +0000 |
---|---|---|
committer | Jocelyn Turcotte | 2016-08-22 16:36:46 +0000 |
commit | 45e807a9bee4d662fd273d8a65f760d36aa8e9da (patch) | |
tree | 807ced62f1e099dfe705530acc38b7d0fd3e6011 /PKGBUILD | |
parent | b90e165569aa1e13db4f8797782b5aa5dededc37 (diff) | |
download | aur-45e807a9bee4d662fd273d8a65f760d36aa8e9da.tar.gz |
Update to 5.7.0
Also fetch the whole qtbase sources again to make the package easier to maintain.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 19 insertions, 9 deletions
@@ -1,26 +1,36 @@ -# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> +# Contributors Arno Rehn <arno@arnorehn.de>, Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>, Jocelyn Turcotte <turcotte.j@gmail.com> buildarch=16 pkgname=qt5-qpa-rpi-plugin -pkgver=5.4.0 +pkgver=5.7.0 pkgrel=1 -pkgdesc="Qt5 eglfs plugin built against Broadcom's GL libs." +pkgdesc="Qt5 eglfs Broadcom device integration for the Raspberry Pi" url="http://qt.io" arch=('armv6h' 'armv7h') license=('GPL3' 'LGPL' 'FDL' 'custom') depends=('qt5-base' 'mtdev') -conflicts=('qt5-qpa-rpi-plugin-git') -source=("https://github.com/greenisland/${pkgname}/archive/v${pkgver}.tar.gz") -md5sums=('b8a58bc5c438c11d105ece4b297d4cfc') + +source=("http://download.qt-project.org/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/qtbase-opensource-src-${pkgver}.tar.xz") +md5sums=('184f9460b40752d71b15b827260580c2') + +noextract=("qtbase-opensource-src-${pkgver}.tar.xz") + +prepare() { + cd "${srcdir}" + tar xJvf qtbase-opensource-src-${pkgver}.tar.xz qtbase-opensource-src-${pkgver}/src/plugins/platforms/eglfs qtbase-opensource-src-${pkgver}/LGPL_EXCEPTION.txt qtbase-opensource-src-${pkgver}/.qmake.conf +} build() { - cd ${pkgname}-${pkgver}/eglfs_rpi - qmake + cd "${srcdir}/qtbase-opensource-src-${pkgver}/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm" + qmake INCLUDEPATH+=/opt/vc/include QMAKE_LIBDIR+=/opt/vc/lib make } package() { - cd ${pkgname}-${pkgver}/eglfs_rpi + cd "${srcdir}/qtbase-opensource-src-${pkgver}/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm" make INSTALL_ROOT="${pkgdir}" install + + cd "${srcdir}/qtbase-opensource-src-${pkgver}" + install -D -m644 LGPL_EXCEPTION.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt } |