public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/runescape-launcher/
Date: Fri, 20 May 2016 13:24:23 +0000 (UTC)	[thread overview]
Message-ID: <1463750563.48c915cd290f9aa32f7580373c0620744ec5abff.idella4@gentoo> (raw)

commit:     48c915cd290f9aa32f7580373c0620744ec5abff
Author:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Fri May 20 13:20:52 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Fri May 20 13:22:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c915cd

games-rpg/runescape-launcher: new ebuild, (binary) initial vn. 2.2.2

To be maintained by user Jack Coulter under the Proxy Maintainers Project
initial ebuild supplied as attachment via the gentoo bug.
This package required a new license, added under the group 'EULA'

Gnetoo-bug: #580486

Package-Manager: portage-2.3.0_rc1

 games-rpg/runescape-launcher/Manifest              |  1 +
 games-rpg/runescape-launcher/metadata.xml          | 12 ++++
 .../runescape-launcher-2.2.2.ebuild                | 84 ++++++++++++++++++++++
 3 files changed, 97 insertions(+)

diff --git a/games-rpg/runescape-launcher/Manifest b/games-rpg/runescape-launcher/Manifest
new file mode 100644
index 0000000..9695dc1
--- /dev/null
+++ b/games-rpg/runescape-launcher/Manifest
@@ -0,0 +1 @@
+DIST runescape-launcher_2.2.2_amd64.deb 2069098 SHA256 d13051e277ad89b788252b08d4d2c7a3b060f87f41457232638d6f2b19b4cfe9 SHA512 be24aaf661fb89725c19675ea8626dc2cdac64254c7fd9e892b82e038033657dfd5dfc58537e5131fad524d11717e3b20cc824ced6e1940ce7925daaef043df5 WHIRLPOOL fca1fc4e5e0cabb3871290b8033342ba2e0d9e323038158ba9c5654113a248d90f5ca01d3394f0cd047e7c29f3593bbeba3ba0f3eb76d4a2c8d06d39104289aa

diff --git a/games-rpg/runescape-launcher/metadata.xml b/games-rpg/runescape-launcher/metadata.xml
new file mode 100644
index 0000000..d030cf3
--- /dev/null
+++ b/games-rpg/runescape-launcher/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>jscinoz@jscinoz.so</email>
+		<name>Jack Coulter</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/games-rpg/runescape-launcher/runescape-launcher-2.2.2.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.2.ebuild
new file mode 100644
index 0000000..10267d6
--- /dev/null
+++ b/games-rpg/runescape-launcher/runescape-launcher-2.2.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit unpacker xdg gnome2-utils
+
+DESCRIPTION="Official RuneScape NXT client launcher"
+HOMEPAGE="http://www.runescape.com"
+
+SRC_URI="http://content.runescape.com/downloads/ubuntu/pool/non-free/r/${PN}/${PN}_${PV}_amd64.deb"
+
+QA_PREBUILT="/opt/runescape-launcher/runescape"
+
+SLOT="0"
+
+IUSE="kde"
+
+KEYWORDS="-* ~amd64"
+
+LICENSE="RuneScape-EULA"
+RESTRICT="bindist mirror strip"
+
+S="${WORKDIR}"
+
+RDEPEND="
+	media-libs/libpng:1.2
+	>=media-libs/libsdl2-2.0.2
+	>=media-libs/glew-1.10.0:0/1.10
+	>=media-libs/libvorbis-1.3.2
+	>=net-libs/webkit-gtk-2.4.8:2
+	>=net-misc/curl-7.35.0
+"
+
+src_prepare() {
+	# Fix path in launcher script
+	sed -i "s:/usr/share/games/$PN:/opt/$PN:" usr/bin/$PN
+
+	# Add missing trailing semicolon to .desktop MimeType entry
+	sed -i '/MimeType=/{/;$/!{s/$/;/}}' usr/share/applications/${PN}.desktop
+
+	# Fix path to launcher script
+	sed -i "s:/usr/bin/$PN:/opt/bin/$PN:" usr/share/applications/${PN}.desktop
+
+	xdg_src_prepare
+
+	eapply_user
+}
+
+src_install() {
+	into /opt
+	dobin usr/bin/$PN
+	dodoc usr/share/doc/$PN/*
+
+	exeinto /opt/$PN
+	doexe usr/share/games/$PN/runescape
+
+	insinto /usr/share/applications
+	doins usr/share/applications/${PN}.desktop
+
+	insinto /usr/share/icons
+	doins -r usr/share/icons/hicolor
+
+	if use kde ; then
+		insinto /usr/share/kde4
+		doins -r usr/share/kde4/services
+	fi
+}
+
+pkg_preinst() {
+	xdg_pkg_preinst
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_pkg_postrm
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2016-05-20 13:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20 13:24 Ian Delaney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-23  1:45 [gentoo-commits] repo/gentoo:master commit in: games-rpg/runescape-launcher/ Ian Delaney
2016-10-25  7:27 Patrice Clement
2017-03-02 10:20 Michael Palimaka
2017-06-01  7:10 David Seifert
2017-06-01  7:10 David Seifert
2017-06-11  8:01 Michael Palimaka
2017-07-21 10:48 Pacho Ramos
2017-09-05 23:50 Austin English
2017-12-23 23:49 Michał Górny
2018-02-28 20:38 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1463750563.48c915cd290f9aa32f7580373c0620744ec5abff.idella4@gentoo \
    --to=idella4@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox