Date: Tuesday, October 25, 2022 @ 18:06:14
Author: heftig
Revision: 458952
archrelease: copy trunk to gnome-unstable-x86_64
Added:
folks/repos/gnome-unstable-x86_64/
folks/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 458951, folks/trunk/PKGBUILD)
----------+
PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
Copied: folks/repos/gnome-unstable-x86_64/PKGBUILD (from rev 458951,
folks/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2022-10-25 18:06:14 UTC (rev 458952)
@@ -0,0 +1,53 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Ionut Biru <[email protected]>
+
+pkgname=folks
+pkgver=0.15.5
+pkgrel=2
+pkgdesc="Library to aggregates people into metacontacts"
+arch=(x86_64)
+url="https://wiki.gnome.org/Projects/Folks"
+license=(LGPL)
+depends=(libgee libxml2 evolution-data-server)
+makedepends=(gobject-introspection gtk-doc vala git meson python-dbusmock)
+provides=(libfolks.so libfolks-{dummy,eds}.so)
+options=(!lto debug)
+_commit=c75c2a55f171ec778a78d3d510add6993b353487 # tags/0.15.5^0
+source=("git+https://gitlab.gnome.org/GNOME/folks.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd folks
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd folks
+
+ # Fix bindings
+ git cherry-pick -n fe4ee7e7857ad73b3e4503ad626f7d8aa070b3cd
+
+ # python-dbusmock API change
+ git cherry-pick -n b6b7d41aad9e36e0d0e6ec9822ed2e310923c8fd
+}
+
+build() {
+ local meson_options=(
+ -D b_lto=false # LTO copies some GType constructors
+ -D docs=true
+ -D telepathy_backend=false
+ )
+
+ arch-meson folks build "${meson_options[@]}"
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs -t 4
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: