public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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,  3 Aug 2023 11:58:52 +0000 (UTC)	[thread overview]
Message-ID: <1691063918.2097f612074ae04fe3a352e64e3e01f2174b1b30.ionen@gentoo> (raw)

commit:     2097f612074ae04fe3a352e64e3e01f2174b1b30
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  3 10:57:42 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Aug  3 11:58:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2097f612

games-arcade/cdogs-sdl: add 1.5.0

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-arcade/cdogs-sdl/Manifest               |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild | 50 +++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 6aac958cb11b..a4ab791fc6ba 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-1.4.2.tar.gz 35799287 BLAKE2B 76891785f44a6abbe309976b6e706d019cc4c4444c3a58cf83859ad7518a2931eb208b7305ea5d09b2692961d5fd39ff2a8aafce820a9920820646bb1ab81261 SHA512 36bea4eb1f11c4abc752695455f30b6f76b6c3aab02d57ece0f8a77d116c7810a5ebcc211de441a6487bc43d977dfab84ffa56b4aa5a8a45cdff5e2810c4fddf
+DIST cdogs-sdl-1.5.0.tar.gz 35772274 BLAKE2B 70e06897edfe0a35ec5196ef1f1ae2d90b54958e18a68c3c114a88978b5550a3f6ac68a3d69225a7ee1f00f0d1eeaa0b3d6364e9f435acaeb9118c9a8a7c4f49 SHA512 e6ff35d16ad6af109954397f8c14d7a73a561dee55d7451446149a80b6fb8ec1df2a8c46cd220d335d30472202668672d8c9d71a6428653432794272d07469ee

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild
new file mode 100644
index 000000000000..19ad263eae35
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 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/${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
+}


             reply	other threads:[~2023-08-03 11:58 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-03 11:58 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-27  2:07 [gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/ Sam James
2025-04-27 10:52 Ionen Wolkens
2025-03-10  3:28 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-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
2021-12-02 13: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=1691063918.2097f612074ae04fe3a352e64e3e01f2174b1b30.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