From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA0CC15800F for ; Sun, 12 Feb 2023 08:04:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A697E0831; Sun, 12 Feb 2023 08:04:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E33B1E0831 for ; Sun, 12 Feb 2023 08:04:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF5BF340D2A for ; Sun, 12 Feb 2023 08:04:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0469B8AD for ; Sun, 12 Feb 2023 08:04:38 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1676189027.178ac9cf1bd0d178d65c3268f35c5b6a1e048f6d.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/cdogs-sdl/Manifest games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild X-VCS-Directories: games-arcade/cdogs-sdl/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 178ac9cf1bd0d178d65c3268f35c5b6a1e048f6d X-VCS-Branch: master Date: Sun, 12 Feb 2023 08:04:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0e74991-8c70-462d-873e-95e97cca9522 X-Archives-Hash: e6c539f93bba58dbd50f5114ce9c4350 commit: 178ac9cf1bd0d178d65c3268f35c5b6a1e048f6d Author: Ionen Wolkens gentoo org> AuthorDate: Sun Feb 12 07:38:19 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Feb 12 08:03:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178ac9cf games-arcade/cdogs-sdl: add 1.4.1 Signed-off-by: Ionen Wolkens gentoo.org> games-arcade/cdogs-sdl/Manifest | 1 + games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild | 47 +++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest index db1e78590cf0..b5293ba7fd2d 100644 --- a/games-arcade/cdogs-sdl/Manifest +++ b/games-arcade/cdogs-sdl/Manifest @@ -1 +1,2 @@ DIST cdogs-sdl-1.4.0.tar.gz 35203975 BLAKE2B 4966b6beacd8b0b83f6a59865a6347bea2ecabbc508317dd41bab286a25d06fe26de0e9cee0591f31c259a56c666734609ea4ce7710d820fcf446b280d6db42f SHA512 31a2802248cb4a16331181fa7c0cbc5b1cd5f85244554f5eccfeb1003a813452d08c6249521b7e9e800e48d636b0e7f8f8d592e54706bfcdf3dab88105ee0f28 +DIST cdogs-sdl-1.4.1.tar.gz 35799934 BLAKE2B 67fe75575c478a3e38a7ba70060dc329c98b1b96912216dbf4a7d71784222485efff645349c2d9db72184947f16dcbd73ba52e61a03ad9b4c341650ab9ce144c SHA512 de8d181fed78d68ebeed44b408210252c616db7aaf80d472ea2ce3981fca8792c0226bb0006af014bc9151e2c1ba1b94708441e4c039ba2648cef3e41b31feda diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild new file mode 100644 index 000000000000..694b57d0eb85 --- /dev/null +++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild @@ -0,0 +1,47 @@ +# 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" +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() { + # LTO warnings, bug #858527 + filter-lto + + 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 +}