aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-02-28 16:12:32 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-02-28 17:34:47 +0100
commit67f0b729a2be751f2ac95dba310faa9bc7331c3b (patch)
treec3249fe3adf899ac7948c5cacdb4293e4314a986
parent27fdf5af170bf355b6da32e11e3135e99a5e675a (diff)
downloadlibayatana-common-67f0b729a2be751f2ac95dba310faa9bc7331c3b.tar.gz
libayatana-common-67f0b729a2be751f2ac95dba310faa9bc7331c3b.tar.bz2
libayatana-common-67f0b729a2be751f2ac95dba310faa9bc7331c3b.zip
src/CMakeLists.txt: Bump SOVERSION_MINOR (due to added symbol 'ayatana_common_utils_is_ubuntutouch').
-rw-r--r--src/CMakeLists.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c7d351d..8da66c0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -19,7 +19,7 @@ set(PUBLIC_HEADERS
set_target_properties(ayatana-common
PROPERTIES
- VERSION ${API_VERSION}.0.0
+ VERSION ${API_VERSION}.1.0
SOVERSION ${ABI_VERSION}
)
@@ -33,7 +33,7 @@ install(TARGETS ayatana-common DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})
if (INTROSPECTION_FOUND)
add_custom_command(
- OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.gir"
+ OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.gir"
DEPENDS "ayatana-common"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND
@@ -41,44 +41,44 @@ if (INTROSPECTION_FOUND)
utils.c utils.h
--no-libtool
--namespace=AyatanaCommon
- --nsversion=0.0
+ --nsversion=0.1
--c-include=ayatana/common/utils.h
--quiet
--warn-all
--include=GLib-2.0
--library="ayatana-common"
--library-path=${CMAKE_CURRENT_BINARY_DIR}
- --output "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.gir"
+ --output "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.gir"
)
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.gir" DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/gir-1.0")
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.gir" DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/gir-1.0")
# AyatanaCommon.typelib
add_custom_command(
- OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.typelib"
- DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.gir"
+ OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.typelib"
+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.gir"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND
${INTROSPECTION_COMPILER}
--includedir=${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.gir
- -o "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.typelib"
+ ${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.gir
+ -o "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.typelib"
)
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.typelib" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/girepository-1.0")
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.typelib" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/girepository-1.0")
# AyatanaCommon.vapi
if (VALA_COMPILER)
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon.vapi"
- DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.typelib"
+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.typelib"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND
${VAPI_GEN}
--library=AyatanaCommon
- AyatanaCommon-0.0.gir
+ AyatanaCommon-0.1.gir
)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon.vapi" DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/vala/vapi")
@@ -87,7 +87,7 @@ if (INTROSPECTION_FOUND)
else()
- add_custom_target("src" ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.typelib")
+ add_custom_target("src" ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.1.typelib")
endif()