gjdwebserver-overlay/net-voip/gnome-calls/gnome-calls-43.2.ebuild

63 lines
1.3 KiB
Bash
Raw Normal View History

2022-04-04 14:25:29 +02:00
# Copyright 1999-2022 Gentoo Authors
2021-07-14 14:59:08 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VALA_USE_DEPEND="vapigen"
2021-07-24 21:03:58 +02:00
inherit vala meson gnome2-utils xdg
2021-07-14 14:59:08 +02:00
2022-09-29 11:58:44 +02:00
LCU_COMMIT="619dd91561ad470db3d0e0e263ebc35d787afd2e"
2021-07-14 14:59:08 +02:00
DESCRIPTION="Phone dialer and call handler"
HOMEPAGE="https://gitlab.gnome.org/GNOME/calls"
2022-04-12 15:52:38 +02:00
SRC_URI="
2022-09-29 11:58:44 +02:00
https://gitlab.gnome.org/GNOME/calls/-/archive/v${PV}/calls-v${PV}.tar.gz
2022-04-12 15:52:38 +02:00
https://gitlab.gnome.org/World/Phosh/libcall-ui/-/archive/${LCU_COMMIT}/libcall-ui-${LCU_COMMIT}.tar.gz
"
2021-07-14 14:59:08 +02:00
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="+introspection +vala"
REQUIRED_USE="vala? ( introspection )"
DEPEND="
dev-libs/feedbackd
>=gui-libs/libhandy-1.0.0
dev-libs/folks
dev-libs/gom
dev-libs/libpeas
>=net-misc/modemmanager-1.12.0
>=media-sound/callaudiod-0.0.5
gnome-extra/evolution-data-server
net-libs/sofia-sip
2021-07-15 11:43:58 +02:00
dev-libs/protobuf
2021-07-14 14:59:08 +02:00
"
RDEPEND="${DEPEND}"
BDEPEND="
vala? ( $(vala_depend) )
dev-util/meson
dev-libs/gobject-introspection
dev-util/wayland-scanner
"
2022-09-29 11:58:44 +02:00
S="${WORKDIR}/calls-v${PV}"
2021-07-14 14:59:08 +02:00
src_prepare() {
default
eapply_user
use vala && vala_src_prepare
2022-04-12 15:58:57 +02:00
2022-04-12 15:52:38 +02:00
rm -r "${S}"/subprojects/libcall-ui || die
mv "${WORKDIR}"/libcall-ui-"${LCU_COMMIT}" "${S}"/subprojects/libcall-ui || die
2021-07-14 14:59:08 +02:00
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}