datovka-4.7.1.ebuild 982 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit qmake-utils
  5. DESCRIPTION="GUI to access Czech eGov \"Datove schranky\""
  6. HOMEPAGE="https://labs.nic.cz/cs/datovka.html"
  7. SRC_URI="https://secure.nic.cz/files/datove_schranky/${PV}/${P}.tar.xz"
  8. LICENSE="GPL-3"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. # minimum Qt version required
  13. QT_PV="5.3.2:5"
  14. RDEPEND="
  15. >=dev-libs/openssl-1.0.1
  16. >=dev-qt/qtcore-${QT_PV}
  17. >=dev-qt/qtgui-${QT_PV}
  18. >=dev-qt/qtnetwork-${QT_PV}
  19. >=dev-qt/qtprintsupport-${QT_PV}
  20. >=dev-qt/qtsql-${QT_PV}[sqlite]
  21. >=dev-qt/qtwidgets-${QT_PV}
  22. >=net-libs/libisds-0.10.5
  23. "
  24. DEPEND="
  25. ${RDEPEND}
  26. >=dev-qt/linguist-tools-${QT_PV}
  27. "
  28. src_configure() {
  29. lrelease datovka.pro
  30. eqmake5 PREFIX="/usr" DISABLE_VERSION_CHECK_BY_DEFAULT=1
  31. }
  32. src_install() {
  33. emake install INSTALL_ROOT="${D}"
  34. docompress -x \
  35. /usr/share/doc/datovka/AUTHORS \
  36. /usr/share/doc/datovka/COPYING
  37. dodoc ChangeLog
  38. }