]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
directfb: Fix build and cleanup makefile.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Apr 2011 22:56:01 +0000 (00:56 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Apr 2011 22:56:01 +0000 (00:56 +0200)
pkgs/directfb/directfb.nm

index 4db258b5e4bd5d4cbaaa61824bd95b0a91869556..df622760ee9873e5627dc165be2f84d9ed65d90a 100644 (file)
 #                                                                             #
 ###############################################################################
 
-###############################################################################
-# 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