Added phoc 42.1 back since a dep is not upstreamed yet

This commit is contained in:
Gerben Jan Dijkman 2024-12-18 18:12:42 +01:00
parent 0284d20c6f
commit 2cfe82b7f8
3 changed files with 87 additions and 1 deletions

View File

@ -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

85
x11-wm/phoc/phoc-0.42.1.ebuild Executable file
View File

@ -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
}

View File

@ -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