mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
games-arcade/cdogs-sdl: drop 2.3.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST cdogs-sdl-2.3.2.tar.gz 37794659 BLAKE2B 30a72ddae7fba91a8f8c92bcb9369508f219b4d1c28dd43401f74e6588f68e573e649b9670506b3bae909529040851b271d8dc93dc70791fad840ec72b49ef26 SHA512 dd316cc1049c6387327c44ff310adf0e74206c05c943a521b62a5835bef71ba4a8f3af76bce20a07f3314c165a9c1746b6ec1520c423ec65fd8062860a4287e2
|
||||
DIST cdogs-sdl-2.4.0.tar.gz 38581993 BLAKE2B eef45e36498759d5be836d1c560022f1589f92d0773a0c0a458e9bd11b5fcdf342c16fd925a6bc6f99ea2c2cf40a26e0906cfd44f6ced44093f7ebbcd6146403 SHA512 71033d11e53b8e3bd7f0c5f31c87c8d57d07a8de017fc9f2f277f0985e11f4f33e8cc642761ab266c7b0bd8f97df69f5f7b8693db0c0aba56d0134e3e095c17d
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic xdg
|
||||
|
||||
DESCRIPTION="Classic overhead run-and-gun game"
|
||||
HOMEPAGE="https://cxong.github.io/cdogs-sdl/"
|
||||
SRC_URI="
|
||||
https://github.com/cxong/cdogs-sdl/archive/refs/tags/${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="
|
||||
GPL-2+
|
||||
BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME public-domain
|
||||
|| ( MIT Unlicense )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libsdl2[haptic,opengl]
|
||||
media-libs/sdl2-mixer[mp3,vorbis,wav]
|
||||
net-libs/enet:1.3=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.1.1-cmake.patch
|
||||
)
|
||||
|
||||
CMAKE_QA_COMPAT_SKIP=1
|
||||
|
||||
src_configure() {
|
||||
filter-lto #858527
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is needed
|
||||
-DBUILD_EDITOR=OFF
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
-DUSE_SHARED_ENET=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
dodoc doc/{AUTHORS,original_readme.txt}
|
||||
|
||||
# CREDITS is used at runtime, rest is licenses or duplicates
|
||||
find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user