diff options
author | Martchus | 2018-02-19 20:15:14 +0100 |
---|---|---|
committer | Martchus | 2018-02-19 20:15:14 +0100 |
commit | f642a5f725b91eecab34f89a2c464684bbc9a781 (patch) | |
tree | 489a279947e80512234ff17cbe0fa452329b490c | |
parent | 57a3d414696596e9e2cfc0bb45ec962cfe182071 (diff) | |
download | aur-f642a5f725b91eecab34f89a2c464684bbc9a781.tar.gz |
Update to 5.10.1
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 22 insertions, 6 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Dec 14 00:06:25 UTC 2017 +# Mon Feb 19 19:15:13 UTC 2018 pkgbase = mingw-w64-qt5-webchannel pkgdesc = Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients (mingw-w64) - pkgver = 5.10.0 + pkgver = 5.10.1 pkgrel = 1 url = https://www.qt.io/ arch = any @@ -19,8 +19,8 @@ pkgbase = mingw-w64-qt5-webchannel options = !strip options = !buildflags options = staticlibs - source = https://download.qt.io/official_releases/qt/5.10/5.10.0/submodules/qtwebchannel-everywhere-src-5.10.0.tar.xz - sha256sums = f22424dc6235110bb7f587b01ce692738af1497fba2a9739fa90a5e57ba135a3 + source = https://download.qt.io/official_releases/qt/5.10/5.10.1/submodules/qtwebchannel-everywhere-src-5.10.1.tar.xz + sha256sums = c22c449fecb052597d12f8dd59498db39767037f9098123f3defc04eb20a3764 pkgname = mingw-w64-qt5-webchannel @@ -8,7 +8,7 @@ _qt_module=qtwebchannel pkgname=mingw-w64-qt5-webchannel -pkgver=5.10.0 +pkgver=5.10.1 pkgrel=1 arch=('any') pkgdesc='Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients (mingw-w64)' @@ -21,7 +21,7 @@ url='https://www.qt.io/' _pkgfqn="${_qt_module}-everywhere-src-${pkgver}" groups=('mingw-w64-qt5') source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('f22424dc6235110bb7f587b01ce692738af1497fba2a9739fa90a5e57ba135a3') +sha256sums=('c22c449fecb052597d12f8dd59498db39767037f9098123f3defc04eb20a3764') _architectures='i686-w64-mingw32 x86_64-w64-mingw32' [[ $NO_STATIC_LIBS ]] || \ @@ -53,6 +53,19 @@ package() { pushd build-${_arch}-${_config##*=} make INSTALL_ROOT="$pkgdir" install + + # Use prl files from build directory since installed prl files seem to have incorrect QMAKE_PRL_LIBS_FOR_CMAKE + if [[ -d 'lib' ]]; then + pushd 'lib' + find -iname '*.static.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib" --parents {} + + popd + fi + if [[ -d 'plugins' ]]; then + pushd 'plugins' + find -iname '*.static.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib/qt/plugins" --parents {} + + popd + fi + find "${pkgdir}/usr/${_arch}/lib" -maxdepth 1 -name "*.dll" -exec rm {} \; [ "$NO_STATIC_EXECUTABLES" -a "${_config##*=}" = static -o "$NO_EXECUTABLES" ] && \ find "${pkgdir}/usr/${_arch}" -name "*.exe" -exec rm {} \; || \ @@ -64,5 +77,8 @@ package() { find "${pkgdir}/usr/${_arch}/lib/" -iname "*.so.$pkgver" -exec strip --strip-unneeded {} \; popd done + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "${pkgdir}/usr/${_arch}/lib" -type f -name '*.prl' -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; done } |