mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
parent
cba9d84c18
commit
0ef8fb1bd0
3 changed files with 20 additions and 21 deletions
15
srcpkgs/libdrm/patches/dont-build-noveau-tests.patch
Normal file
15
srcpkgs/libdrm/patches/dont-build-noveau-tests.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- tests/meson.build
|
||||||
|
+++ tests/meson.build
|
||||||
|
@@ -44,9 +44,9 @@ endif
|
||||||
|
if with_etnaviv
|
||||||
|
subdir('etnaviv')
|
||||||
|
endif
|
||||||
|
-if with_nouveau
|
||||||
|
- subdir('nouveau')
|
||||||
|
-endif
|
||||||
|
+#if with_nouveau
|
||||||
|
+# subdir('nouveau')
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
drmsl = executable(
|
||||||
|
'drmsl',
|
|
@ -1,12 +0,0 @@
|
||||||
--- tests/nouveau/threaded.c
|
|
||||||
+++ tests/nouveau/threaded.c
|
|
||||||
@@ -40,7 +40,7 @@
|
|
||||||
|
|
||||||
static int import_fd;
|
|
||||||
|
|
||||||
-int ioctl(int fd, unsigned long request, ...)
|
|
||||||
+int ioctl(int fd, int request, ...)
|
|
||||||
{
|
|
||||||
va_list va;
|
|
||||||
int ret;
|
|
||||||
|
|
|
@ -1,21 +1,17 @@
|
||||||
# Template build file for 'libdrm'.
|
# Template build file for 'libdrm'.
|
||||||
pkgname=libdrm
|
pkgname=libdrm
|
||||||
version=2.4.89
|
version=2.4.91
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
configure_args="-Dudev=true -Dvalgrind=false"
|
||||||
configure_args="--enable-udev --disable-valgrind"
|
build_style=meson
|
||||||
hostmakedepends="libtool automake pkg-config xorg-util-macros"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="eudev-libudev-devel libpciaccess-devel"
|
makedepends="eudev-libudev-devel libpciaccess-devel"
|
||||||
short_desc="Userspace interface to kernel DRM services"
|
short_desc="Userspace interface to kernel DRM services"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://dri.freedesktop.org/"
|
homepage="https://dri.freedesktop.org/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="https://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
|
distfiles="https://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
|
||||||
checksum=629f9782aabbb4809166de5f24d26fe0766055255038f16935602d89f136a02e
|
checksum=634a0ed0cc1eff06f48674b1da81aafa661a9f001e7a4f43dde81076886dc800
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
|
|
||||||
libdrm-devel_package() {
|
libdrm-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue