mpd-mpc: new package
authorThierry Bultel <tbultel@free.fr>
Fri, 12 Dec 2014 21:24:39 +0000 (22:24 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 2 Jan 2015 16:05:31 +0000 (17:05 +0100)
[Thomas:
 - Changed hash file to use SHA256
 - Remove libiconv handling, since the iconv detection in mpc is
   broken: if it's not available in the C library, it expects to find
   iconv() in libintl (from gettext). But it's actually libiconv that
   provides iconv() for non-locale capable uClibc toolchains. But
   since anyway the package builds fine without iconv() support and
   properly detects when it's available, don't bother with this.]

Signed-off-by: Thierry Bultel <tbultel@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/mpd-mpc/Config.in [new file with mode: 0644]
package/mpd-mpc/mpd-mpc.hash [new file with mode: 0644]
package/mpd-mpc/mpd-mpc.mk [new file with mode: 0644]

index 2def872072c0266c66c93d85576b7ebf5b494388..1abcaa877401fde820a35dac5c21e0b9f94013d3 100644 (file)
@@ -20,6 +20,7 @@ menu "Audio and video applications"
        source "package/madplay/Config.in"
        source "package/modplugtools/Config.in"
        source "package/mpd/Config.in"
+       source "package/mpd-mpc/Config.in"
        source "package/mpg123/Config.in"
        source "package/mplayer/Config.in"
        source "package/musepack/Config.in"
diff --git a/package/mpd-mpc/Config.in b/package/mpd-mpc/Config.in
new file mode 100644 (file)
index 0000000..1debc83
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_MPD_MPC
+       bool "mpd-mpc"
+       select BR2_PACKAGE_LIBMPDCLIENT
+       help
+         A minimalist command line interface to MPD.
+
+         http://www.musicpd.org/clients/mpc/
diff --git a/package/mpd-mpc/mpd-mpc.hash b/package/mpd-mpc/mpd-mpc.hash
new file mode 100644 (file)
index 0000000..4f348d5
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 20735f7173cce56bec50c1d8b4633751052dc68365b29a6113206dc1cdc6e242 mpc-0.26.tar.xz
diff --git a/package/mpd-mpc/mpd-mpc.mk b/package/mpd-mpc/mpd-mpc.mk
new file mode 100644 (file)
index 0000000..4e08c65
--- /dev/null
@@ -0,0 +1,16 @@
+################################################################################
+#
+# mpd-mpc
+#
+################################################################################
+
+MPD_MPC_VERSION_MAJOR = 0
+MPD_MPC_VERSION = $(MPD_MPC_VERSION_MAJOR).26
+MPD_MPC_SITE = http://www.musicpd.org/download/mpc/$(MPD_MPC_VERSION_MAJOR)
+MPD_MPC_SOURCE = mpc-$(MPD_MPC_VERSION).tar.xz
+MPD_MPC_LICENSE = GPLv2+
+MPD_MPC_LICENSE_FILES = COPYING
+MPD_MPC_DEPENDENCIES = host-pkgconf libmpdclient
+MPD_MPC_CONF_ENV = ac_cv_prog_cc_c99='-std=c99'
+
+$(eval $(autotools-package))