cmst-2016.10.03.ebuild 682 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit qmake-utils
  5. DESCRIPTION="Qt GUI for Connman with system tray icon"
  6. HOMEPAGE="https://github.com/andrew-bibb/cmst"
  7. SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz"
  8. LICENSE="MIT"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. DEPEND="dev-qt/qtcore:5
  13. dev-qt/qtdbus:5
  14. dev-qt/qtgui:5
  15. dev-qt/qtnetwork:5
  16. dev-qt/qtwidgets:5
  17. "
  18. RDEPEND="${DEPEND}
  19. net-misc/connman
  20. "
  21. S="${WORKDIR}/${PN}-${P}"
  22. src_configure() {
  23. export USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
  24. eqmake5
  25. }
  26. src_install() {
  27. emake INSTALL_ROOT="${D}" install
  28. rm -r "${D}"/usr/share/licenses || die
  29. }