xivo-client-qt added

This commit is contained in:
Jörg Deckert 2016-08-10 19:52:19 +02:00
parent 57d189b2ab
commit a5f2f6ebc7
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD xivo-client-qt-16.10.ebuild 1207 SHA256 addd0dc08d1475f1ddc14c664226b3fb9ba95d9a1664dab10f5a8baa980c2294 SHA512 52724e69e8c825cd6dffece153c5b4688c72f1552f41155b1e6641a7fd736e2c2cec450a1ca91e645afbc9e19edc8572031adbc9174e024856eedee68694e006 WHIRLPOOL ccdb3ead54d6611073e25df471ecb054e838e400cfe25e11c5ccb5fef84b57babf8b5352ae0192e48c5eb1a0c9f6b455012688a50fecc7849a316143325d5fa5

View File

@ -0,0 +1,48 @@
# 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
}