From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/
Date: Thu, 2 Dec 2021 13:11:52 +0000 (UTC) [thread overview]
Message-ID: <1638450539.362339d7fde7ceda830af5344203c372a9fe0613.ionen@gentoo> (raw)
commit: 362339d7fde7ceda830af5344203c372a9fe0613
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 2 12:59:36 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Dec 2 13:08:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=362339d7
games-arcade/cdogs-sdl: add 1.2.0
This version comes with pre-generated msg.pb.c removing
the need for protobuf-python.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-arcade/cdogs-sdl/Manifest | 1 +
games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild | 46 +++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index c5014f05c50d..1264ad52350d 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
DIST cdogs-sdl-1.1.1.tar.gz 35073687 BLAKE2B e4bcdbcafd281cfe127fc8b90bda479055042bf541ea7be7eaf2d0959e6d596565c8fca16bc703ca8263281d18372d89fa8ffa787592f3c01c0b048504df10fa SHA512 2d1357ba4a9892a7309d60b98aacf242b6d2b76f07f9f0a13fe0d97713b97507d1f163dfc63c1ac73c06b52590cda93bc212731bf201d5221ade8fa8b2e64598
+DIST cdogs-sdl-1.2.0.tar.gz 35018104 BLAKE2B 1a87f0c6e4af0fda69c0dd98249b319b58411a5b0b7377c21ebef51939f2b6e76959a00bf7fd5602b07bebb9eaab22c840699ae1c54e5d4dcb1aa26852fb8ba0 SHA512 70a5a4bb8e48cf53a4497807b14d8a70e26ad6b74f0c4675b3d98667c867d499d372f323e7abb669ebef08b1d6b5ac9c840ab14eada38e7b868d3099ed6b3e35
diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild
new file mode 100644
index 000000000000..9f3981f80c07
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 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 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 XMAME"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ media-libs/libsdl2[haptic,opengl]
+ media-libs/sdl2-image[png]
+ media-libs/sdl2-mixer[vorbis,wav]
+ net-libs/enet:1.3="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+CMAKE_IN_SOURCE_BUILD=1 # msg.pb.c not found
+
+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
+}
next reply other threads:[~2021-12-02 13:11 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 13:11 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-10 3:28 [gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/ Ionen Wolkens
2025-03-09 0:51 Ionen Wolkens
2024-12-31 23:51 Ionen Wolkens
2024-12-13 23:39 Ionen Wolkens
2024-04-27 12:11 Ionen Wolkens
2024-04-16 9:45 Ionen Wolkens
2024-03-20 7:17 Ionen Wolkens
2024-02-19 2:09 Ionen Wolkens
2023-09-12 16:15 Ionen Wolkens
2023-08-03 11:58 Ionen Wolkens
2023-05-26 23:16 Ionen Wolkens
2023-05-12 9:02 Ionen Wolkens
2023-02-12 8:04 Ionen Wolkens
2022-11-16 18:57 Ionen Wolkens
2022-07-17 15:39 Sam James
2022-06-16 13:16 Ionen Wolkens
2022-06-14 0:17 Ionen Wolkens
2022-05-03 5:57 Ionen Wolkens
2021-12-16 19:11 Ionen Wolkens
2016-05-06 2:50 Michael Sterrett
2016-03-31 17:31 Michael Sterrett
2015-12-18 10:13 Michael Sterrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1638450539.362339d7fde7ceda830af5344203c372a9fe0613.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox