diff --git a/debian/lenny/kdevelop/debian/control b/debian/lenny/kdevelop/debian/control index d3317527f..0a60be945 100644 --- a/debian/lenny/kdevelop/debian/control +++ b/debian/lenny/kdevelop/debian/control @@ -3,7 +3,7 @@ Section: kde Priority: optional Maintainer: Timothy Pearson XSBC-Original-Maintainer: Jeremy Lainé -Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), 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), 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/debian/lenny/kdevelop/debian/rules b/debian/lenny/kdevelop/debian/rules index 1b473f43c..3578cb47d 100755 --- a/debian/lenny/kdevelop/debian/rules +++ b/debian/lenny/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 diff --git a/debian/squeeze/kdevelop/debian/control b/debian/squeeze/kdevelop/debian/control index 214e122d3..280afc505 100644 --- a/debian/squeeze/kdevelop/debian/control +++ b/debian/squeeze/kdevelop/debian/control @@ -3,7 +3,7 @@ Section: kde Priority: optional Maintainer: Timothy Pearson XSBC-Original-Maintainer: Jeremy Lainé -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/debian/squeeze/kdevelop/debian/rules b/debian/squeeze/kdevelop/debian/rules index 098d04c7e..0f3894b4f 100755 --- a/debian/squeeze/kdevelop/debian/rules +++ b/debian/squeeze/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 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 XSBC-Original-Maintainer: Jeremy Lain -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