aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-07 11:51:13 +0000
committerTarmac <>2012-11-07 11:51:13 +0000
commitfc58dd68e0f40fe4fdb93a49333d7f56fea44b30 (patch)
tree2cb186a64ffa5e1cb3b8a00168d7265452c1c2bf /debian
parent28245a5932f86b2bbab3304148bca33b8eaa207c (diff)
parent21a895254bc08f111b5173f8b6b85f8271935020 (diff)
downloadqmenumodel-fc58dd68e0f40fe4fdb93a49333d7f56fea44b30.tar.gz
qmenumodel-fc58dd68e0f40fe4fdb93a49333d7f56fea44b30.tar.bz2
qmenumodel-fc58dd68e0f40fe4fdb93a49333d7f56fea44b30.zip
Updated debian package to use debhelper instead of cdbs.
Approved by Olivier Tilloy.
Diffstat (limited to 'debian')
-rw-r--r--debian/control12
-rwxr-xr-xdebian/rules15
2 files changed, 19 insertions, 8 deletions
diff --git a/debian/control b/debian/control
index 0e5d4c1..4a85338 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,19 @@ Source: qmenumodel
Section: libs
Priority: optional
Maintainer: Renato Araujo Oliveira Filho <renato@canonical.com>
-Build-Depends: debhelper (>= 8.0.0),
- cdbs,
+Build-Depends: debhelper (>= 9.0.0),
cmake (>= 2.8.9),
libglib2.0-dev,
qtbase (>= 5.0),
qtdeclarative (>= 5.0),
-Standards-Version: 3.9.2
+ python3,
+ python3-dbus,
+ python3-gi,
+ gir1.2-glib-2.0,
+ dbus-test-runner,
+ libgles2-mesa-dev,
+ libgl-dev,
+Standards-Version: 3.9.3
Package: libqmenumodel0
Section: libs
diff --git a/debian/rules b/debian/rules
index 7e8093d..2364c9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,15 @@
#!/usr/bin/make -f
# -*- makefile -*-
-DEB_CMAKE_EXTRA_FLAGS = -DCMAKE_PREFIX_PATH=/opt/qt5/lib/cmake
-DEB_DH_MAKESHLIBS_ARGS_qmenumodel-qml = -Xlibqmenumodel-qml.so
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/cmake.mk
+override_dh_auto_configure:
+ PATH=/opt/qt5/bin:${PATH} dh_auto_configure
+
+override_dh_makeshlibs:
+ dh_makeshlibs -Xlibqmenumodel-qml.so
+
+%:
+ dh $@ --parallel