2013-08-13 23:02:05 +00:00
|
|
|
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg from Linaro.
|
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# Contributor: Erik Andersson <erik.h.andersson@gmail.com>
|
2013-02-19 17:43:17 +00:00
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
2013-04-08 17:54:51 +00:00
|
|
|
pkgname=xf86-video-armsoc-git
|
2017-01-13 02:08:59 +00:00
|
|
|
pkgver=258.8bbdb2a
|
2022-01-01 03:08:09 +00:00
|
|
|
pkgrel=5
|
2013-08-13 23:02:05 +00:00
|
|
|
epoch=1
|
2015-06-27 03:47:19 +00:00
|
|
|
pkgdesc='X.org graphics driver for ARM graphics'
|
2013-02-19 17:43:17 +00:00
|
|
|
arch=('armv7h')
|
2014-05-24 02:53:44 +00:00
|
|
|
url="http://cgit.freedesktop.org/xorg/driver/xf86-video-armsoc"
|
2013-02-19 17:43:17 +00:00
|
|
|
license=('GPL2')
|
2022-01-01 03:08:09 +00:00
|
|
|
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2' 'git')
|
|
|
|
conflicts=('xorg-server<1.21.1' 'X-ABI-VIDEODRV_VERSION<25' 'X-ABI-VIDEODRV_VERSION>=26' 'xf86-video-armsoc')
|
2013-04-08 17:54:51 +00:00
|
|
|
provides=(xf86-video-armsoc)
|
2018-06-28 00:16:08 +00:00
|
|
|
source=("$pkgname::git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc"
|
|
|
|
'0001-Initialize-XRandR-before-EnterVT.patch')
|
|
|
|
md5sums=('SKIP'
|
|
|
|
'07cf643ee2dad206d0a33c14db985a06')
|
2013-02-19 17:43:17 +00:00
|
|
|
|
2013-08-13 23:02:05 +00:00
|
|
|
pkgver() {
|
2014-05-24 02:53:44 +00:00
|
|
|
cd $pkgname
|
2017-01-13 02:08:59 +00:00
|
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
2015-06-27 03:47:19 +00:00
|
|
|
}
|
|
|
|
|
2018-06-28 00:16:08 +00:00
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
|
|
|
git apply ../0001-Initialize-XRandR-before-EnterVT.patch
|
|
|
|
}
|
|
|
|
|
2013-04-08 17:54:51 +00:00
|
|
|
build() {
|
2014-05-24 02:53:44 +00:00
|
|
|
cd $pkgname
|
2013-08-13 23:02:05 +00:00
|
|
|
|
2018-05-27 14:32:33 +00:00
|
|
|
# Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
|
|
|
|
# With them, module fail to load with undefined symbol.
|
|
|
|
# See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
|
|
|
|
export CFLAGS=${CFLAGS/-fno-plt}
|
|
|
|
export CXXFLAGS=${CXXFLAGS/-fno-plt}
|
|
|
|
export LDFLAGS=${LDFLAGS/,-z,now}
|
|
|
|
|
2014-05-24 02:53:44 +00:00
|
|
|
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
|
2017-01-13 02:08:59 +00:00
|
|
|
./autogen.sh --prefix=/usr
|
2013-02-19 17:43:17 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-05-24 02:53:44 +00:00
|
|
|
cd $pkgname
|
2013-02-19 17:43:17 +00:00
|
|
|
|
2014-05-24 02:53:44 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2013-02-19 17:43:17 +00:00
|
|
|
}
|
2013-04-08 17:54:51 +00:00
|
|
|
|