aboutsummaryrefslogtreecommitdiffstats
path: root/community/xf86-video-nouveau/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xf86-video-nouveau/APKBUILD')
-rw-r--r--community/xf86-video-nouveau/APKBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/community/xf86-video-nouveau/APKBUILD b/community/xf86-video-nouveau/APKBUILD
index daea3f36406..543b4a09c01 100644
--- a/community/xf86-video-nouveau/APKBUILD
+++ b/community/xf86-video-nouveau/APKBUILD
@@ -1,22 +1,27 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-nouveau
-pkgver=1.0.16
-pkgrel=0
+pkgver=1.0.17
+pkgrel=5
pkgdesc="Open-source X.org drivers for nVidia video cards"
url="https://nouveau.freedesktop.org/"
arch="all"
license="MIT"
-depends="mesa-dri-nouveau"
-depends_dev=
+depends="mesa-dri-gallium"
makedepends="libdrm-dev xorg-server-dev util-macros eudev-dev xorgproto"
-install=""
subpackages="$pkgname-doc"
-source="https://www.x.org/archive/individual/driver/$pkgname-$pkgver.tar.bz2"
+source="https://www.x.org/archive/individual/driver/xf86-video-nouveau-$pkgver.tar.bz2
+ xorg-server-21.1.patch
+ "
+
+prepare() {
+ default_prepare
+ update_config_sub
+}
-builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
+ export CFLAGS="${CFLAGS/-fno-plt}"
+ export CXXFLAGS="${CXXFLAGS/-fno-plt}"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -29,13 +34,14 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="41b7839c37372660968ab7da2bc3d9feef3cab4e994d05d4ba6e59071f0d1b1f8d7dcdbcb15a42a375a556d28dc067f9ffe45d73c1d121ad307d199107ade3e0 xf86-video-nouveau-1.0.16.tar.bz2"
+sha512sums="
+adba58ba5298d1a5b3f9f8540f9ef2cb2e10e47bba8e374103ec2e1f92e915f5f4393ed0021168cd649646e12315135a1efcdf77e8fb1648e1295914d87279b2 xf86-video-nouveau-1.0.17.tar.bz2
+6c1bc0a2197a0fdaa3f669ce96ab2bc0167642168da01a86c712e1a77692244ad7b68a5c71d47b62abb6fa9b74f0495226133b7eff4badbd6dda56994bba74c8 xorg-server-21.1.patch
+"