From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/libdrm/libdrm.xibuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 repo/libdrm/libdrm.xibuild (limited to 'repo/libdrm/libdrm.xibuild') diff --git a/repo/libdrm/libdrm.xibuild b/repo/libdrm/libdrm.xibuild new file mode 100644 index 0000000..83ad4f7 --- /dev/null +++ b/repo/libdrm/libdrm.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +MAKEDEPS="meson ninja docbook-xml docbook-xsl python-docutils libxslt" +DEPS="libpciaccess" + +PKG_VER=2.4.109 +SOURCE=https://dri.freedesktop.org/libdrm/libdrm-$PKG_VER.tar.xz + +DESC="Userspace interface to kernel DRM services" + +build () { + mkdir build && + cd build && + + meson --prefix=$XORG_PREFIX \ + --buildtype=release \ + -Dudev=true \ + -Dvalgrind=false && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} -- cgit v1.2.1