albert-0.9.5.ebuild 931 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit cmake-utils gnome2-utils
  5. DESCRIPTION="Desktop agnostic launcher"
  6. HOMEPAGE="https://github.com/manuelschneid3r/albert"
  7. SRC_URI="https://github.com/manuelschneid3r/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  8. LICENSE="GPL-3+"
  9. SLOT="0"
  10. KEYWORDS="~amd64"
  11. IUSE=""
  12. RDEPEND="
  13. dev-cpp/muParser
  14. dev-qt/qtconcurrent:5
  15. dev-qt/qtcore:5
  16. dev-qt/qtgui:5
  17. dev-qt/qtnetwork:5
  18. dev-qt/qtsql:5[sqlite]
  19. dev-qt/qtsvg:5
  20. dev-qt/qtwidgets:5
  21. dev-qt/qtx11extras:5
  22. dev-qt/qtxml:5
  23. x11-libs/libX11
  24. "
  25. DEPEND="${RDEPEND}"
  26. src_prepare() {
  27. sed -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" \
  28. -i src/plugins/*/CMakeLists.txt \
  29. -i src/lib/*/CMakeLists.txt || die
  30. cmake-utils_src_prepare
  31. }
  32. pkg_preinst() {
  33. gnome2_icon_savelist
  34. }
  35. pkg_postinst() {
  36. gnome2_icon_cache_update
  37. }
  38. pkg_postrm() {
  39. gnome2_icon_cache_update
  40. }