xorg-server: add optional Composite support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-20 16:16:26 +02:00
parent d235afc88d
commit b867fd862b
2 changed files with 12 additions and 1 deletions

View File

@ -26,6 +26,12 @@ XORG_SRC="$PKG_BUILD/hw/xfree86"
get_graphicdrivers
if [ "$COMPOSITE_SUPPORT" = "yes" ]; then
XORG_COMPOSITE="--enable-composite"
else
XORG_COMPOSITE="--diable-composite"
fi
if [ "$XINERAMA_SUPPORT" = "yes" ]; then
XORG_XINERAMA="--enable-xinerama"
else
@ -57,7 +63,7 @@ cd $PKG_BUILD
--enable-aiglx \
--enable-glx-tls \
--enable-registry \
--disable-composite \
$XORG_COMPOSITE \
$XORG_XINERAMA \
--enable-mitshm \
--disable-xres \

View File

@ -36,6 +36,11 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
get_graphicdrivers
if [ "$COMPOSITE_SUPPORT" = "yes" ]; then
PKG_DEPENDS="$PKG_DEPENDS libXcomposite"
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libXcomposite"
fi
if [ "$XINERAMA_SUPPORT" = "yes" ]; then
PKG_DEPENDS="$PKG_DEPENDS libXinerama"
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libXinerama"