diff options
Diffstat (limited to 'package/DirectFB')
-rw-r--r-- | package/DirectFB/Makefile | 11 | ||||
-rw-r--r-- | package/DirectFB/patches/patch-configure | 11 | ||||
-rw-r--r-- | package/DirectFB/patches/patch-ltmain_sh | 11 |
3 files changed, 26 insertions, 7 deletions
diff --git a/package/DirectFB/Makefile b/package/DirectFB/Makefile index 45dc3e13f..3f2b8297b 100644 --- a/package/DirectFB/Makefile +++ b/package/DirectFB/Makefile @@ -5,13 +5,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:= DirectFB PKG_VERSION:= 1.4.11 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_EXTRAVER:= 1.4-5 PKG_MD5SUM:= 94735ccec21120794adcce93a61445d2 PKG_DESCR:= Thin graphic library for the Linux framebuffer devices PKG_SECTION:= libs PKG_DEPENDS:= libpng libjpeg -PKG_BUILDDEP:= libpng jpeg +PKG_BUILDDEP:= libpng jpeg freetype PKG_URL:= http://www.directfb.org/ PKG_SITES:= http://directfb.org/downloads/Core/DirectFB-1.4/ @@ -26,6 +26,7 @@ $(eval $(call PKG_template,DIRECTFB_DEV,directfb-dev,$(PKG_VERSION)-${PKG_RELEAS CONFIGURE_ARGS+= --with-inputdrivers=linuxinput,keyboard,ps2mouse \ --with-gfxdrivers=none \ + --without-tools \ --enable-fbdev \ --disable-sdl \ --disable-osx \ @@ -43,11 +44,7 @@ ifeq (${ADK_TARGET_SYSTEM_LEMOTE_YEELONG},y) XAKE_FLAGS+= LDEMULATION=elf64ltsmip endif -SUB_INSTALLS-y:= -SUB_INSTALLS-m:= -SUB_INSTALLS-${ADK_PACKAGE_DIRECTFB_DEV}+= directfb-dev-install - -post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y} +post-install: ${INSTALL_DIR} ${IDIR_DIRECTFB}/etc ${INSTALL_DATA} ./files/directfbrc ${IDIR_DIRECTFB}/etc/ $(INSTALL_DIR) $(IDIR_DIRECTFB)/usr/lib/directfb-${PKG_EXTRAVER}/{inputdrivers,systems,wm} diff --git a/package/DirectFB/patches/patch-configure b/package/DirectFB/patches/patch-configure new file mode 100644 index 000000000..86831102d --- /dev/null +++ b/package/DirectFB/patches/patch-configure @@ -0,0 +1,11 @@ +--- DirectFB-1.4.11.orig/configure 2010-11-15 22:35:38.000000000 +0100 ++++ DirectFB-1.4.11/configure 2011-01-08 11:46:41.000000000 +0100 +@@ -16257,7 +16257,7 @@ if test x"$CFLAGS" = x"-g -O2"; then + CFLAGS= + fi + +-CFLAGS="-O3 -ffast-math -pipe $CFLAGS" ++CFLAGS="-ffast-math -pipe $CFLAGS" + + DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS" + diff --git a/package/DirectFB/patches/patch-ltmain_sh b/package/DirectFB/patches/patch-ltmain_sh new file mode 100644 index 000000000..cd25bbd95 --- /dev/null +++ b/package/DirectFB/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- DirectFB-1.4.11.orig/ltmain.sh 2010-11-03 11:14:45.000000000 +0100 ++++ DirectFB-1.4.11/ltmain.sh 2011-01-14 00:24:52.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" |