From: Michael Tremer Date: Sat, 30 Apr 2011 22:56:01 +0000 (+0200) Subject: directfb: Fix build and cleanup makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d9e788a758629ddd1e3430efab63eebc2111402;p=ipfire-3.x.git directfb: Fix build and cleanup makefile. --- diff --git a/pkgs/directfb/directfb.nm b/pkgs/directfb/directfb.nm index 4db258b5e..df622760e 100644 --- a/pkgs/directfb/directfb.nm +++ b/pkgs/directfb/directfb.nm @@ -18,15 +18,11 @@ # # ############################################################################### -############################################################################### -# Definitions -############################################################################### - include $(PKGROOT)/Include PKG_NAME = DirectFB PKG_VER = 1.4.1 -PKG_REL = 0 +PKG_REL = 2 PKG_MAINTAINER = PKG_GROUPS = System/Graphics @@ -34,7 +30,8 @@ PKG_URL = http://www.directfb.org/ PKG_LICENSE = LGPLv2+ PKG_SUMMARY = Graphics abstraction library for the Linux Framebuffer Device. -PKG_BUILD_DEPS+= freetype-devel libjpeg-devel perl sysfsutils-devel zlib-devel +PKG_BUILD_DEPS+= freetype-devel libjpeg-devel libVNCServer-devel perl \ + sysfsutils-devel zlib-devel define PKG_DESCRIPTION DirectFB is a thin library that provides hardware graphics acceleration, \ @@ -47,23 +44,12 @@ PKG_TARBALL = $(THISAPP).tar.gz PKG_PACKAGES += $(PKG_NAME_REAL)-devel -# XXX Needs a double check -ifneq "$(TARGET)" "i686" -ifneq "$(TARGET)" "i586" -ifneq "$(TARGET)" "i486" - CONFIGURE_ARGS = --disable-mmx --disable-sse -endif -endif -endif - CONFIGURE_OPTIONS += \ --disable-x11 \ --enable-sdl \ --enable-video4linux2 \ --enable-libv412 \ --enable-zlib \ - $(CONFIGURE_ARGS) - -define STAGE_INSTALL_CMDS - find $(BUILDROOT)/usr/lib/directfb*/ -name "*.la" -exec rm -vf {} \; -endef + --with-dither-rgb16=advanced \ + --disable-mmx \ + --disable-sse