aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMarco Scardovi <marco@scardovi.com>2021-06-27 10:13:16 +0200
committerMarco Scardovi <marco@scardovi.com>2021-06-27 10:13:36 +0200
commit14140750e36a8698d8864878f442db965bf6b32f (patch)
tree8276298d341e335747646a1c871257dd83548754 /x11-wm
parentgui-wm/cage: Version bump, 0.1.4 (diff)
downloadguru-14140750e36a8698d8864878f442db965bf6b32f.tar.gz
guru-14140750e36a8698d8864878f442db965bf6b32f.tar.bz2
guru-14140750e36a8698d8864878f442db965bf6b32f.zip
x11-wm/phoc: remove the gnome2-utils
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco@scardovi.com>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/phoc/phoc-0.7.1.ebuild28
1 files changed, 16 insertions, 12 deletions
diff --git a/x11-wm/phoc/phoc-0.7.1.ebuild b/x11-wm/phoc/phoc-0.7.1.ebuild
index 1c0e78a69..cda542c9d 100644
--- a/x11-wm/phoc/phoc-0.7.1.ebuild
+++ b/x11-wm/phoc/phoc-0.7.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit vala meson gnome2-utils xdg
+inherit meson vala xdg
MY_PV="v${PV}"
MY_P="${PN}-${MY_PV}"
@@ -24,20 +24,27 @@ SRC_URI="
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
-IUSE="+introspection"
+IUSE="+introspection +systemd test"
+RESTRICT="!test? ( test )"
-DEPEND="
+RDEPEND="
dev-libs/glib
dev-libs/gobject-introspection
dev-libs/libinput
+ dev-libs/wayland
dev-libs/wayland-protocols
gnome-base/gnome-desktop
- !gui-libs/wlroots
+ systemd? (
+ !sys-apps/openrc
+ sys-apps/systemd
+ )
+ x11-libs/libdrm
+ x11-libs/pixman
x11-libs/xcb-util
x11-libs/xcb-util-wm
x11-wm/mutter
"
-RDEPEND="${DEPEND}"
+
BDEPEND="
dev-util/ctags
dev-util/meson
@@ -54,9 +61,8 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
default
- eapply_user
- rm -r "${S}"/subprojects/wlroots || die
- mv "${WORKDIR}/${WL_P}" "${S}"/subprojects/wlroots || die
+ rm -r "${S}"/subprojects/wlroots || die "Failed to remove bundled wlroots"
+ cp -r "${WORKDIR}/${WL_P}" "${S}"/subprojects/wlroots || die "Failed to copy right version of wlroots"
}
src_configure() {
@@ -70,16 +76,14 @@ src_configure() {
}
src_install() {
- meson_src_install
- dobin "${S}"/helpers/scale-to-fit
+ DESTDIR="${D}" meson_src_install
+# dobin "${S}"/helpers/scale-to-fit
}
pkg_postinst() {
xdg_pkg_postinst
- gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
- gnome2_schemas_update
}