From 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Mar 2018 15:59:12 +0000 Subject: gentoo resync : 02.03.2018 --- games-rpg/Manifest.gz | Bin 7924 -> 7930 bytes games-rpg/runescape-launcher/Manifest | 2 +- .../runescape-launcher-2.2.4-r1.ebuild | 83 --------------------- .../runescape-launcher-2.2.4-r2.ebuild | 83 +++++++++++++++++++++ 4 files changed, 84 insertions(+), 84 deletions(-) delete mode 100644 games-rpg/runescape-launcher/runescape-launcher-2.2.4-r1.ebuild create mode 100644 games-rpg/runescape-launcher/runescape-launcher-2.2.4-r2.ebuild (limited to 'games-rpg') diff --git a/games-rpg/Manifest.gz b/games-rpg/Manifest.gz index 923eb4be4096..eb398a6a5c59 100644 Binary files a/games-rpg/Manifest.gz and b/games-rpg/Manifest.gz differ diff --git a/games-rpg/runescape-launcher/Manifest b/games-rpg/runescape-launcher/Manifest index 4b5676416938..4addaa5c6a13 100644 --- a/games-rpg/runescape-launcher/Manifest +++ b/games-rpg/runescape-launcher/Manifest @@ -1,3 +1,3 @@ DIST runescape-launcher_2.2.4_amd64.deb 3014372 BLAKE2B 9ac215ff5f4b50a432fe14924d9bd7b8891d488cac05c6e2e657b97df68446e3d6a71c5c8330ff2ee995eddbfa63f885915a0c26413546845edeb219c2e56ac4 SHA512 47a3d757f2719474767ba95346f7e2d51a41612c8287656e78a958c68f62a26abcffc187b21d6cb7584bc94b2b5583d55dde4f27cfc18174e917864a7002c518 -EBUILD runescape-launcher-2.2.4-r1.ebuild 1609 BLAKE2B 181524db2d7ac6a61792e1b3a8e7b5a2933928be85e8b17b9a2dee46ca2a742968cbc1951c293017e2dfe20351ab483fe55643771b23431e31ddc635536d8bd9 SHA512 49705e967c3b2608405271ad94a763ab52498e41ecdd9032bac4a7c67c95db4ff16b3e6bdc8addd6286edd5384bf373d18c415d499d6d7ada5240e4a8f27e4b6 +EBUILD runescape-launcher-2.2.4-r2.ebuild 1598 BLAKE2B b95abd705ca66db473dd163822aecaaf36204fa8113d114fa05d0a5106df5b3f4f5791a17c23987625583ed1021dc3f3273f910e7ffbf6ad54231cf7129a176b SHA512 0bd6b875e864fe88081d6a6effa28421b2bd746e1f5162ede3b66a6e5b9e866234a74ef0cbbc6af0918207baec9fad6c473d8dc2077f362cd0da18a7ea72ce6c MISC metadata.xml 363 BLAKE2B 6ab4a2ef28cdbe1f2872fd2e354e1a16af1d6d23f78f8852c38737050c114adc33c916fb8ee1f2dc5d48460e2e76ab7c9e5fc16509f1afe01d259c0897289658 SHA512 c0b7f88e26968ff9cc1657152682755bdcdcd5dbe2490c54ca871f166e50cfff171b8a9a96c7fe09c97b39311c5be826ac5561d64a48152f0b4e4d1fa585e9df diff --git a/games-rpg/runescape-launcher/runescape-launcher-2.2.4-r1.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.4-r1.ebuild deleted file mode 100644 index f84a65137ff4..000000000000 --- a/games-rpg/runescape-launcher/runescape-launcher-2.2.4-r1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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-misc/curl-7.35.0 -" -DEPEND="" - -src_prepare() { - # Fix path in launcher script - sed -i "s:/usr/share/games/$PN:/opt/$PN:" usr/bin/$PN || die - - # Add missing trailing semicolon to .desktop MimeType entry - sed -i '/MimeType=/{/;$/!{s/$/;/}}' usr/share/applications/${PN}.desktop || die - - # Fix path to launcher script - sed -i "s:/usr/bin/$PN:/opt/bin/$PN:" usr/share/applications/${PN}.desktop || die - - 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 -} diff --git a/games-rpg/runescape-launcher/runescape-launcher-2.2.4-r2.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.4-r2.ebuild new file mode 100644 index 000000000000..19f039b0e8f3 --- /dev/null +++ b/games-rpg/runescape-launcher/runescape-launcher-2.2.4-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 + >=media-libs/libvorbis-1.3.2 + >=net-misc/curl-7.35.0 +" +DEPEND="" + +src_prepare() { + # Fix path in launcher script + sed -i "s:/usr/share/games/$PN:/opt/$PN:" usr/bin/$PN || die + + # Add missing trailing semicolon to .desktop MimeType entry + sed -i '/MimeType=/{/;$/!{s/$/;/}}' usr/share/applications/${PN}.desktop || die + + # Fix path to launcher script + sed -i "s:/usr/bin/$PN:/opt/bin/$PN:" usr/share/applications/${PN}.desktop || die + + 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 +} -- cgit v1.2.3