summaryrefslogtreecommitdiff
path: root/net-wireless/bluemoon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-07-30 09:05:58 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-07-30 09:05:58 +0100
commiteaf5fd5804dfa5406975e3972dce9bc034ca38e5 (patch)
tree7850302418f5884c032741a9f37aa370ba9ea7d8 /net-wireless/bluemoon
parent6378fb0683ac8b6531ce18891147af8fc16d2a59 (diff)
net-wireless/bluemoon : new package
Diffstat (limited to 'net-wireless/bluemoon')
-rw-r--r--net-wireless/bluemoon/bluemoon-9999.ebuild42
-rw-r--r--net-wireless/bluemoon/files/icon.patch44
2 files changed, 86 insertions, 0 deletions
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 @@
+ </property>
+ <property name="windowIcon">
+ <iconset>
+- <normaloff>../icons/scalable_bluemoon.svg</normaloff>../icons/scalable_bluemoon.svg</iconset>
++ <normaloff>/usr/share/pixmaps/blue_moon.svg</normaloff>/usr/share/pixmaps/blue_moon.svg</iconset>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+--- 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 @@
+ </property>
+ <property name="windowIcon">
+ <iconset>
+- <normaloff>../icons/scalable_bluemoon.svg</normaloff>../icons/scalable_bluemoon.svg</iconset>
++ <normaloff>/usr/share/pixmaps/blue_moon.svg</normaloff>/usr/share/pixmaps/blue_moon.svg</iconset>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+--- 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 @@
+ </property>
+ <property name="windowIcon">
+ <iconset>
+- <normaloff>../icons/scalable_bluemoon.svg</normaloff>../icons/scalable_bluemoon.svg</iconset>
++ <normaloff>/usr/share/pixmaps/blue_moon.svg</normaloff>/usr/share/pixmaps/blue_moon.svg</iconset>
+ </property>
+ <widget class="QWidget" name="layoutWidget">
+ <property name="geometry">
+--- 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()
+ {