kaqaz-1.2.0-r2.ebuild 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils qmake-utils
  5. DESCRIPTION="Modern note manager"
  6. HOMEPAGE="http://labs.sialan.org/projects/kaqaz"
  7. if [[ ${PV} = *9999* ]]; then
  8. inherit git-r3
  9. EGIT_REPO_URI="https://github.com/sialan-labs/kaqaz.git"
  10. KEYWORDS=""
  11. else
  12. SRC_URI="https://github.com/sialan-labs/kaqaz/archive/${PV}.tar.gz -> ${P}.tar.gz"
  13. KEYWORDS="~amd64 ~x86"
  14. fi
  15. LICENSE="GPL-3+"
  16. SLOT="0"
  17. IUSE=""
  18. RDEPEND="dev-qt/qtcore:5
  19. dev-qt/qtdeclarative:5
  20. dev-qt/qtgraphicaleffects:5
  21. dev-qt/qtgui:5
  22. dev-qt/qtmultimedia:5[qml]
  23. dev-qt/qtnetwork:5
  24. dev-qt/qtpositioning:5
  25. dev-qt/qtsingleapplication[qt5,X]
  26. dev-qt/qtsensors:5
  27. dev-qt/qtsql:5[sqlite]
  28. dev-qt/qtquickcontrols:5
  29. dev-qt/qtwidgets:5
  30. dev-qt/qtxml:5
  31. "
  32. DEPEND="${RDEPEND}"
  33. src_prepare() {
  34. epatch "${FILESDIR}/${P}-qt55.patch"
  35. epatch "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch"
  36. rm -r sialantools/qtsingleapplication || die
  37. }
  38. src_configure() {
  39. eqmake5
  40. }
  41. src_install() {
  42. emake install INSTALL_ROOT="${D}"
  43. }