aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Hauser <jahau@rocketmail.com>2022-09-27 13:16:16 +0200
committeralice <alice@ayaya.dev>2022-10-03 20:27:29 +0000
commit906a3c432d930f867f9064592eb8371977188456 (patch)
tree42b16a80a92717938d2dd0bdca5f3660e6a80799
parent8cde07b2f308a3f7e61a95ee658b0606b0a35374 (diff)
downloadaports-906a3c432d930f867f9064592eb8371977188456.tar.gz
aports-906a3c432d930f867f9064592eb8371977188456.tar.bz2
aports-906a3c432d930f867f9064592eb8371977188456.tar.xz
community/mate-{screensaver,session-manager}: build with elogind support
In MATE 1.24 a elogind compile option was introduced to mate-session-manager and mate-screensaver. When installing packages elogind and polkit-elogind, among others WiFi can be turned on/off with media keys and a suspend button becomes available in the shutdown dialog. If elogind isn't installed, this commit has no impact on the behaviour.
-rw-r--r--community/mate-screensaver/APKBUILD8
-rw-r--r--community/mate-session-manager/APKBUILD7
2 files changed, 9 insertions, 6 deletions
diff --git a/community/mate-screensaver/APKBUILD b/community/mate-screensaver/APKBUILD
index 356777a91a..929e115de8 100644
--- a/community/mate-screensaver/APKBUILD
+++ b/community/mate-screensaver/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mate-screensaver
pkgver=1.26.1
-pkgrel=0
+pkgrel=1
pkgdesc="A screen saver and locker for MATE"
url="https://github.com/mate-desktop/mate-screensaver"
# riscv64 disabled due to missing rust in recursive dependency
@@ -10,7 +10,8 @@ arch="all !s390x !riscv64" # mate-desktop
license="GPL-2.0-or-later"
makedepends="intltool glib-dev libxscrnsaver-dev gtk+3.0-dev
mate-desktop-dev dbus-glib-dev mate-menus-dev dconf-dev
- libnotify-dev libmatekbd-dev mate-session-manager libsm-dev"
+ libnotify-dev libmatekbd-dev mate-session-manager libsm-dev
+ elogind-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-screensaver-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver/"
@@ -24,7 +25,8 @@ build() {
--enable-static=no \
--enable-locking=yes \
--prefix=/usr \
- --without-console-kit
+ --without-console-kit \
+ --with-elogind
make
}
diff --git a/community/mate-session-manager/APKBUILD b/community/mate-session-manager/APKBUILD
index 0a66ff2eb7..77c3384210 100644
--- a/community/mate-session-manager/APKBUILD
+++ b/community/mate-session-manager/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-session-manager
pkgver=1.26.0
-pkgrel=0
+pkgrel=1
pkgdesc="The MATE session manager"
url="https://github.com/mate-desktop/mate-session-manager"
# s390x and riscv64 blocked by mate-desktop
@@ -10,7 +10,7 @@ arch="all !s390x !riscv64"
license="GPL-2.0-or-later"
depends="mate-common mate-desktop"
makedepends="intltool libtool dconf-dev dbus-glib-dev gtk+3.0-dev
- libsm-dev mate-desktop-dev"
+ libsm-dev mate-desktop-dev elogind-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-session-manager-$pkgver.tar.xz"
@@ -19,7 +19,8 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
- --prefix=/usr
+ --prefix=/usr \
+ --with-elogind
make
}