qtoctave-0.10.1-r1.ebuild 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit cmake-utils multilib
  5. PID=2054
  6. DESCRIPTION="Qt4 front-end for Octave"
  7. HOMEPAGE="http://forja.rediris.es/projects/csl-qtoctave/"
  8. SRC_URI="http://forja.rediris.es/frs/download.php/${PID}/${P}.tar.gz"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
  12. IUSE=""
  13. CDEPEND="
  14. || ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 )
  15. >=dev-qt/qtsvg-4.6:4"
  16. RDEPEND="${CDEPEND}
  17. sci-mathematics/octave"
  18. DEPEND="${CDEPEND}
  19. virtual/pkgconfig"
  20. DOCS=(readme.txt leeme.txt)
  21. PATCHES=(
  22. "${FILESDIR}"/${P}-build-out-of-source.patch
  23. "${FILESDIR}"/${P}-build-widgetserver.patch
  24. "${FILESDIR}"/${P}-doc-path.patch
  25. "${FILESDIR}"/${P}-filedialog-filters.patch
  26. "${FILESDIR}"/${P}-initial_position.patch
  27. "${FILESDIR}"/${P}-no-native-menubars.patch
  28. "${FILESDIR}"/${P}-qtinfo-octave3.4.patch
  29. "${FILESDIR}"/${P}-use_octave_htmldoc.patch
  30. "${FILESDIR}"/${P}-desktop-file.patch
  31. )
  32. src_configure() {
  33. local mycmakeargs=(
  34. -DCMAKE_SKIP_INSTALL_RPATH=ON
  35. -DCMAKE_SKIP_RPATH=ON
  36. )
  37. cmake-utils_src_configure
  38. }