From ff6f45b68a15c4bf33ab401e4864205e2a57a066 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@uclibc-ng.org>
Date: Sun, 15 Nov 2015 10:11:45 +0100
Subject: add new ADK Symbol PKG_NEEDS

There are a lot of packages which needs special features either
toolchain or hardware features. Add a new symbol which will be
used to disable packages, when a toolchain for example does
not provide this feature.

At the moment following features are required to set for a
package: threads rt c++.

There will follow: mmu iconv.

This will help to better support targets without MMU or
threading support.
---
 package/mplayer/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'package/mplayer')

diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 4bc89910c..301cad9b7 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -10,12 +10,13 @@ PKG_HASH:=		ffe7f6f10adf2920707e8d6c04f0d3ed34c307efc6cd90ac46593ee8fba2e2b6
 PKG_DESCR:=		popular video player
 PKG_SECTION:=		mm/video
 PKG_DEPENDS:=		alsa-lib libjpeg-turbo libfaad2 libmad libncurses
-PKG_DEPENDS+=		libogg libpng libpthread libvorbis giflib
+PKG_DEPENDS+=		libogg libpng libvorbis giflib
 PKG_DEPENDS+=		libx11 libxau libxdmcp libxext libxv zlib
 PKG_DEPENDS+=		libxscrnsaver libtheora libxvid libvpx
 PKG_BUILDDEP:=		alsa-lib libmad libvorbis faad2 ncurses zlib
 PKG_BUILDDEP+=		libX11 libXv libpng libXext libjpeg-turbo libtheora
 PKG_BUILDDEP+=		xvidcore libvpx gettext-tiny
+PKG_NEEDS:=		threads
 PKG_URL:=		http://www.mplayerhq.hu/
 PKG_SITES:=		http://www.mplayerhq.hu/MPlayer/releases/
 
-- 
cgit v1.2.3