commit: 21484102e1d8130330031311dfdf753fd0901801 Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Sat Aug 24 16:37:11 2024 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Sat Aug 24 17:06:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21484102
gui-apps/wcm: add 0.9.0 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> gui-apps/wcm/Manifest | 1 + gui-apps/wcm/wcm-0.9.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/gui-apps/wcm/Manifest b/gui-apps/wcm/Manifest index d76c7232f96b..4f71bfdfe177 100644 --- a/gui-apps/wcm/Manifest +++ b/gui-apps/wcm/Manifest @@ -1 +1,2 @@ DIST wcm-0.8.0.tar.xz 430960 BLAKE2B 4d845edc631bda6b3fbee181d64897b366f4e73af7fef0e912f0a5dc9c7db4dc731319b6c25ce3e2206cc05c908ee402e01ed914cba4ccc63b0d52b9980b7414 SHA512 43d863cfd44dc10874f6ac0c511cd07d84721c53955315fb6eed54ba5f6ac9ebcdcf19e515639deafb333d8e45d95ce8e5222ce1d3344fc7d72f09b018bf517e +DIST wcm-0.9.0.tar.xz 434076 BLAKE2B 7f068dda1c256d930db57d8cd299652416c5a2357742e1cc3adddab98b143ff33219dcde7c94f951d456d8a4047ce606fd95ddf1a9b4b33f8e1de8997b67aeb5 SHA512 f6c240c38adcf6c464df2ba07f2cbaeecabaf16fcf6c92fa064e30989d9d9476422e2d58bbdc14c0b2232839b517ee2938cc795200e3cb1549c170c87df8050c diff --git a/gui-apps/wcm/wcm-0.9.0.ebuild b/gui-apps/wcm/wcm-0.9.0.ebuild new file mode 100644 index 000000000000..a2161dc88469 --- /dev/null +++ b/gui-apps/wcm/wcm-0.9.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg + +DESCRIPTION="Wayfire Config Manager" +HOMEPAGE="https://github.com/WayfireWM/wcm" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/WayfireWM/wcm.git" + SLOT="0/0.10" +else + SRC_URI="https://github.com/WayfireWM/wcm/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64" + SLOT="0/$(ver_cut 1-2)" +fi + +LICENSE="MIT" + +RESTRICT="test" # no tests + +COMMON_DEPEND=" + dev-cpp/glibmm:2 + dev-cpp/gtkmm:3.0[wayland] + dev-libs/glib:2 + dev-libs/libevdev + dev-libs/libsigc++:2 + dev-libs/libxml2 + dev-libs/wayland + gui-apps/wf-shell:${SLOT} + gui-libs/wf-config:${SLOT} + gui-wm/wayfire:${SLOT} + media-libs/libepoxy + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libxkbcommon +" +RDEPEND="${COMMON_DEPEND}" +DEPEND=" + ${COMMON_DEPEND} + dev-libs/wayland-protocols +" +BDEPEND=" + dev-util/wayland-scanner + virtual/pkgconfig +" + +src_prepare() { + default + + sed 's/DestkopSettings/DesktopSettings/' -i wayfire-config-manager.desktop +} + +src_configure() { + local emesonargs=( + -Dwf_shell=enabled + -Denable_wdisplays=true + ) + + meson_src_configure +}
