diff options
| author | Viorel Munteanu <ceamac@gentoo.org> | 2025-11-21 15:06:58 +0200 |
|---|---|---|
| committer | Viorel Munteanu <ceamac@gentoo.org> | 2025-11-21 16:43:29 +0200 |
| commit | 0251e056541946cab776ce71641ff2311e7d6a58 (patch) | |
| tree | 18c07ec6bbf5bc82e373a93c9c99edf20f06b2cd /gui-wm/labwc/labwc-9999.ebuild | |
| parent | 7b0981fa32b8d9228d5a5ae4586dda21c48a5e34 (diff) | |
| download | gentoo-0251e056541946cab776ce71641ff2311e7d6a58.tar.gz gentoo-0251e056541946cab776ce71641ff2311e7d6a58.tar.bz2 gentoo-0251e056541946cab776ce71641ff2311e7d6a58.zip | |
gui-wm/labwc: new package, add 0.9.2, 9999
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'gui-wm/labwc/labwc-9999.ebuild')
| -rw-r--r-- | gui-wm/labwc/labwc-9999.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/gui-wm/labwc/labwc-9999.ebuild b/gui-wm/labwc/labwc-9999.ebuild new file mode 100644 index 000000000000..67fabb5586c9 --- /dev/null +++ b/gui-wm/labwc/labwc-9999.ebuild @@ -0,0 +1,70 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg + +DESCRIPTION="Openbox alternative for wayland" +HOMEPAGE="https://github.com/labwc/labwc https://labwc.github.io/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/labwc/labwc" +else + SRC_URI="https://github.com/labwc/labwc/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="X icons nls svg test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/wayland-1.19 + dev-libs/glib:2 + dev-libs/libinput:= + dev-libs/libxml2:2 + gui-libs/wlroots:0.19[X?] + media-libs/libpng:= + x11-libs/cairo[X?] + x11-libs/libdrm:= + x11-libs/libxkbcommon[X?] + x11-libs/pango[X?] + x11-libs/pixman + X? ( + x11-base/xwayland + x11-libs/libxcb:0= + x11-libs/xcb-util-wm + ) + icons? ( gui-libs/libsfdo ) + nls? ( sys-devel/gettext ) + svg? ( gnome-base/librsvg:2 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/scdoc + >=dev-libs/wayland-protocols-1.35 + virtual/pkgconfig + nls? ( sys-devel/gettext ) + test? ( dev-util/cmocka ) +" + +src_configure() { + local emesonargs=( + -Dman-pages=enabled + $(meson_feature X xwayland) + $(meson_feature nls) + $(meson_feature svg) + $(meson_feature icons icon) + $(meson_feature test) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die +} |
