[SCM] libkscreen packaging branch, master, updated. 2c7935aecf54363a98fc9929f7f6a1f44317bf0c
Maximiliano Curia
maxy at moszumanska.debian.org
Sat Mar 21 15:57:46 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/plasma/libkscreen.git;a=commitdiff;h=194da38
The following commit has been merged in the master branch:
commit 194da3850e29947437f8148b68ebde7005d6d32d
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Mon Feb 9 17:09:19 2015 +0100
Add basic autopkgtests support.
---
debian/changelog | 1 +
debian/control | 1 +
debian/libkf5screen-dev.acc.in | 20 ++++++++++++++++++++
debian/tests/acc | 11 +++++++++++
debian/tests/control | 6 ++++++
debian/tests/testsuite | 3 +++
6 files changed, 42 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index dda4e95..6dbd1c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ libkscreen (4:5.2.0-1~) UNRELEASED; urgency=medium
* Update copyright information.
* Update install files.
* Update watch file.
+ * Add basic autopkgtests support.
-- Maximiliano Curia <maxy at debian.org> Mon, 09 Feb 2015 16:29:21 +0100
diff --git a/debian/control b/debian/control
index 4f3bb25..85963ba 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Build-Depends: cmake (>= 2.8.12),
xauth,
xvfb
Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
Homepage: https://projects.kde.org/projects/kde/workspace/libkscreen
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/plasma/libkscreen.git
Vcs-Git: git://anonscm.debian.org/pkg-kde/plasma/libkscreen.git
diff --git a/debian/libkf5screen-dev.acc.in b/debian/libkf5screen-dev.acc.in
new file mode 100644
index 0000000..cdbef2b
--- /dev/null
+++ b/debian/libkf5screen-dev.acc.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+ 5.1.1
+</version>
+
+<headers>
+ /usr/include/KF5/KScreen/
+</headers>
+
+<libs>
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5Screen.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..d9b40f1
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+# 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
--
libkscreen packaging
More information about the pkg-kde-commits
mailing list