qsstv-8.2.12.ebuild 777 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils multilib 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/jasper:=
  17. media-libs/alsa-lib
  18. sci-libs/fftw:3.0="
  19. RDEPEND="${DEPEND}
  20. x11-misc/xdg-utils"
  21. S="${WORKDIR}/${MY_P}"
  22. src_prepare() {
  23. # fix docdirectory, install path and hamlib search path
  24. sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
  25. -e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
  26. qsstv/qsstv.pro || die
  27. }