diff options
author | Martchus | 2018-02-19 20:15:18 +0100 |
---|---|---|
committer | Martchus | 2018-02-19 20:15:18 +0100 |
commit | 37c7973f9ec04635b09bf468fab88934626223fe (patch) | |
tree | ae02cae0d5ca588f72265402d37eef3a03c7a511 | |
parent | c4c7fc3eaa6abfa9fe161851aa3ab8a91a33c85a (diff) | |
download | aur-37c7973f9ec04635b09bf468fab88934626223fe.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:30 UTC 2017 +# Mon Feb 19 19:15:18 UTC 2018 pkgbase = mingw-w64-qt5-gamepad pkgdesc = Adds support for getting events from gamepad devices (mingw-w64) - pkgver = 5.10.0 + pkgver = 5.10.1 pkgrel = 1 url = https://www.qt.io/ arch = any @@ -22,8 +22,8 @@ pkgbase = mingw-w64-qt5-gamepad options = !strip options = !buildflags options = staticlibs - source = https://download.qt.io/official_releases/qt/5.10/5.10.0/submodules/qtgamepad-everywhere-src-5.10.0.tar.xz - sha256sums = 537550f988a71942392b3df21044e4cd566378bad2d9727663c9e8e7743e87e6 + source = https://download.qt.io/official_releases/qt/5.10/5.10.1/submodules/qtgamepad-everywhere-src-5.10.1.tar.xz + sha256sums = 85c72801f56f7d5f55caff8ef23137978abe01637bb179566dd5976d6f5346f7 pkgname = mingw-w64-qt5-gamepad @@ -8,7 +8,7 @@ _qt_module=qtgamepad pkgname="mingw-w64-qt5-gamepad" -pkgver=5.10.0 +pkgver=5.10.1 pkgrel=1 arch=('any') pkgdesc="Adds support for getting events from gamepad devices (mingw-w64)" @@ -21,7 +21,7 @@ license=('GPL3' 'LGPL' 'FDL' 'custom') url='https://www.qt.io/' _pkgfqn="${_qt_module}-everywhere-src-${pkgver}" source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('537550f988a71942392b3df21044e4cd566378bad2d9727663c9e8e7743e87e6') +sha256sums=('85c72801f56f7d5f55caff8ef23137978abe01637bb179566dd5976d6f5346f7') _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 } |