diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /games-arcade/cdogs-sdl | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
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-1.3.0.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest index 78ad0364237d..895efc6f1cf1 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.2.0.tar.gz 35018104 BLAKE2B 1a87f0c6e4af0fda69c0dd98249b319b58411a5b0b7377c21ebef51939f2b6e76959a00bf7fd5602b07bebb9eaab22c840699ae1c54e5d4dcb1aa26852fb8ba0 SHA512 70a5a4bb8e48cf53a4497807b14d8a70e26ad6b74f0c4675b3d98667c867d499d372f323e7abb669ebef08b1d6b5ac9c840ab14eada38e7b868d3099ed6b3e35 +DIST cdogs-sdl-1.3.0.tar.gz 35201522 BLAKE2B bdfeab22edc0e5bfe46d23862bb0e8a829eb8c782519f473340a73d6823fcf6236d61892dff5f6be52e985a8560ce2175b5aab50fb899359d47d3acdf937fe5d SHA512 913ee8a70ab2190259a88891e4f3e30034b7a88dac5fa1a79fcc9452a42fe9fa6679e24104848fab63c7aace8dac311d2166fa01c7175f14243d8658f25aee69 EBUILD cdogs-sdl-1.2.0.ebuild 1024 BLAKE2B 3519b9c3f554a654e70ca2c68172eb7debd13d11b272bf0c8b7b3b8e640157b3b66c812d5af487a4e029b03cd1b5390eaea1005dba706fbe759e5e0d83452134 SHA512 ead8c69d596c43166e145a688b5c32c8453111c23e37dd38c7207e7fc74b56d88fdb55fb139b80fba48bb453e8404e4fe8c190497924f55eb9e46b8d7f5e93eb +EBUILD cdogs-sdl-1.3.0.ebuild 1000 BLAKE2B b3cf3c37eef6678721c351290556dbf29fa6fe8a387995de55653d902d5c63f06657c59aa80fb580ceac99acc21fb9d3ca86da3faa5cee19de04c4badab6b53e SHA512 ac53d6208a4137e808fc4f2bc1b00336be1eb53fa1be09cb3cbbb85edd908cfd56788f3b665d312960eed608343ba15f88505ecce1c1d8540f24ef8ff72813b7 MISC metadata.xml 738 BLAKE2B d88ddca3d0f022c5dc03aa79cd3e64bc11e3328c53e75ec0ce719edb389ee4d119e044ded0c1c3fa7de058c62a6614459f2d3927d745cb3cb3a3e55e32ddac39 SHA512 49e02eb89ad38a8b2e8375940a9e30e2368d970c01a88095dd679e828ba91a6054c9db264a0af038648cf42f8da99800f682a6394db77c0278d98a87dc6648cb diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild new file mode 100644 index 000000000000..70ed391a2e22 --- /dev/null +++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Classic overhead run-and-gun game" +HOMEPAGE="https://cxong.github.io/cdogs-sdl/" +SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${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" +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() { + local mycmakeargs=( + -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ + -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 +} |