Uppdate
This commit is contained in:
parent
b0e49a18f0
commit
9c920c5607
@ -58,7 +58,7 @@ src_prepare() {
|
||||
|
||||
#Phosh patches
|
||||
eapply "${FILESDIR}"/0001-system-prompt-allow-blank-passwords.patch
|
||||
eapply "${FILESDIR}"/0002-build-Adjust-to-polkit-version-changes.patch
|
||||
eapply "${FILESDIR}"/0002-fix-locale-issue.patch
|
||||
eapply "${FILESDIR}"/0003-fix-locale-issue-in-service-file.patch
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ src_prepare() {
|
||||
|
||||
#Phosh patches
|
||||
eapply "${FILESDIR}"/0001-system-prompt-allow-blank-passwords.patch
|
||||
eapply "${FILESDIR}"/0002-build-Adjust-to-polkit-version-changes.patch
|
||||
eapply "${FILESDIR}"/0002-fix-locale-issue.patch
|
||||
eapply "${FILESDIR}"/0003-fix-locale-issue-in-service-file.patch
|
||||
|
||||
}
|
||||
|
83
x11-wm/phoc/phoc-0.21.1.ebuild
Normal file
83
x11-wm/phoc/phoc-0.21.1.ebuild
Normal file
@ -0,0 +1,83 @@
|
||||
# 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
|
||||
gnome-base/gnome-settings-daemon
|
||||
gnome-base/gnome-desktop
|
||||
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
|
||||
!gui-libs/wlroots
|
||||
sys-auth/seatd
|
||||
x11-apps/xkbcomp
|
||||
x11-libs/libdrm
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/ctags
|
||||
dev-util/meson
|
||||
virtual/pkgconfig
|
||||
x11-base/xorg-server
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r "${S}"/subprojects/wlroots || die "Failed to remove bundled wlroots"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dtests=false
|
||||
)
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user