diff options
author | Martchus | 2018-02-19 20:15:14 +0100 |
---|---|---|
committer | Martchus | 2018-02-19 20:15:14 +0100 |
commit | 77a4affdde97c03bafa01568754a6f1f2337c75d (patch) | |
tree | 9754de87fbd8c00e7abb99559d9d8b80079319f5 | |
parent | 651d7ffac79db670d5ab4d78a51bc0c61b944977 (diff) | |
download | aur-77a4affdde97c03bafa01568754a6f1f2337c75d.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:14 UTC 2018 pkgbase = mingw-w64-qt5-3d pkgdesc = C++ and QML APIs for easy inclusion of 3D graphics (mingw-w64) - pkgver = 5.10.0 + pkgver = 5.10.1 pkgrel = 1 url = https://www.qt.io/ arch = i686 @@ -20,8 +20,8 @@ pkgbase = mingw-w64-qt5-3d options = !strip options = !buildflags options = staticlibs - source = https://download.qt.io/official_releases/qt/5.10/5.10.0/submodules/qt3d-everywhere-src-5.10.0.tar.xz - sha256sums = 12457e7227c793274329371c60b9028ab3e44db837e875e2c460367c1dbd34ab + source = https://download.qt.io/official_releases/qt/5.10/5.10.1/submodules/qt3d-everywhere-src-5.10.1.tar.xz + sha256sums = 041fb42536a72bbf9be17a6f52d4b73ce93fb98b456fd63503cc47d80d196b3b pkgname = mingw-w64-qt5-3d @@ -9,7 +9,7 @@ _qt_module=qt3d pkgname="mingw-w64-qt5-3d" -pkgver=5.10.0 +pkgver=5.10.1 pkgrel=1 arch=('i686' 'x86_64') pkgdesc="C++ and QML APIs for easy inclusion of 3D graphics (mingw-w64)" @@ -21,7 +21,7 @@ license=('GPL3' 'LGPL3' '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=('12457e7227c793274329371c60b9028ab3e44db837e875e2c460367c1dbd34ab') +sha256sums=('041fb42536a72bbf9be17a6f52d4b73ce93fb98b456fd63503cc47d80d196b3b') _architectures='i686-w64-mingw32 x86_64-w64-mingw32' [[ $NO_STATIC_LIBS ]] || \ @@ -66,6 +66,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 + # The .dll's are installed in both bindir and libdir, one copy of the .dll's is sufficient find "${pkgdir}/usr/${_arch}/lib" -maxdepth 1 -name "*.dll" -exec rm {} \; [ "$NO_STATIC_EXECUTABLES" -a "${_config##*=}" = static -o "$NO_EXECUTABLES" ] && \ @@ -77,5 +90,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 } |