qsstv-9.2.4.ebuild 815 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils qt4-r2
  5. MY_P=${P/-/_}
  6. DESCRIPTION="Amateur radio SSTV software"
  7. HOMEPAGE="http://users.telenet.be/on4qz/"
  8. SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tar.gz"
  9. LICENSE="GPL-3"
  10. SLOT="0"
  11. KEYWORDS="~amd64 ~x86"
  12. IUSE=""
  13. DEPEND="dev-qt/qtcore:4[qt3support]
  14. dev-qt/qtgui:4
  15. media-libs/hamlib
  16. media-libs/openjpeg:2
  17. media-libs/alsa-lib
  18. media-sound/pulseaudio
  19. media-libs/libv4l
  20. sci-libs/fftw:3.0="
  21. RDEPEND="${DEPEND}
  22. x11-misc/xdg-utils"
  23. S="${WORKDIR}/${MY_P}"
  24. src_prepare() {
  25. # fix docdirectory, install path and hamlib search path
  26. sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
  27. -e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
  28. qsstv/qsstv.pro || die
  29. }