add net-voip/wazo-client-qt

This commit is contained in:
Joerg Deckert 2019-01-03 13:41:23 +01:00
parent 0727ea8a7d
commit d36b912d18
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD wazo-client-qt-18.01.ebuild 1103 BLAKE2B 178bfdf77e08e4cb167049f2a9fe4cf66f48811ae9454a086b0cb6ee522d5591045bd8afc035e812bebe9da39f453e424bca9bd850d32d52d95d15712c9dd332 SHA512 b630ee862632ca48c92ffd71e24a7c6607cc731681b09f2c519909d0fc61ddbc6fa08336a6d399cac212197af8920fd93ef80fda32f3c58a9c499f43207789fd

View File

@ -0,0 +1,45 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
EGIT_REPO_URI="https://github.com/wazo-pbx/wazo-client-qt.git"
EGIT_COMMIT="00adc0c6ccf5d28814461ac96f866916ae33fd69"
inherit eutils git-r3 qmake-utils
DESCRIPTION="Wazo PBX client"
HOMEPAGE="http://documentation.wazo.community/en/stable/cti_client/cti_client.html"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/designer:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
x11-libs/libX11
"
RDEPEND="${DEPEND}"
src_configure() {
eqmake5
}
src_install() {
dodir /usr/$(get_libdir)/${PN}
cp -r bin/* "${ED}"/usr/$(get_libdir)/${PN}/ || die "copying wazo client and shared libs failed"
sed -i -e "s#/opt/wazoclient#/usr/$(get_libdir)/${PN}#" packaging/resources/wazoclient.script || die "Seding directory in script failed."
newbin packaging/resources/wazoclient.script wazoclient
doicon --size 128 packaging/resources/wazoclient.png
domenu packaging/resources/wazoclient.desktop
}