diff --git a/qbs/PKGBUILD b/qbs/PKGBUILD index c27f70877..0ba90261b 100644 --- a/qbs/PKGBUILD +++ b/qbs/PKGBUILD @@ -1,13 +1,20 @@ pkgname=qbs -pkgver=1.11.1 +pkgver=1.12.0 pkgrel=1 pkgdesc='Cross platform build tool' arch=('x86_64') url='https://wiki.qt.io/Qbs' license=('LGPL') depends=('qt5-script') -source=("https://download.qt.io/official_releases/qbs/${pkgver}/qbs-src-${pkgver}.tar.gz") -sha256sums=('8a301e8e94169e44f2ca4ad65fc4d393215bf3b81bc51daa970f50ddb6231f5b') +source=("https://download.qt.io/official_releases/qbs/${pkgver}/qbs-src-${pkgver}.tar.gz" + qbs-header.patch) +sha256sums=('5efeb2492f8ccf0e7a5ea106f748e1c536f964674025aecb22c1ee948e3e35d1' + 'f80fb8dd5401713e1d70012f2bbc26a1c544963753c0de3b25584b27d257d367') + +prepare() { + cd $pkgname-src-$pkgver + patch -p1 -i ../qbs-header.patch # Fix missing header +} build() { cd $pkgname-src-$pkgver diff --git a/qbs/qbs-header.patch b/qbs/qbs-header.patch new file mode 100644 index 000000000..361cb1e99 --- /dev/null +++ b/qbs/qbs-header.patch @@ -0,0 +1,12 @@ +diff --git a/src/lib/corelib/tools/tools.pri b/src/lib/corelib/tools/tools.pri +index 9db30664f..bb3a55f12 100644 +--- a/src/lib/corelib/tools/tools.pri ++++ b/src/lib/corelib/tools/tools.pri +@@ -131,6 +131,7 @@ osx { + $$PWD/qbs_export.h \ + $$PWD/settings.h \ + $$PWD/settingsmodel.h \ ++ $$PWD/settingsrepresentation.h \ + $$PWD/setupprojectparameters.h \ + $$PWD/toolchains.h \ + $$PWD/version.h