summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2019-02-04 12:48:03 -0500
committerRick Farina <zerochaos@gentoo.org>2019-02-04 12:48:17 -0500
commitb1d1707c9e632b40bb1626ad14f0a1a62d95add3 (patch)
tree5d343dbe013d37067318dd17d27c7f745a389407 /net-wireless/qradiolink
parentwww-client/vivaldi-snapshot: Old (diff)
downloadgentoo-b1d1707c9e632b40bb1626ad14f0a1a62d95add3.tar.gz
gentoo-b1d1707c9e632b40bb1626ad14f0a1a62d95add3.tar.bz2
gentoo-b1d1707c9e632b40bb1626ad14f0a1a62d95add3.zip
net-wireless/qradiolink: initial commit
software is a little buggy, I have issues open with upstream Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/qradiolink')
-rw-r--r--net-wireless/qradiolink/files/find-qwt.patch14
-rw-r--r--net-wireless/qradiolink/metadata.xml8
-rw-r--r--net-wireless/qradiolink/qradiolink-9999.ebuild56
3 files changed, 78 insertions, 0 deletions
diff --git a/net-wireless/qradiolink/files/find-qwt.patch b/net-wireless/qradiolink/files/find-qwt.patch
new file mode 100644
index 000000000000..70ec3188776f
--- /dev/null
+++ b/net-wireless/qradiolink/files/find-qwt.patch
@@ -0,0 +1,14 @@
+diff --git a/qradiolink.pro b/qradiolink.pro
+index d64c073..08a7e52 100644
+--- a/qradiolink.pro
++++ b/qradiolink.pro
+@@ -161,7 +161,7 @@ LIBS += -lrt # need to include on some distros
+ unix:!symbian: LIBS += -lprotobuf -lopus -lpulse-simple -lpulse -lcodec2 -lgsm -lasound -ljpeg -lconfig++ -lspeexdsp
+ #-lFestival -lestbase -leststring -lestools
+ #INCLUDEPATH += /usr/include/speech_tools
+-INCLUDEPATH += /usr/include/qwt-qt4
+-INCLUDEPATH += /usr/include/qwt
++CONFIG += link_pkgconfig
++PKGCONFIG += Qt5Qwt
+
+ RESOURCES += resources.qrc
diff --git a/net-wireless/qradiolink/metadata.xml b/net-wireless/qradiolink/metadata.xml
new file mode 100644
index 000000000000..1570f891c6a3
--- /dev/null
+++ b/net-wireless/qradiolink/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-wireless/qradiolink/qradiolink-9999.ebuild b/net-wireless/qradiolink/qradiolink-9999.ebuild
new file mode 100644
index 000000000000..e6049347971e
--- /dev/null
+++ b/net-wireless/qradiolink/qradiolink-9999.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils
+
+DESCRIPTION="Multimode SDR experimentation GUI for GNUradio"
+HOMEPAGE="http://qradiolink.org"
+
+LICENSE="GPL-3"
+SLOT="0"
+if [ "${PV}" = "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kantooon/qradiolink.git"
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/kantooon/qradiolink/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+IUSE=""
+
+DEPEND="dev-libs/libconfig[cxx]
+ net-wireless/gnuradio:=[analog,audio,digital,fec,filter,qt5]
+ net-wireless/gr-osmosdr:=
+ dev-libs/boost:=
+ dev-libs/protobuf:=
+ media-libs/opus:=
+ media-sound/pulseaudio
+ media-libs/codec2:=
+ media-sound/gsm:=
+ media-libs/libjpeg-turbo:=
+ media-libs/speexdsp:=
+ dev-qt/qtwidgets:5=
+ dev-qt/qtgui:5=
+ dev-qt/qtnetwork:5=
+ dev-qt/qtsql:5=
+ dev-qt/qtcore:5=
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}/find-qwt.patch"
+ cd ext/ || die
+ protoc --cpp_out=. Mumble.proto
+ protoc --cpp_out=. QRadioLink.proto
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ dobin qradiolink
+}