mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:07:13 +08:00
31 lines
917 B
Bash
31 lines
917 B
Bash
# Part of the X.org group
|
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
|
|
|
source ../xorg.conf
|
|
|
|
pkgname=xf86-video-nouveau
|
|
pkgver=1.0.15
|
|
pkgrel=1
|
|
pkgdesc="Open Source 2D acceleration driver for nVidia cards"
|
|
arch=('x86_64')
|
|
url="http://nouveau.freedesktop.org/"
|
|
license=('GPL')
|
|
depends=('libdrm' 'systemd' 'mesa-dri')
|
|
makedepends=('xorg-server-devel' "X-ABI-VIDEODRV_VERSION=${X_ABI_VIDEODRV_VERSION}")
|
|
conflicts=('xorg-server<1.16' "X-ABI-VIDEODRV_VERSION<${X_ABI_VIDEODRV_MAJOR}" "X-ABI-VIDEODRV_VERSION>=$((X_ABI_VIDEODRV_MAJOR+1))")
|
|
groups=('xorg-drivers' 'xorg')
|
|
install=$pkgname.install
|
|
source=(http://xorg.freedesktop.org/archive/individual/driver/$pkgname-$pkgver.tar.bz2)
|
|
sha256sums=('aede10fd395610a328697adca3434fb14e9afbd79911d6c8545cfa2c0e541d4c')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|