summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-01-28 11:27:45 +0100
committerGitHub <[email protected]>2026-01-28 11:27:45 +0100
commitcfece77a4475f2792b49b47c3d75d895d127d12a (patch)
tree4216c0aa4b7e70673b733fb2e8f4f5c65dbc35e5 /configure.ac
parent909bd7ba67b11ff18d0eb88b837fb9a98436b8e1 (diff)
parent034677b0c5bf9b37c22a6d2d52f8761c2364857d (diff)
downloadeom-dependabot/github_actions/actions/checkout-6.tar.bz2
eom-dependabot/github_actions/actions/checkout-6.tar.xz
Merge branch 'master' into dependabot/github_actions/actions/checkout-6dependabot/github_actions/actions/checkout-6
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 62dc453..fb5b4be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ AC_CONFIG_MACRO_DIR([m4])
m4_define(eom_major_version, 1)
m4_define(eom_minor_version, 28)
-m4_define(eom_micro_version, 0)
+m4_define(eom_micro_version, 1)
m4_define(eom_version, eom_major_version.eom_minor_version.eom_micro_version)
AC_INIT([eom], eom_version, https://github.com/mate-desktop/eom/issues, [eom], [https://mate-desktop.org])
@@ -116,6 +116,18 @@ GOBJECT_INTROSPECTION_CHECK([0.9.3])
if test "$found_introspection" = "yes"; then
have_introspection=yes
AC_DEFINE([HAVE_INTROSPECTION], [1], [Define to enable GObject Introspection])
+
+ # Check for girepository-2.0 API (moved to glib in version 1.80+)
+ # We can only use girepository-2.0 if libpeas also uses it, otherwise we get conflicts
+ PKG_CHECK_EXISTS([girepository-2.0], [
+ # Check if libpeas requires girepository-2.0
+ if pkg-config --print-requires libpeas-1.0 | grep -q "girepository-2.0"; then
+ AC_DEFINE([HAVE_GIREPOSITORY_2], [1], [Using girepository-2.0 API])
+ have_girepository_2=yes
+ else
+ have_girepository_2=no
+ fi
+ ], [have_girepository_2=no])
else
have_introspection=no
fi
@@ -429,6 +441,7 @@ Configure summary:
RSVG support ...............: ${have_rsvg}
Colour management support ..: ${have_lcms}
GObject Introspection.......: ${have_introspection}
+ GIRepository 2.0............: ${have_girepository_2:-no}
Native Language support.....: ${USE_NLS}
Thumbnailer.................: ${eom_thumbnailer}
"