From c17f111d530fcc25195d4b6fbcf05a6880948a4a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 3 Jun 2011 13:15:02 +0000 Subject: [PATCH] [packages] mocp (#9419) - make libmad depend on PATENTED flag - use wide ncurses for proper utf-8 handling - add missing deps - remove extraneous deps SVN-Revision: 27098 --- multimedia/mocp/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multimedia/mocp/Makefile b/multimedia/mocp/Makefile index 582b6495b2..a95a64d192 100644 --- a/multimedia/mocp/Makefile +++ b/multimedia/mocp/Makefile @@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=moc PKG_VERSION:=2.4.4 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=ftp://ftp.daper.net/pub/soft/moc/stable/ @@ -24,7 +25,7 @@ include $(INCLUDE_DIR)/nls.mk define Package/moc SECTION:=sound CATEGORY:=Sound - DEPENDS:=+librt +libltdl +libcurl +libflac +libmad +libvorbis +libncurses +libid3tag $(ICONV_DEPENDS) + DEPENDS:=+libcurl +BUILD_PATENTED:libmad +libvorbis $(ICONV_DEPENDS) +alsa-utils +libid3tag +libflac +libsamplerate +PACKAGE_libncursesw:libncursesw +!PACKAGE_libncursesw:libncurses +libffmpeg TITLE:=Music On Console endef @@ -34,6 +35,7 @@ endef define Build/Configure $(call Build/Configure/Default, \ + $(if $(CONFIG_BUILD_PATENTED),,--without-mp3) \ --enable-shared \ --disable-static \ --disable-debug \ -- 2.30.2