summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/applications/tde-style-baghira/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-26 11:53:57 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-26 11:54:30 +0200
commitc53dbeb31fc6de7050eeb1e269d9af0adbebe5d0 (patch)
treebe31c86b235e8f9c2093472725a107a491fa8c19 /ubuntu/_base/applications/tde-style-baghira/debian/rules
parente6e110d1264c18ea83742e2118cf461b25b22650 (diff)
downloadtde-packaging-c53dbeb31fc6de7050eeb1e269d9af0adbebe5d0.tar.gz
tde-packaging-c53dbeb31fc6de7050eeb1e269d9af0adbebe5d0.zip
DEB tde-style-baghira: Switch to cmake.
The man page has been moved to the main tree. Add intltool to build-deps. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/applications/tde-style-baghira/debian/rules')
-rwxr-xr-xubuntu/_base/applications/tde-style-baghira/debian/rules16
1 files changed, 11 insertions, 5 deletions
diff --git a/ubuntu/_base/applications/tde-style-baghira/debian/rules b/ubuntu/_base/applications/tde-style-baghira/debian/rules
index 2aebaac7b..a37376c4a 100755
--- a/ubuntu/_base/applications/tde-style-baghira/debian/rules
+++ b/ubuntu/_base/applications/tde-style-baghira/debian/rules
@@ -3,10 +3,16 @@
include /usr/share/cdbs/1/rules/debhelper.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"