aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control10
-rwxr-xr-xdebian/rules15
2 files changed, 17 insertions, 8 deletions
diff --git a/debian/control b/debian/control
index 0e5d4c1..e4e9d1c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,17 @@ 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,
+ dbus-test-runner,
+ libgles2-mesa-dev,
+ libgl-dev,
+ xvfb,
+Standards-Version: 3.9.3
Package: libqmenumodel0
Section: libs
diff --git a/debian/rules b/debian/rules
index 7e8093d..366a447 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 -- -DUSE_XVFB=On
+
+override_dh_makeshlibs:
+ dh_makeshlibs -Xlibqmenumodel-qml.so
+
+%:
+ dh $@ --parallel