* [PATCH 2/2] ncmpc: add various PACKAGECONFIGs
2018-10-05 17:01 [PATCH 1/2] ncmpc: update to the 0.32 release tag Max Kellermann
@ 2018-10-05 17:01 ` Max Kellermann
0 siblings, 0 replies; 2+ messages in thread
From: Max Kellermann @ 2018-10-05 17:01 UTC (permalink / raw)
To: openembedded-devel; +Cc: Max Kellermann
From: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
---
.../recipes-multimedia/musicpd/ncmpc_0.32.bb | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.32.bb b/meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.32.bb
index bc7764424..62885bba1 100644
--- a/meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.32.bb
+++ b/meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.32.bb
@@ -6,13 +6,30 @@ HOMEPAGE = "https://www.musicpd.org/clients/ncmpc/"
inherit meson
DEPENDS += " \
- gettext-native \
boost \
pcre \
ncurses \
libmpdclient \
"
+PACKAGECONFIG ??= "colors locale mouse nls help_screen artist_screen search_screen song_screen key_screen lyrics_screen outputs_screen"
+
+PACKAGECONFIG[colors] = "-Dcolors=true,-Dcolors=false"
+PACKAGECONFIG[lirc] = "-Dlirc=true,-Dlirc=false,lirc"
+PACKAGECONFIG[locale] = "-Dlocale=true,-Dlocale=false"
+PACKAGECONFIG[mini] = "-Dmini=true,-Dmini=false"
+PACKAGECONFIG[mouse] = "-Dmouse=true,-Dmouse=false"
+PACKAGECONFIG[nls] = "-Dnls=true,-Dnls=false,gettext-native"
+
+PACKAGECONFIG[help_screen] = "-Dhelp_screen=true,-Dhelp_screen=false"
+PACKAGECONFIG[artist_screen] = "-Dartist_screen=true,-Dartist_screen=false"
+PACKAGECONFIG[search_screen] = "-Dsearch_screen=true,-Dsearch_screen=false"
+PACKAGECONFIG[song_screen] = "-Dsong_screen=true,-Dsong_screen=false"
+PACKAGECONFIG[key_screen] = "-Dkey_screen=true,-Dkey_screen=false"
+PACKAGECONFIG[lyrics_screen] = "-Dlyrics_screen=true,-Dlyrics_screen=false"
+PACKAGECONFIG[outputs_screen] = "-Doutputs_screen=true,-Doutputs_screen=false"
+PACKAGECONFIG[chat_screen] = "-Dchat_screen=true,-Dchat_screen=false"
+
SRC_URI = " \
git://github.com/MusicPlayerDaemon/ncmpc \
"
--
2.19.0
^ permalink raw reply related [flat|nested] 2+ messages in thread