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

69 lines
1.4 KiB
Bash
Raw Normal View History

2024-05-18 19:13:56 +02:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
2024-05-22 08:58:54 +02:00
EAPI=7
2024-05-18 19:13:56 +02:00
VALA_USE_DEPEND="vapigen"
2024-05-22 08:58:54 +02:00
inherit vala meson gnome2-utils xdg
2024-05-18 19:13:56 +02:00
LCU_COMMIT="6798b38d4d66d069751151b3e9a202c6de8d7f3c"
DESCRIPTION="Phone dialer and call handler"
HOMEPAGE="https://gitlab.gnome.org/GNOME/calls"
SRC_URI="
https://gitlab.gnome.org/GNOME/calls/-/archive/v${PV}/calls-v${PV}.tar.gz
https://gitlab.gnome.org/World/Phosh/libcall-ui/-/archive/${LCU_COMMIT}/libcall-ui-${LCU_COMMIT}.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
2024-05-22 08:58:54 +02:00
IUSE="+introspection +vala"
2024-05-18 19:13:56 +02:00
REQUIRED_USE="vala? ( introspection )"
2024-05-22 08:58:54 +02:00
DEPEND="
dev-libs/feedbackd
>=gui-libs/libhandy-1.0.0
dev-libs/folks
dev-libs/gom
dev-libs/libpeas
>=media-sound/callaudiod-0.1
gnome-extra/evolution-data-server
app-crypt/libsecret
gui-libs/libadwaita
gnome-extra/gnome-contacts
>=gui-libs/gtk-4.12.5
gnome-extra/evolution-data-server[phonenumber]
net-libs/sofia-sip
"
RDEPEND="${DEPEND}"
2024-05-18 19:13:56 +02:00
BDEPEND="
2024-05-22 08:58:54 +02:00
vala? ( $(vala_depend) )
dev-build/meson
dev-libs/gobject-introspection
dev-util/wayland-scanner
2024-05-18 19:13:56 +02:00
"
S="${WORKDIR}/calls-v${PV}"
2024-05-22 08:58:54 +02:00
src_prepare() {
2024-05-18 19:13:56 +02:00
default
2024-05-22 08:58:54 +02:00
eapply_user
use vala && vala_src_prepare
2024-05-18 19:13:56 +02:00
rm -r "${S}"/subprojects/libcall-ui || die
mv "${WORKDIR}"/libcall-ui-"${LCU_COMMIT}" "${S}"/subprojects/libcall-ui || die
}
2024-05-22 08:58:54 +02:00
pkg_postinst() {
2024-05-18 19:13:56 +02:00
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}
2024-05-27 10:11:27 +02:00