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

53 lines
1.1 KiB
Bash
Raw Normal View History

2022-01-31 14:20:51 +01:00
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson gnome2-utils xdg
2022-04-04 14:22:37 +02:00
COMMIT="4bae44d0602c5e221b7e5606a791a13fb1eced1e"
2022-01-31 23:09:00 +01:00
LIBGD_COMMIT="c7c7ff4e05d3fe82854219091cf116cce6b19de0"
2022-01-31 14:20:51 +01:00
DESCRIPTION="XMPP and SMS messaging via libpurple and Modemmanager"
HOMEPAGE="https://source.puri.sm/Librem5/chatty"
2022-01-31 23:09:00 +01:00
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
"
2022-01-31 14:20:51 +01:00
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
"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-v${PV}"
2022-01-31 23:09:00 +01:00
src_prepare() {
default
eapply_user
rm -r "${S}"/subprojects/libgd || die
2022-02-01 01:59:24 +01:00
mv "${WORKDIR}"/libgd-"${LIBGD_COMMIT}" "${S}"/subprojects/libgd || die
2022-01-31 23:09:00 +01:00
}
2022-01-31 14:20:51 +01:00
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}