summaryrefslogtreecommitdiff
path: root/gui-apps/nm-tray
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-25 11:50:47 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-25 11:50:47 +0000
commitd42200bec37eef2a7478d88988ff00addd0a9202 (patch)
tree10394660b3cbe4b50173c06950b31302cd25d0d1 /gui-apps/nm-tray
parent580f05ea8f512d11e23e8da80177d27835cbdbbc (diff)
gentoo resync : 25.01.2020
Diffstat (limited to 'gui-apps/nm-tray')
-rw-r--r--gui-apps/nm-tray/Manifest4
-rw-r--r--gui-apps/nm-tray/files/nm-tray-0.4.3-missing-include-qmetaenum.patch21
-rw-r--r--gui-apps/nm-tray/metadata.xml8
-rw-r--r--gui-apps/nm-tray/nm-tray-0.4.3.ebuild37
4 files changed, 70 insertions, 0 deletions
diff --git a/gui-apps/nm-tray/Manifest b/gui-apps/nm-tray/Manifest
new file mode 100644
index 000000000000..629908a604f6
--- /dev/null
+++ b/gui-apps/nm-tray/Manifest
@@ -0,0 +1,4 @@
+AUX nm-tray-0.4.3-missing-include-qmetaenum.patch 565 BLAKE2B 7542d3f95acb8157216d3526df0ee37c24b58316e1a044212ac5355c4030992e6169cf645fe283d00c4d52dd87739889b318b4e3692698628ed500b7453460f5 SHA512 0a11ec9013d1730ce593a17393ed32a76b072480c577bca6219fece1a1a77b1ebe50ef692d6cee93b9ab8fd8f3d83beb5f79cd3e4653218f8cf833f7dd21824b
+DIST nm-tray-0.4.3.tar.gz 44705 BLAKE2B 590e8b3a08e7543a1275d7e5e3264570fe78b6020435783b2b36d6acd1df36b0106f4537035d8b61c0d571451d27277874ec3ddc93cd6163c047666e7013ab2a SHA512 480511a6e5b075ff98b53e91b08f37b9344c81e89c0f580c74f4424b1657c156300c31cc85cc8f82478eec9efdf53589352c3757c16e386d6985828b9dfa819d
+EBUILD nm-tray-0.4.3.ebuild 760 BLAKE2B c23c2ada51c832f9b491044146bcb9a5701477d3323657b2cb4760f4fbf05ce2b738fedb5dc801daaf57cdfeb89dbd5bd0c98178bc7469714078e0be01588816 SHA512 3de13d1ff071eeecb4ca52dbd15c34a40f98a9f87e7f93f4f2f0da3a3e77f80b5e996d1094849af24c6cca2d658010b49ed3fc936bf04f1f0b75da5a35935917
+MISC metadata.xml 244 BLAKE2B 24ebafa89c32f799b62237b0d9442143de8ccb86c1625f2a49dd91ec9caa63cadc52000005b5b5ef148df89e907e1407330a8d8411ffb5f4facaf629a3184cb8 SHA512 d7a2290eb2970ef7fb9bea275b209c7ace388daadcf3e317b099767d72c7d9f0b894e23492f02e973d27010a7568e48549e4f502c9628efc3133012680304784
diff --git a/gui-apps/nm-tray/files/nm-tray-0.4.3-missing-include-qmetaenum.patch b/gui-apps/nm-tray/files/nm-tray-0.4.3-missing-include-qmetaenum.patch
new file mode 100644
index 000000000000..6d319efa55b9
--- /dev/null
+++ b/gui-apps/nm-tray/files/nm-tray-0.4.3-missing-include-qmetaenum.patch
@@ -0,0 +1,21 @@
+From 4563dabee3cbee13bc9d23a4a5d0ddda1526b43f Mon Sep 17 00:00:00 2001
+From: Palo Kisa <palo.kisa@gmail.com>
+Date: Tue, 1 Oct 2019 12:03:43 +0200
+Subject: [PATCH] nmmodel: Add include for used class
+
+---
+ src/nmmodel.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nmmodel.cpp b/src/nmmodel.cpp
+index d779801..ac70307 100644
+--- a/src/nmmodel.cpp
++++ b/src/nmmodel.cpp
+@@ -45,6 +45,7 @@ COPYRIGHT_HEADER*/
+ #include <NetworkManagerQt/ConnectionSettings>
+ #include <QDBusPendingCallWatcher>
+ #include <QInputDialog>
++#include <QMetaEnum>
+
+ namespace
+ {
diff --git a/gui-apps/nm-tray/metadata.xml b/gui-apps/nm-tray/metadata.xml
new file mode 100644
index 000000000000..c67d4dcaca5b
--- /dev/null
+++ b/gui-apps/nm-tray/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="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gui-apps/nm-tray/nm-tray-0.4.3.ebuild b/gui-apps/nm-tray/nm-tray-0.4.3.ebuild
new file mode 100644
index 000000000000..d18f9b26f666
--- /dev/null
+++ b/gui-apps/nm-tray/nm-tray-0.4.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A simple Qt-based NetworkManager front-end"
+HOMEPAGE="https://github.com/palinek/nm-tray"
+SRC_URI="https://github.com/palinek/nm-tray/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+BDEPEND=">=dev-util/cmake-3.10"
+DEPEND="
+ dev-qt/linguist:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ kde-frameworks/networkmanager-qt
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/nm-tray-0.4.3-missing-include-qmetaenum.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DNM_TRAY_XDG_AUTOSTART_DIR=/etc/xdg/autostart
+ )
+
+ cmake_src_configure
+}