void-packages/srcpkgs/glade3/template

46 lines
1.3 KiB
Bash

# Template file for 'glade3'
pkgname=glade3
version=3.40.0
revision=1
build_style=meson
build_helper="gir qemu"
configure_args="-Dgtk_doc=true -Dman=true -Dintrospection=true
-Dwebkit2gtk=enabled"
hostmakedepends="glib-devel itstool pkg-config
gjs-devel yelp-tools gettext gtk-doc"
makedepends="gtk+3-devel python3-gobject-devel libwebkit2gtk41-devel gjs-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="User Interface Designer for GTK+3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://glade.gnome.org/"
distfiles="${GNOME_SITE}/glade/${version%.*}/glade-${version}.tar.xz"
checksum=31c9adaea849972ab9517b564e19ac19977ca97758b109edc3167008f53e3d9c
lib32disabled=yes
# Requires running an xserver
make_check=no
libgladeui3_package() {
depends="python3-gobject"
short_desc="GTK+ User Interface Build core library"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/glade/modules
vmove usr/share/glade
vmove usr/share/locale
vmove usr/lib/girepository-1.0
}
}
glade3-devel_package() {
depends="gtk+3-devel libxml2-devel libgladeui3>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}