mpc: update to 0.35
[feed/packages.git] / sound / mpc / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=mpc
9 PKG_VERSION:=0.35
10 PKG_RELEASE:=1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=https://www.musicpd.org/download/mpc/0
14 PKG_HASH:=382959c3bfa2765b5346232438650491b822a16607ff5699178aa1386e3878d4
15
16 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
17 PKG_LICENSE:=GPL-2.0-or-later
18 PKG_LICENSE_FILES:=COPYING
19
20 include $(INCLUDE_DIR)/package.mk
21 include $(INCLUDE_DIR)/meson.mk
22
23 MESON_ARGS+=-Diconv=disabled -Ddocumentation=disabled
24
25 define Package/mpc
26 SECTION:=sound
27 CATEGORY:=Sound
28 DEPENDS:=+libmpdclient
29 TITLE:=Music Player Daemon Console Client
30 URL:=http://www.musicpd.org/
31 endef
32
33 define Package/mpc/description
34 MPD is a music player supporting flac, mp3 and ogg files.
35 It is typically controlled over a network using one of it's many
36 clients including mpc(console), gmpc(gnome), phpmp(php) etc.
37 this is MPC
38 endef
39
40 define Package/mpc/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mpc $(1)/usr/bin/
43 $(INSTALL_BIN) ./files/pls-handler.sh $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,mpc))