[pulseaudio] 01/04: Generate shlibs file on build, to avoid hardcoding on each new upstream version
Felipe Sateler
fsateler at moszumanska.debian.org
Sun Oct 9 16:47:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
fsateler pushed a commit to branch master
in repository pulseaudio.
commit 3125deb1749cdcdf0a4ba788a603bb0cc5368a34
Author: Felipe Sateler <fsateler at debian.org>
Date: Wed Sep 28 19:34:24 2016 -0300
Generate shlibs file on build, to avoid hardcoding on each new upstream version
---
debian/rules | 5 +++++
debian/shlibs.local | 2 --
debian/shlibs.local.in | 2 ++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 1ac59b8..9ed9178 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,6 +45,7 @@ override_dh_auto_install:
cp $(CURDIR)/debian/apport-hook.py $(CURDIR)/debian/tmp/usr/share/apport/package-hooks/source_pulseaudio.py
override_dh_makeshlibs:
+ sed 's/DEB_VERSION_UPSTREAM/$(DEB_VERSION_UPSTREAM)/' debian/shlibs.local.in > debian/shlibs.local
dh_makeshlibs --exclude=usr/lib/pulse-$(DEB_VERSION_UPSTREAM)/modules \
--exclude=usr/lib/$(DEB_HOST_MULTIARCH)/pulseaudio
@@ -56,3 +57,7 @@ override_dh_install:
override_dh_installdocs:
dh_installdocs -A NEWS README
+
+override_dh_clean:
+ dh_clean
+ rm -f debian/shlibs.local
diff --git a/debian/shlibs.local b/debian/shlibs.local
deleted file mode 100644
index d19b0ef..0000000
--- a/debian/shlibs.local
+++ /dev/null
@@ -1,2 +0,0 @@
-libpulsecommon 9.0 libpulse0 (= ${binary:Version})
-libpulsecore 9.0 pulseaudio (= ${binary:Version})
diff --git a/debian/shlibs.local.in b/debian/shlibs.local.in
new file mode 100644
index 0000000..144cd58
--- /dev/null
+++ b/debian/shlibs.local.in
@@ -0,0 +1,2 @@
+libpulsecommon DEB_VERSION_UPSTREAM libpulse0 (= ${binary:Version})
+libpulsecore DEB_VERSION_UPSTREAM pulseaudio (= ${binary:Version})
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-pulseaudio/pulseaudio.git
More information about the pkg-pulseaudio-devel
mailing list