Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/waybar/
Date: Mon, 12 Aug 2019 00:53:03
Message-Id: 1565570603.40ca71583c9bdde054e07abd1ae4ab72a1e3acb6.bman@gentoo
1 commit: 40ca71583c9bdde054e07abd1ae4ab72a1e3acb6
2 Author: Bernardo Meurer <meurerbernardo <AT> gmail <DOT> com>
3 AuthorDate: Sun Aug 4 02:13:17 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 12 00:43:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ca7158
7
8 gui-apps/waybar: New package (0.7.2, 9999)
9
10 Closes: https://bugs.gentoo.org/684708
11 Package-Manager: Portage-2.3.70, Repoman-2.3.16
12 Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
13 Closes: https://github.com/gentoo/gentoo/pull/12612
14 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
15
16 gui-apps/waybar/Manifest | 1 +
17 gui-apps/waybar/metadata.xml | 26 ++++++++++++++++
18 gui-apps/waybar/waybar-0.7.2.ebuild | 62 +++++++++++++++++++++++++++++++++++++
19 gui-apps/waybar/waybar-9999.ebuild | 62 +++++++++++++++++++++++++++++++++++++
20 4 files changed, 151 insertions(+)
21
22 diff --git a/gui-apps/waybar/Manifest b/gui-apps/waybar/Manifest
23 new file mode 100644
24 index 00000000000..1af185fb428
25 --- /dev/null
26 +++ b/gui-apps/waybar/Manifest
27 @@ -0,0 +1 @@
28 +DIST waybar-0.7.2.tar.gz 101206 BLAKE2B d44b46c840094340e1e5f70d4ef3d01faf483a8c744ce6b549c1fa8767bf455c4c0ef67b564c61795e44c652d37c09848cce6f50ee3664de73477da6b4bce84e SHA512 d83f92d0111cdd01b276907fad18344dbf35be1e0bbbce2208f928e0d5e0fcccfa65ff2279de5a7e4dad5f04a6c99521670d75d65e32a0382bec2bf32eea00e2
29
30 diff --git a/gui-apps/waybar/metadata.xml b/gui-apps/waybar/metadata.xml
31 new file mode 100644
32 index 00000000000..3b8f2d78b9b
33 --- /dev/null
34 +++ b/gui-apps/waybar/metadata.xml
35 @@ -0,0 +1,26 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 + <maintainer type="person">
40 + <email>bernardo@××××××××.ai</email>
41 + <name>Bernardo Meurer</name>
42 + </maintainer>
43 + <maintainer type="project">
44 + <email>proxy-maint@g.o</email>
45 + <name>Gentoo Proxy Maintainers Project</name>
46 + </maintainer>
47 + <longdescription lang="en">
48 + Highly customizable Wayland bar for Sway and Wlroots based compositors.
49 + </longdescription>
50 + <use>
51 + <flag name="libcxx">Build with Clang's libc++ instead of libstdc++ on Linux.</flag>
52 + <flag name="mpd">Enable support for the Music Player Daemon</flag>
53 + <flag name="network">Enable libnl support for network related features</flag>
54 + <flag name="tray">Enable support for tray</flag>
55 + </use>
56 + <upstream>
57 + <remote-id type="github">Alexays/Waybar</remote-id>
58 + <bugs-to>https://github.com/Alexays/Waybar/issues</bugs-to>
59 + <changelog>https://github.com/Alexays/Waybar/releases</changelog>
60 + </upstream>
61 +</pkgmetadata>
62
63 diff --git a/gui-apps/waybar/waybar-0.7.2.ebuild b/gui-apps/waybar/waybar-0.7.2.ebuild
64 new file mode 100644
65 index 00000000000..bfcfa38df7f
66 --- /dev/null
67 +++ b/gui-apps/waybar/waybar-0.7.2.ebuild
68 @@ -0,0 +1,62 @@
69 +# Copyright 1999-2019 Gentoo Authors
70 +# Distributed under the terms of the GNU General Public License v2
71 +
72 +EAPI=7
73 +
74 +inherit meson
75 +
76 +DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors."
77 +HOMEPAGE="https://github.com/Alexays/Waybar"
78 +
79 +if [[ ${PV} == 9999 ]]; then
80 + inherit git-r3
81 + EGIT_REPO_URI="https://github.com/Alexays/${PN^}.git"
82 +else
83 + SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz"
84 + KEYWORDS="~amd64"
85 +fi
86 +
87 +LICENSE="MIT"
88 +SLOT="0"
89 +IUSE="libcxx mpd network pulseaudio tray +udev"
90 +
91 +DEPEND="
92 + dev-cpp/gtkmm:3.0
93 + dev-libs/jsoncpp:=
94 + dev-libs/libinput:=
95 + dev-libs/libsigc++:2
96 + >=dev-libs/libfmt-5.3.0:=
97 + >=dev-libs/spdlog-1.3.1:=
98 + dev-libs/wayland
99 + dev-libs/wayland-protocols
100 + gui-libs/wlroots
101 +
102 + libcxx? ( sys-libs/libcxx )
103 + mpd? ( media-libs/libmpdclient )
104 + network? ( dev-libs/libnl:3 )
105 + pulseaudio? ( media-sound/pulseaudio )
106 + tray? ( dev-libs/libdbusmenu[gtk3] )
107 + udev? ( virtual/libudev:= )
108 +"
109 +RDEPEND="
110 + ${DEPEND}
111 +"
112 +BDEPEND="
113 + virtual/pkgconfig
114 +"
115 +
116 +if [[ ${PV} != 9999 ]]; then
117 + S="${WORKDIR}/${PN^}-${PV}"
118 +fi
119 +
120 +src_configure() {
121 + local emesonargs=(
122 + $(meson_use libcxx)
123 + $(meson_feature mpd)
124 + $(meson_feature network libnl)
125 + $(meson_feature pulseaudio)
126 + $(meson_feature tray dbusmenu-gtk)
127 + $(meson_feature udev libudev)
128 + )
129 + meson_src_configure
130 +}
131
132 diff --git a/gui-apps/waybar/waybar-9999.ebuild b/gui-apps/waybar/waybar-9999.ebuild
133 new file mode 100644
134 index 00000000000..bfcfa38df7f
135 --- /dev/null
136 +++ b/gui-apps/waybar/waybar-9999.ebuild
137 @@ -0,0 +1,62 @@
138 +# Copyright 1999-2019 Gentoo Authors
139 +# Distributed under the terms of the GNU General Public License v2
140 +
141 +EAPI=7
142 +
143 +inherit meson
144 +
145 +DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors."
146 +HOMEPAGE="https://github.com/Alexays/Waybar"
147 +
148 +if [[ ${PV} == 9999 ]]; then
149 + inherit git-r3
150 + EGIT_REPO_URI="https://github.com/Alexays/${PN^}.git"
151 +else
152 + SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz"
153 + KEYWORDS="~amd64"
154 +fi
155 +
156 +LICENSE="MIT"
157 +SLOT="0"
158 +IUSE="libcxx mpd network pulseaudio tray +udev"
159 +
160 +DEPEND="
161 + dev-cpp/gtkmm:3.0
162 + dev-libs/jsoncpp:=
163 + dev-libs/libinput:=
164 + dev-libs/libsigc++:2
165 + >=dev-libs/libfmt-5.3.0:=
166 + >=dev-libs/spdlog-1.3.1:=
167 + dev-libs/wayland
168 + dev-libs/wayland-protocols
169 + gui-libs/wlroots
170 +
171 + libcxx? ( sys-libs/libcxx )
172 + mpd? ( media-libs/libmpdclient )
173 + network? ( dev-libs/libnl:3 )
174 + pulseaudio? ( media-sound/pulseaudio )
175 + tray? ( dev-libs/libdbusmenu[gtk3] )
176 + udev? ( virtual/libudev:= )
177 +"
178 +RDEPEND="
179 + ${DEPEND}
180 +"
181 +BDEPEND="
182 + virtual/pkgconfig
183 +"
184 +
185 +if [[ ${PV} != 9999 ]]; then
186 + S="${WORKDIR}/${PN^}-${PV}"
187 +fi
188 +
189 +src_configure() {
190 + local emesonargs=(
191 + $(meson_use libcxx)
192 + $(meson_feature mpd)
193 + $(meson_feature network libnl)
194 + $(meson_feature pulseaudio)
195 + $(meson_feature tray dbusmenu-gtk)
196 + $(meson_feature udev libudev)
197 + )
198 + meson_src_configure
199 +}