Fixed
This commit is contained in:
parent
4265649d6b
commit
331bfb53b3
@ -1,10 +1,10 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=7
|
||||||
VALA_USE_DEPEND="vapigen"
|
VALA_USE_DEPEND="vapigen"
|
||||||
|
|
||||||
inherit vala meson gnome2-utils optfeature virtualx xdg
|
inherit vala meson gnome2-utils xdg
|
||||||
|
|
||||||
LCU_COMMIT="6798b38d4d66d069751151b3e9a202c6de8d7f3c"
|
LCU_COMMIT="6798b38d4d66d069751151b3e9a202c6de8d7f3c"
|
||||||
DESCRIPTION="Phone dialer and call handler"
|
DESCRIPTION="Phone dialer and call handler"
|
||||||
@ -17,91 +17,47 @@ SRC_URI="
|
|||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
IUSE="+introspection +vala gtk-doc man""
|
IUSE="+introspection +vala"
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
REQUIRED_USE="vala? ( introspection )"
|
||||||
|
|
||||||
RDEPEND="
|
DEPEND="
|
||||||
app-crypt/libsecret[introspection,vala]
|
dev-libs/feedbackd
|
||||||
dev-libs/feedbackd[introspection,vala]
|
>=gui-libs/libhandy-1.0.0
|
||||||
dev-libs/folks:=
|
dev-libs/folks
|
||||||
dev-libs/glib:2
|
dev-libs/gom
|
||||||
dev-libs/gom[introspection]
|
dev-libs/libpeas
|
||||||
dev-libs/libgee:0.8=[introspection]
|
>=media-sound/callaudiod-0.1
|
||||||
dev-libs/libpeas
|
gnome-extra/evolution-data-server
|
||||||
gnome-extra/evolution-data-server:=[vala,phonenumber]
|
app-crypt/libsecret
|
||||||
gui-libs/libhandy:1[introspection,vala]
|
gui-libs/libadwaita
|
||||||
media-libs/gstreamer:1.0[introspection]
|
gnome-extra/gnome-contacts
|
||||||
media-sound/callaudiod
|
>=gui-libs/gtk-4.12.5
|
||||||
net-libs/sofia-sip
|
gnome-extra/evolution-data-server[phonenumber]
|
||||||
net-misc/modemmanager:=[introspection]
|
net-libs/sofia-sip
|
||||||
x11-libs/gtk+:3
|
|
||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}
|
RDEPEND="${DEPEND}"
|
||||||
test? ( media-plugins/gst-plugins-srtp:1.0 )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
$(vala_depend)
|
vala? ( $(vala_depend) )
|
||||||
dev-libs/gobject-introspection
|
dev-build/meson
|
||||||
dev-libs/protobuf
|
dev-libs/gobject-introspection
|
||||||
dev-util/wayland-scanner
|
dev-util/wayland-scanner
|
||||||
gtk-doc? ( dev-util/gtk-doc )
|
|
||||||
man? ( dev-python/docutils )
|
|
||||||
"
|
"
|
||||||
|
|
||||||
S="${WORKDIR}/calls-v${PV}"
|
S="${WORKDIR}/calls-v${PV}"
|
||||||
|
|
||||||
src_unpack() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
eapply_user
|
||||||
|
use vala && vala_src_prepare
|
||||||
|
|
||||||
rm -r "${S}"/subprojects/libcall-ui || die
|
rm -r "${S}"/subprojects/libcall-ui || die
|
||||||
mv "${WORKDIR}"/libcall-ui-"${LCU_COMMIT}" "${S}"/subprojects/libcall-ui || die
|
mv "${WORKDIR}"/libcall-ui-"${LCU_COMMIT}" "${S}"/subprojects/libcall-ui || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
pkg_postinst() {
|
||||||
default
|
|
||||||
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() {
|
|
||||||
local tests=(
|
|
||||||
calls:call
|
|
||||||
calls:contacts
|
|
||||||
calls:dbus
|
|
||||||
calls:manager
|
|
||||||
calls:media
|
|
||||||
calls:origin
|
|
||||||
calls:plugins
|
|
||||||
calls:provider
|
|
||||||
calls:ringer
|
|
||||||
calls:sdp-crypto
|
|
||||||
calls:settings
|
|
||||||
calls:srtp
|
|
||||||
calls:ui-call
|
|
||||||
calls:util
|
|
||||||
|
|
||||||
# TODO: needs working sound card
|
|
||||||
#calls:application
|
|
||||||
|
|
||||||
# TODO: hangs
|
|
||||||
#calls:sip
|
|
||||||
)
|
|
||||||
virtx meson_src_test "${tests[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
ppkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
xdg_pkg_postinst
|
||||||
gnome2_schemas_update
|
gnome2_schemas_update
|
||||||
|
|
||||||
optfeature "SRTP support" media-plugins/gst-plugins-srtp
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm() {
|
pkg_postrm() {
|
||||||
|
Loading…
Reference in New Issue
Block a user