2012-11-21 11:12:43 -06:00
|
|
|
# Description: Userspace interface to kernel DRM services
|
2017-02-05 12:46:22 +11:00
|
|
|
# URL: https://dri.freedesktop.org/
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2020-04-07 12:49:05 +10:00
|
|
|
# Depends on: libdrm xorg-libpciaccess-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=libdrm-32
|
2023-08-24 17:28:38 +02:00
|
|
|
version=2.4.116
|
2014-04-23 21:22:47 +10:00
|
|
|
release=1
|
2020-04-07 12:49:05 +10:00
|
|
|
source=(https://dri.freedesktop.org/${name%-*}/${name%-*}-$version.tar.xz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2020-11-07 19:35:33 +11:00
|
|
|
meson setup build ${name%-*}-$version \
|
2013-11-23 18:15:34 +11:00
|
|
|
--prefix=/usr \
|
2021-01-19 20:28:31 +11:00
|
|
|
--libdir=lib32 \
|
2020-11-07 19:35:33 +11:00
|
|
|
--buildtype=plain \
|
2022-09-27 11:28:40 +02:00
|
|
|
-D man-pages=disabled \
|
|
|
|
-D valgrind=disabled \
|
|
|
|
-D cairo-tests=disabled
|
2013-01-21 23:34:26 +11:00
|
|
|
|
2020-11-07 19:35:33 +11:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
2020-05-27 23:22:42 +10:00
|
|
|
DESTDIR=$PKG meson install -C build
|
2017-05-31 00:08:55 +10:00
|
|
|
|
2020-05-27 23:22:42 +10:00
|
|
|
rm -r $PKG/usr/{include,share}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|