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

@ -1,2 +1,3 @@
DIST chatty-v0.4.0.tar.gz 482919 BLAKE2B 9df1709c477a2f39f1b31cb06d8a00d5e07cc7657c2d2f997bfd42b9580964aea9908cb015dddd6dce2983e4fc52f7123fb87d8ba2a97f4ca23da620ac1daab3 SHA512 0d05b3b4d4700693f072e055605d467f3b65afb07dea8e613bd1f282f47d6d2ae8ff584dec23ca2cb9048d0aed65fdf949af66c1382a08955e10e8cf0c5ccabc
DIST chatty-v0.6.0.tar.gz 559891 BLAKE2B d7cdd4096f7340589669222712bd371bec4940cbfe238c930353b5908a0dc0383bb65c285699cf370e8872ce2418b958a1d9f31bb809129cd3fe678f905a64dd SHA512 8e72aa0293b1074d36e982d952ecc026832b73f8d8c1a12d32794752063d477b8fbf8c1779434fe60fc49e585bc0f985f16042cebbc6c0e85807e399457d7d0d
DIST libgd-c7c7ff4e05d3fe82854219091cf116cce6b19de0.tar.gz 58318 BLAKE2B f6e02c179340431655965e84f6fb8fac0543b220c2915c111eb7dc32c16d3d595d42c6cf5d303c20e02ebbbc5f01493b830eb99e3e4337a805f6f8b48fd27377 SHA512 681cc23b5a33df88a92e3aac33d0dba1c6ebb69a2bd6f15b6ae31f0b444c108f7bfd1391e604433be58d82c0032028b112652d3d0c473abe4db02d66c55cdef3

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