gui-wm/phoc: rename x11-wm/phoc

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova committed 2024-02-05 00:11:00 +05:00
1 parent 1fe2422a68
commit d6e707f480
7 files changed
+6 -4

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
DIST phoc-0.35.0.tar.xz 677432 BLAKE2B 722a3669b1d76015612b5f4020d0e21c47faa8f6fb19887b2b79d4f6b79e30f45e0332ae2e2771fb9169214002508bdcff61ee0e7f874930e03a7cf952c44e7c SHA512 ec4b382ef11b257afe3b13ebf1e588353c785279afde4b1a8ee80790cb6a299fd94098a5170b30a2114061d86bdf388bb1c99f8ce1bd5173deb886d11015681e
DIST phoc-0.36.0.tar.xz 681384 BLAKE2B 6c27c785dd01f9e44cb0940c5a4f73d5ce75cad85808d0b6c801360401ff001cca839abd27bc8442702c5241bac043c6d7015e6f1c5a5ec30cfcb6779adf973b SHA512 a47851a3e222958ad55c05ed86a068b30f6e00ed5d7e957aab99e7f4103b95fee4db6b177f2de8d0c9ce11306c68ef74d78e38ea0bdb6c47e66f9ef9bf0e9f66
-12
View File
@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
<upstream>
<bugs-to>https://source.puri.sm/Librem5/phoc/-/issues</bugs-to>
<remote-id type="gnome-gitlab">World/Phosh/phoc</remote-id>
</upstream>
</pkgmetadata>
-85
View File
@@ -1,85 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson 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"
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 )"
RESTRICT="!test? ( test )"
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
)
"
RDEPEND="${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 )
"
src_configure() {
local emesonargs=(
$(meson_feature X xwayland)
$(meson_use gtk-doc gtk_doc)
$(meson_use man)
$(meson_use test tests)
-Dembed-wlroots=disabled
)
meson_src_configure
}
src_test() {
local -x LC_ALL="C.UTF-8"
local -x WLR_RENDERER="pixman"
virtx meson_src_test
}
src_install() {
meson_src_install
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
}
-85
View File
@@ -1,85 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson 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"
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 )"
RESTRICT="!test? ( test )"
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
)
"
RDEPEND="${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 )
"
src_configure() {
local emesonargs=(
$(meson_feature X xwayland)
$(meson_use gtk-doc gtk_doc)
$(meson_use man)
$(meson_use test tests)
-Dembed-wlroots=disabled
)
meson_src_configure
}
src_test() {
local -x LC_ALL="C.UTF-8"
local -x WLR_RENDERER="pixman"
virtx meson_src_test
}
src_install() {
meson_src_install
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
}