blob: 1cd26930f1c2562548ffb1cb35d17586ecb6107a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/multimon-ng/multimon-ng-9999.ebuild,v 1.3 2013/06/28 22:33:26 zerochaos Exp $
EAPI=5
inherit qt4-r2
DESCRIPTION="a fork of multimon, decodes multiple digital transmission modes"
HOMEPAGE="https://github.com/EliasOenal/multimonNG"
if [[ ${PV} == 9999* ]]; then
inherit git-2
EGIT_REPO_URI="https://github.com/EliasOenal/multimonNG.git"
KEYWORDS=""
else
SRC_URI="https://github.com/EliasOenal/multimonNG/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/multimonNG-${PV}
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="pulseaudio"
DEPEND="pulseaudio? ( media-sound/pulseaudio )
x11-libs/libX11"
RDEPEND="${DEPEND}"
src_prepare() {
if use !pulseaudio; then
sed -i -e 's/-lpulse-simple//' -e 's/PULSE/DUMMY/' ${PN}.pro || die
fi
qt4-r2_src_prepare
}
src_install() {
dobin ${PN}
}
|