Updated phoc to remove wlroots from package and isntall it seprate

This commit is contained in:
Gerben Jan Dijkman 2023-01-10 15:01:50 +01:00
parent 1a7a766423
commit 171d9bee00

View File

@ -9,14 +9,12 @@ MY_PV="v${PV}"
MY_P="${PN}-${MY_PV}" MY_P="${PN}-${MY_PV}"
WL_COMMIT="1f8bb9e0e3058fc31a14866dc52e8f83c1287a09" WL_COMMIT="1f8bb9e0e3058fc31a14866dc52e8f83c1287a09"
WL_P="wlroots-${WL_COMMIT}"
DESCRIPTION="Wlroots based Phone compositor" DESCRIPTION="Wlroots based Phone compositor"
HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phoc" HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phoc"
SRC_URI=" SRC_URI="
https://gitlab.gnome.org/World/Phosh/phoc/-/archive/${MY_PV}/${MY_P}.tar.gz 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" LICENSE="GPL-3"
@ -50,6 +48,7 @@ RDEPEND="
x11-apps/xkbcomp x11-apps/xkbcomp
x11-libs/libxkbcommon x11-libs/libxkbcommon
!gui-libs/wlroots !gui-libs/wlroots
>=gui-libs/wlroots-pureos-0.15.1
" "
BDEPEND=" BDEPEND="
@ -64,12 +63,12 @@ S="${WORKDIR}/${MY_P}"
src_prepare() { src_prepare() {
default default
rm -r "${S}"/subprojects/wlroots || die "Failed to remove bundled wlroots" 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() { src_configure() {
local emesonargs=( local emesonargs=(
-Dtests=false -Dtests=false
-Dembed-wlroots=disabled
) )
meson_src_configure meson_src_configure