unitas/net-voip/wazo-client-qt/wazo-client-qt-18.01.ebuild

46 lines
1.1 KiB
Bash
Raw Normal View History

2019-01-03 13:41:23 +01:00
# 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
}