games-engines/openxcom: update EAPI and dependencies

- use EAPI 8
- inherit xdg instead of xdg-utils
- update repo URL
- add 'media-libs/libglvnd'
- add a couple of ':='
- update commit hash for a new snapshot
- update yaml-cpp version requirement

Bug: https://bugs.gentoo.org/962074
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
This commit is contained in:
Jimi Huotari
2025-09-06 00:07:53 +03:00
parent 9f1247d76c
commit a4bb64fae2
2 changed files with 10 additions and 12 deletions

View File

@@ -1 +1,2 @@
DIST openxcom-1.0.0_p20180317.tar.gz 2801430 BLAKE2B 8a3718fc99f733c145034509b596de8dd17a8bdfe1aa05b68571c66245eea45f997488e57a2811f604e0aac702e30614fcd55ecc71858f49b357afb9e8fc5de4 SHA512 57ff9a9cbbbf48b8c4f792458edf0590d7d0df9a5805eab13a4c984713311e98587afca00778e82bd66fb2f330b354ca80703b87922a92f9ae48e5bdecf68442
DIST openxcom-1.0.0_p20250905.tar.gz 2130229 BLAKE2B f204f99d09057be222ec6404f010a97584542b863e9a97ef5a1cc88a85dd3ae60649d1d299cc7a4926c09d03865ba6f1f9cb357392f528e562588efcd664e5e4 SHA512 19bede6e0203226aa0c257d816ef1e169130e3cc7a7e1db117a2b4ebe31f83e9f7b2a880c7d8768b3e4ab202d1e3981e0b80997a187ceaef57dfcb024aead323

View File

@@ -1,19 +1,19 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake xdg-utils
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/SupSuper/OpenXcom.git"
EGIT_REPO_URI="https://github.com/OpenXcom/OpenXcom.git"
else
COMMIT="ea9ac466221f8b4f8974d2db1c42dc4ad6126564"
SRC_URI="https://github.com/SupSuper/OpenXcom/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
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
@@ -23,9 +23,10 @@ SLOT="0"
IUSE="doc"
RDEPEND="
>=dev-cpp/yaml-cpp-0.5.1
>=dev-cpp/yaml-cpp-0.5.3:=
media-libs/libglvnd
media-libs/libsdl[opengl,video]
media-libs/sdl-gfx
media-libs/sdl-gfx:=
media-libs/sdl-image[png]
media-libs/sdl-mixer[flac,mikmod,vorbis]"
DEPEND="${RDEPEND}"
@@ -59,7 +60,3 @@ pkg_postinst() {
elog "https://openxcom.org/translations/latest.zip and uncompress it in"
elog "/usr/share/${PN}/common/Language"
}
pkg_postrm() {
xdg_icon_cache_update
}