From 2632aefca29fbb6d54e91b90840885b7b56dfd68 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 16 May 2019 16:12:21 -0700 Subject: [PATCH] Add debian packaging --- debian/changelog.in | 5 +++++ debian/compat | 1 + debian/control | 31 +++++++++++++++++++++++++++++++ debian/pidgin-headset.install | 1 + debian/rules | 17 +++++++++++++++++ debian/watch | 1 + 6 files changed, 56 insertions(+) create mode 100644 debian/changelog.in create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/pidgin-headset.install create mode 100755 debian/rules create mode 100644 debian/watch diff --git a/debian/changelog.in b/debian/changelog.in new file mode 100644 index 0000000..603d33d --- /dev/null +++ b/debian/changelog.in @@ -0,0 +1,5 @@ +pidgin-headset (%COMMITDESC%) xenial; urgency=low + + * Build from git snapshot + + -- David Woodhouse %COMMITDATE% diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2be1ced --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: pidgin-headset +Section: net +Priority: optional +Maintainer: David Woodhouse +Homepage: http://git.infradead.org/users/dwmw2/pidgin-headset.git +Standards-Version: 3.9.7 +Build-Depends: debhelper (>= 9), + autoconf, + automake, + libtool, + libpurple-dev, + pidgin-dev, + autotools-dev + +Package: pidgin-headset +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: USB headset support for Pidgin + This package provides a Pidgin plugin which integrates with mute and + hangup support on USB headsets. + +Package: pidgin-headset-dbg +Architecture: any +Section: debug +Priority: extra +Depends: ${misc:Depends}, pidgin-headset (= ${binary:Version}) +Description: debugging symbols of pidgin-headset + This package provides a Pidgin plugin which integrates with mute and + hangup support on USB headsets. + . + Debugging symbols. diff --git a/debian/pidgin-headset.install b/debian/pidgin-headset.install new file mode 100644 index 0000000..8a4d95d --- /dev/null +++ b/debian/pidgin-headset.install @@ -0,0 +1 @@ +usr/lib/pidgin/*.so usr/lib/pidgin diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..64e1146 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +#export DH_VERBOSE = 1 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ --with autotools-dev + +override_dh_auto_configure: + ./autogen.sh + dh_auto_configure + +override_dh_install: + dh_install + dh_pidgin + +override_dh_strip: + dh_strip --dbg-package=pidgin-headset-dbg diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/debian/watch @@ -0,0 +1 @@ +# TODO -- 2.49.0