CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Introduce xorg-xf86-video-dove
[ports/cubox-arm.git] / xorg-xf86-video-dove / Pkgfile
1 # Description: Marvell Armada 510/Dove graphics libraries
2 # URL: http://www.solid-run.com/mw/index.php/Main_Page
3 # Packager: Ryan Mullen, rmmullen at gmail dot com
4 # Maintainer: Ryan Mullen, rmmullen at gmail dot com
5 # Depends on: xorg-server marvell-libgfx
6
7 name=xorg-xf86-video-dove
8 version=0.1.0
9 release=1
10 source=(http://download.solid-run.com/pub/solidrun/cubox/packages/xserver-xorg-video-dove/xserver-xorg-video-dove-$version.tar.gz
11 xorg.conf)
12
13 build() {
14 cd xserver-xorg-video-dove-$version
15 tar -xvf xserver-xorg-video-dove_0.3.4-1.tar.gz
16 cd xserver-xorg-video-dove-$version
17 aclocal
18 libtoolize
19
20 # Workaround - this automake fails, and we don't want to abort the build
21 automake --add-missing || true
22
23 autoreconf
24 ./configure --mandir=/usr/man --prefix=/usr CFLAGS="-O0 -Wall -DMRVL_SUPPORT_RANDR=1 -DMRVL_SUPPORT_EXA=1 -DDUMP_RAW_VIDEO=0 -DMRVL_USE_OFFSCREEN_HEAP=0 -DMRVL_EXA_MODE=2 -DMRVL_EXA_ENABLE_UP_DOWNLOAD=2 -DMRVL_EXA_FORCE_HW_LOAD=0 -DMRVL_EXA_ALLOC_PIXMAP_FROM_SYSTEM=0 -DMRVL_EXA_PERF_PROFILING=0 -DMRVL_EXA_TRACE_FALLBACK=0 -DMRVL_EXA_XBGR_SUPPORT=1 -DMRVL_XV_SUPPORT_RGB_FORMAT=1 -DMRVL_XV_TEX_VIDEO=1 -DMRVL_XV_OVERLAY_VIDEO=1 -DMRVL_XV_DEFERRED_STALL_GPU=1 -DMRVL_XV_USE_FAKE_FENCE_STALL=1 -DMRVL_RANDR_EDID_MODES=1 -DMRVL_CRTC_SUPPORT_ROTATION=1 -DMRVL_PLATFORM_INFO=1"
25
26 make DESTDIR=$PKG install
27
28 mkdir -p $PKG/etc/X11
29 cp $SRC/xorg.conf $PKG/etc/X11
30 }