[SCM] kwayland packaging branch, master, updated. 116d5e3a2c2bdc404c5edcaea1d20f1bf520e614

Maximiliano Curia maxy at moszumanska.debian.org
Mon Mar 23 15:22:08 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/plasma/kwayland.git;a=commitdiff;h=903b22d

The following commit has been merged in the master branch:
commit 903b22d035dc5ce06b996b71e26b9b53b26f3f48
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Sun Feb 8 21:22:46 2015 +0100

    Add acc autopkgtests.
---
 debian/changelog           |  1 +
 debian/kwayland-dev.acc.in | 21 +++++++++++++++++++++
 debian/tests/acc           | 11 +++++++++++
 debian/tests/control       |  3 +++
 4 files changed, 36 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0668f62..7fce1fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ kwayland (4:5.2.0-1~) UNRELEASED; urgency=medium
   * Add myself as Uploader.
   * Update build dependencies to build against experimental and to
     follow cmake.
+  * Add acc autopkgtests.
 
  -- Maximiliano Curia <maxy at debian.org>  Sun, 08 Feb 2015 21:03:07 +0100
 
diff --git a/debian/kwayland-dev.acc.in b/debian/kwayland-dev.acc.in
new file mode 100644
index 0000000..e303add
--- /dev/null
+++ b/debian/kwayland-dev.acc.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+    5.2.0
+</version>
+
+<headers>
+    /usr/include/KF5/KWayland/
+</headers>
+
+<libs>
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5WaylandClient.so
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5WaylandServer.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
index e7fde3c..ef8828a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,3 +2,6 @@ Tests: testsuite
 Depends: @builddeps@, build-essential,
          xvfb, xauth, dbus-x11, openbox
 Restrictions: rw-build-tree
+
+Tests: acc
+Depends: @, dh-acc, exuberant-ctags

-- 
kwayland packaging



More information about the pkg-kde-commits mailing list