[SCM] baloo-widgets packaging branch, master, updated. ubuntu/4%15.08.0-0ubuntu1-15-g37fb6b6

Maximiliano Curia maxy at moszumanska.debian.org
Sun Sep 6 08:28:01 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/baloo-widgets.git;a=commitdiff;h=477c028

The following commit has been merged in the master branch:
commit 477c028c0ec00c1e78b9825e7d857477a8202737
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Fri Sep 4 23:24:34 2015 +0200

    Add basic autopkgtests support
---
 debian/libkf5baloowidgets-dev.acc.in | 20 ++++++++++++++++++++
 debian/tests/acc                     | 11 +++++++++++
 debian/tests/control                 |  7 +++++++
 debian/tests/testsuite               |  3 +++
 4 files changed, 41 insertions(+)

diff --git a/debian/libkf5baloowidgets-dev.acc.in b/debian/libkf5baloowidgets-dev.acc.in
new file mode 100644
index 0000000..d6940eb
--- /dev/null
+++ b/debian/libkf5baloowidgets-dev.acc.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+    15.08.0
+</version>
+
+<headers>
+    /usr/include/KF5/BalooWidgets
+</headers>
+
+<libs>
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5BalooWidgets.so
+</libs>
+
+<gcc_options>
+    -fPIC
+</gcc_options>
+
+</descriptor>
diff --git a/debian/tests/acc b/debian/tests/acc
new file mode 100755
index 0000000..f8dc629
--- /dev/null
+++ b/debian/tests/acc
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+for in_file in debian/*.acc.in; do
+    out_file=${in_file%.in}
+    sed 's/@@DEB_HOST_MULTIARCH@@/'"${DEB_HOST_MULTIARCH}"'/' \
+        "${in_file}" > "${out_file}"
+done
+
+dh_acc
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..92c6488
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Tests: testsuite
+Depends: @, @builddeps@, build-essential
+Restrictions: build-needed
+
+Tests: acc
+Depends: @,
+         dh-acc, exuberant-ctags
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..dabe645
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+dh_auto_test

-- 
baloo-widgets packaging



More information about the pkg-kde-commits mailing list