summaryrefslogtreecommitdiff
path: root/games-arcade/xtux
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /games-arcade/xtux
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'games-arcade/xtux')
-rw-r--r--games-arcade/xtux/Manifest4
-rw-r--r--games-arcade/xtux/files/xtux-20030306-ldflags.patch8
-rw-r--r--games-arcade/xtux/xtux-20030306-r1.ebuild (renamed from games-arcade/xtux/xtux-20030306.ebuild)30
3 files changed, 23 insertions, 19 deletions
diff --git a/games-arcade/xtux/Manifest b/games-arcade/xtux/Manifest
index b22df2c55c3f..61a1f6012969 100644
--- a/games-arcade/xtux/Manifest
+++ b/games-arcade/xtux/Manifest
@@ -1,5 +1,5 @@
-AUX xtux-20030306-ldflags.patch 797 BLAKE2B a1c14de5742c1936f00b599e5e0168a4e502a725e54be5cac49a6df7dd8e3a66b673194ee08661076de95c37de228d7bd261dd178cc72c8fec36e87465e3afa7 SHA512 d35e547b9756087bf9f46e1d81a002951c75dbcc5ed052ed7766df1e90fb6be4e8f99d9004235f54ea23e40666f9a96dfa92819e3c589eb2c2b8a21a0bdd3388
+AUX xtux-20030306-ldflags.patch 805 BLAKE2B 1d3cda6f7bfb2619507caad5fb5fb769dbfe89fd7e377c9e747e0ec4a515f03079d9c4d34c9ac204f21d504812662676322c643feae68f80ddb9eded0c10668b SHA512 089d03e2ef4072b0d134940771820f151e4e51d95c8f01230a78933e0160fa204dd277b4b0bbd7a4288dbb6fabf1ebe7a976f0ead2096b8eaa21daf82f6c97eb
AUX xtux-20030306-particles.patch 1411 BLAKE2B 22db279e8bdca02029be6a115dc0329893dc69ffd39fcbf773fead770db1cac85c52086bf9bf7e5b23774981f94c86b6858653673f797f082aa3b205bf165443 SHA512 4288325e2e24cbbc2b0407c526d733b028d670d4ce182957392d16675b666c2a9ef44c23227f3acae526bcb439df1e73f13772612ee2c25ac5f373c7863927fd
DIST xtux-src-20030306.tar.gz 1640928 BLAKE2B 0db135f741a978a943035df5b78773bbb3fbbeecc2fd740525614e4f942e7e23b67a6fa5640fa82c2c32d2aa2abe73badc9d341ab0ec06922513a8ed0783ce7a SHA512 edb137b4d6b0fe7d673e8eedffbd9c521800a8e51aff0a36e5aa02d46a157d42142326b334b9c7358cfb5debf4b78a2a9951f82121dd538cfe288cf292a269d4
-EBUILD xtux-20030306.ebuild 1250 BLAKE2B dc76486548ec8f0138917a9d5243ce971972b14153dbe6cdb24c70746638133e067a2c994cc922ae89ca6611d5a4eda304b93fd53a1b161006f067312c8567e6 SHA512 39029bd62f0352c6db387fdae4d2a36811667229d7d9cff380b4cbd066221df0610444ab7e30db3e185d2c864541055eae0fa7ed3fe01eb041d99fcf9933d5e2
+EBUILD xtux-20030306-r1.ebuild 1241 BLAKE2B dcc32bf27f2df307d4d940ac5d971164c31eb5a6a5fd866798c9a54adbd52f40e6452afa68bf76ee6b4450e7f4e86069546bb31a0fe707195f2231e4c6922dec SHA512 dcb83c916fc67c3fc01067473e31fd8d608183f3203701c1f46ca27025b04ef5aae5fa0f99718bc00c3ad1ce11c693e8f0ac6e2b0c57ee5f464f501b7efb163b
MISC metadata.xml 327 BLAKE2B c3a5163b1311672e516ad8cec744bc8813705ef58da277f566101f8699cf1db7bd519bf80d35b5410ee32185ba3a38ae3f4a04dacd49ed5cfda24dfa45ddea19 SHA512 cda1520a7e746d0b8e78cfe62b83466123b01bc02186b63d365f170bce8477be0f408a73d1436b916538c7c1906a77e73114f8d81fb799d48e7bdb4b0fd5c418
diff --git a/games-arcade/xtux/files/xtux-20030306-ldflags.patch b/games-arcade/xtux/files/xtux-20030306-ldflags.patch
index d2c798d0795d..4a4877a6d65a 100644
--- a/games-arcade/xtux/files/xtux-20030306-ldflags.patch
+++ b/games-arcade/xtux/files/xtux-20030306-ldflags.patch
@@ -1,5 +1,5 @@
---- src/client/Makefile.old 2010-09-30 18:08:16.000000000 +0200
-+++ src/client/Makefile 2010-09-30 18:08:41.000000000 +0200
+--- a/src/client/Makefile.old 2010-09-30 18:08:16.000000000 +0200
++++ b/src/client/Makefile 2010-09-30 18:08:41.000000000 +0200
@@ -48,7 +48,7 @@
#Apps
@@ -9,8 +9,8 @@
# OBJECTS
.c.o: client.h $*.c
---- src/server/Makefile.old 2010-09-30 18:09:55.000000000 +0200
-+++ src/server/Makefile 2010-09-30 18:10:16.000000000 +0200
+--- a/src/server/Makefile.old 2010-09-30 18:09:55.000000000 +0200
++++ b/src/server/Makefile 2010-09-30 18:10:16.000000000 +0200
@@ -41,7 +41,7 @@
#Apps
diff --git a/games-arcade/xtux/xtux-20030306.ebuild b/games-arcade/xtux/xtux-20030306-r1.ebuild
index 05bed79f0c8f..35368df77f3f 100644
--- a/games-arcade/xtux/xtux-20030306.ebuild
+++ b/games-arcade/xtux/xtux-20030306-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Multiplayer Gauntlet-style arcade game"
HOMEPAGE="http://xtux.sourceforge.net/"
@@ -14,11 +14,15 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="x11-libs/libXpm"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}
+ media-fonts/font-adobe-75dpi
+"
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
src_prepare() {
+ default
+
find data/ -type d -name .xvpics -exec rm -rf \{\} +
sed -i \
-e "s:-g -Wall -O2:${CFLAGS}:" \
@@ -28,24 +32,24 @@ src_prepare() {
-e "s:./tux_serv:tux_serv:" \
src/client/menu.c \
|| die "sed failed"
- epatch "${FILESDIR}/${P}-particles.patch" \
+
+ eapply "${FILESDIR}/${P}-particles.patch" \
"${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {
# Not parallel-make friendly (bug #247332)
- emake DATADIR="${GAMES_DATADIR}/xtux/data" common
- emake DATADIR="${GAMES_DATADIR}/xtux/data" ggz
- emake DATADIR="${GAMES_DATADIR}/xtux/data" server
- emake DATADIR="${GAMES_DATADIR}/xtux/data" client
+ emake DATADIR="/usr/share/xtux/data" common
+ emake DATADIR="/usr/share/xtux/data" ggz
+ emake DATADIR="/usr/share/xtux/data" server
+ emake DATADIR="/usr/share/xtux/data" client
}
src_install () {
- dogamesbin xtux tux_serv
- insinto "${GAMES_DATADIR}/xtux"
+ dobin xtux tux_serv
+ insinto "/usr/share/xtux"
doins -r data/
dodoc AUTHORS CHANGELOG README README.GGZ doc/*
newicon data/images/icon.xpm ${PN}.xpm
make_desktop_entry xtux "Xtux"
- prepgamesdirs
}