[arch-commits] Commit in libhandy/trunk (PKGBUILD PKGBUILD.next)
Jan Steffens
heftig at archlinux.org
Sun Jun 21 21:42:33 UTC 2020
Date: Sunday, June 21, 2020 @ 21:42:33
Author: heftig
Revision: 650291
Return PKGBUILD to 0.0.13; move 0.80.0 to PKGBUILD.next
Added:
libhandy/trunk/PKGBUILD.next
(from rev 648700, libhandy/trunk/PKGBUILD)
Modified:
libhandy/trunk/PKGBUILD
---------------+
PKGBUILD | 12 ++++++++----
PKGBUILD.next | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-21 21:41:26 UTC (rev 650290)
+++ PKGBUILD 2020-06-21 21:42:33 UTC (rev 650291)
@@ -1,8 +1,8 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=libhandy
-pkgver=0.80.0
-pkgrel=1
+pkgver=0.0.13
+pkgrel=2
pkgdesc="Library full of GTK+ widgets for mobile phones"
arch=(x86_64)
url="https://source.puri.sm/Librem5/libhandy"
@@ -10,13 +10,17 @@
depends=(glib2 gtk3)
makedepends=(git glade gobject-introspection meson vala)
checkdepends=(xorg-server-xvfb)
-provides=(libhandy-1.so)
-_commit=b61eefde06040703026f49a0b979588e69f77d3a # tags/v0.80.0^0
+provides=(libhandy-0.0.so)
+_commit=7a193d7692c9c76a1a94f17c4d30b585f77d177c # tags/v0.0.13^0
source=("git+https://source.puri.sm/Librem5/libhandy.git#commit=$_commit")
sha256sums=('SKIP')
prepare() {
cd $pkgname
+
+ # Fix build with glade 3.36.0
+ sed -e 's/GPC_OBJECT_DELIMITER/GLADE_PROPERTY_DEF_OBJECT_DELIMITER/g' \
+ -i glade/glade-*.c
}
pkgver() {
Copied: libhandy/trunk/PKGBUILD.next (from rev 648700, libhandy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD.next (rev 0)
+++ PKGBUILD.next 2020-06-21 21:42:33 UTC (rev 650291)
@@ -0,0 +1,44 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=libhandy
+pkgver=0.80.0
+pkgrel=1
+pkgdesc="Library full of GTK+ widgets for mobile phones"
+arch=(x86_64)
+url="https://source.puri.sm/Librem5/libhandy"
+license=(LGPL2.1)
+depends=(glib2 gtk3)
+makedepends=(git glade gobject-introspection meson vala)
+checkdepends=(xorg-server-xvfb)
+provides=(libhandy-1.so)
+_commit=b61eefde06040703026f49a0b979588e69f77d3a # tags/v0.80.0^0
+source=("git+https://source.puri.sm/Librem5/libhandy.git#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+ cd $pkgname
+}
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ arch-meson $pkgname build \
+ -D gtk_doc=true \
+ -D examples=false
+ meson compile -C build
+}
+
+check() {
+ dbus-run-session xvfb-run \
+ -s '-screen 0 1920x1080x24 -nolisten local' \
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list