summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/multimon-ng/multimon-ng-1.1.4.ebuild')
-rw-r--r--net-analyzer/multimon-ng/multimon-ng-1.1.4.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-analyzer/multimon-ng/multimon-ng-1.1.4.ebuild b/net-analyzer/multimon-ng/multimon-ng-1.1.4.ebuild
new file mode 100644
index 00000000000..509c0aa1308
--- /dev/null
+++ b/net-analyzer/multimon-ng/multimon-ng-1.1.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="a fork of multimon, decodes multiple digital transmission modes"
+HOMEPAGE="https://github.com/EliasOenal/multimonNG"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ 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"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="pulseaudio X"
+
+DEPEND="pulseaudio? ( media-sound/pulseaudio )
+ X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ use pulseaudio && sed -i '/find_package( PulseAudio )/d' CMakeLists.txt
+ use X && sed -i '/find_package( X11 )/d' CMakeLists.txt
+ cmake-utils_src_prepare
+}