| @@ -1,2 +1,3 @@ | |||||
| DIST 0.1.3.tar.gz 65396 BLAKE2B 333f5b74f3d04510dde15c14ba989f56f546ef39cb4f36666f13daf56a3a3d5cd65d6fb88c70e357493e5c44235615ab73afeb889a2a4997d6bbdc3e392b7310 SHA512 8e1085f2751b8c7f69178c45016c65437d58083130b111b09a0889ca0a67cc7c7dca1ea27c5c5b4328fa21ebc8d061681644273a2f14b1c23ab73806f7cca20c | DIST 0.1.3.tar.gz 65396 BLAKE2B 333f5b74f3d04510dde15c14ba989f56f546ef39cb4f36666f13daf56a3a3d5cd65d6fb88c70e357493e5c44235615ab73afeb889a2a4997d6bbdc3e392b7310 SHA512 8e1085f2751b8c7f69178c45016c65437d58083130b111b09a0889ca0a67cc7c7dca1ea27c5c5b4328fa21ebc8d061681644273a2f14b1c23ab73806f7cca20c | ||||
| EBUILD Waybar-0.1.3.ebuild 1137 BLAKE2B 8e5941e2fe178dbf216c4fbebc16792247df59b4fa02703abd76d5e1bb0ec7f1398f424ac739577a04e47671078754bd82f88d4e47e031d40c2df29b50238a35 SHA512 1b0e54c54cfb2644bdcf45f18b2ce17a95632a8beca57a6c3f1234ff64af7a9b16e1e6420477b74894fc22765a7d9f0d614702d542230a2ab1a57828fd593d11 | EBUILD Waybar-0.1.3.ebuild 1137 BLAKE2B 8e5941e2fe178dbf216c4fbebc16792247df59b4fa02703abd76d5e1bb0ec7f1398f424ac739577a04e47671078754bd82f88d4e47e031d40c2df29b50238a35 SHA512 1b0e54c54cfb2644bdcf45f18b2ce17a95632a8beca57a6c3f1234ff64af7a9b16e1e6420477b74894fc22765a7d9f0d614702d542230a2ab1a57828fd593d11 | ||||
| EBUILD Waybar-9999.ebuild 1137 BLAKE2B 8e5941e2fe178dbf216c4fbebc16792247df59b4fa02703abd76d5e1bb0ec7f1398f424ac739577a04e47671078754bd82f88d4e47e031d40c2df29b50238a35 SHA512 1b0e54c54cfb2644bdcf45f18b2ce17a95632a8beca57a6c3f1234ff64af7a9b16e1e6420477b74894fc22765a7d9f0d614702d542230a2ab1a57828fd593d11 | |||||
| @@ -0,0 +1,53 @@ | |||||
| # Copyright 1999-2018 Gentoo Foundation | |||||
| # Distributed under the terms of the GNU General Public License v2 | |||||
| EAPI=6 | |||||
| EGIT_REPO_URI="https://github.com/Alexays/Waybar.git" | |||||
| EGIT_BRANCH="master" | |||||
| if [[ ${PV} = 9999* ]]; then | |||||
| GIT_ECLASS="git-r3" | |||||
| fi | |||||
| inherit eutils meson $GIT_ECLASS | |||||
| DESCRIPTION="Highly customizable Wayland Polybar like bar for Sway and Wlroots based compositors." | |||||
| HOMEPAGE="https://github.com/Alexays/Waybar" | |||||
| if [[ $PV = 9999* ]]; then | |||||
| SRC_URI="" | |||||
| else | |||||
| SRC_URI="https://github.com/Alexays/Waybar/archive/${PV}.tar.gz" | |||||
| KEYWORDS="~amd64 ~x86" | |||||
| fi | |||||
| LICENSE="MIT" | |||||
| SLOT="0" | |||||
| IUSE="dbusmenu-gtk network pulseaudio" | |||||
| RDEPEND="dev-libs/wayland | |||||
| dev-libs/wlroots | |||||
| dev-cpp/gtkmm:3.0 | |||||
| dbusmenu-gtk? ( | |||||
| dev-libs/libdbusmenu[gtk3] | |||||
| dev-libs/glib | |||||
| ) | |||||
| dev-libs/jsoncpp | |||||
| dev-libs/libsigc++ | |||||
| network? ( dev-libs/libnl ) | |||||
| pulseaudio? ( media-sound/pulseaudio ) | |||||
| " | |||||
| DEPEND="${RDEPEND} | |||||
| >=dev-util/meson-0.47 | |||||
| dev-util/ninja" | |||||
| src_configure() { | |||||
| local emesonargs=( | |||||
| -Dlibnl=$(usex network enabled disabled) | |||||
| -Dpulseaudio=$(usex pulseaudio enabled disabled) | |||||
| -Ddbusmenu-gtk=$(usex dbusmenu-gtk enabled disabled) | |||||
| ) | |||||
| meson_src_configure | |||||
| } | |||||