git: b1d8bb077bc1 - main - audio/libmpdclient: Build and install static library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 05 Apr 2023 17:33:34 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1d8bb077bc1bdb5d9ab09a0f323c3ba1704f850

commit b1d8bb077bc1bdb5d9ab09a0f323c3ba1704f850
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:12:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:29:42 +0000

    audio/libmpdclient: Build and install static library
    
    - Bump PORTREVISION for package change
---
 audio/libmpdclient/Makefile  | 2 ++
 audio/libmpdclient/pkg-plist | 1 +
 2 files changed, 3 insertions(+)

diff --git a/audio/libmpdclient/Makefile b/audio/libmpdclient/Makefile
index 420e8dc15fe6..f24a9eff1aad 100644
--- a/audio/libmpdclient/Makefile
+++ b/audio/libmpdclient/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libmpdclient
 PORTVERSION=	2.20
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://www.musicpd.org/download/libmpdclient/2/
 
@@ -12,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		meson tar:xz
 
+MESON_ARGS=	--default-library=both
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS DOXYGEN
diff --git a/audio/libmpdclient/pkg-plist b/audio/libmpdclient/pkg-plist
index 9632ac425327..03bb7b5f37b9 100644
--- a/audio/libmpdclient/pkg-plist
+++ b/audio/libmpdclient/pkg-plist
@@ -41,6 +41,7 @@ include/mpd/status.h
 include/mpd/sticker.h
 include/mpd/tag.h
 include/mpd/version.h
+lib/libmpdclient.a
 lib/libmpdclient.so
 lib/libmpdclient.so.2
 lib/libmpdclient.so.2.20