a10disp: update to 20150416.

This commit is contained in:
Juan RP 2015-04-16 09:05:50 +02:00
parent d07d3a72c9
commit 7c6f6ea83e

View file

@ -1,6 +1,6 @@
# Template file for 'a10disp' # Template file for 'a10disp'
pkgname=a10disp pkgname=a10disp
version=20140127 version=20150416
revision=1 revision=1
short_desc="Utility to change the display mode of Allwinner A10/13/20 devices" short_desc="Utility to change the display mode of Allwinner A10/13/20 devices"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -9,19 +9,19 @@ homepage="https://github.com/hglm/a10disp"
only_for_archs="armv7l" only_for_archs="armv7l"
hostmakedepends="git" hostmakedepends="git"
makedepends="fbset cubieboard2-kernel-headers" makedepends="fbset sun7i-kernel-headers"
depends="fbset" depends="fbset"
do_fetch() { do_fetch() {
git clone git://github.com/hglm/a10disp ${pkgname}-${version} git clone git://github.com/hglm/a10disp ${wrksrc}
cd ${wrksrc}
git checkout 7525cff0366c6feb
} }
do_build() { do_build() {
cp ${XBPS_CROSS_BASE}/usr/src/cubieboard2-kernel*/include/video/sunxi_disp_ioctl.h . cp ${XBPS_CROSS_BASE}/usr/src/sun7i-kernel*/include/video/sunxi_disp_ioctl.h .
$CC -Wall a10disp.c -o a10disp $CC $CFLAGS $LDFLAGS -Wall a10disp.c -o a10disp
} }
do_install() { do_install() {
vinstall a10disp 755 usr/bin vbin a10disp
vinstall README 644 usr/share/doc/a10disp vdoc README
} }