games-fps/freedm-data - 0.13.0 (gentoo)

Search

Package Information

Description:
Game resources for FreeDM
Homepage:
https://freedoom.github.io
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.13.0 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..13} )

inherit prefix python-any-r1 xdg

DESCRIPTION="Game resources for FreeDM"
HOMEPAGE="https://freedoom.github.io"
SRC_URI="https://github.com/freedoom/freedoom/archive/v${PV}.tar.gz -> freedoom-${PV}.tar.gz"
S="${WORKDIR}/freedoom-${PV}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

BDEPEND="
	$(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP},zlib]')
	app-text/asciidoc
	dev-util/source-highlight
	games-util/deutex[png]
"

DOOMWADPATH="share/doom"

python_check_deps() {
	python_has_version -b "dev-python/pillow[${PYTHON_USEDEP},zlib]"
}

src_prepare() {
	default
	hprefixify dist/freedoom
}

src_compile() {
	emake wads/freedm.wad \
		freedm.6 \
		{NEWS,README}.html
}

src_install() {
	emake install-freedm \
		prefix="${ED}/usr/" \
		bindir="bin/" \
		docdir="share/doc/${PF}" \
		mandir="share/man/" \
		waddir="${DOOMWADPATH}/" \
		MANUAL_PDF_FILES=
}

pkg_postinst() {
	xdg_pkg_postinst
	elog "FreeDM WAD file installed into ${EPREFIX}/usr/${DOOMWADPATH} directory."
}

Dependencies

BDEPEND

	$(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP},zlib]')
	app-text/asciidoc
	dev-util/source-highlight
	games-util/deutex[png]

Manifest for 0.13.0

Type File Size Source URLs
DIST freedoom-0.13.0.tar.gz 18520091 bytes https://github.com/freedoom/freedoom/archive/v0.13.0.tar.gz