summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdenetwork/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-12-02 17:52:48 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-12-02 17:52:48 +0100
commit29d2c30afe3f1da5f4439923f3fbcc521a9b42fd (patch)
treed5d84aae49a1355362f420c63ed8ec601b13a8ff /ubuntu/maverick/tdenetwork/debian/rules
parent41063f28217798ce5ffe043e9ceadf326007edb5 (diff)
downloadtde-packaging-29d2c30afe3f1da5f4439923f3fbcc521a9b42fd.tar.gz
tde-packaging-29d2c30afe3f1da5f4439923f3fbcc521a9b42fd.zip
Switch tdenetwork to cmake on Debian and Ubuntu
Diffstat (limited to 'ubuntu/maverick/tdenetwork/debian/rules')
-rwxr-xr-xubuntu/maverick/tdenetwork/debian/rules16
1 files changed, 16 insertions, 0 deletions
diff --git a/ubuntu/maverick/tdenetwork/debian/rules b/ubuntu/maverick/tdenetwork/debian/rules
index bab6267ec..f27a7cca8 100755
--- a/ubuntu/maverick/tdenetwork/debian/rules
+++ b/ubuntu/maverick/tdenetwork/debian/rules
@@ -13,6 +13,7 @@ export DH_OPTIONS
# include debian/cdbs/buildvars.mk
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk
@@ -26,6 +27,21 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+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_WEBCAM="ON" \
+ -DWITH_ARTS="ON" \
+ -DWITH_SLP="ON" \
+ -DBUILD_KOPETE_PROTOCOL_ALL="ON" \
+ -DBUILD_KOPETE_PLUGIN_ALL="ON"
+
DEB_DH_STRIP_ARGS := --dbg-package=tdenetwork-trinity-dbg
PACKAGES_WITH_LIBS := librss1-trinity kopete-trinity ksirc-trinity kwifimanager-trinity