# $Id$ PNAME="xorg" # upstream xorg-release number _PVER_major="7.7" # corresponding to xorg-server! _PVER_minor="1.20.1" PVER="${_PVER_major}.${_PVER_minor}" PBUILD="r2" SPLIT_PACKAGES="xorg xorg-protos xorg-dev xorg-input-drivers xorg-video-drivers-minimal xorg-video-drivers xorg-drivers" PKGTYPE="virtual" HOMEPAGE="http://xorg.freedesktop.org" PCAT="x11-base" COMMON_DEPEND="== x11-base/xorg-server-${_PVER_minor}" # use libinput as default input driver #COMMON_INPUT_DEPEND=">= x11-drivers/xf86-input-evdev-2.10.6" COMMON_INPUT_DEPEND=">= x11-drivers/xf86-input-libinput-0.28" COMMON_VIDEO_DEPEND=">= x11-drivers/xf86-video-vesa-2.4" split_info_xorg() { DESCRIPTION="Xorg is the XOrg Foundation's Public Implementation of the X Window System." # server itself DEPEND="${COMMON_DEPEND}" # common apps DEPEND="${DEPEND} >= x11-apps/iceauth-1.0.8 >= x11-apps/setxkbmap-1.3.1 >= x11-apps/xauth-1.0.10 >= x11-apps/xinput-1.6.2 >= x11-apps/xhost-1.0.7 >= x11-apps/xrandr-1.5.0 >= x11-apps/xmessage-1.0.5 >= x11-apps/xprop-1.2.3 >= x11-apps/xrdb-1.1.1 >= x11-apps/xset-1.2.4 >= x11-terms/rxvt-2.7.10 >= x11-misc/numlockx-1.2" # common libs DEPEND="${DEPEND} >= x11-libs/libSM-1.2.2 >= x11-libs/libXcomposite-0.4.4 >= x11-libs/libXcursor-1.1.15 >= x11-libs/libXdamage-1.1.4 >= x11-libs/libXfixes-5.0.3 >= x11-libs/libXinerama-1.1.4 >= x11-libs/libXScrnSaver-1.2.3" # common fonts DEPEND="${DEPEND} >= media-fonts/font-adobe-75dpi-1.0.3 >= media-fonts/corefonts-2" # some common input drivers DEPEND="${DEPEND} ${COMMON_INPUT_DEPEND}" # some common video drivers DEPEND="${DEPEND} ${COMMON_VIDEO_DEPEND}" } split_info_xorg-protos() { DESCRIPTION="X11 headers for xorg-server-${_PVER_minor}." PCAT="x11-proto" PROVIDE="virtual/x11-protos" DEPEND=">= x11-libs/xtrans-1.3.5 >= x11-misc/util-macros-1.19.1 >= virtual/bigreqsproto >= virtual/compositeproto >= virtual/damageproto >= virtual/dmxproto >= virtual/dri2proto >= virtual/dri3proto >= virtual/evieext >= virtual/fixesproto >= virtual/fontcacheproto >= virtual/fontsproto >= virtual/glproto >= virtual/inputproto >= virtual/kbproto >= virtual/presentproto >= virtual/randrproto >= virtual/recordproto >= virtual/renderproto >= virtual/resourceproto >= virtual/scrnsaverproto >= virtual/videoproto >= x11-proto/xcb-proto-1.12 >= virtual/xcmiscproto >= virtual/xextproto >= virtual/xf86bigfontproto >= virtual/xf86dgaproto >= virtual/xf86driproto >= virtual/xf86miscproto >= virtual/xf86vidmodeproto >= virtual/xineramaproto >= virtual/xproto" } split_info_xorg-dev() { DESCRIPTION="Xorg development files." DEPEND="== x11-base/xorg-${PVER} == x11-proto/xorg-protos-${PVER} >= x11-misc/gccmakedep-1.0.3 >= x11-misc/imake-1.0.7 >= x11-misc/makedepend-1.0.5 >= x11-misc/xbitmaps-1.1.2 >= x11-misc/xorg-cf-files-1.0.6 >= dev-libs/libpthread-stubs-0.4" } split_info_xorg-input-drivers() { DESCRIPTION="Input drivers for the xorg-server-${_PVER_minor}." PCAT="x11-drivers" PROVIDE="virtual/x11-input-drivers" DEPEND="${COMMON_DEPEND} ${COMMON_INPUT_DEPEND}" #>= x11-drivers/xf86-input-evdev-2.10.6 } split_info_xorg-video-drivers-minmal() { DESCRIPTION="Video drivers for the xorg-server-${_PVER_minor}." PCAT="x11-drivers" PROVIDE="virtual/x11-video-drivers" DEPEND="${COMMON_DEPEND} ${COMMON_VIDEO_DEPEND} >= x11-drivers/xf86-video-ati-18.0 >= x11-drivers/xf86-video-fbdev-0.5 >= x11-drivers/xf86-video-intel-2.99.917 >= x11-drivers/xf86-video-nouveau-1.0.15 >= x11-drivers/xf86-video-openchrome-0.6.0" } split_info_xorg-video-drivers() { DESCRIPTION="Video drivers for the xorg-server-${_PVER_minor}." PCAT="x11-drivers" PROVIDE="virtual/x11-video-drivers" DEPEND="${COMMON_DEPEND} ${COMMON_VIDEO_DEPEND} == x11-drivers/xorg-video-drivers-minimal-${PVER} >= x11-drivers/xf86-video-i128-1.3.6 >= x11-drivers/xf86-video-i740-1.3.6 >= x11-drivers/xf86-video-mach64-6.9.6 >= x11-drivers/xf86-video-mga-1.6.5 >= x11-drivers/xf86-video-nv-2.1.21 >= x11-drivers/xf86-video-r128-6.11 >= x11-drivers/xf86-video-s3-0.6.5 >= x11-drivers/xf86-video-s3virge-1.10.7 >= x11-drivers/xf86-video-savage-2.3.9 >= x11-drivers/xf86-video-sis-0.10.9 >= x11-drivers/xf86-video-trident-1.3.8" # requires xa-tracker which requires llvm-libs and these are more than 50mb # >= x11-drivers/xf86-video-vmware-13.2.1" } split_info_xorg-drivers() { DESCRIPTION="All drivers for the xorg-server-${_PVER_minor}." PCAT="x11-drivers" PROVIDE="virtual/x11-drivers" # on alx, we only want the minimal drivers setup DEPEND="${COMMON_DEPEND} >= virtual/x11-input-drivers >= virtual/x11-video-drivers-minimal" #>= virtual/x11-video-drivers }