1 |
commit: 9621ab1e270efc84e53fcf4db5ca4a66fcad7075 |
2 |
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Apr 20 09:25:19 2019 +0000 |
4 |
Commit: Ralph Seichter <gentoo <AT> seichter <DOT> de> |
5 |
CommitDate: Sat Apr 20 09:26:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9621ab1e |
7 |
|
8 |
gui-apps/mako: a lightweight Wayland notification daemon |
9 |
|
10 |
A lightweight notification daemon for Wayland. It is compatible |
11 |
with any Wayland compositor which implements the wlr-layer-shell |
12 |
Wayland protocol. |
13 |
|
14 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
15 |
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com> |
16 |
|
17 |
gui-apps/mako/Manifest | 1 + |
18 |
gui-apps/mako/mako-1.3.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ |
19 |
gui-apps/mako/mako-9999.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ |
20 |
gui-apps/mako/metadata.xml | 21 ++++++++++++++++++ |
21 |
4 files changed, 120 insertions(+) |
22 |
|
23 |
diff --git a/gui-apps/mako/Manifest b/gui-apps/mako/Manifest |
24 |
new file mode 100644 |
25 |
index 0000000..be62f81 |
26 |
--- /dev/null |
27 |
+++ b/gui-apps/mako/Manifest |
28 |
@@ -0,0 +1 @@ |
29 |
+DIST mako-1.3.tar.gz 46482 BLAKE2B ea7699f713aded0476f3a9b88d90fa8d3bbd4e64e888caa68a98208625cdd15f1261c389dcb8ab43c6fbc77e1ebc0840b378443a1b350ff16adc59b98b9be0a8 SHA512 efada6ac413d80949669df3124ab9979537dcedd535132de57338b484ff2c81da8da59503a14dc2e9bbb266101659dd1d399d66456d383fdd1853d9137587259 |
30 |
|
31 |
diff --git a/gui-apps/mako/mako-1.3.ebuild b/gui-apps/mako/mako-1.3.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..5d01459 |
34 |
--- /dev/null |
35 |
+++ b/gui-apps/mako/mako-1.3.ebuild |
36 |
@@ -0,0 +1,49 @@ |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+inherit fcaps meson |
43 |
+ |
44 |
+DESCRIPTION="A lightweight Wayland notification daemon" |
45 |
+HOMEPAGE="https://wayland.emersion.fr/mako https://github.com/emersion/mako" |
46 |
+ |
47 |
+if [[ ${PV} == 9999 ]]; then |
48 |
+ inherit git-r3 |
49 |
+ EGIT_REPO_URI="https://github.com/emersion/${PN}.git" |
50 |
+else |
51 |
+ SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+ KEYWORDS="~amd64 ~x86" |
53 |
+fi |
54 |
+ |
55 |
+LICENSE="MIT" |
56 |
+SLOT="0" |
57 |
+IUSE="apparmor elogind +gdk-pixbuf +man systemd zsh-completion" |
58 |
+REQUIRED_USE="?? ( elogind systemd )" |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ dev-libs/wayland |
62 |
+ x11-libs/cairo |
63 |
+ x11-libs/libxkbcommon |
64 |
+ x11-libs/pango |
65 |
+ elogind? ( >=sys-auth/elogind-239 ) |
66 |
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) |
67 |
+ systemd? ( >=sys-apps/systemd-239 ) |
68 |
+" |
69 |
+RDEPEND="${DEPEND}" |
70 |
+BDEPEND=" |
71 |
+ virtual/pkgconfig |
72 |
+ man? ( app-text/scdoc ) |
73 |
+" |
74 |
+ |
75 |
+src_configure() { |
76 |
+ local emesonargs=( |
77 |
+ -Dicons=$(usex gdk-pixbuf enabled disabled) |
78 |
+ -Dman-pages=$(usex man enabled disabled) |
79 |
+ $(meson_use apparmor apparmor) |
80 |
+ $(meson_use zsh-completion zsh-completions) |
81 |
+ "-Dwerror=false" |
82 |
+ ) |
83 |
+ |
84 |
+ meson_src_configure |
85 |
+} |
86 |
|
87 |
diff --git a/gui-apps/mako/mako-9999.ebuild b/gui-apps/mako/mako-9999.ebuild |
88 |
new file mode 100644 |
89 |
index 0000000..5d01459 |
90 |
--- /dev/null |
91 |
+++ b/gui-apps/mako/mako-9999.ebuild |
92 |
@@ -0,0 +1,49 @@ |
93 |
+# Copyright 1999-2019 Gentoo Authors |
94 |
+# Distributed under the terms of the GNU General Public License v2 |
95 |
+ |
96 |
+EAPI=7 |
97 |
+ |
98 |
+inherit fcaps meson |
99 |
+ |
100 |
+DESCRIPTION="A lightweight Wayland notification daemon" |
101 |
+HOMEPAGE="https://wayland.emersion.fr/mako https://github.com/emersion/mako" |
102 |
+ |
103 |
+if [[ ${PV} == 9999 ]]; then |
104 |
+ inherit git-r3 |
105 |
+ EGIT_REPO_URI="https://github.com/emersion/${PN}.git" |
106 |
+else |
107 |
+ SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
108 |
+ KEYWORDS="~amd64 ~x86" |
109 |
+fi |
110 |
+ |
111 |
+LICENSE="MIT" |
112 |
+SLOT="0" |
113 |
+IUSE="apparmor elogind +gdk-pixbuf +man systemd zsh-completion" |
114 |
+REQUIRED_USE="?? ( elogind systemd )" |
115 |
+ |
116 |
+DEPEND=" |
117 |
+ dev-libs/wayland |
118 |
+ x11-libs/cairo |
119 |
+ x11-libs/libxkbcommon |
120 |
+ x11-libs/pango |
121 |
+ elogind? ( >=sys-auth/elogind-239 ) |
122 |
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) |
123 |
+ systemd? ( >=sys-apps/systemd-239 ) |
124 |
+" |
125 |
+RDEPEND="${DEPEND}" |
126 |
+BDEPEND=" |
127 |
+ virtual/pkgconfig |
128 |
+ man? ( app-text/scdoc ) |
129 |
+" |
130 |
+ |
131 |
+src_configure() { |
132 |
+ local emesonargs=( |
133 |
+ -Dicons=$(usex gdk-pixbuf enabled disabled) |
134 |
+ -Dman-pages=$(usex man enabled disabled) |
135 |
+ $(meson_use apparmor apparmor) |
136 |
+ $(meson_use zsh-completion zsh-completions) |
137 |
+ "-Dwerror=false" |
138 |
+ ) |
139 |
+ |
140 |
+ meson_src_configure |
141 |
+} |
142 |
|
143 |
diff --git a/gui-apps/mako/metadata.xml b/gui-apps/mako/metadata.xml |
144 |
new file mode 100644 |
145 |
index 0000000..29defea |
146 |
--- /dev/null |
147 |
+++ b/gui-apps/mako/metadata.xml |
148 |
@@ -0,0 +1,21 @@ |
149 |
+<?xml version="1.0" encoding="UTF-8"?> |
150 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
151 |
+<pkgmetadata> |
152 |
+ <maintainer type="person"> |
153 |
+ <email>arthurzam+gentoo@×××××.com</email> |
154 |
+ <name>Arthur Zamarin</name> |
155 |
+ </maintainer> |
156 |
+ <longdescription lang="en"> |
157 |
+ A lightweight notification daemon for Wayland. It is compatible |
158 |
+ with any Wayland compositor which implements the wlr-layer-shell |
159 |
+ Wayland protocol. |
160 |
+ </longdescription> |
161 |
+ <use> |
162 |
+ <flag name="apparmor">Install apparmor profile</flag> |
163 |
+ <flag name="gdk-pixbuf">Enable icons support via the <pkg>x11-libs/gdk-pixbuf</pkg> library</flag> |
164 |
+ <flag name="man">Build and install man pages</flag> |
165 |
+ </use> |
166 |
+ <upstream> |
167 |
+ <remote-id type="github">emersion/mako</remote-id> |
168 |
+ </upstream> |
169 |
+</pkgmetadata> |