summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZamarin Arthur <arthurzam@gmail.com>2019-04-20 12:25:19 +0300
committerZamarin Arthur <arthurzam@gmail.com>2019-04-20 12:26:25 +0300
commit9621ab1e270efc84e53fcf4db5ca4a66fcad7075 (patch)
tree62f4642c7333c90b7c73caaba00119011ee696e2
parentdev-python/dkimpy: Added missing "die" statement (diff)
downloadguru-9621ab1e270efc84e53fcf4db5ca4a66fcad7075.tar.gz
guru-9621ab1e270efc84e53fcf4db5ca4a66fcad7075.tar.bz2
guru-9621ab1e270efc84e53fcf4db5ca4a66fcad7075.zip
gui-apps/mako: a lightweight Wayland notification daemon
A lightweight notification daemon for Wayland. It is compatible with any Wayland compositor which implements the wlr-layer-shell Wayland protocol. Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
-rw-r--r--gui-apps/mako/Manifest1
-rw-r--r--gui-apps/mako/mako-1.3.ebuild49
-rw-r--r--gui-apps/mako/mako-9999.ebuild49
-rw-r--r--gui-apps/mako/metadata.xml21
4 files changed, 120 insertions, 0 deletions
diff --git a/gui-apps/mako/Manifest b/gui-apps/mako/Manifest
new file mode 100644
index 0000000..be62f81
--- /dev/null
+++ b/gui-apps/mako/Manifest
@@ -0,0 +1 @@
+DIST mako-1.3.tar.gz 46482 BLAKE2B ea7699f713aded0476f3a9b88d90fa8d3bbd4e64e888caa68a98208625cdd15f1261c389dcb8ab43c6fbc77e1ebc0840b378443a1b350ff16adc59b98b9be0a8 SHA512 efada6ac413d80949669df3124ab9979537dcedd535132de57338b484ff2c81da8da59503a14dc2e9bbb266101659dd1d399d66456d383fdd1853d9137587259
diff --git a/gui-apps/mako/mako-1.3.ebuild b/gui-apps/mako/mako-1.3.ebuild
new file mode 100644
index 0000000..5d01459
--- /dev/null
+++ b/gui-apps/mako/mako-1.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fcaps meson
+
+DESCRIPTION="A lightweight Wayland notification daemon"
+HOMEPAGE="https://wayland.emersion.fr/mako 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 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="apparmor elogind +gdk-pixbuf +man systemd zsh-completion"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+ dev-libs/wayland
+ x11-libs/cairo
+ x11-libs/libxkbcommon
+ x11-libs/pango
+ elogind? ( >=sys-auth/elogind-239 )
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+ systemd? ( >=sys-apps/systemd-239 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ man? ( app-text/scdoc )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dicons=$(usex gdk-pixbuf enabled disabled)
+ -Dman-pages=$(usex man enabled disabled)
+ $(meson_use apparmor apparmor)
+ $(meson_use zsh-completion zsh-completions)
+ "-Dwerror=false"
+ )
+
+ meson_src_configure
+}
diff --git a/gui-apps/mako/mako-9999.ebuild b/gui-apps/mako/mako-9999.ebuild
new file mode 100644
index 0000000..5d01459
--- /dev/null
+++ b/gui-apps/mako/mako-9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fcaps meson
+
+DESCRIPTION="A lightweight Wayland notification daemon"
+HOMEPAGE="https://wayland.emersion.fr/mako 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 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="apparmor elogind +gdk-pixbuf +man systemd zsh-completion"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+ dev-libs/wayland
+ x11-libs/cairo
+ x11-libs/libxkbcommon
+ x11-libs/pango
+ elogind? ( >=sys-auth/elogind-239 )
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+ systemd? ( >=sys-apps/systemd-239 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ man? ( app-text/scdoc )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dicons=$(usex gdk-pixbuf enabled disabled)
+ -Dman-pages=$(usex man enabled disabled)
+ $(meson_use apparmor apparmor)
+ $(meson_use zsh-completion zsh-completions)
+ "-Dwerror=false"
+ )
+
+ meson_src_configure
+}
diff --git a/gui-apps/mako/metadata.xml b/gui-apps/mako/metadata.xml
new file mode 100644
index 0000000..29defea
--- /dev/null
+++ b/gui-apps/mako/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arthurzam+gentoo@gmail.com</email>
+ <name>Arthur Zamarin</name>
+ </maintainer>
+ <longdescription lang="en">
+ A lightweight notification daemon for Wayland. It is compatible
+ with any Wayland compositor which implements the wlr-layer-shell
+ Wayland protocol.
+ </longdescription>
+ <use>
+ <flag name="apparmor">Install apparmor profile</flag>
+ <flag name="gdk-pixbuf">Enable icons support via the <pkg>x11-libs/gdk-pixbuf</pkg> library</flag>
+ <flag name="man">Build and install man pages</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">emersion/mako</remote-id>
+ </upstream>
+</pkgmetadata>