smlinux/xorg/libdrm/libdrm.SMBuild
PktSurf 7d2f51bd18 Removed redundant paths in base/pkgconf
Replaced single quotes with double quotes in some base and xorg pkg files
2022-08-27 11:09:02 +05:30

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-$version.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
"