2012-06-05 22:16:01 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
2012-06-05 21:39:11 +00:00
|
|
|
|
|
|
|
# Armada 510/Dove FrameBuffer driver for Xorg
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname="xf86-video-dove"
|
|
|
|
pkgver=0.3.4
|
2014-01-14 00:25:57 +00:00
|
|
|
pkgrel=10
|
2012-06-05 21:39:11 +00:00
|
|
|
arch=('armv7h')
|
2012-09-24 13:57:18 +00:00
|
|
|
url="http://www.solid-run.com/mw/index.php/CuBox_Drivers#GPU_Drivers"
|
2012-06-05 21:39:11 +00:00
|
|
|
license=('GPL2')
|
2013-03-16 21:31:47 +00:00
|
|
|
depends=('marvell-libgfx')
|
2012-10-15 02:42:47 +00:00
|
|
|
makedepends=('pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
2012-09-24 13:57:18 +00:00
|
|
|
options=('!libtool' '!strip')
|
2012-09-24 15:40:08 +00:00
|
|
|
source=("http://archlinuxarm.org/builder/src/xf86-video-dove-0.3.4.tar.gz"
|
2012-10-16 21:19:09 +00:00
|
|
|
"xorg.conf"
|
2013-03-19 18:29:10 +00:00
|
|
|
"dovefb-port-to-compat-api-for-new-server.patch"
|
|
|
|
"rm-mibstore.patch")
|
2012-06-05 21:39:11 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-10-16 21:19:09 +00:00
|
|
|
patch -p1 -i "${srcdir}/dovefb-port-to-compat-api-for-new-server.patch"
|
2013-03-13 20:18:39 +00:00
|
|
|
CFLAGS="${CFLAGS} -I/opt/marvell-libgfx/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"
|
|
|
|
LDFLAGS="$LDFLAGS -L/opt/marvell-libgfx/lib"
|
|
|
|
|
2013-03-19 18:29:10 +00:00
|
|
|
patch -Np1 -i "${srcdir}/rm-mibstore.patch"
|
|
|
|
|
2013-03-13 20:18:39 +00:00
|
|
|
# autotools fix.
|
|
|
|
sed "s/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac
|
2012-09-24 13:57:18 +00:00
|
|
|
|
2012-06-05 21:39:11 +00:00
|
|
|
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
|
2012-09-24 16:31:44 +00:00
|
|
|
mkdir -p "${pkgdir}/etc/X11"
|
2012-09-24 15:40:08 +00:00
|
|
|
cp "${srcdir}"/xorg.conf "${pkgdir}/etc/X11"
|
2012-06-05 21:39:11 +00:00
|
|
|
}
|
|
|
|
|
2012-09-24 15:40:08 +00:00
|
|
|
md5sums=('b48a969dfab79a66c1817463380fa89c'
|
2012-10-16 21:19:09 +00:00
|
|
|
'03294f82a3df0ccdf63f62ea1e4d027a'
|
2013-03-19 18:29:10 +00:00
|
|
|
'0cf362fde4ca25572f8f264fb424e082'
|
|
|
|
'9ee6940923cd8513c131fc83adc4f6b0')
|