diff options
author | Phil Sutter <phil@nwl.cc> | 2010-06-14 01:42:40 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2010-06-20 16:24:27 +0200 |
commit | 811342f7eb50ed9fa34ef2684a0a0e8650628fd8 (patch) | |
tree | a83456a80429226122071b18284f3977b54b2abd /package/DirectFB | |
parent | 1ee28515a05409a80379bf03e8604cef1ab0f473 (diff) |
port qingy and it's dependencies DirectFB and libXScrnSaver
Diffstat (limited to 'package/DirectFB')
-rw-r--r-- | package/DirectFB/Makefile | 55 | ||||
-rw-r--r-- | package/DirectFB/files/DirectFB.conffiles | 1 | ||||
-rw-r--r-- | package/DirectFB/files/directfbrc | 4 |
3 files changed, 60 insertions, 0 deletions
diff --git a/package/DirectFB/Makefile b/package/DirectFB/Makefile new file mode 100644 index 000000000..e6da5984a --- /dev/null +++ b/package/DirectFB/Makefile @@ -0,0 +1,55 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= DirectFB +PKG_VERSION:= 1.4.3 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 223e036da906ceb4bd44708026839ff1 +PKG_DESCR:= Thin library on top of the Linux framebuffer devices +PKG_SECTION:= libs +PKG_BUILDDEP:= libpng +PKG_DEPENDS:= libpng +PKG_URL:= http://www.directfb.org/ +PKG_SITES:= http://directfb.org/downloads/Core/DirectFB-1.4/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,DIRECTFB,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --with-inputdrivers=linuxinput,keyboard,ps2mouse \ + --with-gfxdrivers=none \ + --disable-osx + +# This is to overcome libtool fuckup - when building without, +# libtool calls (the correct) ld directly without parameters, +# which then chooses the wrong default emulation (which is +# probably the real problem here). LDEMULATION overrides ld's +# wrong choice. +ifeq (${ADK_LINUX_MIPS64_LEMOTE},y) +XAKE_FLAGS+= LDEMULATION=elf64ltsmip +endif + +post-install: + ${INSTALL_DIR} ${IDIR_DIRECTFB}/etc + ${INSTALL_DATA} ./files/directfbrc ${IDIR_DIRECTFB}/etc/ + $(INSTALL_DIR) $(IDIR_DIRECTFB)/usr/lib/directfb-1.4-0/{inputdrivers,systems,wm} + ${CP} $(WRKINST)/usr/lib/lib{direct,fusion}*.so* \ + $(IDIR_DIRECTFB)/usr/lib/ + ${CP} ${WRKINST}/usr/lib/directfb-1.4-0/inputdrivers/libdirectfb_linux_input.so \ + ${IDIR_DIRECTFB}/usr/lib/directfb-1.4-0/inputdrivers/ + ${CP} ${WRKINST}/usr/lib/directfb-1.4-0/systems/*.so \ + ${IDIR_DIRECTFB}/usr/lib/directfb-1.4-0/systems/ + ${CP} ${WRKINST}/usr/lib/directfb-1.4-0/wm/*.so \ + ${IDIR_DIRECTFB}/usr/lib/directfb-1.4-0/wm/ + $(INSTALL_DIR) $(IDIR_DIRECTFB)/usr/lib/directfb-1.4-0/interfaces/IDirectFB{Font,ImageProvider,VideoProvider} + ${CP} ${WRKINST}/usr/lib/directfb-1.4-0/interfaces/IDirectFBFont/*.so \ + ${IDIR_DIRECTFB}/usr/lib/directfb-1.4-0/interfaces/IDirectFBFont/ + ${CP} ${WRKINST}/usr/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/*.so \ + ${IDIR_DIRECTFB}/usr/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/ + ${CP} ${WRKINST}/usr/lib/directfb-1.4-0/interfaces/IDirectFBVideoProvider/*.so \ + ${IDIR_DIRECTFB}/usr/lib/directfb-1.4-0/interfaces/IDirectFBVideoProvider/ + + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/DirectFB/files/DirectFB.conffiles b/package/DirectFB/files/DirectFB.conffiles new file mode 100644 index 000000000..d4d8e0024 --- /dev/null +++ b/package/DirectFB/files/DirectFB.conffiles @@ -0,0 +1 @@ +/etc/directfbrc diff --git a/package/DirectFB/files/directfbrc b/package/DirectFB/files/directfbrc new file mode 100644 index 000000000..c0e563e86 --- /dev/null +++ b/package/DirectFB/files/directfbrc @@ -0,0 +1,4 @@ +#mode=1024x600 +#depth=16 +mouse-protocol=IMPS/2 +mouse-source=/dev/psaux |