Files
gjdwebserver-overlay/x11-wm/phoc/phoc-0.48.0.ebuild

91 lines
1.7 KiB
Bash
Raw Normal View History

2024-10-06 15:49:55 +02:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson xdg gnome2-utils
2025-07-09 11:22:09 +02:00
GVDB_COMMIT="4758f6fb7f889e074e13df3f914328f3eecb1fd3"
2024-10-06 15:49:55 +02:00
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
2025-07-09 11:22:09 +02:00
https://gitlab.gnome.org/GNOME/gvdb/-/archive/${GVDB_COMMIT}/gvdb-${GVDB_COMMIT}.tar.gz
2024-10-06 15:49:55 +02:00
"
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
2024-12-18 18:23:57 +01:00
gnome-base/gsettings-desktop-schemas
2024-10-06 15:49:55 +02:00
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[server]
2024-10-06 15:49:55 +02:00
x11-apps/xkbcomp
x11-libs/libxkbcommon
dev-util/gi-docgen
dev-libs/gmobile
2025-07-09 11:24:18 +02:00
>=gui-libs/wlroots-0.19.0[phoc-patch]
2024-10-06 15:49:55 +02:00
"
BDEPEND="
dev-util/ctags
dev-build/meson
virtual/pkgconfig
x11-base/xorg-server
"
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
2025-07-09 11:22:09 +02:00
rm -r "${S}"/subprojects/gvdb.wrap || die
mv "${WORKDIR}"/gvdb-"${GVDB_COMMIT}" "${S}"/subprojects/gvdb || die
2024-10-06 15:49:55 +02:00
}
src_configure() {
local emesonargs=(
-Dtests=false
-Dembed-wlroots=disabled
)
meson_src_configure
}
src_install() {
DESTDIR="${D}" meson_src_install
2025-07-09 11:32:07 +02:00
dobin "${S}"/tools/scale-to-fit
2024-10-06 15:49:55 +02:00
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
}