gjdwebserver-overlay/net-im/chatty/chatty-0.7.3.ebuild

53 lines
1.1 KiB
Bash
Raw Normal View History

2022-10-28 11:42:01 +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
2023-02-20 21:29:59 +01:00
LIBCM_COMMIT="ec50358d3bf102e7f8f1843e537bcf1f150d2b7a"
2022-10-28 11:42:01 +02:00
DESCRIPTION="XMPP and SMS messaging via libpurple and Modemmanager"
HOMEPAGE="https://source.puri.sm/Librem5/chatty"
SRC_URI="
2022-10-28 11:55:02 +02:00
https://source.puri.sm/Librem5/libcmatrix/-/archive/${LIBCM_COMMIT}/libcmatrix-${LIBCM_COMMIT}.tar.gz
2022-10-28 11:42:01 +02:00
https://source.puri.sm/Librem5/chatty/-/archive/v${PV}/${PN}-v${PV}.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
KEYWORDS="~arm64"
DEPEND=" gnome-extra/evolution-data-server[phonenumber]
dev-libs/feedbackd
gui-libs/libhandy
x11-plugins/purple-mm-sms
dev-libs/olm
dev-libs/libphonenumber
x11-libs/gtk+:3
net-im/jabber-base
x11-plugins/lurch
"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-v${PV}"
src_prepare() {
default
eapply_user
2022-10-28 11:55:02 +02:00
rm -r "${S}"/subprojects/libcmatrix || die
mv "${WORKDIR}"/libcmatrix-"${LIBCM_COMMIT}" "${S}"/subprojects/libcmatrix || die
2022-10-28 11:42:01 +02:00
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}