summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/libkexiv2/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-03-31 03:51:33 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-03-31 03:51:33 +0200
commit9f5f160a353fa4f8099018354b36324e23bbfe02 (patch)
treec7be4f97695443cd55658cb29b90fe14168d0908 /ubuntu/maverick/libraries/libkexiv2/debian/rules
parent9b52d86ec478772ff5b659eda7564a5137f1aa02 (diff)
downloadtde-packaging-9f5f160a353fa4f8099018354b36324e23bbfe02.tar.gz
tde-packaging-9f5f160a353fa4f8099018354b36324e23bbfe02.zip
DEB libkexiv2: Switch to cmake.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/libraries/libkexiv2/debian/rules')
-rwxr-xr-xubuntu/maverick/libraries/libkexiv2/debian/rules35
1 files changed, 12 insertions, 23 deletions
diff --git a/ubuntu/maverick/libraries/libkexiv2/debian/rules b/ubuntu/maverick/libraries/libkexiv2/debian/rules
index 705840830..e5c16cf8a 100755
--- a/ubuntu/maverick/libraries/libkexiv2/debian/rules
+++ b/ubuntu/maverick/libraries/libkexiv2/debian/rules
@@ -1,31 +1,20 @@
#!/usr/bin/make -f
-FILENAME = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
-UPFILENAME = $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.bz2
-URL = http://heanet.dl.sourceforge.net/kipi/$(UPFILENAME)
-
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/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/utils.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_KDE_ENABLE_FINAL = yes
-
-DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
-get-orig-source:
- @@dh_testdir
- @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
- @@echo Downloading $(UPFILENAME) from $(URL) ...
- @@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
- @@echo Converting $(UPFILENAME) to $(FILENAME)
- @@bzcat ../tarballs/$(UPFILENAME) | gzip -9 > ../tarballs/$(FILENAME)
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc" \
+ -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"