You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB

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