summaryrefslogtreecommitdiff
path: root/net-wireless/bluemoon/bluemoon-9999.ebuild
blob: 2c72b812233b3dc54f8d0662bd96d54e8de4ab4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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

}