commit: ba037dde25e04979e167596b6c795bb1b0297ab6 parent: 69e3ba3983fd1b64f873816993e71a19d8bd817d Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Mon, 17 Jun 2019 23:01:52 +0200 gui-apps/waybar: New PackageDiffstat:
A | gui-apps/waybar/Manifest | 1 | + |
A | gui-apps/waybar/metadata.xml | 13 | +++++++++++++ |
A | gui-apps/waybar/waybar-0.6.9.ebuild | 53 | +++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 67 insertions(+), 0 deletions(-)
diff --git a/gui-apps/waybar/Manifest b/gui-apps/waybar/Manifest @@ -0,0 +1 @@ +DIST waybar-0.6.9.tar.gz 100952 BLAKE2B 097c967671515f8954c1a69eb4fa78bc08d622e398751d54d177ab8ff70629af234cb7f24237072472eb34581c273e91c5a02d876a08f46157d3cdbac391092f SHA512 c2d0f4f58e83293ee5ca3ccc01977a3339093c021539f971612347184acb00472e42406a71b42578517f64dfcf4ed7df544be34986b0cc4d60a56a1fd09ac58e diff --git a/gui-apps/waybar/metadata.xml b/gui-apps/waybar/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> + <use> + <flag name="mpd">Enable support for Music Player Daemon</flag> + <flag name="network">Enable support for network features</flag> + <flag name="tray">Enable support for tray</flag> + </use> +</pkgmetadata> diff --git a/gui-apps/waybar/waybar-0.6.9.ebuild b/gui-apps/waybar/waybar-0.6.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors." +HOMEPAGE="https://github.com/Alexays/Waybar" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Alexays/Waybar.git" +else + SRC_URI="https://github.com/Alexays/Waybar/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="mpd network pulseaudio tray udev" +S="$WORKDIR/Waybar-$PV" + +DEPEND=" + dev-libs/libinput:= + >=dev-libs/libfmt-5.3.0:= + >=dev-libs/spdlog-1.3.1:= + dev-libs/wayland:= + dev-cpp/gtkmm:3.0= + tray? ( + dev-libs/libdbusmenu:=[gtk3] + dev-libs/glib:= + ) + dev-libs/jsoncpp:= + dev-libs/libsigc++:2= + network? ( dev-libs/libnl:3= ) + pulseaudio? ( media-sound/pulseaudio:= ) + udev? ( virtual/udev ) + mpd? ( media-libs/libmpdclient:= ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local emesonargs=( + $(meson_feature network libnl) + $(meson_feature udev libudev) + $(meson_feature pulseaudio) + $(meson_feature tray dbusmenu-gtk) + $(meson_feature mpd) + ) + + meson_src_configure +}