summaryrefslogtreecommitdiff
path: root/package/mplayer/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-22 13:46:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-22 13:46:25 +0200
commit47e110abbf0d3142d737e753833d0d6239965b2a (patch)
tree84308904e286e4ad1136dd447175eaa7ec19ae09 /package/mplayer/Makefile
parent7695ce447acb41050295fd205e14ba55c378cdd2 (diff)
fix package names and package flavour dependencies
ipkg does not allow package names with uppercase, so revert some of phil changes. dependency handling of package flavours were broken, because of a chicken and egg problem. implement a new variable (PKGFS_XXX) containing flavour dependent package dependencies.
Diffstat (limited to 'package/mplayer/Makefile')
-rw-r--r--package/mplayer/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 762994139..d05da35f5 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -14,14 +14,14 @@ PKG_DEPENDS+= libogg libpng libpthread libvorbis
PKG_DEPENDS+= libx11 libxau libxdmcp libxext libxv zlib
PKG_BUILDDEP+= alsa-lib libmad libvorbis faad2 ncurses zlib
PKG_BUILDDEP+= libX11 libXv libpng libXext
-ifeq (${ADK_PACKAGE_MPD_WITH_DIRECTFB},y)
-PKG_DEPENDS+= DirectFB
+ifeq (${ADK_PACKAGE_MPLAYER_WITH_DIRECTFB},y)
PKG_BUILDDEP+= DirectFB
endif
PKG_URL:= http://www.mplayerhq.hu
PKG_SITES:= http://openadk.org/distfiles/
PKG_FLAVOURS:= WITH_DIRECTFB
+PKGFS_WITH_DIRECTFB:= directfb
PKGFD_WITH_DIRECTFB:= enable DirectFB video output support
PKG_TARGET_DEPENDS:= alix1c x86_qemu x86_64_qemu shuttle lemote
@@ -42,7 +42,7 @@ endif
# applications build fine against DirectFB. There is also a
# related patch to allow configure to find out the DirectFB
# version number.
-ifeq (${ADK_PACKAGE_MPD_WITH_DIRECTFB},y)
+ifeq (${ADK_PACKAGE_MPLAYER_WITH_DIRECTFB},y)
TCFLAGS+= -I${STAGING_DIR}/usr/include/directfb
endif
@@ -67,10 +67,10 @@ CONFIGURE_CPU_OPTS:= \
endif
ifeq ($(ADK_DEBUG),y)
-CONFIGURE_DEBUG= --enable-debug
+CONFIGURE_DEBUG= --enable-debug --enable-crash-debug
endif
-ifeq (${ADK_PACKAGE_MPD_WITH_DIRECTFB},y)
+ifeq (${ADK_PACKAGE_MPLAYER_WITH_DIRECTFB},y)
CONFIGURE_DIRECTFB=--enable-directfb
else
CONFIGURE_DIRECTFB=--disable-directfb
@@ -126,7 +126,7 @@ pre-configure:
--disable-xinerama \
--disable-vidix \
--disable-gl \
- --extra-cflags="${EXTRA_CFLAGS}" \
+ --extra-cflags="${TCFLAGS} ${EXTRA_CFLAGS}" \
${CONFIGURE_CPU_OPTS} \
${CONFIGURE_DEBUG} \
${CONFIGURE_DIRECTFB} \