zeal-0.3.1.ebuild 981 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 gnome2-utils fdo-mime
  5. DESCRIPTION="Offline documentation browser inspired by Dash"
  6. HOMEPAGE="https://zealdocs.org/"
  7. SRC_URI="https://github.com/zealdocs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  8. LICENSE="GPL-3"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. DEPEND="
  12. app-arch/libarchive
  13. dev-qt/qtconcurrent:5
  14. dev-qt/qtgui:5
  15. dev-qt/qtnetwork:5
  16. dev-qt/qtsql:5[sqlite]
  17. dev-qt/qtwebkit:5
  18. dev-qt/qtwidgets:5
  19. dev-qt/qtx11extras:5
  20. >=x11-libs/xcb-util-keysyms-0.3.9
  21. "
  22. RDEPEND="
  23. ${DEPEND}
  24. x11-themes/hicolor-icon-theme
  25. "
  26. src_configure() {
  27. eqmake5 PREFIX="${EPREFIX}/usr"
  28. }
  29. src_install() {
  30. emake INSTALL_ROOT="${D}" PREFIX="${EPREFIX}/usr" install
  31. }
  32. pkg_preinst() {
  33. gnome2_icon_savelist
  34. }
  35. pkg_postinst() {
  36. gnome2_icon_cache_update
  37. fdo-mime_desktop_database_update
  38. }
  39. pkg_postrm() {
  40. gnome2_icon_cache_update
  41. fdo-mime_desktop_database_update
  42. }