[oe] [PATCH 2/2] ncmpc: add various PACKAGECONFIGs

Max Kellermann max+openembedded at blarg.de
Fri Oct 5 17:01:08 UTC 2018


From: Max Kellermann <max.kellermann at gmail.com>

Signed-off-by: Max Kellermann <max.kellermann at 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




More information about the Openembedded-devel mailing list