summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-01-04 15:42:07 +0100
committerBastien Nocera <hadess@hadess.net>2022-01-04 16:13:37 +0100
commite2bdd3e255475698e0e5314d7e09fff0c9b78398 (patch)
tree41bd6a304dc863b8127390344075f1e70ab36d1e
parenta0ca62868df8b9176ea3455b96b3bc4ebdb3860c (diff)
downloadgnome-bluetooth-e2bdd3e255475698e0e5314d7e09fff0c9b78398.tar.gz
build: Bump API version to 3.0
To match the software's version number too.
-rw-r--r--.gitlab-ci.yml6
-rw-r--r--meson.build2
-rwxr-xr-xtests/integration-test2
3 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6aab166c..e4cda86b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,9 +41,9 @@ build_stable:
- ninja -C _build test
- .ci/fail_skipped_tests.py _build/meson-logs/testlog.junit.xml
- ninja -C _build dist
- - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
- - dnf install -y $DEPENDENCIES_ABI_CHECK
- - check-abi --suppr .ci/gbt.suppr ${LAST_ABI_BREAK} $(git rev-parse HEAD)
+ # - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
+ # - dnf install -y $DEPENDENCIES_ABI_CHECK
+ # - check-abi --suppr .ci/gbt.suppr ${LAST_ABI_BREAK} $(git rev-parse HEAD)
artifacts:
when: always
paths:
diff --git a/meson.build b/meson.build
index b7fd1e04..58bc869e 100644
--- a/meson.build
+++ b/meson.build
@@ -10,7 +10,7 @@ gnomebt_version = meson.project_version()
version_array = gnomebt_version.split('.')
gnomebt_major_version = version_array[0].to_int()
-gnomebt_api_version = '2.0'
+gnomebt_api_version = '3.0'
gnomebt_api_name = '@0@-@1@'.format(meson.project_name(), gnomebt_api_version)
gnomebt_gir_ns = 'GnomeBluetooth'
diff --git a/tests/integration-test b/tests/integration-test
index 4a2adeca..97c0182e 100755
--- a/tests/integration-test
+++ b/tests/integration-test
@@ -42,7 +42,7 @@ try:
GIRepository.Repository.prepend_library_path(builddir + '/lib/')
GIRepository.Repository.prepend_search_path(builddir + '/lib/')
- gi.require_version('GnomeBluetoothPriv', '2.0')
+ gi.require_version('GnomeBluetoothPriv', '3.0')
from gi.repository import GnomeBluetoothPriv
except ImportError as e:
sys.stderr.write('Could not find GnomeBluetoothPriv gobject-introspection data in the build dir: %s\n' % str(e))