forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtkevemon-1.10.ebuild
45 lines (35 loc) · 934 Bytes
/
gtkevemon-1.10.ebuild
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
43
44
45
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic
DESCRIPTION="A standalone skill monitoring application for EVE Online"
HOMEPAGE="http://gtkevemon.battleclinic.com"
SRC_URI="http://github.com/gtkevemon/${PN}/archive/v${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-cpp/gtkmm:2.4
dev-libs/libxml2
dev-libs/openssl:0
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
src_prepare() {
default
sed -e 's:Categories=Game;$:Categories=Game;RolePlaying;GTK;:' \
-i "icon/${PN}.desktop" \
|| die "failed fix categories in icon/${PN}.desktop"
# Fixes a QA notice.
sed -i "/^Encoding/d" "icon/${PN}.desktop" \
|| die "failed to remove the Encoding from icon/${PN}.desktop"
append-cxxflags -std=c++11
}
src_install() {
dobin "src/${PN}"
doicon "icon/${PN}.svg"
domenu "icon/${PN}.desktop"
einstalldocs
}