PKGBUILDs/alarm/xf86-video-armsoc-odroid/PKGBUILD

45 lines
1 KiB
Bash
Raw Normal View History

2014-05-24 02:47:08 +00:00
# ARMSoC Mali FrameBuffer driver for ODROID
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4
pkgname=xf86-video-armsoc-odroid
_commit=29356f5b63662f3347d31fd27132802750005907
pkgver=214.29356f5
pkgrel=2
2014-05-24 02:47:08 +00:00
arch=('armv7h')
url="https://github.com/mdrjr/xf86-video-armsoc/tree/r4p0"
license=('GPL2')
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool')
conflicts=(xf86-video-armsoc)
provides=(xf86-video-armsoc)
2014-07-30 02:20:41 +00:00
source=("$pkgname::git+https://github.com/mdrjr/xf86-video-armsoc.git#commit=${_commit}"
'xorg.patch')
md5sums=('SKIP'
'3e27624156b65b23431c77f38f155620')
2014-05-24 02:47:08 +00:00
pkgver() {
cd $pkgname
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
}
2014-07-30 02:20:41 +00:00
prepare() {
cd $pkgname
patch -p1 -i ../xorg.patch
}
2014-05-24 02:47:08 +00:00
build() {
cd $pkgname
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
./autogen.sh --prefix=/usr --with-drmmode=exynos
make
}
package() {
cd $pkgname
make DESTDIR="${pkgdir}" install
}