From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-wm/phoc/
Date: Sun, 11 Feb 2024 17:50:36 +0000 (UTC) [thread overview]
Message-ID: <1707669334.ff5b29cde7d763a79d1985fa5913b97aeadfb3e6.davidroman@gentoo> (raw)
commit: ff5b29cde7d763a79d1985fa5913b97aeadfb3e6
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Feb 11 11:13:05 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Feb 11 16:35:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff5b29cd
gui-wm/phoc: use bundled (patched) wlroots
See: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1028
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
.../{phoc-0.36.0.ebuild => phoc-0.36.0-r1.ebuild} | 55 +++++++++++++++-------
1 file changed, 39 insertions(+), 16 deletions(-)
diff --git a/gui-wm/phoc/phoc-0.36.0.ebuild b/gui-wm/phoc/phoc-0.36.0-r1.ebuild
similarity index 66%
rename from gui-wm/phoc/phoc-0.36.0.ebuild
rename to gui-wm/phoc/phoc-0.36.0-r1.ebuild
index 8565dfb6c1..75092084cb 100644
--- a/gui-wm/phoc/phoc-0.36.0.ebuild
+++ b/gui-wm/phoc/phoc-0.36.0-r1.ebuild
@@ -14,29 +14,44 @@ SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz
LICENSE="|| ( GPL-3+ MIT ) GPL-3+ LGPL-2.1+ MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
-IUSE="+X gtk-doc man test"
-REQUIRED_USE="test? ( X )"
+IUSE="gtk-doc man test"
RESTRICT="!test? ( test )"
-DEPEND="
+WLROOTS_DEPEND="
+ >=dev-libs/libinput-1.14.0:=
+ >=dev-libs/wayland-1.22.0
+ media-libs/libdisplay-info
+ media-libs/libglvnd
+ media-libs/mesa[egl(+),gles2]
+ sys-apps/hwdata
+ sys-auth/seatd:=
+ x11-base/xwayland
+ x11-libs/cairo
+ >=x11-libs/libdrm-2.4.114
+ x11-libs/libxcb:=
+ x11-libs/libxkbcommon
+ >=x11-libs/pixman-0.42.0
+ x11-libs/xcb-util-errors
+ x11-libs/xcb-util-renderutil
+ x11-libs/xcb-util-wm
+ virtual/libudev
+ amd64? ( >=dev-libs/libliftoff-0.4 )
+"
+COMMON_DEPEND="${WLROOTS_DEPEND}
>=dev-libs/glib-2.74:2
dev-libs/json-glib
dev-libs/libinput:=
dev-libs/wayland
>=gnome-base/gnome-desktop-3.26:3
gnome-base/gsettings-desktop-schemas
- >=gui-libs/wlroots-0.17.1:=[X?]
- <gui-libs/wlroots-0.18.0
- media-libs/libglvnd
- x11-libs/libdrm
x11-libs/pixman
- x11-libs/libxkbcommon[X?,wayland]
- test? (
- gui-libs/wlroots[x11-backend]
- x11-wm/mutter
- )
+ x11-libs/libxcb:=
+ x11-libs/libxkbcommon
"
-RDEPEND="${DEPEND}"
+DEPEND="${COMMON_DEPEND}
+ test? ( x11-wm/mutter )
+"
+RDEPEND="${COMMON_DEPEND}"
BDEPEND="
dev-libs/glib:2
dev-libs/wayland-protocols
@@ -49,13 +64,21 @@ BDEPEND="
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/phosh.asc"
+src_prepare() {
+ default
+
+ cd subprojects/wlroots || die
+ eapply "${S}"/subprojects/packagefiles/wlroots
+}
+
src_configure() {
local emesonargs=(
- $(meson_feature X xwayland)
$(meson_use gtk-doc gtk_doc)
$(meson_use man)
$(meson_use test tests)
- -Dembed-wlroots=disabled
+ -Ddefault_library=static
+ -Dembed-wlroots=enabled
+ -Dxwayland=enabled
)
meson_src_configure
}
@@ -68,7 +91,7 @@ src_test() {
}
src_install() {
- meson_src_install
+ meson_src_install --skip-subprojects wlroots
if use gtk-doc; then
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
next reply other threads:[~2024-02-11 17:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-11 17:50 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-30 15:26 [gentoo-commits] repo/proj/guru:master commit in: gui-wm/phoc/ David Roman
2025-01-02 19:26 David Roman
2025-01-02 19:26 David Roman
2024-11-17 3:36 Julien Roy
2024-10-22 15:55 David Roman
2024-10-21 9:51 David Roman
2024-09-19 12:13 David Roman
2024-08-20 20:46 David Roman
2024-04-09 23:09 Julien Roy
2024-04-09 11:25 Julien Roy
2024-02-11 17:50 David Roman
2024-02-05 11:57 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1707669334.ff5b29cde7d763a79d1985fa5913b97aeadfb3e6.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox