CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fix libEGL symlink error in marvell-libgfx
[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.3.4
9 release=1
10 source=(http://archlinuxarm.org/builder/src/xf86-video-dove-$version.tar.gz
11 dovefb-port-to-compat-api-for-new-server.patch
12 xorg.conf)
13
14 build() {
15 cd xf86-video-dove-$version
16
17 patch -p1 -i $SRC/dovefb-port-to-compat-api-for-new-server.patch
18 sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
19 autoreconf -i
20
21 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"
22
23 ./configure --prefix=/usr --mandir=/usr/man CFLAGS="${CFLAGS}"
24
25 make DESTDIR=$PKG install
26
27 mkdir -p $PKG/etc/X11
28 cp $SRC/xorg.conf $PKG/etc/X11
29 }