]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Updated directfb to 1.4.1.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Aug 2009 08:43:34 +0000 (10:43 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Aug 2009 08:43:34 +0000 (10:43 +0200)
lfs/directfb

index c1322a12f0b37d16e0aed163a1d89d65d9e05d24..68d320c6cfe12522f8a2756249a1631e4326d8be 100644 (file)
@@ -25,7 +25,7 @@
 include Config
 
 PKG_NAME   = DirectFB
-PKG_VER    = 1.0.1
+PKG_VER    = 1.4.1
 PKG_REL    = 0
 
 THISAPP    = $(PKG_NAME)-$(PKG_VER)
@@ -53,6 +53,14 @@ define LONG_DESC
        Linux Framebuffer Device.
 endef
 
+ifneq "$(TARGET)" "i686"
+ifneq "$(TARGET)" "i586"
+ifneq "$(TARGET)" "i486"
+       CONFIGURE_ARGS = --disable-mmx --disable-sse
+endif
+endif
+endif
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -88,12 +96,16 @@ $(OBJECT): $(objects)
                        --prefix=/usr \
                        --disable-x11 \
                        --enable-sdl \
-                       --enable-video4linux2
+                       --enable-video4linux2 \
+                       --enable-libv412 \
+                       --enable-zlib \
+                       $(CONFIGURE_ARGS)
+
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
 
        rm -vf /usr/lib/libdirect{,fb}.la /usr/lib/libfusion.la
-       find /usr/lib/directfb-1.0-0/ -name "*.la" -exec rm -vf {} \;
+       find /usr/lib/directfb*/ -name "*.la" -exec rm -vf {} \;
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)