Updated phoc to remove wlroots from package and isntall it seprate
This commit is contained in:
		@@ -9,14 +9,12 @@ 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"
 | 
			
		||||
@@ -50,6 +48,7 @@ RDEPEND="
 | 
			
		||||
	x11-apps/xkbcomp
 | 
			
		||||
	x11-libs/libxkbcommon
 | 
			
		||||
	!gui-libs/wlroots
 | 
			
		||||
	>=gui-libs/wlroots-pureos-0.15.1
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
BDEPEND="
 | 
			
		||||
@@ -64,12 +63,12 @@ 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=(
 | 
			
		||||
		-Dtests=false
 | 
			
		||||
		-Dembed-wlroots=disabled
 | 
			
		||||
	)
 | 
			
		||||
	
 | 
			
		||||
	meson_src_configure
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user