From 9bb9a7f5a407bbdb373871e14fee7abafb9e5e84 Mon Sep 17 00:00:00 2001
From: Tim Biermann <tbier@posteo.de>
Date: Sun, 14 Apr 2024 17:12:10 +0200
Subject: [PATCH] libaccounts-glib: initial commit, version 1.27

---
 libaccounts-glib/.footprint | 55 +++++++++++++++++++++++++++++++++++++
 libaccounts-glib/.signature |  5 ++++
 libaccounts-glib/Pkgfile    | 25 +++++++++++++++++
 3 files changed, 85 insertions(+)
 create mode 100644 libaccounts-glib/.footprint
 create mode 100644 libaccounts-glib/.signature
 create mode 100644 libaccounts-glib/Pkgfile

diff --git a/libaccounts-glib/.footprint b/libaccounts-glib/.footprint
new file mode 100644
index 000000000..5ca8dfe8f
--- /dev/null
+++ b/libaccounts-glib/.footprint
@@ -0,0 +1,55 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/ag-backup
+-rwxr-xr-x	root/root	usr/bin/ag-tool
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/libaccounts-glib/
+-rw-r--r--	root/root	usr/include/libaccounts-glib/accounts-glib.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-account-service.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-account.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-application.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-auth-data.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-autocleanups.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-errors.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-manager.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-provider.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-service-type.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-service.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/ag-types.h
+-rw-r--r--	root/root	usr/include/libaccounts-glib/libaccounts-glib.h
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/girepository-1.0/
+-rw-r--r--	root/root	usr/lib/girepository-1.0/Accounts-1.0.typelib
+lrwxrwxrwx	root/root	usr/lib/libaccounts-glib.so -> libaccounts-glib.so.0
+lrwxrwxrwx	root/root	usr/lib/libaccounts-glib.so.0 -> libaccounts-glib.so.1.27
+-rwxr-xr-x	root/root	usr/lib/libaccounts-glib.so.1.27
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/libaccounts-glib.pc
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/dbus-1/
+drwxr-xr-x	root/root	usr/share/dbus-1/interfaces/
+-rw-r--r--	root/root	usr/share/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml
+drwxr-xr-x	root/root	usr/share/gettext/
+drwxr-xr-x	root/root	usr/share/gettext/its/
+-rw-r--r--	root/root	usr/share/gettext/its/accounts-application.its
+-rw-r--r--	root/root	usr/share/gettext/its/accounts-application.loc
+-rw-r--r--	root/root	usr/share/gettext/its/accounts-provider.its
+-rw-r--r--	root/root	usr/share/gettext/its/accounts-provider.loc
+-rw-r--r--	root/root	usr/share/gettext/its/accounts-service-type.its
+-rw-r--r--	root/root	usr/share/gettext/its/accounts-service-type.loc
+-rw-r--r--	root/root	usr/share/gettext/its/accounts-service.its
+-rw-r--r--	root/root	usr/share/gettext/its/accounts-service.loc
+drwxr-xr-x	root/root	usr/share/gir-1.0/
+-rw-r--r--	root/root	usr/share/gir-1.0/Accounts-1.0.gir
+drwxr-xr-x	root/root	usr/share/vala/
+drwxr-xr-x	root/root	usr/share/vala/vapi/
+-rw-r--r--	root/root	usr/share/vala/vapi/libaccounts-glib.deps
+-rw-r--r--	root/root	usr/share/vala/vapi/libaccounts-glib.vapi
+drwxr-xr-x	root/root	usr/share/xml/
+drwxr-xr-x	root/root	usr/share/xml/accounts/
+drwxr-xr-x	root/root	usr/share/xml/accounts/schema/
+drwxr-xr-x	root/root	usr/share/xml/accounts/schema/dtd/
+-rw-r--r--	root/root	usr/share/xml/accounts/schema/dtd/accounts-application.dtd
+-rw-r--r--	root/root	usr/share/xml/accounts/schema/dtd/accounts-provider.dtd
+-rw-r--r--	root/root	usr/share/xml/accounts/schema/dtd/accounts-service-type.dtd
+-rw-r--r--	root/root	usr/share/xml/accounts/schema/dtd/accounts-service.dtd
diff --git a/libaccounts-glib/.signature b/libaccounts-glib/.signature
new file mode 100644
index 000000000..c044b6116
--- /dev/null
+++ b/libaccounts-glib/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3+O8cQyZyHSXAFqJ1FcAc0emo0y6dEyw/O0XzX0dkhPmwNgUt+w0WHlZbfXj1LWa7MdLRj4/5gzj4LO1izyWAQI=
+SHA256 (Pkgfile) = 538808434be160e2728474a1b71953742a82ce6d7f3106d960386808383984b5
+SHA256 (.footprint) = f09c5a43aeb21675b4e274e05f9be4dac7d5a3df46de22edbbca94fce1d85f45
+SHA256 (libaccounts-glib-VERSION_1.27.tar.bz2) = e178c103e60ca34777afba94019a1c4571aedf9e54291b0faca71e5cad0628af
diff --git a/libaccounts-glib/Pkgfile b/libaccounts-glib/Pkgfile
new file mode 100644
index 000000000..1bfa533ed
--- /dev/null
+++ b/libaccounts-glib/Pkgfile
@@ -0,0 +1,25 @@
+# Description: GLib-based client library for the accounts database
+# URL: https://gitlab.com/accounts-sso/libaccounts-glib
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: libxml2 python3-gobject vala
+
+name=libaccounts-glib
+version=1.27
+release=1
+source=(https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/VERSION_$version/$name-VERSION_$version.tar.bz2)
+
+build() {
+  sed -i \
+    -e '/docs/d' \
+    -e '/tests/d' \
+    $name-VERSION_$version/meson.build
+
+  meson setup $name-VERSION_$version build \
+    --prefix=/usr \
+    --buildtype=plain \
+    --wrap-mode nodownload \
+    -D b_lto=true \
+    -D b_pie=true
+  meson compile -C build
+  DESTDIR=$PKG meson install -C build
+}