# Template file for 'lxpanel'
pkgname=lxpanel
version=0.11.1
revision=2
build_style=gnu-configure
configure_args="--enable-gtk3"
hostmakedepends="pkg-config intltool automake libtool gettext-devel glib-devel"
makedepends="alsa-lib-devel gtk+3-devel menu-cache-devel libwnck-devel libcurl-devel
 wireless_tools-devel lxmenu-data libxml2-devel libfm-gtk+3-devel libfm-extra-devel
 libkeybinder3-devel"
depends="lxmenu-data"
short_desc="LXDE Standard panel"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lxde.org/"
distfiles="https://github.com/lxde/lxpanel/archive/refs/tags/${version}.tar.gz"
checksum=24334dde6ed37d32bb021f902dbd54a1e6cdd01f35a778d80fcd3acd23a0e93b

lib32disabled=yes

pre_configure() {
	[ -d m4 ] || mkdir m4
	autoreconf -fi
}

lxpanel-devel_package() {
	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
