mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
gui-apps/nm-tray: new package
Closes: https://bugs.gentoo.org/688150 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
1
gui-apps/nm-tray/Manifest
Normal file
1
gui-apps/nm-tray/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST nm-tray-0.4.3.tar.gz 44705 BLAKE2B 590e8b3a08e7543a1275d7e5e3264570fe78b6020435783b2b36d6acd1df36b0106f4537035d8b61c0d571451d27277874ec3ddc93cd6163c047666e7013ab2a SHA512 480511a6e5b075ff98b53e91b08f37b9344c81e89c0f580c74f4424b1657c156300c31cc85cc8f82478eec9efdf53589352c3757c16e386d6985828b9dfa819d
|
||||
@@ -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
|
||||
{
|
||||
8
gui-apps/nm-tray/metadata.xml
Normal file
8
gui-apps/nm-tray/metadata.xml
Normal file
@@ -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>
|
||||
37
gui-apps/nm-tray/nm-tray-0.4.3.ebuild
Normal file
37
gui-apps/nm-tray/nm-tray-0.4.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user