fldigi-4.0.1.ebuild 983 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
  5. HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
  6. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
  7. LICENSE="GPL-3"
  8. SLOT="0"
  9. KEYWORDS="~amd64 ~x86"
  10. IUSE="hamlib nls portaudio pulseaudio sndfile"
  11. RDEPEND="x11-libs/fltk:1[threads,xft]
  12. media-libs/libsamplerate
  13. media-libs/libpng:0
  14. x11-misc/xdg-utils
  15. dev-perl/RPC-XML
  16. dev-perl/Term-ReadLine-Perl
  17. hamlib? ( media-libs/hamlib )
  18. portaudio? ( >=media-libs/portaudio-19_pre20071207 )
  19. pulseaudio? ( media-sound/pulseaudio )
  20. sndfile? ( >=media-libs/libsndfile-1.0.10 )"
  21. DEPEND="${RDEPEND}
  22. nls? ( sys-devel/gettext )
  23. virtual/pkgconfig"
  24. DOCS=( AUTHORS ChangeLog NEWS README )
  25. src_configure() {
  26. econf $(use_with sndfile) \
  27. $(use_with portaudio) \
  28. $(use_with hamlib) \
  29. $(use_enable nls) \
  30. $(use_with pulseaudio) \
  31. --without-asciidoc
  32. }