Restored subproject

This commit is contained in:
Gerben Jan Dijkman 2023-05-18 10:39:31 +02:00
parent 4fcafbaa59
commit 3611b8be97

View File

@ -3,13 +3,15 @@
EAPI=7
inherit meson gnome2-utils xdg
inherit meson gnome2-utils xdg
LIBGD_COMMIT="c7c7ff4e05d3fe82854219091cf116cce6b19de0"
LIBCM_COMMIT="ec50358d3bf102e7f8f1843e537bcf1f150d2b7a"
DESCRIPTION="XMPP and SMS messaging via libpurple and Modemmanager"
HOMEPAGE="https://source.puri.sm/Librem5/chatty"
SRC_URI="
https://gitlab.gnome.org/GNOME/libgd/-/archive/${LIBGD_COMMIT}/libgd-${LIBGD_COMMIT}.tar.gz
https://source.puri.sm/Librem5/libcmatrix/-/archive/${LIBCM_COMMIT}/libcmatrix-${LIBCM_COMMIT}.tar.gz
https://source.puri.sm/Librem5/chatty/-/archive/v${PV}/${PN}-v${PV}.tar.gz
"
@ -37,6 +39,8 @@ S="${WORKDIR}/${PN}-v${PV}"
src_prepare() {
default
eapply_user
rm -r "${S}"/subprojects/libgd || die
mv "${WORKDIR}"/libgd-"${LIBGD_COMMIT}" "${S}"/subprojects/libgd || die
rm -r "${S}"/subprojects/libcmatrix || die
mv "${WORKDIR}"/libcmatrix-"${LIBCM_COMMIT}" "${S}"/subprojects/libcmatrix || die
}