From fd7648e96f857074359d7017c5120b0a55436d90 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 20 Dec 2023 17:19:03 +0100 Subject: [PATCH] subprojects: add libmpdclient wrap --- meson.build | 4 ++++ subprojects/.gitignore | 1 + subprojects/libmpdclient.wrap | 6 ++++++ 3 files changed, 11 insertions(+) create mode 100644 subprojects/.gitignore create mode 100644 subprojects/libmpdclient.wrap diff --git a/meson.build b/meson.build index 3f993fe2..1e60f041 100644 --- a/meson.build +++ b/meson.build @@ -4,6 +4,10 @@ project('ncmpc', 'cpp', default_options: [ 'cpp_std=c++2a', 'warning_level=3', + + # If we build libmpdclient, it should be linked statically into + # our executable. + 'libmpdclient:default_library=static', ], license: 'GPLv2+', ) diff --git a/subprojects/.gitignore b/subprojects/.gitignore new file mode 100644 index 00000000..f6c4ee43 --- /dev/null +++ b/subprojects/.gitignore @@ -0,0 +1 @@ +/libmpdclient/ diff --git a/subprojects/libmpdclient.wrap b/subprojects/libmpdclient.wrap new file mode 100644 index 00000000..002c0032 --- /dev/null +++ b/subprojects/libmpdclient.wrap @@ -0,0 +1,6 @@ +[wrap-git] +url = https://github.com/MusicPlayerDaemon/libmpdclient +revision = v2.21 + +[provide] +libmpdclient = libmpdclient_dep