| 1 |
# Copyright 1999-2013 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-radio/qsstv/qsstv-7.1.7.ebuild,v 1.5 2012/08/01 06:49:00 tomjbe Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit eutils multilib qt4-r2 |
| 8 |
|
| 9 |
MY_P=${P/-/_} |
| 10 |
|
| 11 |
DESCRIPTION="Amateur radio SSTV software" |
| 12 |
HOMEPAGE="http://users.telenet.be/on4qz/" |
| 13 |
SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tgz" |
| 14 |
|
| 15 |
LICENSE="GPL-3" |
| 16 |
SLOT="0" |
| 17 |
KEYWORDS="amd64 x86" |
| 18 |
IUSE="" |
| 19 |
|
| 20 |
DEPEND="dev-qt/qtcore:4[qt3support] |
| 21 |
media-libs/hamlib |
| 22 |
media-libs/alsa-lib |
| 23 |
sci-libs/fftw:3.0" |
| 24 |
RDEPEND="${DEPEND} |
| 25 |
x11-misc/xdg-utils" |
| 26 |
|
| 27 |
S="${WORKDIR}/${MY_P}" |
| 28 |
|
| 29 |
src_prepare() { |
| 30 |
# fix docdirectory, install path and hamlib search path |
| 31 |
sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \ |
| 32 |
-e "s:local/bin:/bin:" \ |
| 33 |
-e "s:target.extra:#target.extra:" \ |
| 34 |
-e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" src/src.pro |
| 35 |
sed -i -e "s:doc/qsstv:doc/${PF}:" src/configdialog.cpp |
| 36 |
# add missing #includes for gcc-4.7 (bug # 427486) |
| 37 |
epatch "${FILESDIR}"/${P}-gcc-47.patch |
| 38 |
} |