mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
games-arcade/cdogs-sdl: add 2.3.1
wrt bug #958001, upstream fixed the files that are actually used but there is still some unused CMakeLists.txt so need the SKIP=1. Closes: https://bugs.gentoo.org/958001 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cdogs-sdl-2.3.0.tar.gz 36906703 BLAKE2B de44ed4bcc6a19fa5872aad96bcd523732019fea945dce634cce70bd2f3539bc29c9dd33ac4aa1a74e62573de98837e3ce1500ac7e17bc6f02109eff63fac801 SHA512 defc77e6bbf690ede7367751c462395279c40ee9604a5b9d7dbea7a3f71ffeeecf833a9cfc0acd0e2f932d0e9b8ea28e41089c663a05083397fda264dc292b0e
|
||||
DIST cdogs-sdl-2.3.1.tar.gz 37794153 BLAKE2B c7f614c575b59dbd79153f6ff55dbe5af95e6876fca0935677e31dd594787cb6f67d5dce373fa8652dc45de1f2e8f469f29aedd16f7f9eb0dd6dbb6b740688b8 SHA512 25af1f92efa61b01d232d0a328c6ce892f1334ef4ff2d010a5b019da0ad5cf56c4cb374764a536f979e4bf409bacdb9b0b5ac2ee3ac94f7118f7fbd0b6ed0916
|
||||
|
||||
58
games-arcade/cdogs-sdl/cdogs-sdl-2.3.1.ebuild
Normal file
58
games-arcade/cdogs-sdl/cdogs-sdl-2.3.1.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# 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