From 2cfe82b7f8e11986e0faa4b0dae7b32efe12dc72 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Wed, 18 Dec 2024 18:12:42 +0100 Subject: [PATCH] Added phoc 42.1 back since a dep is not upstreamed yet --- x11-wm/phoc/Manifest | 1 + x11-wm/phoc/phoc-0.42.1.ebuild | 85 ++++++++++++++++++++++++++++++++++ x11-wm/phoc/phoc-0.43.0.ebuild | 2 +- 3 files changed, 87 insertions(+), 1 deletion(-) create mode 100755 x11-wm/phoc/phoc-0.42.1.ebuild diff --git a/x11-wm/phoc/Manifest b/x11-wm/phoc/Manifest index 0915e4c..13e9ee0 100644 --- a/x11-wm/phoc/Manifest +++ b/x11-wm/phoc/Manifest @@ -1 +1,2 @@ +DIST phoc-v0.42.1.tar.gz 333261 BLAKE2B d42fe30c382a46bb0ac3427aa5e6f1617c8050d3f40d9f5c34b3093c5f53f481bb637f969fbfb2c9ee1bb3b4fa9a920bc79b756f3c3868151f1b5b6fb0188e17 SHA512 48c18d49a4afdb90b5eaa8d13a9ba757b7ebd8ce180d6481856f05528c9fbf9b16296877fe6606bfaac5f7bd47cffaa4ded26331d7643a6b228a7e92db338e09 DIST phoc-v0.43.0.tar.gz 335849 BLAKE2B b3cb6563b15fca736f76b5d84fc99308e65362ba84457be5e947ab0b39f2b137d44a361d173cf4b43de95ad63a17fc5a3cb3aed6bce68c0f8d616639190132b3 SHA512 6b901225952aee81fd76a5bf28831b84adf558346980c73326524081cfc820eefdcb6efac88958fb236cb64f5f8c468b83ccfc6beb62c875a8ab30024702fce7 diff --git a/x11-wm/phoc/phoc-0.42.1.ebuild b/x11-wm/phoc/phoc-0.42.1.ebuild new file mode 100755 index 0000000..cc9e2b6 --- /dev/null +++ b/x11-wm/phoc/phoc-0.42.1.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-47.0 + 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 +} diff --git a/x11-wm/phoc/phoc-0.43.0.ebuild b/x11-wm/phoc/phoc-0.43.0.ebuild index c4f9bc5..cc9e2b6 100755 --- a/x11-wm/phoc/phoc-0.43.0.ebuild +++ b/x11-wm/phoc/phoc-0.43.0.ebuild @@ -28,7 +28,7 @@ RDEPEND=" dev-libs/wayland dev-libs/wayland-protocols gnome-base/dconf - gnome-base/gsettings-desktop-schemas + >=gnome-base/gsettings-desktop-schemas-47.0 gnome-base/gnome-settings-daemon >=gnome-base/gnome-desktop-3.26 dev-util/vulkan-headers