From c6b7f93abdc1999b07fc6bf84f077d510cab18ba Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 11 Aug 2017 23:08:02 +0200 Subject: [PATCH] Remove CMake file for QmlDebuggerServiceFactory plugin --- qt5-declarative/apple-darwin/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qt5-declarative/apple-darwin/PKGBUILD b/qt5-declarative/apple-darwin/PKGBUILD index abd0cdac..c39c3b8f 100644 --- a/qt5-declarative/apple-darwin/PKGBUILD +++ b/qt5-declarative/apple-darwin/PKGBUILD @@ -6,7 +6,7 @@ _qt_module=qtdeclarative pkgname='apple-darwin-qt5-declarative' pkgver=5.9.1 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="Classes for QML and JavaScript languages (apple-darwin)" depends=('apple-darwin-qt5-base') @@ -65,6 +65,9 @@ package() { pushd build-${_arch}-${_config##*=} make INSTALL_ROOT="$pkgdir" install + # QmlDebuggerServiceFactory plugin is not available so remove CMake plugin file for it + rm "${pkgdir}/${_osxcrossprefix}/${_arch}/lib/cmake/Qt5Qml/Qt5Qml_QQmlDebuggerServiceFactory.cmake" + # Strip the binaries, remove debug libraries find "${pkgdir}/${_osxcrossprefix}" -name "*.dylib" -a -not -iname '*_debug*' -exec ${_osxcrossprefix}/bin/${_arch}-strip -S -x {} \; find "${pkgdir}/${_osxcrossprefix}" -name '*.a' -a -not -iname '*_debug.a' -a -not -iname '*DevTools.a' -a -not -iname '*Bootstrap.a' -exec ${_osxcrossprefix}/bin/${_arch}-strip -S -x {} \;