2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
13 PKG_SOURCE_URL
:=https
://www.musicpd.org
/download
/mpc
/0
14 PKG_HASH
:=7961d95b7ce019996beab281cf957e905667c989c53fffd13ade5e62fea331c7
16 PKG_LICENSE
:=GPL-2.0
-or-later
17 PKG_LICENSE_FILES
:=COPYING
18 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
20 PKG_BUILD_DEPENDS
:=meson
/host
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/..
/devel
/meson
/meson.mk
26 MESON_ARGS
+=-Diconv
=disabled
-Ddocumentation
=disabled
31 DEPENDS
:=+libmpdclient
32 TITLE
:=Music Player Daemon Console Client
33 URL
:=http
://www.musicpd.org
/
36 define Package
/mpc
/description
37 MPD is a music player supporting flac
, mp3 and ogg files.
38 It is typically controlled over a network using one of it
's many
39 clients including mpc(console), gmpc(gnome), phpmp(php) etc.
43 define Package/mpc/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mpc $(1)/usr/bin/
46 $(INSTALL_BIN) ./files/pls-handler.sh $(1)/usr/bin/
49 $(eval $(call BuildPackage,mpc))