summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/kdevelop
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-12-02 18:44:19 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-12-03 02:50:43 +0100
commitbe5949ec2e0712e9edc1ec0e8c168b817c91c7a3 (patch)
tree7f56b93f4deef65f7e3612f146f73472d4148d69 /ubuntu/maverick/kdevelop
parenta7a38ff7799aa03dd761e81916154d3afc451270 (diff)
downloadtde-packaging-be5949ec2e0712e9edc1ec0e8c168b817c91c7a3.tar.gz
tde-packaging-be5949ec2e0712e9edc1ec0e8c168b817c91c7a3.zip
Switch tdevelop to cmake on Debian and Ubuntu
(cherry picked from commit f8aa81ddfb34e247d0a4ce4ce41052b059ef78fc)
Diffstat (limited to 'ubuntu/maverick/kdevelop')
-rw-r--r--ubuntu/maverick/kdevelop/debian/control2
-rwxr-xr-xubuntu/maverick/kdevelop/debian/rules15
2 files changed, 16 insertions, 1 deletions
diff --git a/ubuntu/maverick/kdevelop/debian/control b/ubuntu/maverick/kdevelop/debian/control
index 8227ced3f..7aa2cb45b 100644
--- a/ubuntu/maverick/kdevelop/debian/control
+++ b/ubuntu/maverick/kdevelop/debian/control
@@ -3,7 +3,7 @@ Section: kde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Jeremy Lain <jeremy.laine@m4x.org>
-Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), quilt, kdelibs4-trinity-dev (>= 4:3.5.10), gettext, kdelibs4-trinity-doc, libtqtinterface-doc, flex, python, libcvsservice-trinity-dev (>= 4:3.5.10), groff-base, libsvn-dev, libaprutil1-dev, libdb-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), quilt, cmake, kdelibs4-trinity-dev (>= 4:3.5.10), gettext, kdelibs4-trinity-doc, libtqtinterface-doc, flex, python, libcvsservice-trinity-dev (>= 4:3.5.10), groff-base, libsvn-dev, libaprutil1-dev, libdb-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdevelop-trinity
diff --git a/ubuntu/maverick/kdevelop/debian/rules b/ubuntu/maverick/kdevelop/debian/rules
index 098d04c7e..0f3894b4f 100755
--- a/ubuntu/maverick/kdevelop/debian/rules
+++ b/ubuntu/maverick/kdevelop/debian/rules
@@ -5,6 +5,7 @@ makebuilddir::
[ -f debian/control.tmp ] || cp debian/control debian/control.tmp
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
@@ -53,6 +54,20 @@ 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_BUILDTOOL_ALL="ON" \
+ -DWITH_LANGUAGE_ALL="ON" \
+ -DWITH_VCS_ALL="ON" \
+ -DQT_DOCDIR="/usr/share/qt3/doc/html"
+
binary-install/kdevelop-trinity::
mkdir -p debian/kdevelop-trinity/opt/trinity/share/pixmaps
cp debian/kdevelop.xpm debian/kdevelop-trinity/opt/trinity/share/pixmaps