mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
version: Drop the micro version number
As per discussions with Lennart, we will be moving to a two-component version number scheme when the next release is made from git master branch. This means we will be dropping the micro version component (although for compatibility, it will remain defined as 0 in version.h). For more information, please see the announcement here: http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/7921
This commit is contained in:
parent
948950a3fd
commit
6828c594e3
7 changed files with 188 additions and 191 deletions
|
|
@ -30,13 +30,10 @@ AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax])
|
|||
|
||||
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_micro, `echo $VERSION | cut -d. -f3 | cut -d- -f1`)
|
||||
|
||||
AC_SUBST(PA_MAJOR, pa_major)
|
||||
AC_SUBST(PA_MINOR, pa_minor)
|
||||
AC_SUBST(PA_MICRO, pa_micro)
|
||||
AC_SUBST(PA_MAJORMINOR, pa_major.pa_minor)
|
||||
AC_SUBST(PA_MAJORMINORMICRO, pa_major.pa_minor.pa_micro)
|
||||
AC_SUBST(PACKAGE_URL, [http://pulseaudio.org/])
|
||||
|
||||
AC_SUBST(PA_API_VERSION, 12)
|
||||
|
|
@ -1420,8 +1417,8 @@ fi
|
|||
|
||||
AC_ARG_WITH(
|
||||
[module-dir],
|
||||
AS_HELP_STRING([--with-module-dir],[Directory where to install the modules to (defaults to ${libdir}/pulse-${PA_MAJORMINORMICRO}/modules]),
|
||||
[modlibexecdir=$withval], [modlibexecdir="${libdir}/pulse-${PA_MAJORMINORMICRO}/modules"])
|
||||
AS_HELP_STRING([--with-module-dir],[Directory where to install the modules to (defaults to ${libdir}/pulse-${PA_MAJORMINOR}/modules]),
|
||||
[modlibexecdir=$withval], [modlibexecdir="${libdir}/pulse-${PA_MAJORMINOR}/modules"])
|
||||
|
||||
AC_SUBST(modlibexecdir)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ Name: libpulse-browse
|
|||
Description: PulseAudio Network Browsing Interface
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpulse-browse @PTHREAD_LIBS@
|
||||
Libs.private: -lpulsecommon-@PA_MAJORMINORMICRO@
|
||||
Libs.private: -lpulsecommon-@PA_MAJORMINOR@
|
||||
Cflags: -I${includedir} -D_REENTRANT
|
||||
Requires: libpulse
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ Name: libpulse-mainloop-glib
|
|||
Description: PulseAudio GLib 2.0 Main Loop Wrapper
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpulse-mainloop-glib @PTHREAD_LIBS@
|
||||
Libs.private: -lpulsecommon-@PA_MAJORMINORMICRO@
|
||||
Libs.private: -lpulsecommon-@PA_MAJORMINOR@
|
||||
Cflags: -I${includedir} -D_REENTRANT
|
||||
Requires: libpulse glib-2.0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ Name: libpulse-simple
|
|||
Description: PulseAudio Simplified Synchronous Client Interface
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpulse-simple @PTHREAD_LIBS@
|
||||
Libs.private: -lpulsecommon-@PA_MAJORMINORMICRO@
|
||||
Libs.private: -lpulsecommon-@PA_MAJORMINOR@
|
||||
Cflags: -I${includedir} -D_REENTRANT
|
||||
Requires: libpulse
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@ Name: libpulse
|
|||
Description: PulseAudio Client Interface
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpulse @PTHREAD_LIBS@
|
||||
Libs.private: -lpulsecommon-@PA_MAJORMINORMICRO@
|
||||
Libs.private: -lpulsecommon-@PA_MAJORMINOR@
|
||||
Cflags: -I${includedir} -D_REENTRANT
|
||||
|
|
|
|||
360
src/Makefile.am
360
src/Makefile.am
File diff suppressed because it is too large
Load diff
|
|
@ -57,8 +57,8 @@ const char* pa_get_library_version(void);
|
|||
/** The minor version of PA. \since 0.9.15 */
|
||||
#define PA_MINOR @PA_MINOR@
|
||||
|
||||
/** The micro version of PA. \since 0.9.15 */
|
||||
#define PA_MICRO @PA_MICRO@
|
||||
/** The micro version of PA (will always be 0 from v1.0 onwards). \since 0.9.15 */
|
||||
#define PA_MICRO 0
|
||||
|
||||
/** Evaluates to TRUE if the PulseAudio library version is equal or
|
||||
* newer than the specified. \since 0.9.16 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue