]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
meson: infer library soname for .pc file
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 16 Mar 2022 00:03:48 +0000 (09:03 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 16 Mar 2022 00:03:48 +0000 (09:03 +0900)
In meson build, the pkgconfig module automatically infers soname from
given object. Let's use it.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
meson.build
src/ctl/meson.build
src/hwdep/meson.build
src/rawmidi/meson.build
src/seq/meson.build
src/timer/meson.build

index 631dcec598bb092320038d402abe3de94b039e92..27fc45aa85a509327b9162dc04d48081181429f3 100644 (file)
@@ -1,6 +1,7 @@
 project('alsa-gobject', 'c',
   version: '0.2.2',
   license: 'LGPL-3',
+  meson_version: '>= 0.47.0',
 )
 
 gnome = import('gnome')
index 9a3a45c99e00c0038ced1e8d5687e6a8f18af86e..4a7606fa691993255930bf23948d5a93a42bc9ce 100644 (file)
@@ -96,8 +96,7 @@ install_headers(headers,
 # Generate pkg-config file for development.
 pkg = import('pkgconfig')
 pkg.generate(library,
-  name: name,
-  description: 'GObject instrospection library with API for asound.h and asequencer.h',
+  description: 'GObject instrospection library for control interface in asound.h',
   subdirs: meson.project_name(),
 )
 
index 0e25cd208681f418f9b3f3c5e2f710a79ecd8d67..582b1a20e02b4bc440bd1007ac54d43ba1972e0e 100644 (file)
@@ -88,8 +88,7 @@ install_headers(headers,
 # Generate pkg-config file for development.
 pkg = import('pkgconfig')
 pkg.generate(library,
-  name: name,
-  description: 'GObject instrospection library with API for asound.h and asequencer.h',
+  description: 'GObject instrospection library for HwDep interface in asound.h',
   subdirs: meson.project_name(),
 )
 
index e4d2ff29c84542973005fe08fe71d6faf37b6a90..878b6b2bfe9d5731b96b8b543b5dc3e7ab9ab1f1 100644 (file)
@@ -94,8 +94,7 @@ install_headers(headers,
 # Generate pkg-config file for development.
 pkg = import('pkgconfig')
 pkg.generate(library,
-  name: name,
-  description: 'GObject instrospection library with API for asound.h and asequencer.h',
+  description: 'GObject instrospection library for RawMidi interface in asound.h',
   subdirs: meson.project_name(),
 )
 
index 29cfd6be051c78994c9bedf12c9f2222af7849cc..e0777a7091902ee5fa631ea5a74d6c8e52318769 100644 (file)
@@ -127,8 +127,7 @@ install_headers(headers,
 # Generate pkg-config file for development.
 pkg = import('pkgconfig')
 pkg.generate(library,
-  name: name,
-  description: 'GObject instrospection library with API for asound.h and asequencer.h',
+  description: 'GObject instrospection library for sequencer interface in asequencer.h',
   subdirs: meson.project_name(),
 )
 
index 62cfd08ada9d3ef8b22f7aff15cfad025ef3aa4a..984bf194b14bec94ef67f9b9903ddee53db38f00 100644 (file)
@@ -108,8 +108,7 @@ install_headers(headers,
 # Generate pkg-config file for development.
 pkg = import('pkgconfig')
 pkg.generate(library,
-  name: name,
-  description: 'GObject instrospection library with API for asound.h and asequencer.h',
+  description: 'GObject instrospection library for timer interface in asound.h',
   subdirs: meson.project_name(),
 )