From 85af53e62ade35d0f35d995b1af1349ea4e15f9b Mon Sep 17 00:00:00 2001
From: "Alex Xu (Hello71)" <alex_y_xu@yahoo.ca>
Date: Wed, 16 Dec 2020 12:46:24 -0500
Subject: games-rpg/runescape-launcher: bump, some fixes

---
 games-rpg/runescape-launcher/Manifest              |  2 +-
 .../runescape-launcher-2.2.7.ebuild                | 37 -----------------
 .../runescape-launcher-2.2.8.ebuild                | 47 ++++++++++++++++++++++
 3 files changed, 48 insertions(+), 38 deletions(-)
 delete mode 100644 games-rpg/runescape-launcher/runescape-launcher-2.2.7.ebuild
 create mode 100644 games-rpg/runescape-launcher/runescape-launcher-2.2.8.ebuild

diff --git a/games-rpg/runescape-launcher/Manifest b/games-rpg/runescape-launcher/Manifest
index bafb371..682a472 100644
--- a/games-rpg/runescape-launcher/Manifest
+++ b/games-rpg/runescape-launcher/Manifest
@@ -1 +1 @@
-DIST runescape-launcher_2.2.7_amd64.deb 3878764 BLAKE2B 70e1cfdc2f73a2e85da4b28282a83f16bd6bc62e98271090028b3ec1605503d3ea40841693a18bda699a17f63ca464ac432a076982d83484d4ab2ef086200feb SHA512 7f077e6669722e3d1582b362f11da4b6189a508fe285be1353c90615dbe996e16f02d3f3b76fc45afb49449cba80a5a8d1626d2bd368575db76400be050cdefc
+DIST runescape-launcher_2.2.8_amd64.deb 3871536 BLAKE2B 612c3147ecfc1cc72e62f3f9851fcddfbd8f220fbaead8d0a4cdf2f41db1f74afbb7a823ac02991b12992d4ad2a8417659a38b2009d22f5a1d0c14d8b94f0484 SHA512 61e952aa3b782b0ad8a4d42e9eacb7c76a8dca94efb41cb0edc04d32af78dde34b975eb5e9e605ec0d3894e073d9a8d93bf4f62cec6bde203c45f0f3a4e5ee85
diff --git a/games-rpg/runescape-launcher/runescape-launcher-2.2.7.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.7.ebuild
deleted file mode 100644
index e26b693..0000000
--- a/games-rpg/runescape-launcher/runescape-launcher-2.2.7.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit unpacker
-
-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"
-
-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_install() {
-	cp -r usr "${D}"
-}
diff --git a/games-rpg/runescape-launcher/runescape-launcher-2.2.8.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.8.ebuild
new file mode 100644
index 0000000..a1b849d
--- /dev/null
+++ b/games-rpg/runescape-launcher/runescape-launcher-2.2.8.ebuild
@@ -0,0 +1,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/*
+}
-- 
cgit v1.2.3-70-g09d2