From 81d2d15dbd45998c42fbb6815fe9cb1e516892f7 Mon Sep 17 00:00:00 2001 From: Paper Date: Thu, 14 Jan 2021 16:39:18 +0100 Subject: [PATCH] libhandy1: update to 1.0.3, adopt --- srcpkgs/libhandy1/template | 13 +++++-------- srcpkgs/libhandy1/update | 3 +-- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/srcpkgs/libhandy1/template b/srcpkgs/libhandy1/template index 547afccaa11..b1b7f1f9c32 100644 --- a/srcpkgs/libhandy1/template +++ b/srcpkgs/libhandy1/template @@ -1,6 +1,6 @@ # Template file for 'libhandy1' pkgname=libhandy1 -version=1.0.0 +version=1.0.3 revision=1 wrksrc="libhandy-${version}" build_style=meson @@ -11,20 +11,17 @@ configure_args="-Dexamples=false -Dtests=false $(vopt_bool gir vapi) -Dintrospection=$(vopt_if gir enabled disabled)" hostmakedepends="glib-devel pkg-config $(vopt_if gir vala-devel)" makedepends="gtk+3-devel libglib-devel $(vopt_if glade glade3-devel)" -short_desc="Library full of GTK+ widgets for mobile phones" -maintainer="Orphaned " +short_desc="GTK+3 Building blocks for modern adaptive applications" +maintainer="Paper " license="LGPL-2.0-or-later" -homepage="https://source.puri.sm/Librem5/libhandy" +homepage="https://gitlab.gnome.org/GNOME/libhandy/" distfiles="${GNOME_SITE}/libhandy/${version%.*}/libhandy-${version}.tar.xz" -checksum=a9398582f47b7d729205d6eac0c068fef35aaf249fdd57eea3724f8518d26699 +checksum=559bb3acc2c362488917eb72ed25bdc181f4ae26ac94d177634cc5d34c867f7a build_options="gir glade" desc_option_glade="Generate glade modules and catalog files" build_options_default="gir glade" -# https://gitlab.gnome.org/GNOME/glade/-/commit/bb626dd -CFLAGS="-DGWA_GET_CLASS=GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS" - libhandy1-devel_package() { depends="${sourcepkg}>=${version}_${revision} gtk+3-devel" conflicts="libhandy-devel>=0" diff --git a/srcpkgs/libhandy1/update b/srcpkgs/libhandy1/update index bbea94b75ae..f01319fe1b7 100644 --- a/srcpkgs/libhandy1/update +++ b/srcpkgs/libhandy1/update @@ -1,2 +1 @@ -site="https://source.puri.sm/Librem5/libhandy/tags" -pattern='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d\.]+(?=\.tar\.gz")' +pkgname=libhandy