From 44c3513ae8a712725c1f135e73bd11d58c03a600 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Sun, 6 Oct 2024 15:49:55 +0200 Subject: [PATCH] Version bump --- x11-wm/phoc/Manifest | 1 + x11-wm/phoc/phoc-0.42.0.ebuild | 85 ++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100755 x11-wm/phoc/phoc-0.42.0.ebuild diff --git a/x11-wm/phoc/Manifest b/x11-wm/phoc/Manifest index 1caf7cd..0d961f7 100644 --- a/x11-wm/phoc/Manifest +++ b/x11-wm/phoc/Manifest @@ -1 +1,2 @@ DIST phoc-v0.41.0.tar.gz 330793 BLAKE2B 3534c2ff9daebb8225b0d4d779509b9a56c832eb334af8f27eed6ccaf69c9ae1b3d535ec36bc1f94f4072e911f888887bfcefbe0cc5183dbe9a6ae91774f54b0 SHA512 29d8fdce6ddaad6f78f237dd87e1f623bd7db03fcb498ec39a7d2ee06631182073dec02e4d766e2f77ff565ec825f28a86b8a372f356e656ef75768153552a7a +DIST phoc-v0.42.0.tar.gz 332759 BLAKE2B 55d64249a8806f52c76dcf5989b19cda2413ad2b3ebf024bad13897a09de093242edea458c272fc471b764273938238adda34fccb27547e3a5fce18068a60b83 SHA512 7696f9a9f5ab93346a4d449cb91cef8881026ee4508cb9cced1db19f4bcf5344ab5e06ab6b293ea12220d91d4194aa3ed6f3398a3c0be21fd51c97f63a99ae02 diff --git a/x11-wm/phoc/phoc-0.42.0.ebuild b/x11-wm/phoc/phoc-0.42.0.ebuild new file mode 100755 index 0000000..c4f9bc5 --- /dev/null +++ b/x11-wm/phoc/phoc-0.42.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson xdg gnome2-utils + +MY_PV="v${PV}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Wlroots based Phone compositor" +HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phoc" + +SRC_URI=" + https://gitlab.gnome.org/World/Phosh/phoc/-/archive/${MY_PV}/${MY_P}.tar.gz +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+introspection +systemd test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/glib + dev-libs/gobject-introspection + dev-libs/libinput + dev-libs/wayland + dev-libs/wayland-protocols + gnome-base/dconf + gnome-base/gsettings-desktop-schemas + gnome-base/gnome-settings-daemon + >=gnome-base/gnome-desktop-3.26 + dev-util/vulkan-headers + sys-apps/systemd + x11-libs/libdrm + x11-libs/pixman + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-wm + x11-libs/xcb-util-renderutil + x11-wm/mutter + sys-auth/seatd + x11-apps/xkbcomp + x11-libs/libxkbcommon + dev-util/gi-docgen + dev-libs/gmobile + >=gui-libs/wlroots-0.17.4[phoc-patch] +" + +BDEPEND=" + dev-util/ctags + dev-build/meson + virtual/pkgconfig + x11-base/xorg-server +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default +} + +src_configure() { + local emesonargs=( + -Dtests=false + -Dembed-wlroots=disabled + ) + + meson_src_configure +} + +src_install() { + DESTDIR="${D}" meson_src_install + dobin "${S}"/helpers/scale-to-fit +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm +}