diff options
author | Slávek Banko <[email protected]> | 2022-12-13 18:23:50 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-12-13 18:23:50 +0100 |
commit | 9814f52b6d666d5c1bb3f0ba34f8606533add1de (patch) | |
tree | 717ee08d8d925d055d6128cf5e95ec331eb2247c /ubuntu/_base/applications/misc/desktop-effects-tde/debian/rules | |
parent | d0e8a3990aefc09884046917b16d03f72f802eef (diff) | |
download | tde-packaging-9814f52b6d666d5c1bb3f0ba34f8606533add1de.tar.gz tde-packaging-9814f52b6d666d5c1bb3f0ba34f8606533add1de.zip |
DEB desktop-effects-tde: Switch to CMake build system.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ubuntu/_base/applications/misc/desktop-effects-tde/debian/rules')
-rwxr-xr-x | ubuntu/_base/applications/misc/desktop-effects-tde/debian/rules | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/ubuntu/_base/applications/misc/desktop-effects-tde/debian/rules b/ubuntu/_base/applications/misc/desktop-effects-tde/debian/rules index eef8add16..123031e6f 100755 --- a/ubuntu/_base/applications/misc/desktop-effects-tde/debian/rules +++ b/ubuntu/_base/applications/misc/desktop-effects-tde/debian/rules @@ -1,26 +1,22 @@ #!/usr/bin/make -f -DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport) -DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport) - 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/tde -DEB_CONFIGURE_MANDIR := /opt/trinity/share/man -DEB_CONFIGURE_PREFIX := /opt/trinity -DEB_CONFIGURE_INFODIR := /opt/trinity/share/info +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -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" -cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) - -# The default gzip compressor has been changed in dpkg >= 1.17.0. -deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \ - sed -e "s|.*version ||" -e "s| .*||" | \ - xargs -r dpkg --compare-versions 1.17.0 lt \ - && echo xz || echo gzip) -ifeq ($(deb_default_compress),gzip) -DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ - && echo xz || echo bzip2) -endif +DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport) binary-install/desktop-effects-tde-trinity:: ${DH_PYTHON2} -pdesktop-effects-tde-trinity |