From eaf5fd5804dfa5406975e3972dce9bc034ca38e5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Jul 2017 09:05:58 +0100 Subject: net-wireless/bluemoon : new package --- net-wireless/bluemoon/bluemoon-9999.ebuild | 42 ++++++++++++++++++++++++++++ net-wireless/bluemoon/files/icon.patch | 44 ++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 net-wireless/bluemoon/bluemoon-9999.ebuild create mode 100644 net-wireless/bluemoon/files/icon.patch (limited to 'net-wireless') diff --git a/net-wireless/bluemoon/bluemoon-9999.ebuild b/net-wireless/bluemoon/bluemoon-9999.ebuild new file mode 100644 index 00000000..2c72b812 --- /dev/null +++ b/net-wireless/bluemoon/bluemoon-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit qmake-utils + +DESCRIPTION="Bluetooth Manager for qt5" +HOMEPAGE="https://github.com/sklins/BlueMoon.git" + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sklins/BlueMoon.git" +fi + +KEYWORD="~amd64" + +LICENSE="GPL-2 LGPL-2.1+" +SLOT="0" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtbluetooth:5 +" +RDEPEND="${DEPEND}" + +S=${S}/BlueMoon +src_configure() { + mv ../icons/scalable_bluemoon.svg blue_moon.svg + epatch ${FILESDIR}/icon.patch + eqmake5 +} + +src_install() { + exeinto /usr/bin + doexe blue_moon + + insinto /usr/share/pixmaps + doins blue_moon.svg + +} diff --git a/net-wireless/bluemoon/files/icon.patch b/net-wireless/bluemoon/files/icon.patch new file mode 100644 index 00000000..b0b2a87e --- /dev/null +++ b/net-wireless/bluemoon/files/icon.patch @@ -0,0 +1,44 @@ +--- a/pindialog.ui 2016-09-28 14:42:34.630880165 -0700 ++++ b/pindialog.ui 2016-09-28 16:11:21.815784765 -0700 +@@ -54,7 +54,7 @@ + + + +- ../icons/scalable_bluemoon.svg../icons/scalable_bluemoon.svg ++ /usr/share/pixmaps/blue_moon.svg/usr/share/pixmaps/blue_moon.svg + + + +--- a/progress.ui 2016-09-28 14:42:34.630880165 -0700 ++++ b/progress.ui 2016-09-28 16:15:08.245780710 -0700 +@@ -53,7 +53,7 @@ + + + +- ../icons/scalable_bluemoon.svg../icons/scalable_bluemoon.svg ++ /usr/share/pixmaps/blue_moon.svg/usr/share/pixmaps/blue_moon.svg + + + +--- a/remoteselector.ui 2016-09-28 14:42:34.630880165 -0700 ++++ b/remoteselector.ui 2016-09-28 16:46:23.665747125 -0700 +@@ -30,7 +30,7 @@ + + + +- ../icons/scalable_bluemoon.svg../icons/scalable_bluemoon.svg ++ /usr/share/pixmaps/blue_moon.svg/usr/share/pixmaps/blue_moon.svg + + + +--- a/remoteselector.cpp 2016-09-28 14:42:34.630880165 -0700 ++++ b/remoteselector.cpp 2016-09-28 16:47:07.085746348 -0700 +@@ -459,7 +459,7 @@ + + trayIcon = new QSystemTrayIcon(this); + trayIcon->setContextMenu(trayIconMenu); +- trayIcon->setIcon(QIcon("../icons/scalable_bluemoon.svg")); ++ trayIcon->setIcon(QIcon("/usr/share/pixmaps/blue_moon.svg")); + } + void RemoteSelector::changeHostMode() + { -- cgit v1.2.3