49 lines
1.2 KiB
Bash
49 lines
1.2 KiB
Bash
|
# 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/xivo-pbx/xivo-client-qt.git"
|
||
|
EGIT_COMMIT="4ace739ef872f583b91c04d5db199be694d3d913"
|
||
|
|
||
|
inherit git-r3 qmake-utils
|
||
|
|
||
|
DESCRIPTION="Xivo PBX client"
|
||
|
HOMEPAGE="http://documentation.xivo.io/en/stable/cti_client/cti_client.html"
|
||
|
##SRC_URI="https://github.com/xivo-pbx/${PN}/archive/xivo-client-${PV}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="amd64 x86"
|
||
|
IUSE=""
|
||
|
|
||
|
##S=${WORKDIR}/${PN}-xivo-client-${PV}
|
||
|
|
||
|
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
|
||
|
}
|