summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/tdeio-apt/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-01 19:50:22 +0100
committerSlávek Banko <[email protected]>2019-01-01 19:51:09 +0100
commit6e1458c6734ae413f2938d51d6aecddc9e7b2580 (patch)
tree1b5234c86144cda3649e0fffa43ab243e7a779a9 /ubuntu/maverick/applications/tdeio-apt/debian/rules
parent774c9f6955aca6cc796bd9d23f424b8d4028b913 (diff)
downloadtde-packaging-6e1458c6734ae413f2938d51d6aecddc9e7b2580.tar.gz
tde-packaging-6e1458c6734ae413f2938d51d6aecddc9e7b2580.zip
DEB tdeio-apt: Switch to cmake.
Removed Ubuntu specific kdedeg_logo. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit b2b5086444d674031d5f73ff6560686f36599c84)
Diffstat (limited to 'ubuntu/maverick/applications/tdeio-apt/debian/rules')
-rwxr-xr-xubuntu/maverick/applications/tdeio-apt/debian/rules46
1 files changed, 12 insertions, 34 deletions
diff --git a/ubuntu/maverick/applications/tdeio-apt/debian/rules b/ubuntu/maverick/applications/tdeio-apt/debian/rules
index 59115c680..18b1c07e2 100755
--- a/ubuntu/maverick/applications/tdeio-apt/debian/rules
+++ b/ubuntu/maverick/applications/tdeio-apt/debian/rules
@@ -1,42 +1,20 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include debian/cdbs/kde.mk
-
-DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
-DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
-DEB_CONFIGURE_PREFIX := /opt/trinity
-DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
-
-cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
-
-DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+include debian/cdbs/debian-qt-kde.mk
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
-post-patches:: debian/stamp-bootstrap
-
-debian/stamp-bootstrap:
-ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
- cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
-endif
-ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
- cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
-endif
-ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
- cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
-endif
- cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
-
- make -f admin/Makefile.common cvs
- touch debian/stamp-bootstrap
-
-configure/tdeio-apt-trinity::
- #fix rpath issue
- # -chmod +x debian/fixrpath
- # debian/fixrpath $(DEB_BUILDDIR)
-
-install/tdeio-apt-trinity::
- uudecode -o $(DEB_DESTDIR)/opt/trinity/share/apps/tdeio_apt/kdedeb_logo.png debian/kdedeb_logo.png.uu
+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_ALL_OPTIONS="ON"