core/xf86-video-nouveau/PKGBUILD

45 lines
1.6 KiB
Bash
Raw Normal View History

2010-06-24 07:30:37 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=xf86-video-nouveau
2011-11-28 22:10:09 +08:00
_gitdate=20111128
pkgver=0.0.16_git${_gitdate} # see configure.ac
2011-11-28 22:10:09 +08:00
pkgrel=1
2010-06-24 07:30:37 +08:00
pkgdesc="Open Source 3D acceleration driver for nVidia cards (experimental)"
arch=('i686' 'x86_64')
url="http://nouveau.freedesktop.org/wiki/"
license=('GPL') #and MIT, not yet a license file, see http://nouveau.freedesktop.org/wiki/FAQ#head-09f75d03eb30011c754038a3893119a70745de4e
depends=('libdrm' 'udev' 'libgl')
optdepends=('nouveau-dri: experimental gallium3d features')
makedepends=('xorg-server' 'libdrm>=2.4.24' 'xf86driproto')
conflicts=('xorg-server<1.10.1')
options=('!libtool') # 'force')
install=${pkgname}.install
2011-11-28 22:10:09 +08:00
source=(http://chakra.sourceforge.net/sources/xf86-video-nouveau/xf86-video-nouveau-${_gitdate}.tar.bz2)
md5sums=('25c12b344fafe103ce4a6b0f922977f3')
2010-06-24 07:30:37 +08:00
# source PKGBUILD && mksource
mksource() {
mkdir /tmp/${pkgname}-${_gitdate}
pushd /tmp/${pkgname}-${_gitdate}
2010-06-24 07:30:37 +08:00
git clone -v --depth 1 git://anongit.freedesktop.org/nouveau/xf86-video-nouveau
cd xf86-video-nouveau
git archive --prefix=xf86-video-nouveau-${_gitdate}/ --format=tar HEAD | bzip2 > /tmp/${pkgname}-${_gitdate}/${pkgname}-${_gitdate}.tar.bz2
2011-11-28 22:10:09 +08:00
md5sum /tmp/${pkgname}-${_gitdate}/${pkgname}-${_gitdate}.tar.bz2
2010-06-24 07:30:37 +08:00
popd
}
build() {
cd ${srcdir}/xf86-video-nouveau-${_gitdate}
./autogen.sh --prefix=/usr
make
}
package() {
cd ${srcdir}/xf86-video-nouveau-${_gitdate}
make DESTDIR=${pkgdir} install
2010-06-24 07:30:37 +08:00
}