void-packages/srcpkgs/garcon/template
mobinmob 2aad4dfbb1 garcon: update to 4.16.1.
Closes: #28025 [via git-merge-pr]
2021-01-19 19:53:48 -03:00

35 lines
1.1 KiB
Bash

# Template file for 'garcon'
pkgname=garcon
version=4.16.1
revision=1
build_style=gnu-configure
build_helper=gir
configure_args="--disable-static --with-locales-dir=/usr/share/locale
--enable-introspection=$(vopt_if gir yes no)"
hostmakedepends="pkg-config intltool gettext-devel glib-devel"
makedepends="libglib-devel libxfce4ui-devel"
conf_files="/etc/xdg/menus/xfce-applications.menu"
short_desc="Glib/GIO freedesktop.org compliant menu implementation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="https://xfce.org/"
changelog="https://gitlab.xfce.org/xfce/garcon/-/raw/master/NEWS"
distfiles="https://archive.xfce.org/src/xfce/garcon/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=84914927a2c1fda167f67af26a6640630a744a22940df508aa6c752cdbd3d21d
build_options="gir"
build_options_default="gir"
garcon-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libxfce4ui-devel gtk+3-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}