diff options
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/Manifest.gz | bin | 20097 -> 20094 bytes | |||
-rw-r--r-- | games-arcade/cdogs-sdl/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/cdogs-sdl/cdogs-sdl-2.2.0.ebuild | 53 |
3 files changed, 55 insertions, 0 deletions
diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz Binary files differindex e95d4149ea80..57eef761e21e 100644 --- a/games-arcade/Manifest.gz +++ b/games-arcade/Manifest.gz diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest index 4a795dae3579..7f6d40953918 100644 --- a/games-arcade/cdogs-sdl/Manifest +++ b/games-arcade/cdogs-sdl/Manifest @@ -1,4 +1,6 @@ AUX cdogs-sdl-1.1.1-cmake.patch 410 BLAKE2B b2a36bf3644e885dcf05147f63c4c72e5936acc7727fc37daf9f1732ab3edd699d7a990f63f1977e9e2e9e775b8102429fbba6ffdaf77834a9e7acd3e1933023 SHA512 dd2ffe17f21640d50dec2021fa133baed11f93eba53686792116f15d21d37aed144cc03708baf633d0e0b1c74999202fe58a92eae9f15b81f61bb1b215d39ac4 DIST cdogs-sdl-2.1.0.tar.gz 35945061 BLAKE2B 03dc9554fd982ecc322a01224846fde05a116cdea8ed8415ba703d2711957ec5314301c7a92117d231d338cabe4c21e14297c2cff1205f6cf1abac1ff7606c4a SHA512 92b82a94cd73c7e33e141878db6ee71ca1e164a41c79e0c575aa02f4121506496e2e8e6bbef1eb239c7b145b90c0a49c3f31f4cc6d8817f75e91f5554b6d6d05 +DIST cdogs-sdl-2.2.0.tar.gz 36897841 BLAKE2B 0f1af568a3bb504475f3072463fadb7a14a97c1a9b49c4ee0fe113ae631d46f307b9602be5d52b45680c3eb161cf976f158bf2aad740c189f7ef3e687531bf01 SHA512 59829c81af2359613f885e54bb1efa917e4ffcd851dc9031dc6f6cf0119a05b7807f3d4d78e1fe05184b50da9982d800f63a08b5ecb6cf7518f9aec5f685f607 EBUILD cdogs-sdl-2.1.0.ebuild 1091 BLAKE2B 61bc03cc627b950ddf6c187262ae4e97bbec55f2a1010fc994164a4bece58ee3a960806d297913cf762b26e87d57f47a6508d022d9e4d5a8ee0e55f696042909 SHA512 34fe7587a859429e1e2dc3bdc9af5b0ad3f8cda693104173755a77d0857dc2e33620a803cc53a60f56c2dd4ec1249b1ee8a05533294228be0f00a8cab6e1c941 +EBUILD cdogs-sdl-2.2.0.ebuild 1091 BLAKE2B 61bc03cc627b950ddf6c187262ae4e97bbec55f2a1010fc994164a4bece58ee3a960806d297913cf762b26e87d57f47a6508d022d9e4d5a8ee0e55f696042909 SHA512 34fe7587a859429e1e2dc3bdc9af5b0ad3f8cda693104173755a77d0857dc2e33620a803cc53a60f56c2dd4ec1249b1ee8a05533294228be0f00a8cab6e1c941 MISC metadata.xml 738 BLAKE2B d88ddca3d0f022c5dc03aa79cd3e64bc11e3328c53e75ec0ce719edb389ee4d119e044ded0c1c3fa7de058c62a6614459f2d3927d745cb3cb3a3e55e32ddac39 SHA512 49e02eb89ad38a8b2e8375940a9e30e2368d970c01a88095dd679e828ba91a6054c9db264a0af038648cf42f8da99800f682a6394db77c0278d98a87dc6648cb diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-2.2.0.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-2.2.0.ebuild new file mode 100644 index 000000000000..45e3f8fbcc15 --- /dev/null +++ b/games-arcade/cdogs-sdl/cdogs-sdl-2.2.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 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 +" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-libs/libsdl2[haptic,opengl] + media-libs/sdl2-image[png] + media-libs/sdl2-mixer[mp3,vorbis,wav] + net-libs/enet:1.3= +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.1-cmake.patch +) + +src_configure() { + filter-lto #858527 + + local mycmakeargs=( + -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is needed + -DBUILD_EDITOR=OFF + -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 +} |