summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick
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-03 02:50:40 +0100
commit1ee686f2763162bfe495baa49bb8d182c72d94f5 (patch)
tree771a39ed81d08ac74bcad0cb103e76a2a8ef3d27 /ubuntu/maverick
parent6af29d73370d15aefd691ef83ab8afb0f80e7402 (diff)
downloadtde-packaging-1ee686f2763162bfe495baa49bb8d182c72d94f5.tar.gz
tde-packaging-1ee686f2763162bfe495baa49bb8d182c72d94f5.zip
Switch tdenetwork to cmake on Debian and Ubuntu
(cherry picked from commit 29d2c30afe3f1da5f4439923f3fbcc521a9b42fd)
Diffstat (limited to 'ubuntu/maverick')
-rw-r--r--ubuntu/maverick/kdenetwork/debian/control2
-rwxr-xr-xubuntu/maverick/kdenetwork/debian/rules16
2 files changed, 17 insertions, 1 deletions
diff --git a/ubuntu/maverick/kdenetwork/debian/control b/ubuntu/maverick/kdenetwork/debian/control
index 3b6667cbb..99ded8aea 100644
--- a/ubuntu/maverick/kdenetwork/debian/control
+++ b/ubuntu/maverick/kdenetwork/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), quilt, autotools-dev, docbook-to-man, doxygen, gawk, gettext, kdelibs4-trinity-dev (>= 4:3.5.10), 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), quilt, cmake, autotools-dev, docbook-to-man, doxygen, gawk, gettext, kdelibs4-trinity-dev (>= 4:3.5.10), 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: kdenetwork-trinity
diff --git a/ubuntu/maverick/kdenetwork/debian/rules b/ubuntu/maverick/kdenetwork/debian/rules
index d042b3d55..4bbcc5e40 100755
--- a/ubuntu/maverick/kdenetwork/debian/rules
+++ b/ubuntu/maverick/kdenetwork/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=kdenetwork-trinity-dbg
PACKAGES_WITH_LIBS := librss1-trinity kopete-trinity ksirc-trinity kwifimanager-trinity