~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[PATCH] community/swayidle: add elogind support

Details
Message ID
<20191206221842.11468-1-galen@galenabell.com>
DKIM signature
missing
Download raw message
Patch: +3 -1
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
Details
Message ID
<20191206232300.493f5ab9@Impreza>
In-Reply-To
<20191206221842.11468-1-galen@galenabell.com> (view parent)
DKIM signature
missing
Download raw message
> --- 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

elogind-dev depends on libelogind, so it is not required to declare it
as a dependency and is not considered good.
Details
Message ID
<20191206232338.16d0a279@Impreza>
In-Reply-To
<20191206221842.11468-1-galen@galenabell.com> (view parent)
DKIM signature
missing
Download raw message
pkgrel= needs to be bumped as well

[PATCH v2] community/swayidle: add elogind support

Details
Message ID
<20191206225118.19415-1-galen@galenabell.com>
In-Reply-To
<20191206232338.16d0a279@Impreza> (view parent)
DKIM signature
missing
Download raw message
Patch: +3 -2
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
Reply to thread Export thread (mbox)