summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/qgroundcontrol/metadata.xml19
-rw-r--r--app-misc/qgroundcontrol/qgroundcontrol-9999.ebuild56
2 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/qgroundcontrol/metadata.xml b/app-misc/qgroundcontrol/metadata.xml
new file mode 100644
index 0000000..a961f86
--- /dev/null
+++ b/app-misc/qgroundcontrol/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<longdescription lang="en">
+QGroundControl provides full flight control and vehicle setup for PX4 or ArduPilot powered vehicles. It provides easy and straightforward usage for beginners, while still delivering high end feature support for experienced users.
+Key Features:
+ Full setup/configuration of ArduPilot and PX4 Pro powered vehicles.
+ Flight support for vehicles running PX4 and ArduPilot (or any other autopilot that communicates using the MAVLink protocol).
+ Mission planning for autonomous flight.
+ Flight map display showing vehicle position, flight track, waypoints and vehicle instruments.
+ Video streaming with instrument display overlays.
+ Support for managing multiple vehicles.
+ QGC runs on Windows, OS X, Linux platforms, iOS and Android devices.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/qgroundcontrol/qgroundcontrol-9999.ebuild b/app-misc/qgroundcontrol/qgroundcontrol-9999.ebuild
new file mode 100644
index 0000000..df74972
--- /dev/null
+++ b/app-misc/qgroundcontrol/qgroundcontrol-9999.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils desktop flag-o-matic git-r3
+
+DESCRIPTION="ground control station for drones"
+HOMEPAGE="http://qgroundcontrol.io"
+EGIT_REPO_URI="https://github.com/mavlink/${PN}.git"
+
+LICENSE="Apache-2.0 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-qt/qtbluetooth:5
+ dev-qt/qtcharts:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgraphicaleffects:5
+ dev-qt/qtlocation:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtpositioning:5[qml]
+ dev-qt/qtquickcontrols:5[widgets]
+ dev-qt/qtspeech:5
+ dev-qt/qtspeech:5
+ dev-qt/qtsql:5
+ dev-qt/qtsvg:5
+ dev-qt/qttest:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ append-cxxflags \
+ -Wno-error=int-in-bool-context \
+ -Wno-error=ignored-attributes \
+ -Wno-error=misleading-indentation \
+ -Wno-error=implicit-fallthrough
+}
+
+src_prepare() {
+ #bundled mavlink, eigen, maybe others
+ default
+ cmake-utils_src_prepare
+ sed -e "/^Exec=/s:qgroundcontrol-start.sh:/usr/bin/${PN}:" \
+ -i deploy/${PN}.desktop
+}
+
+src_install() {
+ newbin "${BUILD_DIR}"/QGroundControl ${PN}
+ doicon resources/icons/${PN}.png
+ domenu deploy/${PN}.desktop
+}