diff options
Diffstat (limited to 'homebrew/ncmpc/.beer')
-rw-r--r-- | homebrew/ncmpc/.beer | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/homebrew/ncmpc/.beer b/homebrew/ncmpc/.beer new file mode 100644 index 000000000..5908c1ca1 --- /dev/null +++ b/homebrew/ncmpc/.beer @@ -0,0 +1,56 @@ +{ + "name": "Ncmpc", + "description": "Curses Music Player Daemon (MPD) client", + "url": "https://www.musicpd.org/download/ncmpc/0/ncmpc-0.30.tar.xz", + "mirror": null, + "homepage": "https://www.musicpd.org/clients/ncmpc/", + "depends": [ + { + "depend": "meson", + "build-depend": true + }, + { + "depend": "ninja", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "gcc", + "build-depend": false + }, + { + "depend": "gettext", + "build-depend": false + }, + { + "depend": "glib", + "build-depend": false + }, + { + "depend": "libmpdclient", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "sdk = MacOS.sdk_path_if_needed ? MacOS.sdk_path : \"\"", + "(buildpath/\"ncurses.pc\").write <<~EOS", + "Name: ncurses", + "Description: ncurses", + "Version: 5.4", + "Libs: -L/usr/lib -lncurses", + "Cflags: -I#{sdk}/usr/include", + "EOS", + "ENV.prepend_path \"PKG_CONFIG_PATH\", buildpath", + "mkdir \"build\" do", + "system \"meson\", \"--prefix=#{prefix}\", \"..\"", + "system \"ninja\", \"install\"" + ], + "version": "0.30", + "file": "ncmpc.rb" +}
\ No newline at end of file |