summaryrefslogtreecommitdiff
path: root/repo/xf86-video-nouveau
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-05-17 17:01:27 +0100
committerdavidovski <david@davidovski.xyz>2023-05-17 17:01:27 +0100
commit0d37a1ef234c38b27faba43bc3a22f985d311deb (patch)
treedde8df9f508e7323c3d7df599ceade7705c40acd /repo/xf86-video-nouveau
parentf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff)
Remove all firmware
Diffstat (limited to 'repo/xf86-video-nouveau')
-rw-r--r--repo/xf86-video-nouveau/xf86-video-nouveau.xibuild31
1 files changed, 22 insertions, 9 deletions
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
}