summaryrefslogtreecommitdiff
path: root/games-rpg/runescape-launcher/runescape-launcher-2.2.8.ebuild
blob: a1b849d84e5672aacd959d51a8bed9c77f2a792a (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
43
44
45
46
47
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit unpacker xdg

DESCRIPTION="Official RuneScape NXT client launcher"
HOMEPAGE="http://www.runescape.com"
SRC_URI="https://content.runescape.com/downloads/ubuntu/pool/non-free/${PN:0:1}/${PN}/${PN}_${PV}_amd64.deb"

LICENSE="RuneScape-EULA"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE="kde"

DEPEND=""
RDEPEND="
	x11-libs/cairo
	x11-libs/gdk-pixbuf
	x11-libs/gtk+:2
	sys-libs/libcap
	x11-libs/libSM
	x11-libs/libX11
	x11-libs/libXxf86vm
	dev-libs/openssl
	x11-libs/pango
	media-libs/libsdl2"
BDEPEND=""

RESTRICT="bindist mirror strip"
QA_PREBUILT="/usr/share/games/runescape-launcher/runescape"

S="${WORKDIR}"

src_compile() {
	mv usr/share/doc . || die
	gunzip doc/runescape-launcher/changelog.gz || die
	if ! use kde; then
		rm -r usr/share/kde4 || die
	fi
}

src_install() {
	doins -r usr
	dodoc doc/runescape-launcher/*
}