Commit e811c476 authored by Janne Grunau's avatar Janne Grunau

bump version to 0.2.0 and soname to 1.0.0

The soname bump is required due to API changes since the 0.1.0 release.
Fixes #247.
parent 9cb94d29
Pipeline #5028 failed with stages
in 7 minutes and 5 seconds
......@@ -23,14 +23,15 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
project('dav1d', ['c'],
version: '0.1.1',
version: '0.2.0',
default_options: ['c_std=c99',
'warning_level=2',
'buildtype=release',
'b_ndebug=if-release'],
meson_version: '>= 0.47.0')
dav1d_version_array = meson.project_version().split('.')
david_soname_version = '1.0.0'
dav1d_version_array = david_soname_version.split('.')
dav1d_version_major = dav1d_version_array[0]
dav1d_version_minor = dav1d_version_array[1]
dav1d_version_revision = dav1d_version_array[2]
......
......@@ -143,11 +143,12 @@ endif
#
if host_machine.system() == 'windows' and get_option('default_library') != 'static'
rc_version_array = meson.project_version().split('.')
winmod = import('windows')
rc_data = configuration_data()
rc_data.set('VERSION_MAJOR', dav1d_version_major)
rc_data.set('VERSION_MINOR', dav1d_version_minor)
rc_data.set('VERSION_REVISION', dav1d_version_revision)
rc_data.set('VERSION_MAJOR', rc_version_array[0])
rc_data.set('VERSION_MINOR', rc_version_array[1])
rc_data.set('VERSION_REVISION', rc_version_array[2])
rc_data.set('VERSION_EXTRA', '0')
rc_data.set('COPYRIGHT_YEARS', '2018')
......@@ -219,7 +220,7 @@ libdav1d = library('dav1d',
thread_compat_dep,
],
c_args : [stackalign_flag],
version : meson.project_version(),
version : david_soname_version,
soversion : dav1d_soversion,
install : true,
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment