From 9621ab1e270efc84e53fcf4db5ca4a66fcad7075 Mon Sep 17 00:00:00 2001 From: Zamarin Arthur Date: Sat, 20 Apr 2019 12:25:19 +0300 Subject: 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 --- gui-apps/mako/Manifest | 1 + gui-apps/mako/mako-1.3.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ gui-apps/mako/mako-9999.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ gui-apps/mako/metadata.xml | 21 ++++++++++++++++++ 4 files changed, 120 insertions(+) create mode 100644 gui-apps/mako/Manifest create mode 100644 gui-apps/mako/mako-1.3.ebuild create mode 100644 gui-apps/mako/mako-9999.ebuild create mode 100644 gui-apps/mako/metadata.xml diff --git a/gui-apps/mako/Manifest b/gui-apps/mako/Manifest new file mode 100644 index 000000000..be62f8109 --- /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 000000000..5d0145946 --- /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 000000000..5d0145946 --- /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 000000000..29defeaea --- /dev/null +++ b/gui-apps/mako/metadata.xml @@ -0,0 +1,21 @@ + + + + + arthurzam+gentoo@gmail.com + Arthur Zamarin + + + A lightweight notification daemon for Wayland. It is compatible + with any Wayland compositor which implements the wlr-layer-shell + Wayland protocol. + + + Install apparmor profile + Enable icons support via the x11-libs/gdk-pixbuf library + Build and install man pages + + + emersion/mako + + -- cgit v1.2.3