diff options
Diffstat (limited to 'user/xf86-video-nouveau/APKBUILD')
-rw-r--r-- | user/xf86-video-nouveau/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/xf86-video-nouveau/APKBUILD b/user/xf86-video-nouveau/APKBUILD new file mode 100644 index 000000000..700e82d37 --- /dev/null +++ b/user/xf86-video-nouveau/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=xf86-video-nouveau +pkgver=1.0.15 +pkgrel=2 +pkgdesc="Open-source X.org drivers for nVidia video cards" +url="https://nouveau.freedesktop.org/" +arch="all" +license="MIT" +depends="mesa-dri-nouveau" +makedepends="eudev-dev libdrm-dev util-macros xorgproto-dev xorg-server-dev" +subpackages="$pkgname-doc" +source="https://www.X.Org/archive/individual/driver/$pkgname-$pkgver.tar.bz2 + dont-strcmp-null.patch + " + +build() { + cd "$builddir" + export LDFLAGS="$LDFLAGS -Wl,-z,lazy" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="69a8f8e7920d893f17d14fd9f05e35de246d980a243f3b3b00c05deae7f6bd97e0f51e6ddfa322b4d0815233fe5f656d4e55f54461249f3f24c3bc025a682285 xf86-video-nouveau-1.0.15.tar.bz2 +4cd8b3b9996989a8c9302a5ba77aa9f794fde7559d9f131d5bb4b3174d68be85140834719384c22686b63c89242bdf09696c0c1a98b632f7e3a4f46522f49c3b dont-strcmp-null.patch" |