summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/qsstv/qsstv-9.2.6.ebuild')
-rw-r--r--media-radio/qsstv/qsstv-9.2.6.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/media-radio/qsstv/qsstv-9.2.6.ebuild b/media-radio/qsstv/qsstv-9.2.6.ebuild
new file mode 100644
index 00000000000..a024829b0cd
--- /dev/null
+++ b/media-radio/qsstv/qsstv-9.2.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils
+
+MY_P=${P/-/_}
+
+DESCRIPTION="Amateur radio SSTV software"
+HOMEPAGE="http://users.telenet.be/on4qz/"
+SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ media-libs/hamlib
+ media-libs/openjpeg:2
+ media-libs/alsa-lib
+ media-sound/pulseaudio
+ media-libs/libv4l
+ sci-libs/fftw:3.0="
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ x11-misc/xdg-utils"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ eapply_user
+ # fix docdirectory, install path and hamlib search path
+ sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
+ -e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
+ qsstv/qsstv.pro || die
+}
+
+src_compile() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README.txt
+}