build: bump the version number for a new release

Also fix and document the versioning with meson.

Related #149

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Lepton Wu <lepton@chromium.org>
macos/master
Gert Wollny 5 years ago
parent debb6e6ac4
commit 471185e46d
  1. 2
      configure.ac
  2. 12
      meson.build
  3. 2
      src/Makefile.am
  4. 4
      src/meson.build

@ -2,7 +2,7 @@ dnl Process this file with autoconf to create configure.
AC_PREREQ([2.60])
AC_INIT([virglrenderer], [0.8.0],
AC_INIT([virglrenderer], [0.8.1],
[virglrenderer-devel@lists.freedesktop.org])
AC_ARG_ENABLE(autotools,

@ -30,9 +30,17 @@ project(
'warning_level=3', 'c_std=gnu11']
)
# To change only before doing a release:
#
# 1. Incrememnt the revision
# 2. If the interface was changed in an compatible way increment the
# interface age
# 3. If the ABI has changed in an incompatible way increment the binary_age
# and set revision and interface_age to zero
binary_age = 1
revision = 4
interface_age = 0
interface_age = 4
revision = 1
cc = meson.get_compiler('c')

@ -57,7 +57,7 @@ endif
lib_LTLIBRARIES = libvirglrenderer.la
noinst_LTLIBRARIES = libvrend.la
GM_LDFLAGS = -Wl,-Bsymbolic -version-number 1:4:0 -no-undefined
GM_LDFLAGS = -Wl,-Bsymbolic -version-number 1:4:1 -no-undefined
libvirglrenderer_la_SOURCES = virglrenderer.c
libvirglrenderer_ladir = $(libdir)

@ -84,8 +84,8 @@ libvirglrenderer = shared_library(
include_directories: [inc_gallium, inc_configuration],
dependencies : virglrenderer_depends,
version : binary_age.to_string() + '.'
+ revision.to_string() + '.'
+ interface_age.to_string(),
+ interface_age.to_string() + '.'
+ revision.to_string(),
install : true
)

Loading…
Cancel
Save