25 lines
618 B
Plaintext
25 lines
618 B
Plaintext
# Description: Userspace interface to kernel DRM services
|
|
# URL: https://dri.freedesktop.org/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libdrm xorg-libpciaccess-32
|
|
|
|
name=libdrm-32
|
|
version=2.4.114
|
|
release=1
|
|
source=(https://dri.freedesktop.org/${name%-*}/${name%-*}-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup build ${name%-*}-$version \
|
|
--prefix=/usr \
|
|
--libdir=lib32 \
|
|
--buildtype=plain \
|
|
-D man-pages=disabled \
|
|
-D valgrind=disabled \
|
|
-D cairo-tests=disabled
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/{include,share}
|
|
}
|