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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87F0C158042 for ; Fri, 15 Nov 2024 10:36:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C46A7E09CA; Fri, 15 Nov 2024 10:36:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50FEDE09CA for ; Fri, 15 Nov 2024 10:36:06 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 403DF342FAF for ; Fri, 15 Nov 2024 10:36:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D638D1626 for ; Fri, 15 Nov 2024 10:36:03 +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: <1731666877.9e84876a3a53d4a8d0be682958d7f26f15ab4588.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/widelands/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/widelands/Manifest games-strategy/widelands/widelands-1.2.1.ebuild X-VCS-Directories: games-strategy/widelands/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 9e84876a3a53d4a8d0be682958d7f26f15ab4588 X-VCS-Branch: master Date: Fri, 15 Nov 2024 10:36:03 +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: 897b8856-6073-4ada-8af1-af67879523dd X-Archives-Hash: b518e3992d25542a0061c64edad5dc05 commit: 9e84876a3a53d4a8d0be682958d7f26f15ab4588 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Nov 15 10:18:44 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Nov 15 10:34:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e84876a games-strategy/widelands: add 1.2.1 Signed-off-by: Ionen Wolkens gentoo.org> games-strategy/widelands/Manifest | 1 + games-strategy/widelands/widelands-1.2.1.ebuild | 59 +++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest index 586eed9ef89a..3a45b1008bff 100644 --- a/games-strategy/widelands/Manifest +++ b/games-strategy/widelands/Manifest @@ -1 +1,2 @@ +DIST widelands-1.2.1.tar.gz 457853247 BLAKE2B 8af9febc4379f52f2343bff244e7ec3c42e63792e2a93f61446df81a101201d1471d20c8c1b73d6267f5066d3861bfc802227b2abd4b0fc172b447d0b598ddfd SHA512 9a7449096dab8ff07ac12354f4fb659fcbe419381d289e869c134c5b804c8817f9fbffb854283ab0b5bca541e9649f7f0e7658fd2765bc2a8a8f705dc24f01d8 DIST widelands-1.2.tar.gz 457713595 BLAKE2B b89caef369268b31fb70c4b054f1df3651e974763c6b2d82488a662a7edaed19f525177371592f9ad28cc14194044d48862e22b38a3a449c6e7ed0023bf30d09 SHA512 e05812f93defe8b9a3da60e6ba73a65bba47abec3199298f9a778fb42655aba671cb45a2603c2936538de1e0f82892a183ea5e1df15937b9812d369d068fab81 diff --git a/games-strategy/widelands/widelands-1.2.1.ebuild b/games-strategy/widelands/widelands-1.2.1.ebuild new file mode 100644 index 000000000000..c3f0df651d6b --- /dev/null +++ b/games-strategy/widelands/widelands-1.2.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake python-any-r1 xdg + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/widelands/widelands.git" +else + SRC_URI=" + https://github.com/widelands/widelands/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + " + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Game similar to Settlers 2" +HOMEPAGE="https://www.widelands.org/" + +LICENSE="GPL-2+ || ( Apache-2.0 GPL-3 ) BitstreamVera BSD CC-BY-SA-3.0 MIT OFL-1.1" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/icu:= + media-libs/glew:0= + media-libs/libglvnd + media-libs/libpng:= + media-libs/libsdl2[opengl,sound,video] + media-libs/sdl2-image[jpeg,png] + media-libs/sdl2-mixer[vorbis] + media-libs/sdl2-ttf + sys-libs/zlib:=[minizip] + virtual/libintl +" +DEPEND=" + ${RDEPEND} + dev-cpp/asio +" +BDEPEND=" + ${PYTHON_DEPS} + sys-devel/gettext +" + +src_configure() { + local mycmakeargs=( + -DWL_INSTALL_BASEDIR="${EPREFIX}"/usr/share/doc/${PF} + -DWL_INSTALL_BINDIR="${EPREFIX}"/usr/bin + -DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/${PN} + -DGTK_UPDATE_ICON_CACHE=OFF + -DOPTION_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +}