From 2145960c785a2e2081b323e30ee0ed27b5a77972 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 29 Sep 2022 11:33:09 +0200 Subject: extra/quazip: fix for Qt5 builds (FS32#273) --- extra/quazip/PKGBUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 extra/quazip/PKGBUILD (limited to 'extra/quazip/PKGBUILD') diff --git a/extra/quazip/PKGBUILD b/extra/quazip/PKGBUILD new file mode 100644 index 00000000..a3ff50a4 --- /dev/null +++ b/extra/quazip/PKGBUILD @@ -0,0 +1,14 @@ +# build with non-probing CMakeLists.txt the qt5 version, assuming both +# qt6 and qt5 artifacts are installed which make the automatic guesser +# recognize the major version of Qt +# (see also upstream FS#76054) +source+=('CMakeLists-Qt5.txt') +sha256sums+=('44378ad0642f14173b4d3b2f98332546d88ffe045db465c415d9c37708fdb1ea') +eval "$( + declare -f build | \ + sed ' + /cmake -B build5/ i cp $pkgbase-$pkgver/CMakeLists.txt CMakeLists.bak \ + cp CMakeLists-Qt5.txt $pkgbase-$pkgver/CMakeLists.txt + /cmake -B build6/ i cp CMakeLists.bak $pkgbase-$pkgver/CMakeLists.txt + ' +)" -- cgit v1.2.3-54-g00ecf