diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-03-31 03:59:46 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-03-31 04:00:01 +0200 |
commit | b58d32342608272cfcbeb826126bfd6e7eed3af6 (patch) | |
tree | 335c6af0fa5db8c41eb77135f85e3dfcb6f0ef06 /ubuntu/maverick/libraries/libkipi/debian/rules | |
parent | 26f60ed2437cae5e9c2183d993118705bb095aa6 (diff) | |
download | tde-packaging-b58d32342608272cfcbeb826126bfd6e7eed3af6.tar.gz tde-packaging-b58d32342608272cfcbeb826126bfd6e7eed3af6.zip |
DEB libkipi: Switch to cmake.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7a7ad6702b68787b4607149c6e11bcd0569f335a)
Diffstat (limited to 'ubuntu/maverick/libraries/libkipi/debian/rules')
-rwxr-xr-x | ubuntu/maverick/libraries/libkipi/debian/rules | 29 |
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" |