Added gmobile

This commit is contained in:
Gerben Jan Dijkman 2023-03-01 17:40:05 +01:00
parent 1264463010
commit 7e763b849c
2 changed files with 6 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST gmobile-f4d4e5740c3e4b2de40864ab8a9e7b7f957d6aec.tar.gz 21847 BLAKE2B 8951d8b2030871d7925785e71be5e47f7876fe101ffa5bb95f4f5e2a7e7ef44bca860eaf2cd2bd4ba512f39f6758c01eefbe50b83511952e15efa572c9d3e760 SHA512 c7854b210aeb8995382637cc9907d26fa90d87ef530738a54d96efe0f2dce06afe6d169251242775866d6450bb285e1f084ad5c0e25c183d862ab72c193a43c0
DIST phoc-v0.25.0.tar.gz 227660 BLAKE2B 917bb89f29c5338893543432ac7b9dc26337696170a84e6512ef60b7e79aa6f7499a569004507d96460601a8589f071c9cb5d3aa59fe2dab2dcec94f598a1eb7 SHA512 5751edf2e5adeeeb053db2779c2402dea5c4cdd0acd01103543cf832a0dbb5768697ef58d95026e18c9a866f98a545b9d20fec3601c5868237c9ec085185edad

View File

@ -8,11 +8,13 @@ inherit meson xdg gnome2-utils
MY_PV="v${PV}"
MY_P="${PN}-${MY_PV}"
GMO_COMMIT="f4d4e5740c3e4b2de40864ab8a9e7b7f957d6aec"
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://gitlab.gnome.org/guidog/gmobile/-/archive/${GMO_COMMIT}/gmobile-${GMO_COMMIT}.tar.gz
"
LICENSE="GPL-3"
@ -58,6 +60,9 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
default
rm -r "${S}"/subprojects/wlroots || die "Failed to remove bundled wlroots"
rm -r "${S}"/subprojects/gmobile || die
mv "${WORKDIR}"/gmobile-"${GMO_COMMIT}" "${S}"/subprojects/gmobile || die
}
src_configure() {