diff options
Diffstat (limited to 'games-arcade/xjump')
-rw-r--r-- | games-arcade/xjump/Manifest | 7 | ||||
-rw-r--r-- | games-arcade/xjump/files/xjump-2.7.5-ldflags.patch | 11 | ||||
-rw-r--r-- | games-arcade/xjump/metadata.xml | 8 | ||||
-rw-r--r-- | games-arcade/xjump/xjump-2.7.5.ebuild | 55 |
4 files changed, 81 insertions, 0 deletions
diff --git a/games-arcade/xjump/Manifest b/games-arcade/xjump/Manifest new file mode 100644 index 000000000000..467a24ce0e56 --- /dev/null +++ b/games-arcade/xjump/Manifest @@ -0,0 +1,7 @@ +AUX xjump-2.7.5-ldflags.patch 407 SHA256 6d64c61ad457bbf3a96f2879a0be1473441f6dd3ba20498a840cb561b02fa642 SHA512 8c21088e09053906c20f13027832d1cd0778c6707b6764a93c6cc5de904a2aa80a80ac5fa8372885889beca82f4cbb8c637ca0c186f05e54d441d2f15957b6af WHIRLPOOL 70f567b92f40d18392c5c05b7680adb41ec2a531df92a0048357054a1f9d1c925b8b252b8a5c25964654f1fd6935459c3715cfe23f273a17a90277cbd45d430b +DIST xjump_2.7.5-6.1.debian.tar.gz 9803 SHA256 f01891ca46a7e73a30080821b9cfc9759be6e5ffaed6e4e4aa4bd1bca5edd57c SHA512 c4962acd25c4cabef37acd3b5d39867a955f2fa769cc203fb00edfe37f37ce25369099b589a282189847e7bffeb874b4eaf8deea9320a9083da7e95425625cf8 WHIRLPOOL 33d4808eeec837a2423851221519135c3eb01608b9c55444496af8e9d36735b483ba4ada9fde00b328bc7056f9b0c77f36d9d656455b191268e8eaed7c6a366b +DIST xjump_2.7.5.orig.tar.gz 15940 SHA256 d96605e3aa6ca7751161d9bd19d53bb9d11fdcaf3901a14b4e2dce9b129f09b4 SHA512 6ce846d6681bf8b084edc06f8415a57f66d1778ec9af8b9b170f4f37292a8172b3507a08c85032a5b8588b50a7f2eefe205add4c779edd7c7ef8fb6d818d9300 WHIRLPOOL 5744480b08b4263cd84ce251b38cd1d84ba9f1ff4c8182d714eb6d2d433b749840b71056f5babba604aedd5930697e7bb3bdfcfb1c2677d39151492896a91266 +EBUILD xjump-2.7.5.ebuild 1266 SHA256 66917eb0402ca478490d4ccb9cd8fcda03f6b5cf57a703d631335832c4c8cd2f SHA512 b3577b5970758a5e5e4d1fbe977af499061520e25267f31920208a338e9af8b1a5ec3188a8f4fb7fc5019ffaefd29b212c21012026c12978f6079ba440ab7dc7 WHIRLPOOL 8195a76019fdbff2e98f7cde803a8845c008e224d06aeb6e57afe740078efb451dfd09a21d2170b657f2961d71ab2de20780abd21122b964863321fe927a6f1e +MISC ChangeLog 2459 SHA256 750e57231e582554d0fa78aef30d89659f15eea827a9f0adf4bbe7eaec5c4600 SHA512 ebeb7c0dbf5e47beef0b374c0196645493acc9d799106048e302b6733f7aa1d068fb25f146bfbbba9f3086fff697a18643202c7921175e7032660bc791da5a9a WHIRLPOOL e9e12471841fbb2d17b9610416e3e81ef9aa3dca33d6a0d2519af0f7e7eab0cde5f963435f4d1279958156a1edb02f66b459842bc6470a03d5d3597bfd5a61e1 +MISC ChangeLog-2015 1652 SHA256 eb06167431f8c309a8fa8500fb9075a1fe2948ff9f177860bfa30f5731e8098c SHA512 bb3e6e1cdc6bcc60f2b0e598f10d719743a2c5e5b9e563dd621b72cbe7306e7797c8223e3383f65b882810ddbe0fe771e935034ea8757d19b1d749fb042745f5 WHIRLPOOL a2b20adb0b915d8d49cbd55da7b3daed3e66f8499db9d3ebe73bab96473210ecd9bdd314e66e833d99e6526b2c105adb665199d10e45107767a6bcf7d979adc2 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch b/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch new file mode 100644 index 000000000000..a30736811318 --- /dev/null +++ b/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2010-10-01 07:05:03.000000000 +0200 ++++ Makefile 2010-10-01 07:05:39.000000000 +0200 +@@ -28,7 +28,7 @@ + ########################################################## + + xjump : main.o game.o key.o misc.o record.o resource.o +- $(CC) $(CFLAGS) -o xjump \ ++ $(CC) $(LDFLAGS) $(CFLAGS) -o xjump \ + main.o game.o key.o misc.o record.o resource.o\ + -lXaw -lXmu -lXt -lXpm -lXext -lX11 $(LDIR) + diff --git a/games-arcade/xjump/metadata.xml b/games-arcade/xjump/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/xjump/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-arcade/xjump/xjump-2.7.5.ebuild b/games-arcade/xjump/xjump-2.7.5.ebuild new file mode 100644 index 000000000000..8e504c202fbb --- /dev/null +++ b/games-arcade/xjump/xjump-2.7.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DEBIAN_PATCH="6.1" +DESCRIPTION="An X game where one tries to jump up as many levels as possible" +HOMEPAGE="http://packages.debian.org/stable/games/xjump" +SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz + mirror://debian/pool/main/x/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXpm + x11-libs/libXt" + +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/${P}.orig + +src_prepare() { + # Where we will keep the highscore file: + HISCORE_FILENAME=xjump.hiscores + HISCORE_FILE="${GAMES_STATEDIR}/${HISCORE_FILENAME}" + + epatch \ + "${WORKDIR}"/debian/patches/0*.patch \ + "${FILESDIR}"/${P}-ldflags.patch + + # set up where we will keep the highscores file: + sed -i \ + -e "/^CC/d" \ + -e "/^CFLAGS/d" \ + -e "s,/var/games/xjump,${GAMES_STATEDIR}," \ + -e "s,/record,/${HISCORE_FILENAME}," \ + Makefile || die +} + +src_install() { + dogamesbin xjump + dodoc README.euc + + # Set up the hiscores file: + dodir "${GAMES_STATEDIR}" + touch "${D}/${HISCORE_FILE}" + fperms 660 "${HISCORE_FILE}" + prepgamesdirs +} |