From 29d2c30afe3f1da5f4439923f3fbcc521a9b42fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 2 Dec 2012 17:52:48 +0100 Subject: Switch tdenetwork to cmake on Debian and Ubuntu --- ubuntu/precise/tdenetwork/debian/rules | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ubuntu/precise/tdenetwork/debian/rules') diff --git a/ubuntu/precise/tdenetwork/debian/rules b/ubuntu/precise/tdenetwork/debian/rules index bab6267ec..f27a7cca8 100755 --- a/ubuntu/precise/tdenetwork/debian/rules +++ b/ubuntu/precise/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 -- cgit v1.2.1 From e12b7beacb145e0359e66ec5d4cfc0494d3ca908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 11 Dec 2012 03:02:18 +0100 Subject: Use xz (or bzip2) compression for Debian and Ubuntu binary packages --- ubuntu/precise/tdenetwork/debian/rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ubuntu/precise/tdenetwork/debian/rules') diff --git a/ubuntu/precise/tdenetwork/debian/rules b/ubuntu/precise/tdenetwork/debian/rules index f27a7cca8..2579d07e3 100755 --- a/ubuntu/precise/tdenetwork/debian/rules +++ b/ubuntu/precise/tdenetwork/debian/rules @@ -44,6 +44,9 @@ DEB_CMAKE_EXTRA_FLAGS := \ DEB_DH_STRIP_ARGS := --dbg-package=tdenetwork-trinity-dbg +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + PACKAGES_WITH_LIBS := librss1-trinity kopete-trinity ksirc-trinity kwifimanager-trinity #shlibs_ver = 4:3.5.0-1 -- cgit v1.2.1