unitas/net-voip/xivo-client-qt/xivo-client-qt-16.16.ebuild

46 lines
1.1 KiB
Bash
Raw Normal View History

2016-12-28 14:46:27 +01:00
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
EGIT_REPO_URI="https://github.com/wazo-pbx/xivo-client-qt.git"
EGIT_COMMIT="0159f90abd6e055d1254b7f32d6665a564bc3280"
2017-07-24 16:15:54 +02:00
inherit eutils git-r3 qmake-utils
2016-12-28 14:46:27 +01:00
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 xivoclient and shared libs failed"
sed -i -e "s#/opt/xivoclient#/usr/$(get_libdir)/${PN}#" packaging/resources/xivoclient.script || die "Seding directory in script failed."
newbin packaging/resources/xivoclient.script xivoclient
doicon --size 128 packaging/resources/xivoclient.png
domenu packaging/resources/xivoclient.desktop
}