diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-19 05:39:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-19 05:39:40 +0000 |
commit | b24782302154e447b59c3f719970f951cd15cd38 (patch) | |
tree | 463a954988b9099fbc02967de0cf25b250d0caf7 /games-arcade/cdogs-sdl | |
parent | 753ad9170f0d68e7f525f1931bc6ebf359268b29 (diff) |
gentoo auto-resync : 19:02:2024 - 05:39:40
Diffstat (limited to 'games-arcade/cdogs-sdl')
-rw-r--r-- | games-arcade/cdogs-sdl/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest index 1478fdf5a8af..9b39cdc7607d 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-1.5.0.tar.gz 35772274 BLAKE2B 70e06897edfe0a35ec5196ef1f1ae2d90b54958e18a68c3c114a88978b5550a3f6ac68a3d69225a7ee1f00f0d1eeaa0b3d6364e9f435acaeb9118c9a8a7c4f49 SHA512 e6ff35d16ad6af109954397f8c14d7a73a561dee55d7451446149a80b6fb8ec1df2a8c46cd220d335d30472202668672d8c9d71a6428653432794272d07469ee +DIST cdogs-sdl-2.0.0.tar.gz 35833483 BLAKE2B 3e5a57a6571ad3c28a28c6a29f34cf0b5db09aadc666c4258f33efe78b2b7c5a9b69a311a8cab79c994f88d865f2b9961dff515ebe4e45afb9ae20200b5b9733 SHA512 1e68bf0eed882836849c41d3c6a38275d8d3c551b0776b8658996d18d65a6401f810d265e9a5a666ab3b8694fe341b2783f72dee681c242f54373a584b4e2a3c EBUILD cdogs-sdl-1.5.0.ebuild 1076 BLAKE2B 1bebc3338ce4b552350ffc2d68ba85b5f308d81b8313d6ed08c6c5c20e0cc8f3175935ff5eb7c8ef44ece4e18fdb3b75a9a0fba9f72645bf68fa61ec8a08f317 SHA512 58f9d0c00f881850e4bcdc1124d189f63e42a3abcd09c52694b03e2b402bf00bd313350df1ffac5b97749231c0a818eefcf531eac85fb60eee45051522719078 +EBUILD cdogs-sdl-2.0.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.0.0.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild new file mode 100644 index 000000000000..45e3f8fbcc15 --- /dev/null +++ b/games-arcade/cdogs-sdl/cdogs-sdl-2.0.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 +} |