From 61f432768743a6dc4b28db74467cbee51c0f303d Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Thu, 22 Aug 2024 17:03:27 +0200 Subject: [PATCH] Enable network --- gui-wm/phosh/phosh-0.41.0.ebuild | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gui-wm/phosh/phosh-0.41.0.ebuild b/gui-wm/phosh/phosh-0.41.0.ebuild index 7c4a1c5..5ad7a37 100755 --- a/gui-wm/phosh/phosh-0.41.0.ebuild +++ b/gui-wm/phosh/phosh-0.41.0.ebuild @@ -6,13 +6,15 @@ EAPI=7 inherit desktop gnome2-utils meson pam readme.gentoo-r1 systemd xdg MY_P="${PN}-v${PV}" - -RESTRICT="-network-sandbox" +LVC_COMMIT="a1ae68ff11dc6156f9c80069194ea39679700f3f" +LCU_COMMIT="817d770cfa6876d37c4a6d09b00c9bdedfdce8b7" DESCRIPTION="A pure Wayland shell prototype for GNOME on mobile devices" HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phosh/" SRC_URI=" - https://gitlab.gnome.org/World/Phosh/phosh/-/archive/v${PV}/${MY_P}.tar.gz + https://gitlab.gnome.org/World/Phosh/phosh/-/archive/v${PV}/${MY_P}.tar.gz + https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/${LVC_COMMIT}/libgnome-volume-control-${LVC_COMMIT}.tar.gz + https://gitlab.gnome.org/World/Phosh/libcall-ui/-/archive/${LCU_COMMIT}/libcall-ui-${LCU_COMMIT}.tar.gz " S="${WORKDIR}/${MY_P}" @@ -54,6 +56,15 @@ BDEPEND=" dev-build/meson " +src_prepare() { + default + rm -r "${S}"/subprojects/gvc || die + mv "${WORKDIR}"/libgnome-volume-control-"${LVC_COMMIT}" "${S}"/subprojects/gvc || die + rm -r "${S}"/subprojects/libcall-ui || die + mv "${WORKDIR}"/libcall-ui-"${LCU_COMMIT}" "${S}"/subprojects/libcall-ui || die + +} + src_configure() { local emesonargs=( -Dtests=false