32 lines
713 B
Text
Executable file
32 lines
713 B
Text
Executable file
app=libdrm
|
|
version=2.4.102
|
|
build=1sml
|
|
homepage="https://dri.freedesktop.org/"
|
|
download="https://dri.freedesktop.org/libdrm/libdrm-2.4.102.tar.xz"
|
|
desc="Userspace interface to kernel DRM services"
|
|
requires="libxslt libpciaccess "
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
mkdir -p smbuild && cd smbuild
|
|
meson .. \
|
|
--prefix="/" \
|
|
-Dcairo-tests=false
|
|
|
|
ninja
|
|
DESTDIR="$pkg" ninja install
|
|
|
|
cp $srcdir/COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
386afd228efd809fe32776a6ff5d9dd95d1409a6a6a89b3806a3b42ed27e84f1e090f3b7834973f834d6b0d1342b7034447fe8690d072f85f03292d7795c3e0c libdrm-2.4.102.tar.xz
|
|
"
|