2024-05-24 09:48:00 +02:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
|
|
|
|
inherit meson gnome2-utils xdg
|
2024-09-14 10:48:26 +02:00
|
|
|
LIBCM_COMMIT="a338cafc420656a30adeb873430e978f0a688a33"
|
|
|
|
COMMIT="7bea437c9e3086148da41a91e82218c9422aa67f"
|
2024-05-24 09:48:00 +02:00
|
|
|
|
|
|
|
DESCRIPTION="XMPP and SMS messaging via libpurple and Modemmanager"
|
2024-05-27 13:36:56 +02:00
|
|
|
HOMEPAGE="https://gitlab.gnome.org/World/Chatty"
|
2024-05-24 09:48:00 +02:00
|
|
|
SRC_URI="
|
|
|
|
https://source.puri.sm/Librem5/libcmatrix/-/archive/${LIBCM_COMMIT}/libcmatrix-${LIBCM_COMMIT}.tar.gz
|
|
|
|
https://gitlab.gnome.org/World/Chatty/-/archive/v${PV}/${PN}-v${PV}.tar.gz
|
|
|
|
"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2024-09-27 00:05:05 +02:00
|
|
|
IUSE="spelling"
|
2024-05-24 09:48:00 +02:00
|
|
|
KEYWORDS="~arm64"
|
|
|
|
|
2024-09-14 13:10:31 +02:00
|
|
|
DEPEND=" >=gnome-extra/evolution-data-server-3.54.0[phonenumber]
|
2024-05-24 09:48:00 +02:00
|
|
|
dev-libs/feedbackd
|
|
|
|
gui-libs/libhandy
|
|
|
|
x11-plugins/purple-mm-sms
|
|
|
|
dev-libs/olm
|
|
|
|
dev-libs/libphonenumber
|
|
|
|
x11-libs/gtk+:3
|
2024-09-27 00:05:05 +02:00
|
|
|
spelling? ( app-text/libspelling )
|
2024-05-24 09:48:00 +02:00
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND="${DEPEND}"
|
|
|
|
|
2024-05-24 10:33:54 +02:00
|
|
|
S="${WORKDIR}/Chatty-v${PV}-${COMMIT}"
|
2024-05-24 09:48:00 +02:00
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
eapply_user
|
2024-09-14 10:48:26 +02:00
|
|
|
rm -r "${S}"/subprojects/libcmatrix.wrap || die
|
2024-05-24 09:48:00 +02:00
|
|
|
mv "${WORKDIR}"/libcmatrix-"${LIBCM_COMMIT}" "${S}"/subprojects/libcmatrix || die
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
xdg_pkg_postinst
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
xdg_pkg_postrm
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|