aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip')
-rw-r--r--net-voip/gnome-calls/Manifest3
-rw-r--r--net-voip/gnome-calls/gnome-calls-43.3.ebuild (renamed from net-voip/gnome-calls/gnome-calls-43.0.ebuild)54
2 files changed, 40 insertions, 17 deletions
diff --git a/net-voip/gnome-calls/Manifest b/net-voip/gnome-calls/Manifest
index 6cc21fa8b..55c879658 100644
--- a/net-voip/gnome-calls/Manifest
+++ b/net-voip/gnome-calls/Manifest
@@ -1,4 +1,3 @@
-DIST calls-v43.0.tar.gz 490744 BLAKE2B f89d6d02982b183beed3c5d6abde84de67b337427d801a82b591035ca8d93f744bb7f5f4366b79105606c3895cd5cbd0cc8163f5f19797db8c81d81244363264 SHA512 d72a80fa4a4e3a891b8f0e44709b70aa9427b31cd7c7906626dfb728aae8aa75f2db46bd8efaaf79ce7b15c1c72b53be4055f5b81d556f2407a601060aebbb4a
DIST calls-v43.2.tar.bz2 587220 BLAKE2B 2b293003ff83b5a4ed2710c67ad3ee73b95ed9f3d093d5c712829f83ba64023ddb72bede86e61f83ad1215b2b5ad2df09dc9602ddb3923d7bc543dbe55c3ffc8 SHA512 827ddb347af495f884bbb72e47b62012e843c2a85d364c5de0856b80c1d98cb69f5c54cc2ffb17d0301d367b9641426fe14aae2821b8b757047e0115b8bbfe35
+DIST calls-v43.3.tar.bz2 453550 BLAKE2B cd15eabd6b56c889286bb9366b9ca475c3806efc803a02bc1463c1b47838e6053ddbed9a13da3fa66568fd73d402f4d3156ba3fdeef9cb2d32366742a5305677 SHA512 f6b94031a2d0f038b29dbbc465da18fa13e7a8ac7b6f476851450bd2a1eed5415b93f53df61ce9db8f9c518ace7b36401c8d8f9750ca6d6b72ae99d38bc0409d
DIST libcall-ui-619dd91561ad470db3d0e0e263ebc35d787afd2e.tar.bz2 159263 BLAKE2B bc35bbd469be4461c553764743ea7fce774a08d3a6b0c18dd038bc9cd78744ae68695cae008f869cd1f1db4b9cfd0aec132461866d81151a6e2c0406d7e870fd SHA512 16fb34fde3af0cce669536c8a236530c63585fdf50ed66ee10eef92d07fe14391159807ab200bb8bc723f2d8e18349a90ea350810002e40c40898796ec4c8c17
-DIST libcall-ui-619dd91561ad470db3d0e0e263ebc35d787afd2e.tar.gz 165840 BLAKE2B 4bbeec0dd5314bdbd4aacef4cb7a7599557a35c32b3135120bfbc6977a2a1a4f17f702eac021f694f11dffe5ecebc23b44ffda765d1b9e10d5f23f88461e1b2a SHA512 c42bb6474fd7215b23a5496ae6ebbcf3e0e3f123c358f79f9fb0800def336386ff334d9b780f1f77614e94003f79dce739edb4bdd0502b9969f3706a6d2091a5
diff --git a/net-voip/gnome-calls/gnome-calls-43.0.ebuild b/net-voip/gnome-calls/gnome-calls-43.3.ebuild
index 2fcebe0f7..e46a51d2a 100644
--- a/net-voip/gnome-calls/gnome-calls-43.0.ebuild
+++ b/net-voip/gnome-calls/gnome-calls-43.3.ebuild
@@ -4,7 +4,7 @@
EAPI=8
VALA_USE_DEPEND="vapigen"
-inherit vala meson gnome2-utils virtualx xdg
+inherit vala meson gnome2-utils optfeature virtualx xdg
MY_PN="${PN#gnome-}"
LCU_COMMIT="619dd91561ad470db3d0e0e263ebc35d787afd2e"
@@ -12,40 +12,36 @@ DESCRIPTION="Phone dialer and call handler"
HOMEPAGE="https://gitlab.gnome.org/GNOME/calls"
GITLAB="https://gitlab.gnome.org"
SRC_URI="
- ${GITLAB}/GNOME/${MY_PN}/-/archive/v${PV}/${MY_PN}-v${PV}.tar.gz
- ${GITLAB}/World/Phosh/libcall-ui/-/archive/${LCU_COMMIT}/libcall-ui-${LCU_COMMIT}.tar.gz
+ ${GITLAB}/GNOME/${MY_PN}/-/archive/v${PV}/${MY_PN}-v${PV}.tar.bz2
+ ${GITLAB}/World/Phosh/libcall-ui/-/archive/${LCU_COMMIT}/libcall-ui-${LCU_COMMIT}.tar.bz2
"
S="${WORKDIR}/${MY_PN}-v${PV}"
-LICENSE="GPL-3"
+LICENSE="CC-BY-SA-4.0 GPL-3+ LGPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
+IUSE="gtk-doc man"
-DEPEND="
- app-accessibility/at-spi2-core:2
+COMMON_DEPEND="
app-crypt/libsecret[introspection(+),vala(+)]
dev-libs/feedbackd[introspection(+),vala(+)]
dev-libs/folks:=
dev-libs/glib:2
- dev-libs/gobject-introspection
dev-libs/gom[introspection(+)]
dev-libs/libgee:0.8=[introspection(+)]
dev-libs/libpeas
- dev-libs/libxml2
gnome-extra/evolution-data-server:=[vala(+)]
>=gui-libs/libhandy-1.0.0:1[introspection(+),vala(+)]
media-libs/gstreamer:1.0[introspection(+)]
- media-libs/harfbuzz:=
>=media-sound/callaudiod-0.0.5
- net-libs/libsoup:2.4
net-libs/sofia-sip
>=net-misc/modemmanager-1.12.0:=[introspection(+)]
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
- x11-libs/pango
"
-RDEPEND="${DEPEND}
+DEPEND="${COMMON_DEPEND}
+ test? ( media-plugins/gst-plugins-srtp:1.0 )
+"
+RDEPEND="${COMMON_DEPEND}
virtual/secret-service
"
BDEPEND="
@@ -53,6 +49,8 @@ BDEPEND="
dev-libs/gobject-introspection
dev-libs/protobuf
dev-util/wayland-scanner
+ gtk-doc? ( dev-util/gtk-doc )
+ man? ( dev-python/docutils )
"
src_unpack() {
@@ -67,13 +65,39 @@ src_prepare() {
vala_setup
}
+src_configure() {
+ local emesonargs=(
+ $(meson_use gtk-doc gtk_doc)
+ $(meson_use man manpages)
+ $(meson_use test tests)
+ )
+ meson_src_configure
+}
+
src_test() {
- virtx meson_src_test
+ local tests=(
+ calls:util
+ calls:settings
+ calls:origin
+ calls:provider
+ calls:call
+ calls:plugins
+ calls:contacts
+ calls:ui-call
+ calls:manager
+ calls:ringer
+ calls:media
+ calls:srtp
+ calls:sdp-crypto
+ )
+ virtx meson_src_test "${tests[@]}"
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
+
+ optfeature "SRTP support" media-plugins/gst-plugins-srtp
}
pkg_postrm() {