libhandy: rebuild for glade3-3.38.0, moved to GNOME
This commit is contained in:
parent
131b168496
commit
6ef272ba7b
1 changed files with 10 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libhandy'
|
||||
pkgname=libhandy
|
||||
version=0.0.13
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="libhandy-v${version}"
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
|
@ -14,14 +14,20 @@ makedepends="gtk+3-devel libglib-devel $(vopt_if glade glade3-devel)"
|
|||
short_desc="Library full of GTK+ widgets for mobile phones"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.0-or-later"
|
||||
homepage="https://source.puri.sm/Librem5/libhandy"
|
||||
distfiles="https://source.puri.sm/Librem5/libhandy/-/archive/v${version}/libhandy-v${version}.tar.gz"
|
||||
checksum=138bec94e66d15a7a19350b65845d4529bcd969ea913ab3eb438f56fe47d5d37
|
||||
homepage="https://gitlab.gnome.org/GNOME/libhandy"
|
||||
distfiles="$homepage/-/archive/v${version}/libhandy-v${version}.tar.gz"
|
||||
checksum=645355a009f23f254eaec7752b9489c3c2f5832397fcec75433a7e00efbfe52f
|
||||
|
||||
build_options="gir vala glade"
|
||||
desc_option_glade="Generate glade modules and catalog files"
|
||||
build_options_default="gir vala glade"
|
||||
|
||||
# https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/559
|
||||
CFLAGS="-DGPC_OBJECT_DELIMITER=GLADE_PROPERTY_DEF_OBJECT_DELIMITER"
|
||||
CFLAGS+=" -Dglade_widget_action_get_class=glade_widget_action_get_def"
|
||||
# https://gitlab.gnome.org/GNOME/glade/-/commit/bb626dd
|
||||
CFLAGS+=" -DGWA_GET_CLASS=GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS"
|
||||
|
||||
libhandy-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue