PKGBUILDs/alarm/xf86-video-dove/PKGBUILD
Kevin Mihelich e1aaff5c5e fix email
2012-06-05 18:16:01 -04:00

35 lines
1.3 KiB
Bash

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Armada 510/Dove FrameBuffer driver for Xorg
buildarch=4
pkgname="xf86-video-dove"
pkgver=0.3.4
pkgrel=1
arch=('armv7h')
url="http://gitweb.pingu.fi/?p=xf86-video-omapfb.git"
license=('GPL2')
depends=('marvell-libgfx')
makedepends=('pkgconfig' 'xorg-server-devel')
options=('!libtool')
source=("http://archlinuxarm.org/builder/src/xf86-video-dove-0.3.4.tar.gz")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
CFLAGS="${CFLAGS} -I/usr/include/HAL -DMRVL_SUPPORT_RANDR=1 -DMRVL_SUPPORT_EXA=1 -DDUMP_RAW_VIDEO=1 -DMRVL_USE_OFFSCREEN_HEAP=0 -DMRVL_EXA_MODE=2 -DMRVL_EXA_ENABLE_UP_DOWNLOAD=0 -DMRVL_EXA_FORCE_HW_LOAD=0 -DMRVL_EXA_ALLOC_PIXMAP_FROM_SYSTEM=0 -DMRVL_EXA_PERF_PROFILING=0 -DMRVL_EXA_TRACE_FALLBACK=1 -DMRVL_EXA_XBGR_SUPPORT=1 -DMRVL_XV_SUPPORT_RGB_FORMAT=1 -DMRVL_XV_TEX_VIDEO=1 -DMRVL_XV_OVERLAY_VIDEO=2 -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 -DMRVL_XV_MIXED_VIDEO=1"
autoreconf -i
./configure --prefix=/usr CFLAGS="${CFLAGS}"
make
}
package() {
pkgdesc="Armada 510/Dove framebuffer driver for X"
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
md5sums=('b48a969dfab79a66c1817463380fa89c')