2014-01-27 18:03:55 +00:00
|
|
|
# Template file for 'a10disp'
|
|
|
|
pkgname=a10disp
|
2015-04-16 07:05:50 +00:00
|
|
|
version=20150416
|
2014-01-27 18:03:55 +00:00
|
|
|
revision=1
|
|
|
|
short_desc="Utility to change the display mode of Allwinner A10/13/20 devices"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-01-27 18:03:55 +00:00
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/hglm/a10disp"
|
|
|
|
|
|
|
|
only_for_archs="armv7l"
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="git"
|
2015-04-16 07:05:50 +00:00
|
|
|
makedepends="fbset sun7i-kernel-headers"
|
2014-01-27 18:03:55 +00:00
|
|
|
depends="fbset"
|
|
|
|
|
|
|
|
do_fetch() {
|
2015-04-16 07:05:50 +00:00
|
|
|
git clone git://github.com/hglm/a10disp ${wrksrc}
|
|
|
|
cd ${wrksrc}
|
|
|
|
git checkout 7525cff0366c6feb
|
2014-01-27 18:03:55 +00:00
|
|
|
}
|
|
|
|
do_build() {
|
2015-04-16 07:05:50 +00:00
|
|
|
cp ${XBPS_CROSS_BASE}/usr/src/sun7i-kernel*/include/video/sunxi_disp_ioctl.h .
|
|
|
|
$CC $CFLAGS $LDFLAGS -Wall a10disp.c -o a10disp
|
2014-01-27 18:03:55 +00:00
|
|
|
}
|
|
|
|
do_install() {
|
2015-04-16 07:05:50 +00:00
|
|
|
vbin a10disp
|
|
|
|
vdoc README
|
2014-01-27 18:03:55 +00:00
|
|
|
}
|