2012-07-13 13:25:08 +02:00
|
|
|
# Description: Userspace interface to kernel DRM services
|
2020-06-18 20:33:08 -05:00
|
|
|
# URL: https://dri.freedesktop.org/
|
2012-07-13 13:25:08 +02:00
|
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
2020-04-06 15:26:52 +02:00
|
|
|
# Depends on: meson ninja xorg-libpciaccess
|
2012-07-13 13:25:08 +02:00
|
|
|
|
|
|
|
name=libdrm
|
2022-02-17 12:59:17 +01:00
|
|
|
version=2.4.110
|
2014-04-12 18:58:39 +02:00
|
|
|
release=1
|
2020-04-06 15:26:52 +02:00
|
|
|
source=(https://dri.freedesktop.org/libdrm/libdrm-$version.tar.xz)
|
2012-07-13 13:25:08 +02:00
|
|
|
|
|
|
|
build() {
|
2020-11-04 16:59:52 +01:00
|
|
|
meson setup build $name-$version \
|
2013-11-23 18:02:58 +11:00
|
|
|
--prefix=/usr \
|
2020-11-04 16:59:52 +01:00
|
|
|
--buildtype=plain \
|
2021-11-09 13:09:51 +01:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2020-11-04 16:59:52 +01:00
|
|
|
-D man-pages=false \
|
|
|
|
-D valgrind=false \
|
|
|
|
-D cairo-tests=false
|
2020-05-27 12:00:19 +02:00
|
|
|
|
2020-11-04 16:59:52 +01:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2012-07-13 13:25:08 +02:00
|
|
|
}
|