PKGBUILDs/alarm/xf86-video-omapfb/PKGBUILD

59 lines
1.8 KiB
Bash
Raw Normal View History

2013-06-19 18:03:37 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
2011-11-06 01:21:53 +00:00
# OMAP FrameBuffer driver for Xorg
2012-08-02 21:05:51 +00:00
buildarch=4
2011-11-06 01:21:53 +00:00
pkgname="xf86-video-omapfb"
pkgver=0.1.1.1
2015-02-15 18:01:22 +00:00
pkgrel=8
2011-11-06 01:21:53 +00:00
arch=('armv7h')
2015-02-15 18:59:40 +00:00
url="http://anonscm.debian.org/cgit/collab-maint/xf86-video-omapfb.git/"
2011-11-06 01:21:53 +00:00
license=('GPL2')
makedepends=('pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
2011-11-06 01:21:53 +00:00
options=('!libtool')
2013-06-19 18:03:37 +00:00
source=("http://archlinuxarm.org/builder/src/xf86-video-omapfb_0.1.1.1.tar.gz"
2013-06-19 18:55:37 +00:00
"0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch"
"0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch"
"0003-force-plain-mode.patch"
"0004-blacklist-tv-out.patch"
"0005-Attempt-to-fix-VRFB.patch"
2015-02-15 18:59:40 +00:00
"0006-omapfb-port-to-new-xserver-video-API.patch"
"0007-compat-for-newer-xorg.patch")
2013-06-19 18:03:37 +00:00
md5sums=('a9bca5424bd76d53b78826f9d5fa4abe'
2015-02-15 18:59:40 +00:00
'890884c69a2334d8c7e812c729af5b13'
'723efe8327d43795e9a5b0efc6d7010d'
'1cc90e32023eb989451ba0360becb96e'
'8f322ad500ca6d73cbffa03dc8069db5'
'66887007c4341ba693b46f90dc93e300'
'198a41675ba379bb6545104270126f29'
'2d7bb40047ebcb3997afa345d80f9e67')
2013-06-19 18:55:37 +00:00
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch
patch -p1 -i ../0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch
patch -p1 -i ../0003-force-plain-mode.patch
patch -p1 -i ../0004-blacklist-tv-out.patch
patch -p1 -i ../0005-Attempt-to-fix-VRFB.patch
patch -p1 -i ../0006-omapfb-port-to-new-xserver-video-API.patch
2015-02-15 18:59:40 +00:00
patch -p1 -i ../0007-compat-for-newer-xorg.patch
2013-06-19 18:55:37 +00:00
}
2011-11-06 01:21:53 +00:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2013-06-19 18:55:37 +00:00
2011-11-06 01:21:53 +00:00
./autogen.sh
./configure --prefix=/usr
make
}
package() {
pkgdesc="OMAP3+ framebuffer driver for X"
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}