socnetv-2.2.ebuild 820 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit eutils qmake-utils toolchain-funcs
  5. MY_PN="SocNetV"
  6. MY_P="${MY_PN}-${PV}"
  7. DESCRIPTION="Qt Social Network Visualizer"
  8. HOMEPAGE="http://socnetv.sourceforge.net/"
  9. SRC_URI="mirror://sourceforge/socnetv/${MY_P}.tar.gz"
  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. KEYWORDS="amd64 x86"
  13. IUSE="examples"
  14. DEPEND="
  15. dev-qt/qtcore:5
  16. dev-qt/qtgui:5
  17. dev-qt/qtnetwork:5
  18. dev-qt/qtprintsupport:5
  19. dev-qt/qtwidgets:5
  20. "
  21. RDEPEND="${DEPEND}"
  22. PATCHES=( "${FILESDIR}/${P}"-deps.patch )
  23. src_configure() {
  24. eqmake5 socnetv.pro
  25. }
  26. src_install() {
  27. default
  28. dobin socnetv
  29. doicon src/images/socnetv.png
  30. domenu ${PN}.desktop
  31. if use examples; then
  32. insinto /usr/share/${PN}/examples
  33. doins nets/*
  34. fi
  35. doman "${S}/man/${PN}.1.gz"
  36. }