aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2023-01-26 20:28:12 +0100
committeralice <alice@ayaya.dev>2023-01-26 21:46:37 +0000
commitf4b28347e5f452b1a1897a179d6eaf5707431dfd (patch)
tree0027f13d1be323049f85f0a0d802ca2c6fa11fc7
parent0e278361ddfe8c01328178b7ac4fd1316a2901ef (diff)
testing/featherpad: build with samurai and Qt6
-rw-r--r--testing/featherpad/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/featherpad/APKBUILD b/testing/featherpad/APKBUILD
index 9d53de99381..5754582e6a1 100644
--- a/testing/featherpad/APKBUILD
+++ b/testing/featherpad/APKBUILD
@@ -10,10 +10,10 @@ makedepends="
cmake
hunspell-dev
libx11-dev
- qt5-qtbase-dev
- qt5-qtsvg-dev
- qt5-qttools-dev
- qt5-qtx11extras-dev
+ qt6-qtbase-dev
+ qt6-qtsvg-dev
+ qt6-qttools-dev
+ samurai
"
subpackages="$pkgname-lang"
options="!check" # no test suite
@@ -24,10 +24,11 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
- cmake -B build \
+ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=True \
+ -DENABLE_QT5=OFF \
$CMAKE_CROSSOPTS .
cmake --build build
}