diff options
Diffstat (limited to 'net-misc/cmst/cmst-2015.12.03.ebuild')
-rw-r--r-- | net-misc/cmst/cmst-2015.12.03.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/cmst/cmst-2015.12.03.ebuild b/net-misc/cmst/cmst-2015.12.03.ebuild new file mode 100644 index 000000000000..799b5a1da88d --- /dev/null +++ b/net-misc/cmst/cmst-2015.12.03.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit qmake-utils + +DESCRIPTION="Qt GUI for Connman with system tray icon" +HOMEPAGE="https://github.com/andrew-bibb/cmst" +SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 +" +RDEPEND="${DEPEND} + net-misc/connman +" + +S="${WORKDIR}/${PN}-${P}" + +src_prepare() { + sed -i misc/desktop/cmst.desktop \ + -e 's/Version=1.1/Version=1.0/' \ + -e '/Categories/ s/$/;/' || die + + default +} + +src_configure() { + export USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)/${PN}" + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + rm -r "${D}"/usr/share/licenses || die +} |