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-emulation/xe |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-emulation/xe')
-rw-r--r-- | games-emulation/xe/Manifest | 8 | ||||
-rw-r--r-- | games-emulation/xe/files/xe-2.16.2 | 10 | ||||
-rw-r--r-- | games-emulation/xe/files/xe-2.16.2-gentoo.patch | 16 | ||||
-rw-r--r-- | games-emulation/xe/metadata.xml | 8 | ||||
-rw-r--r-- | games-emulation/xe/xe-2.16.2.ebuild | 53 |
5 files changed, 95 insertions, 0 deletions
diff --git a/games-emulation/xe/Manifest b/games-emulation/xe/Manifest new file mode 100644 index 000000000000..5047f67b0c08 --- /dev/null +++ b/games-emulation/xe/Manifest @@ -0,0 +1,8 @@ +AUX xe-2.16.2 173 SHA256 4c8ff5e8e42525b0cf8e56ff0f8a4305a5a8c5fc702d3c71c8f01f8bb88faab1 SHA512 6e5812cf355ded200a9fd16d41fca76938ca0526b120858771e0a900c2e4129ec5b00808f20ce4577df3643324dea6526296424c387db5babc36e1266ec8546b WHIRLPOOL a255794b8f56b81d4cc0b8b1f222ef5751f364e8c55f969375e40accec071a62b0fed611fb6856bd3d939a3006fc7277dabc0832a9e100484cddd8d715e25e0f +AUX xe-2.16.2-gentoo.patch 506 SHA256 ad1b28501011787e8b3c4598a132f3026f88e9e82306878a6d36ef8731eb8e02 SHA512 31a215532c2fb17fd7234ba6a5375c465d6336f82625a5406ac361a29929da787a8bf5398cd21425682de2bd350790d03eca2be666b7f000c90b8c1839cfe618 WHIRLPOOL df733bc33ac93e9ebe7c5e218eef7010a7df9ed3ff95dc545a8c5ceecf63a262fb90fb668a345e936d79a44ba382da09c8dc24739f3639dc6d7930decd4f6aa8 +DIST xe-x86-32-bin.2.16.2.tar.bz2 1610395 SHA256 fff82a9e56d8f03d14395eeebb9306de7b3a03df6af12b0acc11b0206d1212f0 SHA512 b73f79854f860f7e7060c8b09e0a038b787762d3bd440b5b2825b5a702e4f32c788b883012728813e0a9dcee779f8b98b807c8af3f655fea21bd0ed1383e361c WHIRLPOOL 0c6c18c53105859ec44767cbc21fdf82e14ea4532fe26ecf9dec2acc6917af2baa80df7d8050ce9206ad189a2d8ac5cad1b17c7daa86d69ebcc04b4e83d1cabf +DIST xe-x86-64-bin.2.16.2.tar.bz2 2141614 SHA256 73a035c20b56fe197529aeb034ce3b81c680e184d0acca7d48df7fedbbafb103 SHA512 cf8a4be4f169660138018631b4a2b6c1a42850c7fc08bd9bd184ab054bffc6fe00197baaf9628cce87608628bb33db0dabac97debd7c53466b086cf0805cc5d8 WHIRLPOOL 49a8f159e34bb3a2c4e44130f6b2c68e3dc681f8795f776c9323c0e2d21180fa490dc810abab327f5573c0cfd71307c1c4d16abaf0775795949c5af244b8831c +EBUILD xe-2.16.2.ebuild 1224 SHA256 b11e73becb45bb2096ee9f1f5478e78e6efc2325518d302302b15a3caaee5808 SHA512 5b3784a6dfa02e3e326535580703292cba9a97b7a6ee39adb05b5f658b56b8c586df2db55a65c375c3593784ac5c9af423155a1969bb92ed05129475fb7b95d0 WHIRLPOOL add0a18d9df25b3c77ac6737c52635221023ab5fe32ea1d88ee45c32a52c08b5843f04b41c3520d93f21eab68a5da64fc61b508b13e5389bdb34f5ffe60abc38 +MISC ChangeLog 2588 SHA256 5fce4623f6126adc1af61337481fc68924fd1eeb0e74e24bdcdfd3916d05cb0d SHA512 2a1310222824192eba9651d3560cfa51f91f850bad3ab0a51b79303010c0d0a9ac38c7dc6c9deaf0f369ba3212611f57c9ed9a5ce4080034fa7c89fac33dd683 WHIRLPOOL 405a4db8d1ab53d3c3a1eea78b90dcc3b89cb7e2874889bd77a99aad043d06ffddb3bf099ab70b6843ece910eb441ce710aec69d86178359095bb82a98c880ca +MISC ChangeLog-2015 2295 SHA256 50667fab0f8fac451d27415a3c0ded58d1ae8f03841d330e718f6e59f69538f4 SHA512 cfde4392658f3db7bad2c9132179b3439d7efb8aaf437617b0d56fa87a46917d732b579f6b00d7beaea266120f6a21b04cead04cf222d2f300af818edb04a273 WHIRLPOOL 5d39a398316ae6a5f18a0df951478234b303afb311eb4942057f0140504e2d997dd32a351b773c82c2912906e7326773b51b354345dd6b44623fbff16a9fe41d +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-emulation/xe/files/xe-2.16.2 b/games-emulation/xe/files/xe-2.16.2 new file mode 100644 index 000000000000..211d508d883e --- /dev/null +++ b/games-emulation/xe/files/xe-2.16.2 @@ -0,0 +1,10 @@ +#!/bin/sh + +if [[ ! -d ~/.xe/modules ]] ; then + mkdir -p ~/.xe/modules +fi +for f in GENTOODIR/modules/* +do + ln -s $f ~/.xe/modules/ 2> /dev/null +done +exec xe.bin "${@}" diff --git a/games-emulation/xe/files/xe-2.16.2-gentoo.patch b/games-emulation/xe/files/xe-2.16.2-gentoo.patch new file mode 100644 index 000000000000..caea9c8c6c2e --- /dev/null +++ b/games-emulation/xe/files/xe-2.16.2-gentoo.patch @@ -0,0 +1,16 @@ +--- Makefile.old 2012-12-20 21:20:49.560756950 +0100 ++++ Makefile 2012-12-20 21:22:16.644707544 +0100 +@@ -1,11 +1,9 @@ + BIN = xe +-CC = gcc +-CFLAGS = -Wl,-export-dynamic -L. -L/usr/X11R6/lib -lxe -lasound -ldl -lz \ ++LDLIBS = -L. -L/usr/X11R6/lib -lxe -lasound -ldl -lz \ + -lX11 -lXext -lXv -lXinerama -lXxf86vm `pkg-config gtk+-2.0 --libs` + + $(BIN): libxe.a +- @ $(CC) -o $(BIN) $(CFLAGS) +- @ strip $(BIN) ++ $(CC) -o $(BIN) $(LDFLAGS) -Wl,-export-dynamic $(LDLIBS) + + install: + @ sh install.sh diff --git a/games-emulation/xe/metadata.xml b/games-emulation/xe/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-emulation/xe/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-emulation/xe/xe-2.16.2.ebuild b/games-emulation/xe/xe-2.16.2.ebuild new file mode 100644 index 000000000000..cf19f2060a1c --- /dev/null +++ b/games-emulation/xe/xe-2.16.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +DESCRIPTION="a multi system emulator for many console and handheld video game systems" +HOMEPAGE="http://www.xe-emulator.com/" +SRC_URI="amd64? ( http://www.xe-emulator.com/files/${PN}-x86-64-bin.${PV}.tar.bz2 ) + x86? ( http://www.xe-emulator.com/files/${PN}-x86-32-bin.${PV}.tar.bz2 )" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="" +RESTRICT="mirror bindist strip" + +RDEPEND="x11-libs/libXv + x11-libs/libXinerama + x11-libs/libXxf86vm + sys-libs/zlib + media-libs/alsa-lib + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +dir=${games_get_libdir}/${PN} + +QA_PREBUILT="${dir:1}/modules/* + ${GAMES_BINDIR:1}/xe.bin" + +src_unpack() { + unpack ${A} + mv -v * ${P} || die +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + newgamesbin xe xe.bin + newgamesbin "${FILESDIR}"/xe-${PV} xe + sed -i \ + -e "s:GENTOODIR:$(games_get_libdir)/${PN}:" "${D}/${GAMES_BINDIR}/xe" \ + || die "sed failed" + insinto "$(games_get_libdir)"/${PN} + doins -r modules/ rc/ + keepdir "$(games_get_libdir)"/${PN}/bios + dodoc README.txt + dohtml manual.html + prepgamesdirs +} |