diff --git a/gui-apps/sfwbar/Manifest b/gui-apps/sfwbar/Manifest index 010a75aa4e..ed4d94906d 100644 --- a/gui-apps/sfwbar/Manifest +++ b/gui-apps/sfwbar/Manifest @@ -1,2 +1,3 @@ DIST sfwbar-1.0_beta15.tar.gz 405881 BLAKE2B 01f8009bf5cc4d731749389d550347289ee346a1bd2a943e12845194fccc3133eff6a7418c6164b873f9fc291a9e8a19d144efaa9771c8a1738479aed62c26a9 SHA512 69828e9859c0dda88889195bc0d7932b37f9c09d9ff0f61ba3399821fe6002b6758d28a1231cf14de5e6460777eb5b1ce2871d8d7dc8655c0a38967bb017e8c5 DIST sfwbar-1.0_beta16.tar.gz 466212 BLAKE2B fccb76d8238014320a5f5852fc769001fa97a58e06ffbd6a2cfca91a4812ac6cebc2a18177b965362b96decc9b3d61b0baa5b899423def24dc661e1b103dfcf7 SHA512 feaaf993ed18be667d6e979be47721fc678aea79d408de98dff9adaf05e2aa7fd7d7a56e2dd59c24f4a63114b964353f72db0c9509c3c6202369a257569f8485 +DIST sfwbar-1.0_beta16_p1.tar.gz 466343 BLAKE2B a1a605ef1d3b6c6c471ae7852b610bd2e9b930f29caec5e378b3feb08b9a14bae422a0eba2bb8315061573724ef55dbdc67ba4cd20013c11eb957fba29089765 SHA512 f26d7ea743fbac1750fcd804b605d45239ab3935f0661b9affb4108cdc460e919e5720fedf94572cdc8d8f33391ad130ae9eb09300dc917f6f72ee8263204292 diff --git a/gui-apps/sfwbar/sfwbar-1.0_beta15.ebuild b/gui-apps/sfwbar/sfwbar-1.0_beta15.ebuild index 9a8a249052..48a9f0f825 100644 --- a/gui-apps/sfwbar/sfwbar-1.0_beta15.ebuild +++ b/gui-apps/sfwbar/sfwbar-1.0_beta15.ebuild @@ -23,7 +23,7 @@ COMMON_DEPEND=" dev-libs/glib:2 dev-libs/json-c:= dev-libs/wayland - gui-libs/gtk-layer-shell + <=gui-libs/gtk-layer-shell-0.9.1 >=x11-libs/gtk+-3.22.0:3[introspection,wayland] X? ( x11-libs/libxkbcommon ) mpd? ( media-libs/libmpdclient ) diff --git a/gui-apps/sfwbar/sfwbar-1.0_beta16.ebuild b/gui-apps/sfwbar/sfwbar-1.0_beta16.ebuild index 579799e603..4ac361684d 100644 --- a/gui-apps/sfwbar/sfwbar-1.0_beta16.ebuild +++ b/gui-apps/sfwbar/sfwbar-1.0_beta16.ebuild @@ -23,7 +23,7 @@ COMMON_DEPEND=" dev-libs/glib:2 dev-libs/json-c:= dev-libs/wayland - gui-libs/gtk-layer-shell + <=gui-libs/gtk-layer-shell-0.9.1 >=x11-libs/gtk+-3.22.0:3[introspection,wayland] X? ( x11-libs/libxkbcommon ) mpd? ( media-libs/libmpdclient ) diff --git a/gui-apps/sfwbar/sfwbar-1.0_beta16_p1.ebuild b/gui-apps/sfwbar/sfwbar-1.0_beta16_p1.ebuild new file mode 100644 index 0000000000..cfd3016335 --- /dev/null +++ b/gui-apps/sfwbar/sfwbar-1.0_beta16_p1.ebuild @@ -0,0 +1,73 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="1.0_beta16.1" + +inherit meson xdg-utils + +DESCRIPTION="S* Floating Window Bar" +HOMEPAGE="https://github.com/LBCrion/sfwbar" +if [ "${PV}" == 9999 ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/LBCrion/${PN}" +else + SRC_URI="https://github.com/LBCrion/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="GPL-3" +SLOT="0" + +IUSE="+menu X mpd pulseaudio alsa network networkmanager iwd bluetooth notification man idleinhibit bsdctl" + +COMMON_DEPEND=" + dev-libs/glib:2 + dev-libs/json-c:= + dev-libs/wayland + gui-libs/gtk-layer-shell + >=x11-libs/gtk+-3.22.0:3[introspection,wayland] + X? ( x11-libs/libxkbcommon ) + mpd? ( media-libs/libmpdclient ) + pulseaudio? ( media-libs/libpulse[glib] ) + alsa? ( media-libs/alsa-lib ) +" +RDEPEND="${COMMON_DEPEND} + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/pango +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/wayland-protocols-1.17 +" +BDEPEND="dev-util/wayland-scanner" + +src_configure() { + local emesonargs=( + $(meson_feature alsa) + $(meson_feature mpd) + $(meson_feature pulseaudio pulse) + $(meson_feature X xkb) + $(meson_feature network) + $(meson_feature networkmanager nm) + $(meson_feature iwd) + $(meson_feature menu appmenu) + $(meson_feature bluetooth bluez) + $(meson_feature bsdctl) + $(meson_feature notification ncenter) + $(meson_feature notification idle) + $(meson_feature man build-docs) + $(meson_feature idleinhibit) + ) + + meson_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}