aboutsummaryrefslogblamecommitdiffstats
path: root/community/xf86-video-nouveau/APKBUILD
blob: ae39c5f19e2180d4ef6a41ae546fed7636940d82 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                              
                                                   
                          
             
        
                                                          
                                      

             
                          
                                                                        
                          
                                                                                       

         
                                             



                                 

                                         




                                    
                  


           
                                      

 
                                                                                                                                                                                
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-nouveau
pkgver=1.0.17
pkgrel=0
pkgdesc="Open-source X.org drivers for nVidia video cards"
url="https://nouveau.freedesktop.org/"
arch="all"
license="MIT"
depends="mesa-dri-nouveau"
makedepends="libdrm-dev xorg-server-dev util-macros eudev-dev xorgproto"
subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/driver/xf86-video-nouveau-$pkgver.tar.bz2"

build() {
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="adba58ba5298d1a5b3f9f8540f9ef2cb2e10e47bba8e374103ec2e1f92e915f5f4393ed0021168cd649646e12315135a1efcdf77e8fb1648e1295914d87279b2  xf86-video-nouveau-1.0.17.tar.bz2"