summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--experimental/accountsservice/APKBUILD45
-rw-r--r--experimental/user-manager/APKBUILD43
2 files changed, 88 insertions, 0 deletions
diff --git a/experimental/accountsservice/APKBUILD b/experimental/accountsservice/APKBUILD
new file mode 100644
index 000000000..fb82e1dd5
--- /dev/null
+++ b/experimental/accountsservice/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=accountsservice
+pkgver=0.6.54
+pkgrel=0
+pkgdesc="D-Bus service for accessing user account information"
+url="https://www.freedesktop.org/wiki/Software/AccountsService/"
+arch="all"
+license="GPL-3.0+ AND GPL-2.0+"
+depends="dbus"
+makedepends="cmake dbus-dev glib-dev gobject-introspection-dev meson ninja
+ polkit-dev utmps-dev xmlto"
+subpackages="$pkgname-doc"
+source="https://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ CPPFLAGS="-D_PATH_WTMPX=\\\"/run/utmps/wtmp\\\"" meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ -Dadmin_group=wheel \
+ -Ddocbook=true \
+ -Dsystemd=false \
+ -Dsystemdsystemunitdir=no \
+ . output
+ mkdir -p output/data
+ # msgfmt(1) XML error
+ cp data/org.freedesktop.accounts.policy.in \
+ output/data/org.freedesktop.accounts.policy
+ ninja -C output
+}
+
+check() {
+ cd "$builddir"
+ ninja -C output test
+}
+
+package() {
+ cd "$builddir"
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="5fbcccc286dba60efba905aa79b1b51a5478fe52bf2e256d40d9fc2d7a311aea4ce397365045659a4ef2ecb2cc079130fb1d0107749c3c906c394517056ac1c0 accountsservice-0.6.54.tar.xz"
diff --git a/experimental/user-manager/APKBUILD b/experimental/user-manager/APKBUILD
new file mode 100644
index 000000000..7864d7720
--- /dev/null
+++ b/experimental/user-manager/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=user-manager
+pkgver=5.12.7
+pkgrel=0
+pkgdesc="Manage user accounts from KDE"
+url="https://www.KDE.org/"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+ AND GPL-2.0-only"
+depends="accountsservice"
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev kauth-dev kcmutils-dev
+ kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev
+ kio-dev kwidgetsaddons-dev libpwquality-dev"
+subpackages="$pkgname-lang"
+source="https://download.kde.org/stable/plasma/$pkgver/user-manager-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="286b4adc7ff01c25f1f32bc64e9f119aa693d74e0468e575c792d5357df6066c18de233eb78acd5ed4288518902461ffa7408af8d559e8b5f4081893bdec7f8f user-manager-5.12.7.tar.xz"