summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-omapfb/PKGBUILD
blob: f6701c2a19a3c34d712902b3232f742da62fe03c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Maintainer (Arch ARM): Kevin Mihelich <kevin@archlinuxarm.org>
# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
# OMAP FrameBuffer driver for Xorg

buildarch=4

pkgname="xf86-video-omapfb"
pkgver=0.1.1.1
pkgrel=9
arch=('armv7h')
url="http://anonscm.debian.org/cgit/collab-maint/xf86-video-omapfb.git/"
license=('GPL2')
makedepends=('pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool')
source=("http://archlinuxarm.org/builder/src/xf86-video-omapfb_0.1.1.1.tar.gz"
        "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"
        "0006-omapfb-port-to-new-xserver-video-API.patch"
        "0007-compat-for-newer-xorg.patch")
md5sums=('a9bca5424bd76d53b78826f9d5fa4abe'
         '890884c69a2334d8c7e812c729af5b13'
         '723efe8327d43795e9a5b0efc6d7010d'
         '1cc90e32023eb989451ba0360becb96e'
         '8f322ad500ca6d73cbffa03dc8069db5'
         '66887007c4341ba693b46f90dc93e300'
         '198a41675ba379bb6545104270126f29'
         '2d7bb40047ebcb3997afa345d80f9e67')

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
  patch -p1 -i ../0007-compat-for-newer-xorg.patch
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./autogen.sh
  ./configure --prefix=/usr

  make
}

package() {
  pkgdesc="OMAP3+ framebuffer driver for X"

  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}