summaryrefslogtreecommitdiffstats
path: root/debian/wheezy
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 /debian/wheezy
parent41063f28217798ce5ffe043e9ceadf326007edb5 (diff)
downloadtde-packaging-29d2c30afe3f1da5f4439923f3fbcc521a9b42fd.tar.gz
tde-packaging-29d2c30afe3f1da5f4439923f3fbcc521a9b42fd.zip
Switch tdenetwork to cmake on Debian and Ubuntu
Diffstat (limited to 'debian/wheezy')
-rw-r--r--debian/wheezy/tdenetwork/debian/control2
-rwxr-xr-xdebian/wheezy/tdenetwork/debian/rules16
2 files changed, 17 insertions, 1 deletions
diff --git a/debian/wheezy/tdenetwork/debian/control b/debian/wheezy/tdenetwork/debian/control
index 26884d7ae..a1a2dcb2b 100644
--- a/debian/wheezy/tdenetwork/debian/control
+++ b/debian/wheezy/tdenetwork/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Modestas Vainius <geromanas@mailas.com>, Sarah Hobbs <hobbsee@ubuntu.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, docbook-to-man, doxygen, gawk, gettext, tdelibs4-trinity-dev, libgadu-dev, libiw-dev (>> 27+28pre8), libmeanwhile-dev (>= 1.0.2), libslp-dev, libsqlite3-dev, libtiff-dev, libxml2-dev, libxslt1-dev, libxtst-dev, libtqtinterface-doc, sharutils, valgrind [!armel], libxxf86vm-dev, libv4l-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, docbook-to-man, doxygen, gawk, gettext, tdelibs4-trinity-dev, libgadu-dev, libiw-dev (>> 27+28pre8), libmeanwhile-dev (>= 1.0.2), libslp-dev, libsqlite3-dev, libtiff-dev, libxml2-dev, libxslt1-dev, libxtst-dev, libtqtinterface-doc, sharutils, valgrind [!armel], libxxf86vm-dev, libv4l-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdenetwork-trinity
diff --git a/debian/wheezy/tdenetwork/debian/rules b/debian/wheezy/tdenetwork/debian/rules
index bab6267ec..f27a7cca8 100755
--- a/debian/wheezy/tdenetwork/debian/rules
+++ b/debian/wheezy/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