aboutsummaryrefslogtreecommitdiff
path: root/gui-wm
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-10-22 15:35:19 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-10-22 15:35:19 +0500
commit129fa716c8c2d763c8eaf4dfa517a0ce795f40d0 (patch)
treed6c74b7af15206cc8d4b1dba0c23444d8c6badca /gui-wm
parentmail-client/heirloom-mailx: treeclean (diff)
downloadguru-129fa716c8c2d763c8eaf4dfa517a0ce795f40d0.tar.gz
guru-129fa716c8c2d763c8eaf4dfa517a0ce795f40d0.tar.bz2
guru-129fa716c8c2d763c8eaf4dfa517a0ce795f40d0.zip
gui-wm/phoc: add 0.42.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'gui-wm')
-rw-r--r--gui-wm/phoc/Manifest2
-rw-r--r--gui-wm/phoc/phoc-0.42.1.ebuild114
2 files changed, 116 insertions, 0 deletions
diff --git a/gui-wm/phoc/Manifest b/gui-wm/phoc/Manifest
index 13c608c9b..db287bb45 100644
--- a/gui-wm/phoc/Manifest
+++ b/gui-wm/phoc/Manifest
@@ -2,3 +2,5 @@ DIST phoc-0.41.0.tar.xz 684952 BLAKE2B 8e822a639dabeae073e7897c8c8ae2b5b43605618
DIST phoc-0.41.0.tar.xz.asc 833 BLAKE2B 76bbeb07686f27425336e09c380facbe2567a1e6c0eb4056c1738dab05f37594430f9946209677bee38f59e86bfddcfb9420a760f5b714caa9a3662de169515a SHA512 f805012756891d0fd2ed4dbb76adb56327af15bdd93c914d506a2aa4a6017b7811eaa4011a44a841f51a07b7a9ecea28a5d8c6911ab1f8a8262924d49591424d
DIST phoc-0.42.0.tar.xz 687020 BLAKE2B 160833555354da886a95e557cfc7e8c36fb5a7164d3c50588d33a86e31ef6780068f4b7df9e3274522bca751270dec2ea58ba8313f29b54def0f5c6345e875f5 SHA512 86f521f755b0fb761ecd6575af5df6981c387f94ba5cdd5e1567fcf2033ed49f9a0c4014e2f23c3adedc6047d316267d0f7a3092f0d50b2ac1711a8958f72020
DIST phoc-0.42.0.tar.xz.asc 833 BLAKE2B 400beb5b785389a7090dfacae1247084c18cf2865c07b6163645370cd96ec569036087deafad13124b7b7fe3a814630a355fc9bd3fa411cfae1ea00012903903 SHA512 fbc1a8ac78f990067cc18daab2d1fb054d1c85ee656dba19c1f45adcf400a76649c84bb07fc8acbfc801597d1f5a90dd4ed11912d3f7eb6ed5d467afed7a92df
+DIST phoc-0.42.1.tar.xz 687208 BLAKE2B 1f89a76a1ff2fa7316788aa8d4af7bf1df6f841f62ba507d3059c98475084a534d331845700979a4d93d9eba8b525a29770070bd7a3e6b2beef142a59a1ee5fc SHA512 f09502542597ed17e5fef6846bb9617da6dae8a096e5eb37b0f69b4d0a6bfbdf17454969ebe14abba8a77197831cd789925ad426137c948ca6290f4d5c74d785
+DIST phoc-0.42.1.tar.xz.asc 833 BLAKE2B dbec4d25a8a870d772912f94500472e0d71121a619e71a4c5f13208c1931dd9891f30566c3ae03d619990bd019af06ad292c2172696bbcb9e9175fff93814d78 SHA512 7db208e32f72aacb98fee818fbf3103778c67115c6980056081c16465fc2c789954849dd6066e76c8c42e014287c0d6e6767a43ff813c9cc312ea155a1ae3e85
diff --git a/gui-wm/phoc/phoc-0.42.1.ebuild b/gui-wm/phoc/phoc-0.42.1.ebuild
new file mode 100644
index 000000000..7856fa237
--- /dev/null
+++ b/gui-wm/phoc/phoc-0.42.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson verify-sig virtualx xdg
+
+DESCRIPTION="Wayland compositor for mobile phones"
+HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phoc"
+SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz
+ verify-sig? ( https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz.asc )
+"
+
+LICENSE="|| ( GPL-3+ MIT ) GPL-3+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gtk-doc man test"
+RESTRICT="!test? ( test )"
+
+WLROOTS_DEPEND="
+ >=dev-libs/libinput-1.14.0:=
+ >=dev-libs/wayland-1.22.0
+ media-libs/libdisplay-info:=
+ media-libs/libglvnd
+ || (
+ >=media-libs/mesa-24.1.0_rc1[opengl]
+ <media-libs/mesa-24.1.0_rc1[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/gmobile
+ dev-libs/libinput:=
+ dev-libs/wayland
+ >=gnome-base/gnome-desktop-3.26:3
+ gnome-base/gsettings-desktop-schemas
+ x11-libs/pixman
+ x11-libs/libxcb:=
+ x11-libs/libxkbcommon
+"
+DEPEND="${COMMON_DEPEND}
+ test? ( x11-wm/mutter )
+"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="
+ dev-libs/glib:2
+ dev-libs/wayland-protocols
+ dev-util/wayland-scanner
+ sys-devel/gettext
+ gtk-doc? ( dev-util/gi-docgen )
+ man? ( dev-python/docutils )
+ verify-sig? ( sec-keys/openpgp-keys-phosh )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/phosh.asc"
+
+src_prepare() {
+ default
+
+ cd subprojects/wlroots || die
+ eapply "${S}"/subprojects/packagefiles/wlroots
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use gtk-doc gtk_doc)
+ $(meson_use man)
+ $(meson_use test tests)
+ -Ddefault_library=static
+ -Dembed-wlroots=enabled
+ -Dxwayland=enabled
+ )
+ meson_src_configure
+}
+
+src_test() {
+ local -x LC_ALL="C.UTF-8"
+ virtx meson_src_test
+}
+
+src_install() {
+ meson_src_install --skip-subprojects wlroots
+
+ if use gtk-doc; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
+ mv "${ED}"/usr/share/doc/${PN}-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die
+ fi
+
+ newbin helpers/auto-maximize phoc-auto-maximize
+ newbin helpers/scale-to-fit phoc-scale-to-fit
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}