2013-02-01 21:00:38 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
2012-11-26 15:33:53 +00:00
|
|
|
# Mike Brown <mbrown@archlinuxarm.org>
|
|
|
|
# OMAP FrameBuffer driver for Xorg
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
2013-02-01 21:00:38 +00:00
|
|
|
pkgname="xf86-video-omap"
|
2017-01-13 01:49:54 +00:00
|
|
|
pkgver=0.4.5
|
2018-05-27 14:36:22 +00:00
|
|
|
pkgrel=3
|
2017-01-13 01:49:54 +00:00
|
|
|
pkgdesc="OMAP3+ framebuffer driver for X"
|
2012-11-26 15:33:53 +00:00
|
|
|
arch=('armv7h')
|
|
|
|
license=('GPL2')
|
2017-01-13 01:49:54 +00:00
|
|
|
url="http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/"
|
2018-05-17 23:56:32 +00:00
|
|
|
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=24.0')
|
|
|
|
conflicts=('xorg-server<1.20' 'X-ABI-VIDEODRV_VERSION<24' 'X-ABI-VIDEODRV_VERSION>=25')
|
2017-01-13 01:49:54 +00:00
|
|
|
source=("http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/snapshot/xf86-video-omap-${pkgver}.tar.gz")
|
|
|
|
sha256sums=('a1c9d396892ac72b9b2d97ae75fba602786aaf4a5fbfb81b048476be52cd5dbf')
|
2012-11-26 15:33:53 +00:00
|
|
|
|
|
|
|
build() {
|
2017-01-13 01:49:54 +00:00
|
|
|
cd xf86-video-omap-${pkgver}
|
2018-05-27 14:36:22 +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}
|
|
|
|
|
2012-11-26 15:33:53 +00:00
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-01-13 01:49:54 +00:00
|
|
|
cd xf86-video-omap-${pkgver}
|
2012-11-26 15:33:53 +00:00
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|