mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
games-engines/openxcom: add 1.0.0_p20250905
Closes: https://bugs.gentoo.org/962074 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
This commit is contained in:
parent
a4bb64fae2
commit
e9eb0519aa
62
games-engines/openxcom/openxcom-1.0.0_p20250905.ebuild
Normal file
62
games-engines/openxcom/openxcom-1.0.0_p20250905.ebuild
Normal file
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
|
||||
DESCRIPTION="Open-source reimplementation of the popular UFO: Enemy Unknown"
|
||||
HOMEPAGE="https://openxcom.org/"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/OpenXcom/OpenXcom.git"
|
||||
else
|
||||
COMMIT="a0927b73743fddf727eba97825f2b6ffeee324ff"
|
||||
SRC_URI="https://github.com/OpenXcom/OpenXcom/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
S="${WORKDIR}/OpenXcom-${COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+ CC-BY-SA-4.0"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-cpp/yaml-cpp-0.5.3:=
|
||||
media-libs/libglvnd
|
||||
media-libs/libsdl[opengl,video]
|
||||
media-libs/sdl-gfx:=
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-mixer[flac,mikmod,vorbis]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="doc? ( app-text/doxygen )"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && cmake_build doxygen
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
|
||||
elog "In order to play you need copy GEODATA, GEOGRAPH, MAPS, ROUTES, SOUND,"
|
||||
elog "TERRAIN, UFOGRAPH, UFOINTRO, UNITS folders from original X-COM game to"
|
||||
elog "/usr/share/${PN}/UFO"
|
||||
elog
|
||||
elog "If you want to play the TFTD mod, you need to copy ANIMS, FLOP_INT,"
|
||||
elog "GEODATA, GEOGRAPH, MAPS, ROUTES, SOUND, TERRAIN, UFOGRAPH, UNITS folders"
|
||||
elog "from the original Terror from the Deep game to"
|
||||
elog "/usr/share/${PN}/TFTD"
|
||||
elog
|
||||
elog "If you need or want text in some language other than english, download:"
|
||||
elog "https://openxcom.org/translations/latest.zip and uncompress it in"
|
||||
elog "/usr/share/${PN}/common/Language"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user