0e09d54220
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14336 3c298f89-4303-0410-b956-a3cf2f4a3e73
148 lines
3.7 KiB
Makefile
148 lines
3.7 KiB
Makefile
#
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
# $Id$
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=xserver-kdrive
|
|
PKG_RELEASE:=1
|
|
PKG_VERSION:=1.5.1
|
|
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/xserver/
|
|
PKG_SOURCE:=xorg-server-$(PKG_VERSION).tar.bz2
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/xserver/$(PKG_NAME)/xorg-server-$(PKG_VERSION)/
|
|
PKG_BUILD_DEPENDS:=randrproto renderproto fixesproto damageproto xcmiscproto \
|
|
xextproto xproto bigreqsproto resourceproto \
|
|
fontsproto inputproto kbproto videoproto resourceproto \
|
|
xf86dgaproto xtrans xf86driproto calibrateproto \
|
|
compositeproto xineramaproto
|
|
PKG_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/xserver-kdrive-xvesa/config
|
|
source "$(SOURCE)/Config.in"
|
|
endef
|
|
|
|
define Package/xserver-kdrive/Default
|
|
PROVIDES:=xserver
|
|
SECTION:=xorg-server
|
|
CATEGORY:=Xorg
|
|
SUBMENU:=server
|
|
URL:=http://xorg.freedesktop.org/
|
|
DEPENDS:=@!avr32 \
|
|
+xserver-common \
|
|
+libpthread \
|
|
+libxkbfile \
|
|
+libXfont \
|
|
+libXau \
|
|
+libXv \
|
|
+libfontenc \
|
|
+pixman \
|
|
+libopenssl \
|
|
@DISPLAY_SUPPORT \
|
|
+X_TSLIB:tslib \
|
|
+X_DRI:libdrm
|
|
endef
|
|
|
|
define Package/xserver-kdrive-xvesa
|
|
$(call Package/xserver-kdrive/Default)
|
|
TITLE:=Kdrive vesa xserver
|
|
DEPENDS+= @TARGET_x86
|
|
endef
|
|
|
|
define Package/xserver-kdrive-xfbdev
|
|
$(call Package/xserver-kdrive/Default)
|
|
TITLE:=Kdrive framebuffer xserver
|
|
endef
|
|
|
|
define Package/xserver-kdrive-xephyr
|
|
$(call Package/xserver-kdrive/Default)
|
|
TITLE:=Kdrive ephyr xserver
|
|
endef
|
|
|
|
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar, \
|
|
CONFIG_PACKAGE_xserver-kdrive-xvesa CONFIG_PACKAGE-xserver-kdrive-fbdev \
|
|
CONFIG_PACKAGE_xserver-kdrive-xephyr CONFIG_X_TSLIB CONFIG_X_COMPOSITE \
|
|
CONFIG_X_XINERAMA CONFIG_X_XCALIBRATE)
|
|
|
|
define Build/Configure
|
|
$(call Build/Configure/Default, \
|
|
--enable-kdrive \
|
|
$(if $(CONFIG_PACKAGE_xserver-kdrive-xvesa), \
|
|
--enable-kdrive-vesa, \
|
|
--disable-kdrive-vesa) \
|
|
$(if $(CONFIG_PACKAGE_xserver-kdrive-xfbdev), \
|
|
--enable-xfbdev, \
|
|
--disable-xfbdev) \
|
|
$(if $(CONFIG_PACKAGE_xserver-kdrive-xephyr), \
|
|
--enable-xephyr, \
|
|
--disable-xephyr) \
|
|
$(if $(CONFIG_X_TSLIB),--enable-tslib,--disable-tslib) \
|
|
$(if $(CONFIG_X_COMPOSITE),--enable-composite,--disable-composite) \
|
|
$(if $(CONFIG_X_XINERAMA),--enable-xinerama,--disable-xinerama) \
|
|
$(if $(CONFIG_X_XCALIBRATE),--enable-xcalibrate,--disable-xcalibrate) \
|
|
--disable-xorg \
|
|
--disable-aiglx \
|
|
--disable-glx-tls \
|
|
--disable-dga \
|
|
--disable-xdmcp \
|
|
--disable-xdm-auth-1 \
|
|
--disable-config-hal \
|
|
--disable-xf86misc \
|
|
--disable-xf86vidmode \
|
|
--disable-xf86bigfont \
|
|
--disable-xorgcfg \
|
|
--disable-xkb \
|
|
--disable-xnest \
|
|
--disable-xquartz \
|
|
--disable-xwin \
|
|
--disable-x11app \
|
|
--disable-xsdl \
|
|
--disable-xfake \
|
|
--disable-install-setuid \
|
|
--disable-kbd_mode \
|
|
--disable-xvfb \
|
|
--disable-xevie \
|
|
--disable-xprint \
|
|
--disable-xtrap \
|
|
--disable-dmx \
|
|
--disable-glx \
|
|
--disable-xinerama \
|
|
--disable-xfree86-utils \
|
|
--disable-cup \
|
|
--disable-xevie \
|
|
--disable-evi \
|
|
--disable-screensaver \
|
|
--enable-builtin-fonts \
|
|
)
|
|
endef
|
|
|
|
define Package/xserver-kdrive-xfbdev/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) \
|
|
$(PKG_INSTALL_DIR)/usr/bin/Xfbdev \
|
|
$(1)/usr/bin/
|
|
endef
|
|
|
|
define Package/xserver-kdrive-xvesa/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) \
|
|
$(PKG_INSTALL_DIR)/usr/bin/Xvesa \
|
|
$(1)/usr/bin/
|
|
endef
|
|
|
|
define Package/xserver-kdrive-xephyr/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) \
|
|
$(PKG_INSTALL_DIR)/usr/bin/Xephyr \
|
|
$(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,xserver-kdrive-xvesa))
|
|
$(eval $(call BuildPackage,xserver-kdrive-xfbdev))
|
|
$(eval $(call BuildPackage,xserver-kdrive-xephyr))
|