summaryrefslogtreecommitdiff
path: root/testing/source/vtown/kde/cmake/xdg-desktop-portal-kde
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/vtown/kde/cmake/xdg-desktop-portal-kde')
-rw-r--r--testing/source/vtown/kde/cmake/xdg-desktop-portal-kde24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/source/vtown/kde/cmake/xdg-desktop-portal-kde b/testing/source/vtown/kde/cmake/xdg-desktop-portal-kde
new file mode 100644
index 00000000..78b9a7ce
--- /dev/null
+++ b/testing/source/vtown/kde/cmake/xdg-desktop-portal-kde
@@ -0,0 +1,24 @@
+mkdir cmake-build
+cd cmake-build
+ cmake \
+ $KDE_OPT_ARGS \
+ -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DKDE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ -DKDE_INSTALL_LIBEXECDIR=lib$LIBDIRSUFFIX \
+ -DKDE_INSTALL_MANDIR=/usr/man \
+ -DKDE_INSTALL_QTPLUGINDIR=lib$LIBDIRSUFFIX/qt5/plugins \
+ -DKDE_INSTALL_QMLDIR=lib$LIBDIRSUFFIX/qt5/qml \
+ -DKDE_INSTALL_SYSCONFDIR=/etc/kde \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF \
+ -DENABLE_PIPEWIRE=OFF \
+ -DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \
+ ..
+