From f32a7656befd65120102e9ecad9a3a383e4cd275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 9 Jul 2020 00:44:23 +0200 Subject: DEB tde-style-domino: Switch to cmake. Add intltool to build-deps. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../_base/applications/tde-style-domino/debian/control | 2 +- debian/_base/applications/tde-style-domino/debian/rules | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'debian/_base/applications/tde-style-domino') diff --git a/debian/_base/applications/tde-style-domino/debian/control b/debian/_base/applications/tde-style-domino/debian/control index caf655075..70f633fed 100644 --- a/debian/_base/applications/tde-style-domino/debian/control +++ b/debian/_base/applications/tde-style-domino/debian/control @@ -3,7 +3,7 @@ Section: tde Priority: optional Maintainer: Timothy Pearson X-Original-Maintainer: Jonathan Patrick Davies -Build-Depends: cdbs, debhelper (>= 9~), quilt, automake, libtool, tdebase-trinity-dev +Build-Depends: cdbs, debhelper (>= 9~), quilt, cmake, intltool, tdebase-trinity-dev Standards-Version: 3.7.3 Homepage: http://kde-look.org/content/show.php?content=42804 diff --git a/debian/_base/applications/tde-style-domino/debian/rules b/debian/_base/applications/tde-style-domino/debian/rules index 2aebaac7b..18aa16b96 100755 --- a/debian/_base/applications/tde-style-domino/debian/rules +++ b/debian/_base/applications/tde-style-domino/debian/rules @@ -1,12 +1,19 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk -DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include -DEB_CONFIGURE_MANDIR := /opt/trinity/share/man -DEB_CONFIGURE_PREFIX := /opt/trinity -DEB_CONFIGURE_INFODIR := /opt/trinity/share/info - DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -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" -- cgit v1.2.1