diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-rpg/runescape-launcher |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-rpg/runescape-launcher')
4 files changed, 183 insertions, 0 deletions
diff --git a/games-rpg/runescape-launcher/Manifest b/games-rpg/runescape-launcher/Manifest new file mode 100644 index 000000000000..1ad3f34f2251 --- /dev/null +++ b/games-rpg/runescape-launcher/Manifest @@ -0,0 +1,5 @@ +DIST runescape-launcher_2.2.4_amd64.deb 3013304 SHA256 c57c84286c50959d47dfff54490d87849d12830cccd703373917720822e002de SHA512 f19b693036ef1cc93d4c3f233ebbae31ef26d696875acd4dd0383f96127f09ce077c8256f37fc07243df063f4cc38211c5ab766ae798680ba4ad59e6c674e426 WHIRLPOOL d7140eb9fdee033c545df4298607b2578436bc7b52d6acf7aef51bc8205d387408b142794daee5c07f9d7f7903af89b2d6f83e803329972a4324ebacf5a9f54f +EBUILD runescape-launcher-2.2.4-r1.ebuild 1609 SHA256 72bf9ae58afbdd1267806b112e0fb4b8963f26bda96c09b8254136af693c1945 SHA512 49705e967c3b2608405271ad94a763ab52498e41ecdd9032bac4a7c67c95db4ff16b3e6bdc8addd6286edd5384bf373d18c415d499d6d7ada5240e4a8f27e4b6 WHIRLPOOL acaeddbae7da71c71ba13a1c14098e7b529942f1fa48ad1572c00691975ea39287a1d560ea0004dab2a1c2c1eeacaac459fc120df3c40e833bbbd5a14696adaf +EBUILD runescape-launcher-2.2.4.ebuild 1630 SHA256 d750cd0ef7d2cccdf94df5687859683a78d4a3ca3c67f9f1d5317be36f6ab2dd SHA512 591dda99980773af571ac5ac2b1e533e926752f667864055560b0259a6258cb438eef6b3bd0726e6a15f09311e3747f88e5b295cc1bb31178741eba96aede58b WHIRLPOOL b5f9d0bed695c467d030eabcaa2b07e89c8d7218733e6a282e16f74d28f71b027c0f0058d052e40bb8f2d773dda7438a5af225e1b95c58a964c781a303e59cb1 +MISC ChangeLog 848 SHA256 777a461927e94835280e43f1276c43255f8ce0812efbf26716be4afe6bdb10f1 SHA512 d260ad17ced22242c16f942495b6032a0730ba524d7d16f513c2b19eefb590ff20ba9eb60620d641708d1065c328c67f3654a7d31f816503d5705eac9aaf129f WHIRLPOOL 3a5c4011ab8f280c02b466a05f9a67d6c8a612fea4e6433be5a7b6f9a031ffc80b7e383f42e103ce52ee3bdbca3b022bb5a3b359280b8813c7a13e20e4cbb9cf +MISC metadata.xml 363 SHA256 136ae514d6abfc2eb4cde6ca6991f4f71dc39fd655d7e4e70a52e760a1de9def SHA512 c0b7f88e26968ff9cc1657152682755bdcdcd5dbe2490c54ca871f166e50cfff171b8a9a96c7fe09c97b39311c5be826ac5561d64a48152f0b4e4d1fa585e9df WHIRLPOOL c8027180a4307ae3a4d300588ee248b821f17672289fb48be7b3d94b7c637b5cee9a7a28a642ad5c036b8266ef622e97599afadb26c7079830da7fd1b46e495b diff --git a/games-rpg/runescape-launcher/metadata.xml b/games-rpg/runescape-launcher/metadata.xml new file mode 100644 index 000000000000..d030cf30027d --- /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.4-r1.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.4-r1.ebuild new file mode 100644 index 000000000000..f84a65137ff4 --- /dev/null +++ b/games-rpg/runescape-launcher/runescape-launcher-2.2.4-r1.ebuild @@ -0,0 +1,83 @@ +# 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.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.4.ebuild new file mode 100644 index 000000000000..b1049fa39eea --- /dev/null +++ b/games-rpg/runescape-launcher/runescape-launcher-2.2.4.ebuild @@ -0,0 +1,83 @@ +# 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-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 || 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 +} |