diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-10-15 00:25:48 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-10-15 00:25:48 +0100 |
commit | cc16bdfe59b06fdd7288c2e65fdca5295f2c725a (patch) | |
tree | a87241c52a2de1ea1c5bbc77e0e5e06524dc38d8 | |
parent | a1db116ebe1372e8534c44cca1750cc13844fdb1 (diff) | |
download | libgweather-cc16bdfe59b06fdd7288c2e65fdca5295f2c725a.tar.gz |
build: Move pkgconfig file generation near the library
There's no point in having it at the bottom of the meson.build file in
the top-level directory.
-rw-r--r-- | libgweather/meson.build | 16 | ||||
-rw-r--r-- | meson.build | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/libgweather/meson.build b/libgweather/meson.build index 944c08e..3c649e5 100644 --- a/libgweather/meson.build +++ b/libgweather/meson.build @@ -227,5 +227,21 @@ if build_vapi and build_gir ) endif +pkgconfig.generate( + filebase: 'gweather-' + libgweather_api_version, + name: 'GWeather', + description: 'GWeather shared library', + version: meson.project_version(), + libraries: lib_libgweather, + subdirs: libgweather_full_version, + requires_private: [ + 'gio-2.0', + 'gdk-pixbuf-2.0', + 'libsoup-2.4', + 'libxml-2.0', + 'geocode-glib-1.0', + ], +) + subdir('tests') subdir('tools') diff --git a/meson.build b/meson.build index b1d7c0c..45dcf62 100644 --- a/meson.build +++ b/meson.build @@ -55,22 +55,6 @@ subdir('po-locations') meson.add_install_script('build-aux/meson/meson_post_install.py') -pkgconfig.generate( - filebase: 'gweather-' + libgweather_api_version, - name: 'GWeather', - description: 'GWeather shared library', - version: meson.project_version(), - libraries: lib_libgweather, - subdirs: libgweather_full_version, - requires_private: [ - 'gio-2.0', - 'gdk-pixbuf-2.0', - 'libsoup-2.4', - 'libxml-2.0', - 'geocode-glib-1.0', - ], -) - summary({ 'prefix': prefix, 'libdir': libdir, |