diff options
Diffstat (limited to 'net-misc/cmst/cmst-2017.09.19.ebuild')
-rw-r--r-- | net-misc/cmst/cmst-2017.09.19.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-misc/cmst/cmst-2017.09.19.ebuild b/net-misc/cmst/cmst-2017.09.19.ebuild new file mode 100644 index 000000000000..ef3e5a6c5af1 --- /dev/null +++ b/net-misc/cmst/cmst-2017.09.19.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-utils 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_configure() { + export USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)/${PN}" + eqmake5 DISTRO=gentoo +} + +src_install() { + emake INSTALL_ROOT="${D}" install + rm -r "${D}"/usr/share/licenses || die +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |