From 0d37a1ef234c38b27faba43bc3a22f985d311deb Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 May 2023 17:01:27 +0100 Subject: Remove all firmware --- repo/xf86-video-nouveau/xf86-video-nouveau.xibuild | 31 +++++++++++++++------- 1 file changed, 22 insertions(+), 9 deletions(-) (limited to 'repo/xf86-video-nouveau') diff --git a/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild b/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild index 694cffc..1951ac5 100644 --- a/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild +++ b/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild @@ -1,23 +1,36 @@ #!/bin/sh -MAKEDEPS="make xorg-server mesa" +NAME="xf86-video-nouveau" +DESC="Open-source X.org drivers for nVidia video cards" -DESC="X.org nouveau video driver" +MAKEDEPS=" libdrm xorg-server xorg-util-macros eudev xorgproto" PKG_VER=1.0.17 -SOURCE=https://www.x.org/pub/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2 -ADDITIONAL="xorg-server-21.1.patch" +SOURCE="https://www.x.org/archive/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2" + +ADDITIONAL=" +xorg-server-21.1.patch +" prepare () { apply_patches } -build () { - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static - make +build() { + export LDFLAGS="$LDFLAGS -Wl,-z,lazy" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make check } -package () { - make DESTDIR=$PKG_DEST install +package() { + make DESTDIR="$PKG_DEST" install } -- cgit v1.2.1