New package: libliftoff-0.4.1
This commit is contained in:
parent
eaee8ca2a6
commit
6d6e10a727
|
@ -4274,3 +4274,4 @@ libunicode.so.0.4 libunicode-0.4.0_1
|
|||
libunicode_ucd.so.0.4 libunicode-0.4.0_1
|
||||
libunicode_loader.so.0.4 libunicode-0.4.0_1
|
||||
force-stage.so.0.1 void-force-stage-0.1_1
|
||||
libliftoff.so.0 libliftoff-0.4.1_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libliftoff
|
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'libliftoff'
|
||||
pkgname=libliftoff
|
||||
version=0.4.1
|
||||
revision=1
|
||||
build_style=meson
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libdrm-devel"
|
||||
short_desc="Lightweight KMS plane library"
|
||||
maintainer="Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://gitlab.freedesktop.org/emersion/libliftoff"
|
||||
distfiles="https://gitlab.freedesktop.org/emersion/libliftoff/-/archive/v${version}/libliftoff-v${version}.tar.gz"
|
||||
checksum=44ec5cfdd0df040d1023d4d6a48b23c31f21ce61ee2347da9e1ca244fe24dd1c
|
||||
|
||||
CFLAGS="-Wno-error=unused-but-set-variable"
|
||||
|
||||
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||
# The test suite checks for NDEBUG and fails if it is defined, even if all other tests would pass
|
||||
CFLAGS+=" -UNDEBUG"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
libliftoff-devel_package() {
|
||||
depends="libliftoff>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue