Update
This commit is contained in:
parent
b0711d343a
commit
144ae0d63f
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://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>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,83 +0,0 @@
|
|||||||
# 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}"
|
|
||||||
|
|
||||||
WL_COMMIT="1f8bb9e0e3058fc31a14866dc52e8f83c1287a09"
|
|
||||||
WL_P="wlroots-${WL_COMMIT}"
|
|
||||||
|
|
||||||
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
|
|
||||||
https://source.puri.sm/Librem5/wlroots/-/archive/${WL_COMMIT}/${WL_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/gnome-desktop
|
|
||||||
sys-apps/systemd
|
|
||||||
x11-libs/libdrm
|
|
||||||
x11-libs/pixman
|
|
||||||
x11-libs/xcb-util
|
|
||||||
x11-libs/xcb-util-wm
|
|
||||||
x11-libs/xcb-util-renderutil
|
|
||||||
x11-wm/mutter
|
|
||||||
sys-auth/seatd
|
|
||||||
!gui-libs/wlroots
|
|
||||||
dev-util/vulkan-headers
|
|
||||||
sys-auth/seatd
|
|
||||||
"
|
|
||||||
|
|
||||||
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"
|
|
||||||
cp -r "${WORKDIR}/${WL_P}" "${S}"/subprojects/wlroots || die "Failed to copy right version of wlroots"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
-Ddefault_library=shared
|
|
||||||
-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
|
|
||||||
}
|
|
@ -60,8 +60,9 @@ src_prepare() {
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local emesonargs=(
|
local emesonargs=(
|
||||||
-Dembed-wlroots=enabled --default-library=static
|
#-Dembed-wlroots=enabled
|
||||||
-Ddefault_library=shared
|
#-Ddefault-library=dynamic
|
||||||
|
#-Ddefault_library=static
|
||||||
-Dtests=false
|
-Dtests=false
|
||||||
)
|
)
|
||||||
meson_src_configure
|
meson_src_configure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user