# Template file for 'libxfce4windowing'
pkgname=libxfce4windowing
version=4.20.6
revision=1
build_style=meson
build_helper=gir
hostmakedepends="wayland-devel pkg-config xfce4-dev-tools glib-devel gettext"
makedepends="libdisplay-info-devel gtk+3-devel libglib-devel gdk-pixbuf-devel
 libgirepository-devel libX11-devel libwnck-devel libXrandr-devel wayland-devel
 wayland-protocols "
short_desc="Windowing concept abstraction library for X11 and Wayland"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=2d06b6a567c965afbca1a51419fc728fd83bd0460e30ab62c34564d5e0aac9e3

libxfce4windowing-devel_package() {
	depends="libglib-devel gdk-pixbuf-devel gtk+3-devel libdisplay-info-devel
	 ${sourcepkg}>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove "usr/share/gir-*"
	}
}
