[SCM] kdeclarative packaging branch, kubuntu_wily_archive, updated. debian/5.9.0-1-4-gc3fa5ed

Jonathan Riddell jriddell-guest at moszumanska.debian.org
Tue May 19 12:57:15 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kdeclarative.git;a=commitdiff;h=0d4dd05

The following commit has been merged in the kubuntu_wily_archive branch:
commit 0d4dd0508ce7749e606d6ccf4fbfe5cc4ad7036f
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Fri Jan 30 09:07:13 2015 +0100

    Add acc autopkgtests.
---
 debian/changelog                    |  1 +
 debian/libkf5declarative-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 3f1c474..3b5f658 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ kdeclarative (5.6.0-1~) UNRELEASED; urgency=medium
   * Update build dependencies to build against experimental and to
     follow cmake.
   * Bump Standards-Version to 3.9.6, no changes needed.
+  * Add acc autopkgtests.
 
  -- Maximiliano Curia <maxy at debian.org>  Mon, 26 Jan 2015 17:12:06 +0100
 
diff --git a/debian/libkf5declarative-dev.acc.in b/debian/libkf5declarative-dev.acc.in
new file mode 100644
index 0000000..92c9d92
--- /dev/null
+++ b/debian/libkf5declarative-dev.acc.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+    5.6.0
+</version>
+
+<headers>
+    /usr/include/KF5/KDeclarative/
+</headers>
+
+<libs>
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5Declarative.so
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5QuickAddons.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

-- 
kdeclarative packaging



More information about the pkg-kde-commits mailing list