summaryrefslogtreecommitdiffstats
path: root/abs/core/xf86-video-unichrome/PKGBUILD
blob: 65e9338cfd8d0bb97a16fe101086a35083808d01 (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
# $Id: PKGBUILD 79919 2010-05-09 14:20:58Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-unichrome
pkgver=0.2.7
pkgrel=3
_gitversion=cd12cce88ff886031c23c743569fba97eccace4e
pkgdesc="Unichrome video drivers for X.Org"
arch=(i686 x86_64)
url="http://unichrome.sf.net/"
license=('custom')
depends=('unichrome-dri>=7.8.1')
makedepends=('pkgconfig' 'xorg-server>=1.8.0' 'xorg-util-macros' 'xf86driproto' 'glproto' 'mesa>=7.8.1' 'autoconf' 'automake' 'libtool')
options=('!libtool')
conflicts=('xf86-video-via' 'openchrome' 'xf86-video-openchrome' 'xorg-server<1.8.0')
source=(http://cgit.freedesktop.org/~libv/${pkgname}/snapshot/${pkgname}-${_gitversion}.tar.bz2
        drm-include.patch
        LICENSE)
md5sums=('c64332e6c386ed9a580116e131f288f4'
         '4a9bf2e3ef338c170a2f58988ebb97dc'
         '6ea7d64c87c5c32201a1e38e3336e44a')

build() {
  cd "${srcdir}/${pkgname}-${_gitversion}"
  patch -Np0 -i "${srcdir}/drm-include.patch" || return 1
  ./autogen.sh --prefix=/usr --enable-dri || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}