ncmpc: new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 7 Jul 2014 19:53:04 +0000 (16:53 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Jul 2014 05:49:45 +0000 (07:49 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/ncmpc/Config.in [new file with mode: 0644]
package/ncmpc/ncmpc.mk [new file with mode: 0644]

index 9beab7aab861154d1f206c205c90c158f1f11a62..8e1c3913cba07b46f11d19ed0c5cd464be8f14b8 100644 (file)
@@ -20,6 +20,7 @@ menu "Audio and video applications"
        source "package/mpg123/Config.in"
        source "package/mplayer/Config.in"
        source "package/musepack/Config.in"
+       source "package/ncmpc/Config.in"
        source "package/on2-8170-libs/Config.in"
        source "package/opus-tools/Config.in"
        source "package/pulseaudio/Config.in"
diff --git a/package/ncmpc/Config.in b/package/ncmpc/Config.in
new file mode 100644 (file)
index 0000000..324d8f7
--- /dev/null
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_NCMPC
+       bool "ncmpc"
+       depends on BR2_USE_MMU # fork()
+       depends on BR2_USE_WCHAR # libglib2 -> gettext
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_LIBMPDCLIENT
+       select BR2_PACKAGE_NCURSES
+       help
+         ncmpc is a fully featured MPD client, which runs in a terminal
+         (using ncurses). Its goal is to provide a keyboard oriented
+         and consistent interface to MPD, without wasting resources.
+
+         http://www.musicpd.org/clients/ncmpc/
+
+comment "ncmpc needs a toolchain w/ wchar, threads"
+       depends on BR2_USE_MMU
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/ncmpc/ncmpc.mk b/package/ncmpc/ncmpc.mk
new file mode 100644 (file)
index 0000000..21ac0ae
--- /dev/null
@@ -0,0 +1,15 @@
+################################################################################
+#
+# ncmpc
+#
+################################################################################
+
+NCMPC_VERSION_MAJOR = 0
+NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).21
+NCMPC_SOURCE = ncmpc-$(NCMPC_VERSION).tar.gz
+NCMPC_SITE = http://www.musicpd.org/download/ncmpc/$(NCMPC_VERSION_MAJOR)
+NCMPC_DEPENDENCIES = host-pkgconf libglib2 libmpdclient ncurses
+NCMPC_LICENSE = GPLv2+
+NCMPC_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))