PKGBUILDs/alarm/xf86-video-omap/PKGBUILD

40 lines
1.2 KiB
Bash
Raw Normal View History

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Mike Brown <mbrown@archlinuxarm.org>
# OMAP FrameBuffer driver for Xorg
buildarch=4
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"
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')
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}
./autogen.sh
./configure --prefix=/usr
make
}
package() {
2017-01-13 01:49:54 +00:00
cd xf86-video-omap-${pkgver}
make DESTDIR="${pkgdir}" install
}