~alpine/aports

community/swayidle: add elogind support v1 APPLIED

Galen Abell: 2
 community/swayidle: add elogind support
 community/swayidle: add elogind support

 2 files changed, 6 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3159/mbox | git am -3
Learn more about email & git

[PATCH] community/swayidle: add elogind support Export this patch

build swayidle with elogind support to enable `before-sleep` option
---
 community/swayidle/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/community/swayidle/APKBUILD b/community/swayidle/APKBUILD
index 2b2acc92a4..c2864daabd 100644
--- a/community/swayidle/APKBUILD
+++ b/community/swayidle/APKBUILD
@@ -9,6 +9,8 @@ arch="all"
license="MIT"
options="!check" # no test suite included
makedepends="
	elogind-dev
	libelogind
	meson
	ninja
	scdoc
@@ -24,7 +26,7 @@ subpackages="
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz"

build() {
	meson build --prefix /usr
	meson build -Dlogind=enabled -Dlogind-provider=elogind --prefix /usr
	ninja -C build
}

-- 
2.24.0
pkgrel= needs to be bumped as well

[PATCH v2] community/swayidle: add elogind support Export this patch

build swayidle with elogind support to enable `before-sleep` option
---
Bumped pkgrel and removed unnecessary dependency, thanks!

 community/swayidle/APKBUILD | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/community/swayidle/APKBUILD b/community/swayidle/APKBUILD
index 2b2acc92a4..4ea427c06b 100644
--- a/community/swayidle/APKBUILD
+++ b/community/swayidle/APKBUILD
@@ -2,13 +2,14 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=swayidle
pkgver=1.5
pkgrel=0
pkgrel=1
pkgdesc="Idle management daemon for Wayland"
url="http://swaywm.org"
arch="all"
license="MIT"
options="!check" # no test suite included
makedepends="
	elogind-dev
	meson
	ninja
	scdoc
@@ -24,7 +25,7 @@ subpackages="
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz"

build() {
	meson build --prefix /usr
	meson build -Dlogind=enabled -Dlogind-provider=elogind --prefix /usr
	ninja -C build
}

-- 
2.24.0