genode/repos/libports/ports/libdrm.port
Josef Söntgen dd90424129 libports: libdrm-2.4.105 update
Support for iris and etnvaviv

* entaviv:
  - libdrm on FreeBSD is not prepared for !PCI (and libc our is missing
    <sys/pciio.h>
  - missing <sys/types.h> include in xf86drmMode.c
  - etnaviv relies on linux header files - dummy in $(INC_DIR)
  - IOCTL FreeBSD ↔ Linux have swapped IO/OUT bit
  - O_CLOEXEC differs between FreeBSD ↔ Linux

issue #4254
2021-08-30 15:00:38 +02:00

15 lines
486 B
Plaintext

LICENSE := MIT
VERSION := 2.4.105
DOWNLOADS := libdrm.archive
URL(libdrm) := https://dri.freedesktop.org/libdrm/libdrm-$(VERSION).tar.xz
SHA(libdrm) := 1d1d024b7cadc63e2b59cddaca94f78864940ab440843841113fbac6afaf2a46
DIR(libdrm) := src/lib/libdrm
FILE_LIST := $(REP_DIR)/src/lib/libdrm/files.list
TAR_OPT(libdrm) := --strip-components=1 --files-from $(FILE_LIST)
HASH_INPUT += $(FILE_LIST)
PATCHES := $(wildcard $(REP_DIR)/src/lib/libdrm/patches/*.patch)
PATCH_OPT := -p1