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 D562B158042 for ; Sat, 2 Nov 2024 13:32:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F16CBE0837; Sat, 2 Nov 2024 13:32:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DAF56E0837 for ; Sat, 2 Nov 2024 13:32:54 +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 23FB13430C8 for ; Sat, 2 Nov 2024 13:32:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B4961315 for ; Sat, 2 Nov 2024 13:32:52 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1730554347.8dd73eaf409a6153e3a0240e29da0f82f855bff6.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/jazz2/Manifest games-arcade/jazz2/jazz2-2.9.1.ebuild X-VCS-Directories: games-arcade/jazz2/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 8dd73eaf409a6153e3a0240e29da0f82f855bff6 X-VCS-Branch: master Date: Sat, 2 Nov 2024 13:32:52 +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: 8aff040b-737e-4197-922a-a9574e175d89 X-Archives-Hash: aaba8df971e943492c34b57342f6cf51 commit: 8dd73eaf409a6153e3a0240e29da0f82f855bff6 Author: Petr Vaněk gentoo org> AuthorDate: Sat Nov 2 13:31:16 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Sat Nov 2 13:32:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dd73eaf games-arcade/jazz2: add 2.9.1 Signed-off-by: Petr Vaněk gentoo.org> games-arcade/jazz2/Manifest | 1 + games-arcade/jazz2/jazz2-2.9.1.ebuild | 70 +++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest index f339610dfc4d..6d73e1b26c99 100644 --- a/games-arcade/jazz2/Manifest +++ b/games-arcade/jazz2/Manifest @@ -1,2 +1,3 @@ DIST jazz2-0.6.7.tar.gz 11031735 BLAKE2B 014ff24c6f5a834a727aaed3760a1e228d9f7d9653dd293e98030c9105cbf15a3b420c2d515605e36187cc833ae892ed30589f1bf821c0b674b883cea216f3f5 SHA512 7172a3ccb367122d1c9bfbd36b76cc3d365024affba9aea5cfa595fd11a9b4dc980e57c1cfdb0d32bc28bb7ecb5f6f5225909697c4c93c43117596f44d80ff8f DIST jazz2-2.8.0.tar.gz 3656018 BLAKE2B c023e722871304754e45a1329cfff9e0e713413a6a05b5265dd000bab8a057ac5dbdb1a263b29f562df0221b97eb326fbd15f3c6b6f316b756630c2521413bec SHA512 1a6b61cb654c5afee7d615cca912b75ef4f1e90929d7808800467bd13a1ebd9096430d1c1fa969cfacf8c10ff1e696c74371c1809a0ffbda90c5db31c686ae05 +DIST jazz2-2.9.1.tar.gz 3700152 BLAKE2B dee3ada0bfa95294dac9fa2c37019edc20dd9a9f462671dea1d083575bc1f231e013bb5f9076b9163cdf0682a7775932f07050e894dad2f492e65150d47b42dd SHA512 d908a2c24d010122d4c9e2db17ed7392780785ef98799401f960cee41b5dfd9504859e30410e0bcf4678d1a73e5e153f4c46259da672b923cdc8decae25aae1c diff --git a/games-arcade/jazz2/jazz2-2.9.1.ebuild b/games-arcade/jazz2/jazz2-2.9.1.ebuild new file mode 100644 index 000000000000..4a7c0ac77fc6 --- /dev/null +++ b/games-arcade/jazz2/jazz2-2.9.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="Open source reimplementation of Jazz Jackrabbit 2" +HOMEPAGE=" + https://deat.tk/jazz2/ + https://github.com/deathkiller/jazz2-native +" +SRC_URI=" + https://github.com/deathkiller/jazz2-native/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz +" +S="${WORKDIR}/${PN}-native-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+openal sdl" + +DEPEND=" + sys-libs/zlib:= + media-libs/libglvnd + openal? ( + media-libs/libopenmpt + media-libs/openal + ) + !sdl? ( media-libs/glfw ) + sdl? ( media-libs/libsdl2 ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + # We need to install README.md to a different directory, default + # src_install will handle that. + sed -i '/README_INSTALL_DESTINATION/d' cmake/ncine_installation.cmake || die + cmake_src_prepare +} + +src_configure() { + local backend=GLFW + use sdl && backend=SDL2 + local mycmakeargs=( + -DNCINE_LINUX_PACKAGE="${PN}" + + -DNCINE_DOWNLOAD_DEPENDENCIES=OFF + -DNCINE_LINKTIME_OPTIMIZATION=OFF + -DNCINE_STRIP_BINARIES=OFF + -DNCINE_VERSION_FROM_GIT=OFF + -DNCINE_WITH_BACKWARD=OFF + + -DNCINE_WITH_GLEW=OFF + + -DNCINE_PREFERRED_BACKEND=${backend} + + -DNCINE_WITH_AUDIO=$(usex openal) + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}