libxfce4ui: update to 4.14.1.

Use gir build helper (for cross-compilation), fix xlint warnings
This commit is contained in:
Peter Bui 2019-05-24 11:32:15 -04:00 committed by Juan RP
parent 1f69378144
commit cc062fb1cc

View file

@ -1,24 +1,24 @@
# Template file for 'libxfce4ui'
pkgname=libxfce4ui
version=4.12.1
revision=3
version=4.14.1
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
hostmakedepends="xfce4-dev-tools pkg-config intltool glib-devel gettext-devel"
makedepends="gtk+-devel gtk+3-devel libxfce4util-devel xfconf-devel dbus-glib-devel
makedepends="gtk+-devel gtk+3-devel libxfce4util-devel xfconf-devel
libxml2-devel startup-notification-devel libSM-devel"
short_desc="Replacement of the old libxfcegui4 library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=3d619811bfbe7478bb984c16543d980cadd08586365a7bc25e59e3ca6384ff43
checksum=c449075eaeae4d1138d22eeed3d2ad7032b87fb8878eada9b770325bed87f2da
pre_configure() {
mkdir m4
NOCONFIGURE=1 xdt-autogen
}
# Package build options
build_options="gir"
build_options_default="gir"
libxfce4ui-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
@ -28,5 +28,8 @@ libxfce4ui-devel_package() {
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
}
}