summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-11-19 16:51:57 +0100
committerPacho Ramos <pacho@gentoo.org>2017-11-19 16:52:29 +0100
commit6bca533981dc3ca6eedf12e19eea26078bcc37da (patch)
treee9dadc5252e2150c455518da6b043b0377f443f9 /games-action/extreme-tuxracer
parentgames-action/battalion: Remove old (diff)
downloadgentoo-6bca533981dc3ca6eedf12e19eea26078bcc37da.tar.gz
gentoo-6bca533981dc3ca6eedf12e19eea26078bcc37da.tar.bz2
gentoo-6bca533981dc3ca6eedf12e19eea26078bcc37da.zip
games-action/extreme-tuxracer: Version bump, it also needs to be rebuilt when media-libs/libsfml subslot changes.
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'games-action/extreme-tuxracer')
-rw-r--r--games-action/extreme-tuxracer/Manifest1
-rw-r--r--games-action/extreme-tuxracer/extreme-tuxracer-0.7.4.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/games-action/extreme-tuxracer/Manifest b/games-action/extreme-tuxracer/Manifest
index d61e3965fbda..77fa75f72e1f 100644
--- a/games-action/extreme-tuxracer/Manifest
+++ b/games-action/extreme-tuxracer/Manifest
@@ -1 +1,2 @@
DIST etr-0.7.2.tar.xz 44178196 SHA256 246d4e65f5c1d3f739e27c75f403d277b54f4e1f3b6e09fd1497a13457292417 SHA512 256db82becdc69344e8aca49f74eed49d7cb99d1c44ef4dff78289acc1ac5f1c2d7b161cecb25c26395d2d8a8b88d33d09bbb94254b5c0c132c09eb658cf87a2 WHIRLPOOL 34f76aa40c548e1c5b54c68c8e43c0fb43ecd6c510a58fe80f77ade21326fffc820a794ac68449dfb2e9d1415269e6aa7951c62522c3fe6f02e4ee5557deef67
+DIST etr-0.7.4.tar.xz 44179876 SHA256 da9ce3a1b1e56415285163b9ebc67fdb11fca07acd3ab18f793556d996275234 SHA512 780263859ee3510b0c421f10c190b479db62a1268def14f18ecf7ff84c470cf28f1a2b077fcb21d8bd447cde8b3a7f280aced5cd830eb3aa174b3e461e9efae1 WHIRLPOOL be9a22760c55477a518dbae3c71faae45f4683570e791bed97d81298714b46725d314a04f0b872621e093c59a4a32b731669199e20cbb33f87f160e6f54b65cd
diff --git a/games-action/extreme-tuxracer/extreme-tuxracer-0.7.4.ebuild b/games-action/extreme-tuxracer/extreme-tuxracer-0.7.4.ebuild
new file mode 100644
index 000000000000..f6ca77b5dc89
--- /dev/null
+++ b/games-action/extreme-tuxracer/extreme-tuxracer-0.7.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils autotools gnome2-utils
+
+DESCRIPTION="High speed arctic racing game based on Tux Racer"
+HOMEPAGE="http://extremetuxracer.sourceforge.net/"
+SRC_URI="mirror://sourceforge/extremetuxracer/etr-${PV/_/}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=media-libs/libsfml-2.2:0=
+ virtual/glu
+ virtual/opengl
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/etr-${PV/_/}"
+
+src_prepare() {
+ default
+ # kind of ugly in there so we'll do it ourselves
+ sed -i -e '/SUBDIRS/s/resources doc//' Makefile.am || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ dodoc doc/{code,courses_events,guide,score_algorithm}
+ doicon -s 48 resources/etr.png
+ doicon -s scalable resources/etr.svg
+ domenu resources/etr.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}