Skip to content

Commit

Permalink
gui-apps/waybar: bump 0.8.0
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/693084
Closes: gentoo#12809
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <[email protected]>
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
lovesegfault authored and SoapGentoo committed Sep 12, 2019
1 parent d56e495 commit c9edf97
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 5 deletions.
1 change: 1 addition & 0 deletions gui-apps/waybar/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST waybar-0.7.2.tar.gz 101206 BLAKE2B d44b46c840094340e1e5f70d4ef3d01faf483a8c744ce6b549c1fa8767bf455c4c0ef67b564c61795e44c652d37c09848cce6f50ee3664de73477da6b4bce84e SHA512 d83f92d0111cdd01b276907fad18344dbf35be1e0bbbce2208f928e0d5e0fcccfa65ff2279de5a7e4dad5f04a6c99521670d75d65e32a0382bec2bf32eea00e2
DIST waybar-0.8.0.tar.gz 112019 BLAKE2B b3b61e02a104599e8f9047f9e2f76ec57ef7dd164edca2afd7b0afbb6b2c2341e20d6175905eba525337df9215473afa6cf017f736bb2de24e4daa169a5af3ee SHA512 c670fd21a7d29396d8bbe1b7540ddbbe44a98f7fb49f8518e0cc302aa57e5bb993ff8306973a7b8ca4ec000a7ecc311872762a0782ce19e4bf4cff8ea09caccb
62 changes: 62 additions & 0 deletions gui-apps/waybar/waybar-0.8.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# 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/${PN^}.git"
else
SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"
IUSE="libcxx mpd network pulseaudio tray +udev"

BDEPEND="
>=app-text/scdoc-1.9.2
virtual/pkgconfig
"

DEPEND="
dev-cpp/gtkmm:3.0
dev-libs/jsoncpp:=
dev-libs/libinput:=
dev-libs/libsigc++:2
>=dev-libs/libfmt-5.3.0:=
>=dev-libs/spdlog-1.3.1:=
dev-libs/wayland
dev-libs/wayland-protocols
gui-libs/wlroots
libcxx? ( sys-libs/libcxx )
mpd? ( media-libs/libmpdclient )
network? ( dev-libs/libnl:3 )
pulseaudio? ( media-sound/pulseaudio )
tray? ( dev-libs/libdbusmenu[gtk3] )
udev? ( virtual/libudev:= )
"

RDEPEND="${DEPEND}"

if [[ ${PV} != 9999 ]]; then
S="${WORKDIR}/${PN^}-${PV}"
fi

src_configure() {
local emesonargs=(
$(meson_feature mpd)
$(meson_feature network libnl)
$(meson_feature pulseaudio)
$(meson_feature tray dbusmenu-gtk)
$(meson_feature udev libudev)
$(meson_use libcxx)
)
meson_src_configure
}
14 changes: 9 additions & 5 deletions gui-apps/waybar/waybar-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ LICENSE="MIT"
SLOT="0"
IUSE="libcxx mpd network pulseaudio tray +udev"

BDEPEND="
>=app-text/scdoc-1.9.2
virtual/pkgconfig
"

DEPEND="
dev-cpp/gtkmm:3.0
dev-libs/jsoncpp:=
dev-libs/libinput:=
dev-libs/libsigc++:2
>=dev-libs/libfmt-5.3.0:0/5
>=dev-libs/libfmt-5.3.0:=
>=dev-libs/spdlog-1.3.1:=
dev-libs/wayland
dev-libs/wayland-protocols
Expand All @@ -35,24 +40,23 @@ DEPEND="
network? ( dev-libs/libnl:3 )
pulseaudio? ( media-sound/pulseaudio )
tray? ( dev-libs/libdbusmenu[gtk3] )
udev? ( virtual/libudev:= )"
udev? ( virtual/libudev:= )
"

RDEPEND="${DEPEND}"

BDEPEND="virtual/pkgconfig"

if [[ ${PV} != 9999 ]]; then
S="${WORKDIR}/${PN^}-${PV}"
fi

src_configure() {
local emesonargs=(
$(meson_use libcxx)
$(meson_feature mpd)
$(meson_feature network libnl)
$(meson_feature pulseaudio)
$(meson_feature tray dbusmenu-gtk)
$(meson_feature udev libudev)
$(meson_use libcxx)
)
meson_src_configure
}

0 comments on commit c9edf97

Please sign in to comment.