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.

49 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.32
  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:=7961d95b7ce019996beab281cf957e905667c989c53fffd13ade5e62fea331c7
  12. PKG_LICENSE:=GPL-2.0-or-later
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  15. PKG_BUILD_DEPENDS:=meson/host
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../../devel/meson/meson.mk
  19. MESON_ARGS+=-Diconv=disabled -Ddocumentation=disabled
  20. define Package/mpc
  21. SECTION:=sound
  22. CATEGORY:=Sound
  23. DEPENDS:=+libmpdclient
  24. TITLE:=Music Player Daemon Console Client
  25. URL:=http://www.musicpd.org/
  26. endef
  27. define Package/mpc/description
  28. MPD is a music player supporting flac, mp3 and ogg files.
  29. It is typically controlled over a network using one of it's many
  30. clients including mpc(console), gmpc(gnome), phpmp(php) etc.
  31. this is MPC
  32. endef
  33. define Package/mpc/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mpc $(1)/usr/bin/
  36. $(INSTALL_BIN) ./files/pls-handler.sh $(1)/usr/bin/
  37. endef
  38. $(eval $(call BuildPackage,mpc))