Date: Friday, March 24, 2023 @ 00:08:42
Author: heftig
Revision: 471925
archrelease: copy trunk to gnome-unstable-x86_64
Added:
libgdata/repos/gnome-unstable-x86_64/
libgdata/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 471924, libgdata/trunk/PKGBUILD)
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
Copied: libgdata/repos/gnome-unstable-x86_64/PKGBUILD (from rev 471924,
libgdata/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2023-03-24 00:08:42 UTC (rev 471925)
@@ -0,0 +1,60 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Maintainer: Jan de Groot <[email protected]>
+
+pkgname=libgdata
+pkgver=0.18.1
+pkgrel=3
+pkgdesc="GLib-based library for accessing online service APIs using the GData
protocol"
+url="https://wiki.gnome.org/Projects/libgdata"
+arch=(x86_64)
+license=(GPL)
+depends=(
+ gcr
+ libgoa
+ libsoup
+)
+makedepends=(
+ git
+ gobject-introspection
+ gtk-doc
+ meson
+ vala
+)
+_commit=eb7db048e5445ad567817dced344c47a20c6ea6b # tags/0.18.1^0
+source=("git+https://gitlab.gnome.org/GNOME/libgdata.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd libgdata
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd libgdata
+}
+
+build() {
+ local meson_options=(
+ # needs uhttpmock with libsoup 2
+ -D always_build_tests=false
+
+ -D gtk_doc=true
+ -D man=true
+ )
+
+ arch-meson libgdata build "${meson_options[@]}"
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ depends+=(libsoup-2.4.so)
+ provides+=(libgdata.so)
+
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: