summaryrefslogtreecommitdiff
path: root/package/libdrm/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-11-02 11:32:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-02 11:32:41 +0100
commit90c25874ebac5c364316a315cb3cb9f234e15625 (patch)
treebaf9d59299ac14e5ef4f2190c91f5d4822e71bf1 /package/libdrm/Makefile
parent0b0054f8e2453cdff1020542fbe3fffe0f1c20f5 (diff)
libdrm: update to 2.4.107, convert to meson
Diffstat (limited to 'package/libdrm/Makefile')
-rw-r--r--package/libdrm/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/libdrm/Makefile b/package/libdrm/Makefile
index 5ac234e0f..2124d245d 100644
--- a/package/libdrm/Makefile
+++ b/package/libdrm/Makefile
@@ -4,24 +4,25 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libdrm
-PKG_VERSION:= 2.4.99
+PKG_VERSION:= 2.4.107
PKG_RELEASE:= 1
-PKG_HASH:= 597fb879e2f45193431a0d352d10cd79ef61a24ab31f44320168583e10cb6302
+PKG_HASH:= c554cef03b033636a975543eab363cc19081cb464595d3da1ec129f87370f888
PKG_DESCR:= direct rendering manager library
PKG_SECTION:= libs/video
-PKG_BUILDDEP:= libpthread-stubs cairo libpciaccess
+PKG_BUILDDEP:= meson-host libpthread-stubs cairo libpciaccess
PKG_URL:= http://dri.freedesktop.org/wiki/
PKG_SITES:= http://dri.freedesktop.org/libdrm/
PKG_OPTS:= dev
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBDRM,libdrm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-CONFIGURE_ARGS+= --disable-manpages \
- --disable-valgrind
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
libdrm-install:
$(INSTALL_DIR) $(IDIR_LIBDRM)/usr/lib