gwenhywfar-4.15.3-r1.ebuild 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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
  5. MY_P="${P/_beta/beta}"
  6. DESCRIPTION="A multi-platform helper library for other libraries"
  7. HOMEPAGE="http://www.aquamaniac.de/aqbanking/"
  8. SRC_URI="http://www.aquamaniac.de/sites/download/download.php?package=01&release=201&file=01&dummy=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
  9. S="${WORKDIR}/${MY_P}"
  10. LICENSE="LGPL-2.1"
  11. SLOT="0"
  12. KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
  13. IUSE="debug doc fox gtk qt4 qt5"
  14. RDEPEND="dev-libs/libgpg-error
  15. dev-libs/libgcrypt:0=
  16. dev-libs/openssl:0=
  17. net-libs/gnutls:=
  18. virtual/libiconv
  19. virtual/libintl
  20. fox? ( x11-libs/fox:1.6 )
  21. gtk? ( x11-libs/gtk+:2 )
  22. qt4? ( dev-qt/qtgui:4 )
  23. qt5? ( dev-qt/qtgui:5 )"
  24. DEPEND="${RDEPEND}
  25. virtual/pkgconfig
  26. sys-devel/gettext
  27. doc? ( app-doc/doxygen )"
  28. # broken upstream, reported but got no reply
  29. RESTRICT="test"
  30. src_configure() {
  31. local guis
  32. local extra_opts
  33. use fox && guis="${guis} fox16"
  34. use gtk && guis="${guis} gtk2"
  35. use qt4 && guis="${guis} qt4" && extra_opts="${extra_opts} --with-qt4-moc="$(qt4_get_bindir)/moc""
  36. use qt5 && guis="${guis} qt5" && extra_opts="${extra_opts} --with-qt5-qmake="$(qt5_get_bindir)/qmake" --with-qt5-moc="$(qt5_get_bindir)/moc""
  37. econf \
  38. --enable-ssl \
  39. $(use_enable debug) \
  40. $(use_enable doc full-doc) \
  41. --with-guis="${guis}" \
  42. ${extra_opts} \
  43. --with-docpath="${EPREFIX}/usr/share/doc/${PF}/apidoc"
  44. }
  45. src_compile() {
  46. emake
  47. use doc && emake srcdoc
  48. }
  49. src_install() {
  50. default
  51. use doc && emake DESTDIR="${D}" install-srcdoc
  52. find "${ED}" -name '*.la' -delete || die
  53. }