Added submodule

This commit is contained in:
2022-10-28 11:55:02 +02:00
parent 5a96b2005f
commit b3cd5e1203
3 changed files with 185 additions and 0 deletions

View File

@@ -7,11 +7,13 @@ inherit meson gnome2-utils xdg
COMMIT="37e96593d4accb1c637e992daa8466d444365db5"
LIBGD_COMMIT="c7c7ff4e05d3fe82854219091cf116cce6b19de0"
LIBCM_COMMIT="13bdda3e2b6ef4747feeccbb0a9ddcfafb63f898"
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
"
@@ -40,6 +42,8 @@ src_prepare() {
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
}
pkg_postinst() {