Added subproject

This commit is contained in:
Gerben Jan Dijkman
2022-01-31 23:09:00 +01:00
parent 43ac860d3f
commit f56532d6d4
2 changed files with 13 additions and 2 deletions

View File

@@ -6,11 +6,14 @@ EAPI=7
inherit meson gnome2-utils xdg
COMMIT="da26b33a98137e542efd840eadae426b0cdb7b42"
LIBGD_COMMIT="c7c7ff4e05d3fe82854219091cf116cce6b19de0"
DESCRIPTION="XMPP and SMS messaging via libpurple and Modemmanager"
HOMEPAGE="https://source.puri.sm/Librem5/chatty"
SRC_URI="https://source.puri.sm/Librem5/chatty/-/archive/v${PV}/${PN}-v${PV}.tar.gz"
SRC_URI="
https://gitlab.gnome.org/GNOME/libgd/-/archive/${LIBGD_COMMIT}/libgd-${LIBGD_COMMIT}.tar.gz
https://source.puri.sm/Librem5/chatty/-/archive/v${PV}/${PN}-v${PV}.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
@@ -31,6 +34,13 @@ BDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-v${PV}"
src_prepare() {
default
eapply_user
rm -r "${S}"/subprojects/libgd || die
mv "${WORKDIR}"/libgd-"${LVC_COMMIT}" "${S}"/subprojects/libgd || die
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update