[totem/wip/hadess/fix-gi-version] build: Fix typelib and gir versioning




commit 88beef0f2f8c77b0b2dbff1756f25ed791095a3f
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 27 16:36:18 2021 +0200

    build: Fix typelib and gir versioning
    
    This '1.0' versioning isn't totem's version, but
    gobject-introspection's, so hard-code 1.0.

 src/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 7fed9f1b2..0c77d1898 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -279,8 +279,8 @@ gir_extra_args = [
   '--pkg-export=totem'
 ]
 
-gir_dir = join_paths(totem_datadir, 'gir-' + totem_api_version)
-typelib_dir = join_paths(totem_libdir, 'girepository-' + totem_api_version)
+gir_dir = join_paths(totem_datadir, 'gir-1.0')
+typelib_dir = join_paths(totem_libdir, 'girepository-1.0')
 
 libtotem_gir = gnome.generate_gir(
   libtotem,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]