first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

23
src/libdrm/pkg.sh Normal file
View File

@ -0,0 +1,23 @@
NAME="libdrm"
DESC="Userspace library for accessing the direct rendering manager (DRM)"
VERSION="2.4.115"
FILES=("https://dri.freedesktop.org/libdrm/libdrm-$VERSION.tar.xz")
HASHES=("5403981a20c964f4c893ff91393652bd")
DEPENDS=("libpciaccess")
PACKAGE() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
mkdir build
cd build
meson setup --prefix=/usr \
--buildtype=release \
-Dudev=true \
-Dvalgrind=disabled \
..
ninja && DESTDIR=${ROOTDIR} ninja install
cd ../.. && rm -rf $NAME-$VERSION
}