games-arcade/openjazz - 20190106 (robert7k)

Search

Install

Install this version:

emerge -a =games-arcade/openjazz-20190106

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-arcade/openjazz-20190106

Or alternatively:

emerge --autounmask-write -a =games-arcade/openjazz-20190106

Package Information

Description:
Free engine for Jazz Jackrabbit game
Homepage:
http://alister.eu/jazz/oj/ https://github.com/AlisterT/openjazz
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
20190106 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Free engine for Jazz Jackrabbit game"
HOMEPAGE="http://alister.eu/jazz/oj/ https://github.com/AlisterT/openjazz"
SRC_URI="https://github.com/AlisterT/openjazz/archive/refs/tags/${PV}.zip -> ${P}.zip
	jazz.zip
	xmas?  ( jazzxmas.zip )"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE="xmas"

inherit desktop

DEPEND=">=media-libs/libsdl-1.2
	media-libs/libmodplug"
RDEPEND="$DEPEND"

pkg_nofetch() {
	[ -z "jazz.zip" ] && return
	einfo "Please download jazz.zip (and if use=xmas jazzxmas.zip) and place it into ${DISTDIR}"
}

src_unpack() {
	unpack "${P}.zip"

	mkdir data && cd data
	unpack jazz.zip
	use xmas && unpack jazzxmas.zip
}

src_install() {
	exeinto "usr/share/${PN}"
	doexe OpenJazz || die "dobin failed"
	insinto "usr/share/${PN}"
	doins -r "${WORKDIR}/data/"
	insinto "usr/share/${PN}/data"
	doins openjazz.000 openjazz.mk

	doicon unix/OpenJazz.svg
	make_desktop_entry "/usr/share/${PN}/OpenJazz /usr/share/${PN}/data" OpenJazz OpenJazz
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-arcade/openjazz | euse -E <flag> -p games-arcade/openjazz | euse -D <flag> -p games-arcade/openjazz

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

>=media-libs/libsdl-1.2
	media-libs/libmodplug

RDEPEND

>=media-libs/libsdl-1.2
	media-libs/libmodplug

Manifest for 20190106

Type File Size Source URLs
DIST openjazz-20190106.zip 301358 bytes https://github.com/AlisterT/openjazz/archive/refs/tags/20190106.zip