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 03A1F15838C for ; Sun, 21 Jan 2024 04:02:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21CF7E29BE; Sun, 21 Jan 2024 04:02:09 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E71F8E29C0 for ; Sun, 21 Jan 2024 04:02:08 +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 071D9343349 for ; Sun, 21 Jan 2024 04:02:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59FA414CB for ; Sun, 21 Jan 2024 04:02:05 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1705809596.cf4e221a23932e47fe21c28c4cfab0de0ca38951.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/mgba-jg/Manifest games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild X-VCS-Directories: games-emulation/mgba-jg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cf4e221a23932e47fe21c28c4cfab0de0ca38951 X-VCS-Branch: master Date: Sun, 21 Jan 2024 04:02:05 +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: d3b594a7-2aae-48f0-9797-b2f7e80e244e X-Archives-Hash: b3dd11e46602bc6d180b254b76a6fdea commit: cf4e221a23932e47fe21c28c4cfab0de0ca38951 Author: orbea riseup net> AuthorDate: Tue Jan 9 06:01:46 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 21 03:59:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4e221a games-emulation/mgba-jg: add 0.10.3 Signed-off-by: orbea riseup.net> Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/Manifest | 1 + games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild | 45 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index eed77a8b3f25..ec33abed6aed 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1,2 +1,3 @@ DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412 DIST mgba-0.10.2.tar.bz2 12925327 BLAKE2B 73a4a969ea99cde7d928d04ef43208b378784c73f39f6e8bc62f02da3df31ff45c82360cd3184b94e835a355bb3ccb05c2f7b70290aa886a1df7619e319cfb56 SHA512 6bf50bf4ec172fae8a8f5495bbed646f32f978ffcf271531aecea1b56b69788da1ea84bbbab4d22ae5bec0a4e64035209d5719bb5d574981770b7cd3a531798b +DIST mgba-0.10.3.tar.bz2 12943639 BLAKE2B 3adf52ce7b1a8811f3a2d0f874450a7d9ac1c88a39de2cd94846671145e2e1112b92e48a7987a711829a6a4957827f73cf26e988e8a482f43ed055ed27627d15 SHA512 6d9ebd9ce83c6f5c554e677abcf3e52b077fb79df2fb5754d5ee2441d3104208b3d15eb6f3dd3d5e11f8782d257d16b852f0dbf5907e28d638fd7fa92138f8e2 diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild new file mode 100644 index 000000000000..f27d3666bf7b --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild @@ -0,0 +1,45 @@ +# 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 Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba" +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="BSD-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +}