From 3517852e3b8a68d1e997770fc0650c5053bafc6c Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Tue, 4 Jan 2022 01:27:12 +0000
Subject: gentoo resync : 04.01.2022

---
 gui-apps/mako/Manifest           |  4 +--
 gui-apps/mako/mako-1.6-r2.ebuild | 53 ----------------------------------
 gui-apps/mako/mako-1.6-r3.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++
 gui-apps/mako/mako-9999.ebuild   | 19 ++++++++----
 4 files changed, 78 insertions(+), 60 deletions(-)
 delete mode 100644 gui-apps/mako/mako-1.6-r2.ebuild
 create mode 100644 gui-apps/mako/mako-1.6-r3.ebuild

(limited to 'gui-apps/mako')

diff --git a/gui-apps/mako/Manifest b/gui-apps/mako/Manifest
index a7c500245e26..45f1d49faff6 100644
--- a/gui-apps/mako/Manifest
+++ b/gui-apps/mako/Manifest
@@ -1,4 +1,4 @@
 DIST mako-1.6.tar.gz 60468 BLAKE2B 77fcd52e69d6e253d0afb2b0057c94090c0ad6f6bd929eafb88808ad7b7a0deb76f06af99de8bc94064436c47a4110aa2314557b7ff068ba482f285f2ea23e13 SHA512 1b503779b5607ae072d72ba43a2c4557fdf9fdad113e5a2370eb2e603e51422b3a483ac5f4a948ae33d62e7d9e86a6bbc89b2cba98647c4789505a49981c8baf
-EBUILD mako-1.6-r2.ebuild 928 BLAKE2B 09a84e4e533a8428435c3f1ee8fd19c3d68578222f7043be4c46c5b4f897456110d081463f61ae9a235eeb77e1a8dce3951b256007e43c3811e620a63a06c89c SHA512 b78b31b723cd985324ec54a013cf81fa651c46db583323e26bfff365a94da731e2d6ae5e667a79d141cc76bcdb92581b972700e7edb97ec4a85d4c55bb1ff237
-EBUILD mako-9999.ebuild 924 BLAKE2B 1f7c405e835dccfc8e7744ea5853620efc2952a0c38a7ef4b82a12cacac9fc0b5a1f0d15d1eb81892d19445e07c7188adf7c4b8333adb491cc63f9ad4f29080e SHA512 dd53057384a23dc3588c7e0f8f9a609486fadef9ddc3b5e3d886425e8d1d152c9a69604f0c556c8d3622595bcb0918d76f2d69000cb7765865e1efcefd212d60
+EBUILD mako-1.6-r3.ebuild 1167 BLAKE2B 36c378df1a02a3385bd42b63e566a67fbd76385f9944c8cee05f0d472c24e3f14fba014983b0082bdeae46f63894e5ab2c69114084d2e9a7b65f6a4d23e4f2d5 SHA512 9a0b170bd2ed76f7e94b5f599b3e15eb8ccd73b8b6e2646934d7bf57ec8145e16b0a935e0efe907cc87cfdecf7b2a0ee373f094434cdeee6403334ac709f0a9e
+EBUILD mako-9999.ebuild 1167 BLAKE2B 36c378df1a02a3385bd42b63e566a67fbd76385f9944c8cee05f0d472c24e3f14fba014983b0082bdeae46f63894e5ab2c69114084d2e9a7b65f6a4d23e4f2d5 SHA512 9a0b170bd2ed76f7e94b5f599b3e15eb8ccd73b8b6e2646934d7bf57ec8145e16b0a935e0efe907cc87cfdecf7b2a0ee373f094434cdeee6403334ac709f0a9e
 MISC metadata.xml 529 BLAKE2B 4f2efb156f415c6ac8c411f200ef91235304bb2b4cc794ccab638e401164964d8e0268f3ecba0f5dc59bd80c38d0af6fe90b8b8498c317fed041615e4d965ee3 SHA512 f7186a5e6122993c032d502103485093db262193834f568b19a3c19b3b5187e7cfc658c11a53fd47ebb57e091db8734e6f83c4cf99b740fd6f99478bc4275405
diff --git a/gui-apps/mako/mako-1.6-r2.ebuild b/gui-apps/mako/mako-1.6-r2.ebuild
deleted file mode 100644
index 89b09c2d756e..000000000000
--- a/gui-apps/mako/mako-1.6-r2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit meson
-
-DESCRIPTION="A lightweight notification daemon for Wayland. Works on Sway."
-HOMEPAGE="https://github.com/emersion/mako"
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/emersion/${PN}.git"
-else
-	SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64 arm64 x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="+icons"
-
-DEPEND="
-	dev-libs/wayland
-	x11-libs/pango
-	x11-libs/cairo
-	|| (
-		sys-apps/systemd
-		sys-auth/elogind
-		sys-libs/basu
-	)
-	sys-apps/dbus
-	icons? (
-		x11-libs/gtk+:3
-		x11-libs/gdk-pixbuf
-	)
-"
-RDEPEND="
-	${DEPEND}
-	>=dev-libs/wayland-protocols-1.21
-"
-BDEPEND="
-	virtual/pkgconfig
-	app-text/scdoc
-"
-
-src_configure() {
-	local emesonargs=(
-		-Dicons=$(usex icons enabled disabled)
-		"-Dwerror=false"
-	)
-	meson_src_configure
-}
diff --git a/gui-apps/mako/mako-1.6-r3.ebuild b/gui-apps/mako/mako-1.6-r3.ebuild
new file mode 100644
index 000000000000..e3550881594a
--- /dev/null
+++ b/gui-apps/mako/mako-1.6-r3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="A lightweight notification daemon for Wayland. Works on Sway"
+HOMEPAGE="https://github.com/emersion/mako"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/emersion/${PN}.git"
+else
+	SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind +icons systemd"
+
+DEPEND="
+	dev-libs/wayland
+	x11-libs/pango
+	x11-libs/cairo
+	|| (
+		systemd? ( sys-apps/systemd )
+		elogind? ( sys-auth/elogind )
+		sys-libs/basu
+	)
+	sys-apps/dbus
+	icons? (
+		x11-libs/gtk+:3
+		x11-libs/gdk-pixbuf
+	)
+"
+RDEPEND="
+	${DEPEND}
+	>=dev-libs/wayland-protocols-1.21
+"
+BDEPEND="
+	virtual/pkgconfig
+	app-text/scdoc
+"
+
+src_configure() {
+	local emesonargs=(
+		-Dicons=$(usex icons enabled disabled)
+		"-Dwerror=false"
+	)
+
+	if use systemd ; then
+		emesonargs+=( -Dsd-bus-provider=libsystemd )
+	elif use elogind ; then
+		emesonargs+=( -Dsd-bus-provider=libelogind )
+	else
+		emesonargs+=( -Dsd-bus-provider=basu )
+	fi
+
+	meson_src_configure
+}
diff --git a/gui-apps/mako/mako-9999.ebuild b/gui-apps/mako/mako-9999.ebuild
index 920feefafb99..e3550881594a 100644
--- a/gui-apps/mako/mako-9999.ebuild
+++ b/gui-apps/mako/mako-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit meson
 
-DESCRIPTION="A lightweight notification daemon for Wayland. Works on Sway."
+DESCRIPTION="A lightweight notification daemon for Wayland. Works on Sway"
 HOMEPAGE="https://github.com/emersion/mako"
 
 if [[ ${PV} == 9999 ]]; then
@@ -18,15 +18,15 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="+icons"
+IUSE="elogind +icons systemd"
 
 DEPEND="
 	dev-libs/wayland
 	x11-libs/pango
 	x11-libs/cairo
 	|| (
-		sys-apps/systemd
-		sys-auth/elogind
+		systemd? ( sys-apps/systemd )
+		elogind? ( sys-auth/elogind )
 		sys-libs/basu
 	)
 	sys-apps/dbus
@@ -37,7 +37,7 @@ DEPEND="
 "
 RDEPEND="
 	${DEPEND}
-	dev-libs/wayland-protocols
+	>=dev-libs/wayland-protocols-1.21
 "
 BDEPEND="
 	virtual/pkgconfig
@@ -49,5 +49,14 @@ src_configure() {
 		-Dicons=$(usex icons enabled disabled)
 		"-Dwerror=false"
 	)
+
+	if use systemd ; then
+		emesonargs+=( -Dsd-bus-provider=libsystemd )
+	elif use elogind ; then
+		emesonargs+=( -Dsd-bus-provider=libelogind )
+	else
+		emesonargs+=( -Dsd-bus-provider=basu )
+	fi
+
 	meson_src_configure
 }
-- 
cgit v1.2.3