[libgudev/wip/hadess/fix-package-name: 1/2] build: Fix package name to match autotools release




commit a4b2deb58f7a417c1db39055aa9d8ef2522805f2
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Mar 16 13:10:40 2021 +0100

    build: Fix package name to match autotools release
    
    In the meson port, the package name was changed from 'libgudev' to
    'gudev'. Rename the meson project, and fix the 'package_name' to match
    the short name to avoid 'liblibgudev' names.
    
    Fixes: 334f31b3cf0837ffb2298f498686905e8ba14f7b

 docs/meson.build | 2 +-
 meson.build      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/meson.build b/docs/meson.build
index b61b607..7d42e48 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -49,6 +49,6 @@ gnome.gtkdoc(
   install_dir: join_paths(
     gtkdocdir,
     'html',
-    package_string,
+    package_name,
   )
 )
\ No newline at end of file
diff --git a/meson.build b/meson.build
index 43bcd09..0a284ce 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('gudev', 'c',
+project('libgudev', 'c',
   version: '235',
   license: 'LGPLv2.1+',
   meson_version: '>= 0.53.0',
@@ -15,7 +15,7 @@ api_version = '1.0'
 lib_version = '0.3.0'
 version = meson.project_version()
 
-package_name = meson.project_name()
+package_name = 'gudev'
 package_string = '@0@-@1@'.format(package_name, api_version)
 
 # Paths


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