| 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 | dovefb-port-to-compat-api-for-new-server.patch |
| 12 | xorg.conf) |
| 13 | |
| 14 | build() { |
| 15 | tar -xf xserver-xorg-video-dove-0.1.0/xserver-xorg-video-dove_0.3.4-1.tar.gz |
| 16 | cd xserver-xorg-video-dove-$version |
| 17 | |
| 18 | patch -p1 -i $SRC/dovefb-port-to-compat-api-for-new-server.patch |
| 19 | |
| 20 | autoreconf -i |
| 21 | |
| 22 | CFLAGS="${CFLAGS} -I/usr/include/HAL -g -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" |
| 23 | |
| 24 | ./configure --prefix=/usr --mandir=/usr/man CFLAGS="${CFLAGS}" |
| 25 | |
| 26 | make DESTDIR=$PKG install |
| 27 | |
| 28 | mkdir -p $PKG/etc/X11 |
| 29 | cp $SRC/xorg.conf $PKG/etc/X11 |
| 30 | } |