diff options
Diffstat (limited to 'games-arcade/dynamitejack/dynamitejack-1.0.23.ebuild')
-rw-r--r-- | games-arcade/dynamitejack/dynamitejack-1.0.23.ebuild | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/games-arcade/dynamitejack/dynamitejack-1.0.23.ebuild b/games-arcade/dynamitejack/dynamitejack-1.0.23.ebuild new file mode 100644 index 000000000000..42b098add362 --- /dev/null +++ b/games-arcade/dynamitejack/dynamitejack-1.0.23.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/dynamitejack/dynamitejack-1.0.23.ebuild,v 1.1 2013/03/21 22:00:46 hasufell Exp $ + +# TODO: icon + +EAPI=5 + +inherit eutils games + +DESCRIPTION="A stealth game with bombs in glorious 2D" +HOMEPAGE="http://www.galcon.com/dynamitejack/" +SRC_URI="${P}.tgz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="bindist fetch" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/bin/*" + +# linked to pulseaudio +RDEPEND=" + virtual/opengl + amd64? ( + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-soundlibs[alsa] + app-emulation/emul-linux-x86-xlibs + ) + x86? ( + media-libs/alsa-lib + media-libs/flac + media-libs/libogg + media-libs/libsdl[X,audio,joystick,opengl,video] + media-libs/libsndfile + media-libs/libvorbis + media-sound/pulseaudio + virtual/glu + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXi + x11-libs/libXtst + )" + +S=${WORKDIR}/${PN} + +pkg_pretend() { + if has splitdebug ${FEATURES}; then + eerror "FEATURES=splitdebug is broken for this package, disable it locally" + die "FEATURES=splitdebug is broken for this package, disable it locally" + fi +} + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_prepare() { + rm run_me || die + mv LINUX.txt "${T}"/ || die +} + +src_install() { + dodoc "${T}"/LINUX.txt + + insinto "${MYGAMEDIR}" + doins -r * + + games_make_wrapper ${PN} "./main" "${MYGAMEDIR}/bin" + make_desktop_entry ${PN} + + fperms +x "${MYGAMEDIR}"/bin/main + prepgamesdirs +} |