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 057681581E7 for ; Mon, 29 Apr 2024 08:46:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45C89E29B4; Mon, 29 Apr 2024 08:46:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 2BB51E29B4 for ; Mon, 29 Apr 2024 08:46:37 +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 63505343052 for ; Mon, 29 Apr 2024 08:46:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 073F01769 for ; Mon, 29 Apr 2024 08:46:35 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1714380318.04c9f8a06b032ae4c09f6bdc26de92aa5b4df7bc.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/bsnes-jg/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/bsnes-jg/Manifest games-emulation/bsnes-jg/bsnes-jg-1.2.0.ebuild X-VCS-Directories: games-emulation/bsnes-jg/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 04c9f8a06b032ae4c09f6bdc26de92aa5b4df7bc X-VCS-Branch: master Date: Mon, 29 Apr 2024 08:46:35 +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: 25c97f14-eb33-438c-b4e4-801600fb9885 X-Archives-Hash: 3865b43248020d425a88bceb3a1cdb94 commit: 04c9f8a06b032ae4c09f6bdc26de92aa5b4df7bc Author: orbea riseup net> AuthorDate: Sat Mar 30 19:15:26 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Apr 29 08:45:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c9f8a0 games-emulation/bsnes-jg: add 1.2.0 Signed-off-by: orbea riseup.net> Signed-off-by: Joonas Niilola gentoo.org> games-emulation/bsnes-jg/Manifest | 1 + games-emulation/bsnes-jg/bsnes-jg-1.2.0.ebuild | 46 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/games-emulation/bsnes-jg/Manifest b/games-emulation/bsnes-jg/Manifest index be59e5809a5e..8fa3da84c341 100644 --- a/games-emulation/bsnes-jg/Manifest +++ b/games-emulation/bsnes-jg/Manifest @@ -1 +1,2 @@ DIST bsnes-1.1.2.tar.bz2 4183035 BLAKE2B 09e01845fb9e6208f5262e2abef14c46e9fa53cfdd025821345507fc68e520dc21ca69e5d712a7f821936166975865c26dc0be42549b551abdbb941e748949b1 SHA512 77cb82b6cba2941813de25273bd74b928ad380dccadb909ae3500ddf6f8906504f5400df95381569d35fc7b06e0330f9eb4d54d88d64a5c698925d54df62bada +DIST bsnes-1.2.0.tar.bz2 4277380 BLAKE2B 03abb6efdf2e2fe487ddea780f9a3053092e718695d7f875304a008f5e3e967c443f3ad40d7c8a82b07d66c52ead5d258018fd004cb205efaaa872b122057c98 SHA512 96aaeecf10508bc7672c30fa24b34e0d32e34c4190928109a141f4a1d73fb6f007844f9b7154ffc57028ddb9e99b5c281a214b9517ce5de618cf229722ff1e20 diff --git a/games-emulation/bsnes-jg/bsnes-jg-1.2.0.ebuild b/games-emulation/bsnes-jg/bsnes-jg-1.2.0.ebuild new file mode 100644 index 000000000000..243ad0946b1d --- /dev/null +++ b/games-emulation/bsnes-jg/bsnes-jg-1.2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN=${PN%-*} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Jolly Good Fork of bsnes" +HOMEPAGE="https://gitlab.com/jgemu/bsnes" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git" +else + SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2" + S="${WORKDIR}/${MY_P}" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="ISC GPL-3+ LGPL-2.1+ MIT ZLIB" +SLOT="1" + +DEPEND=" + media-libs/jg:1= + media-libs/libsamplerate +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +}