Fix pulseaudio droid module version

This commit is contained in:
Jonah Brüchert 2019-11-12 12:35:59 +01:00 committed by Adam Boardman
parent 6d2dacec5b
commit 69a12761d6
2 changed files with 8 additions and 4 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
pulseaudio-modules-droid (12.2.79-3) unstable; urgency=medium
* Fix pulseaudio droid module version
-- Jonah Brüchert <jbb@kaidan.im> Tue, 12 Nov 2019 12:35:51 +0100
pulseaudio-modules-droid (12.2.79-2) unstable; urgency=medium
* Fix generating the pkgconfig files with proper pathes

View file

@ -3,16 +3,14 @@ Author: Jonah Brüchert <jbb@kaidan.im>
--- a/configure.ac
+++ b/configure.ac
@@ -20,9 +20,9 @@
@@ -20,8 +20,8 @@
AM_PROG_CC_C_O
AC_PROG_GCC_TRADITIONAL
-m4_define(pa_major, `echo $VERSION | cut -d. -f1 | cut -d- -f1`)
-m4_define(pa_minor, `echo $VERSION | cut -d. -f2 | cut -d- -f1`)
-m4_define(pa_module_version, `echo $VERSION | cut -d. -f3 | cut -d- -f1`)
+m4_define(pa_major, `pkg-config --modversion libpulse | cut -d. -f1 | cut -d- -f1`)
+m4_define(pa_minor, `pkg-config --modversion libpulse | cut -d. -f2 | cut -d- -f1`)
+m4_define(pa_module_version, `pkg-config --modversion libpulse | cut -d. -f3 | cut -d- -f1`)
m4_define(pa_module_version, `echo $VERSION | cut -d. -f3 | cut -d- -f1`)
AC_SUBST(PA_MAJOR, pa_major)
AC_SUBST(PA_MAJORMINOR, pa_major.pa_minor)