kdirstat-3.1.2.ebuild 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. KDE_HANDBOOK="forceoptional"
  5. inherit kde5
  6. DESCRIPTION="GUI equivalent to the du command based on KDE Frameworks"
  7. HOMEPAGE="https://bitbucket.org/jeromerobert/k4dirstat/"
  8. SRC_URI="https://bitbucket.org/jeromerobert/k4dirstat/get/k4dirstat-${PV}.tar.bz2"
  9. LICENSE="GPL-2"
  10. KEYWORDS="amd64 x86"
  11. IUSE=""
  12. COMMON_DEPEND="
  13. $(add_frameworks_dep kconfig)
  14. $(add_frameworks_dep kconfigwidgets)
  15. $(add_frameworks_dep kcoreaddons)
  16. $(add_frameworks_dep ki18n)
  17. $(add_frameworks_dep kiconthemes)
  18. $(add_frameworks_dep kio)
  19. $(add_frameworks_dep kjobwidgets)
  20. $(add_frameworks_dep kwidgetsaddons)
  21. $(add_frameworks_dep kxmlgui)
  22. $(add_qt_dep qtgui)
  23. $(add_qt_dep qtwidgets)
  24. sys-libs/zlib
  25. "
  26. DEPEND="${COMMON_DEPEND}
  27. sys-devel/gettext
  28. "
  29. RDEPEND="${COMMON_DEPEND}
  30. !kde-misc/kdirstat:4
  31. "
  32. src_unpack() {
  33. # tarball contains git revision hash, which we don't want in the ebuild.
  34. default
  35. mv "${WORKDIR}"/*k4dirstat-* "${S}" || die
  36. }