[SCM] frameworkintegration packaging branch, master, updated. ad9ea59237431f74046cda149c2e047f82be324e

Maximiliano Curia maxy at moszumanska.debian.org
Tue Feb 24 17:05:32 UTC 2015


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

The following commit has been merged in the master branch:
commit 0003469fdc82cccdf651cf4fffdde039f3bb48cb
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Fri Feb 6 12:37:20 2015 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 36419fb..2644b34 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ frameworkintegration (5.6.0-1~) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.6, no changes needed.
   * Update copyright information.
   * Update install files.
+  * Add acc autopkgtests.
 
  -- Maximiliano Curia <maxy at debian.org>  Fri, 06 Feb 2015 11:50:00 +0100
 
diff --git a/debian/libkf5style-dev.acc.in b/debian/libkf5style-dev.acc.in
new file mode 100644
index 0000000..b99b967
--- /dev/null
+++ b/debian/libkf5style-dev.acc.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+    5.0.0
+</version>
+
+<headers>
+    /usr/include/KF5/KStyle/
+</headers>
+
+<libs>
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5Style.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

-- 
frameworkintegration packaging



More information about the pkg-kde-commits mailing list