Makefile 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= xorg-server
  5. PKG_VERSION:= 1.7.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 913a672cbd6da516de15965d594e20b9
  8. PKG_DESCR:= Xorg server
  9. PKG_SECTION:= x11
  10. PKG_DEPENDS:= libopenssl libxfont pixman libpciaccess libxkbfile \
  11. libfontenc xkeyboard-config xkbcomp libxau libxaw \
  12. libxmu libxpm libxrender libxt libxxf86dga libxext \
  13. libxdmcp libxv libsm libice libx11
  14. PKG_BUILDDEP+= libX11 randrproto renderproto fixesproto damageproto \
  15. scrnsaverproto resourceproto fontsproto videoproto \
  16. compositeproto evieext libxkbfile libXfont pixman \
  17. libpciaccess openssl xf86dgaproto
  18. PKG_URL:= http://www.x.org
  19. PKG_SITES:= ${MASTER_SITE_XORG}
  20. CFLINE_XORG_SERVER:= depends on ADK_TARGET_WITH_VGA
  21. include $(TOPDIR)/mk/package.mk
  22. $(eval $(call PKG_template,XORG_SERVER,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. CONFIGURE_ENV+= V=1
  24. CONFIGURE_ARGS+= \
  25. --with-fontdir=/usr/share/fonts/X11 \
  26. --enable-dga \
  27. --enable-xorg \
  28. --enable-xv \
  29. --disable-aiglx \
  30. --disable-config-hal \
  31. --disable-dpms \
  32. --disable-dri \
  33. --disable-dri2 \
  34. --disable-glx \
  35. --disable-xace \
  36. --disable-xephyr \
  37. --disable-xf86bigfont \
  38. --disable-xf86vidmode \
  39. --disable-xfake \
  40. --disable-xfbdev \
  41. --disable-xinerama \
  42. --disable-xnest \
  43. --disable-xsdl \
  44. --disable-xselinux \
  45. --disable-xcsecurity \
  46. --disable-xvfb \
  47. --disable-xvmc \
  48. --with-xkb-output=/tmp \
  49. --with-os-vendor=OpenADK \
  50. --with-vendor-web="http://openadk.org"
  51. post-install:
  52. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/bin
  53. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/linux
  54. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions
  55. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/fonts
  56. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/multimedia
  57. ${CP} ${WRKINST}/usr/lib/xorg/protocol.txt \
  58. $(IDIR_XORG_SERVER)/usr/lib/xorg/
  59. ${CP} ${WRKINST}/usr/bin/* $(IDIR_XORG_SERVER)/usr/bin
  60. ${CP} ${WRKINST}/usr/lib/xorg/modules/*.so \
  61. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules
  62. ${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*.so \
  63. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions
  64. ${CP} ${WRKINST}/usr/lib/xorg/modules/linux/*.so \
  65. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/linux
  66. ${CP} ${WRKINST}/usr/lib/xorg/modules/multimedia/*.so \
  67. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/multimedia
  68. include ${TOPDIR}/mk/pkg-bottom.mk