summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/libkipi/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-03-31 03:59:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-03-31 03:59:46 +0200
commit7a7ad6702b68787b4607149c6e11bcd0569f335a (patch)
tree41e48b064a13fc374b9e55141506bc6225938a2d /ubuntu/maverick/libraries/libkipi/debian/rules
parent9f5f160a353fa4f8099018354b36324e23bbfe02 (diff)
downloadtde-packaging-7a7ad6702b68787b4607149c6e11bcd0569f335a.tar.gz
tde-packaging-7a7ad6702b68787b4607149c6e11bcd0569f335a.zip
DEB libkipi: Switch to cmake.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/libraries/libkipi/debian/rules')
-rwxr-xr-xubuntu/maverick/libraries/libkipi/debian/rules29
1 files changed, 12 insertions, 17 deletions
diff --git a/ubuntu/maverick/libraries/libkipi/debian/rules b/ubuntu/maverick/libraries/libkipi/debian/rules
index 89a7a7433..e5c16cf8a 100755
--- a/ubuntu/maverick/libraries/libkipi/debian/rules
+++ b/ubuntu/maverick/libraries/libkipi/debian/rules
@@ -1,25 +1,20 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include debian/cdbs/debian-qt-kde.mk
+include /usr/share/cdbs/1/class/cmake.mk
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/utils.mk
-
-DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
-DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
-DEB_CONFIGURE_PREFIX := /opt/trinity
-DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
-
-cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
-
-DEB_INSTALL_DOCS_libkipi0-trinity-dev = libkipi/libkipi/design
-
-DEB_KDE_ENABLE_FINAL = yes
-
-DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+include debian/cdbs/debian-qt-kde.mk
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
-clean ::
- rm -f po/*/*.gmo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"