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 99716158064 for ; Mon, 6 May 2024 18:00:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC6052BC024; Mon, 6 May 2024 18:00:22 +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 45AFF2BC024 for ; Mon, 6 May 2024 18:00:22 +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 593C234309B for ; Mon, 6 May 2024 18:00:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 686FA1A3C for ; Mon, 6 May 2024 18:00:18 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1715018413.f3515f154b2ad44e1c335e1f9571d33660a02a25.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/cartridges/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/cartridges/Manifest games-util/cartridges/cartridges-2.8.4.ebuild X-VCS-Directories: games-util/cartridges/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: f3515f154b2ad44e1c335e1f9571d33660a02a25 X-VCS-Branch: master Date: Mon, 6 May 2024 18:00:18 +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: ae227efd-9aec-44cd-b292-bf9d22690b30 X-Archives-Hash: 02ee968181140704b67ea5e02d7b5893 commit: f3515f154b2ad44e1c335e1f9571d33660a02a25 Author: Maciej Barć gentoo org> AuthorDate: Mon May 6 16:30:56 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon May 6 18:00:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3515f15 games-util/cartridges: bump to 2.8.4 Signed-off-by: Maciej Barć gentoo.org> games-util/cartridges/Manifest | 1 + games-util/cartridges/cartridges-2.8.4.ebuild | 59 +++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest index 70b8bb3e91e0..984a8e1da106 100644 --- a/games-util/cartridges/Manifest +++ b/games-util/cartridges/Manifest @@ -1 +1,2 @@ DIST cartridges-2.7.4.tar.gz 1099412 BLAKE2B 0f15bbe53d8a893dd22b54b0b9435e8a301536c3654b99a302622655dc1207dc657ec21f9c0b8bb7526465126e62d86f7b35ce5561ccf0c275282ce04b685a44 SHA512 3f0c8b7fb83454296d5d676a5a69a8e6c9ae0e833a092b43a45fe0ff39c9eeeb0593a8ae8cf6bf936f84fa2ed8141d8c35fc26a4a05d4eb9ab04e04c627ae4e9 +DIST cartridges-2.8.4.tar.gz 1103578 BLAKE2B cc206bf7e812d6898b0ee398d82a5813722fade7b6fbce03f3275956fd11f77f7452c07a0bd635288ff755472176d5ae5b9ede2c959bbaf3415e0aaaa73261bf SHA512 5e4389e6bd9175dd71fa72820456a4dea1a64e452041c8f7dfe3f05fc44156a88c9ff70aaf7e1849c11577ce10d6134c9ef89454463d2c0f7b9e79376a862af7 diff --git a/games-util/cartridges/cartridges-2.8.4.ebuild b/games-util/cartridges/cartridges-2.8.4.ebuild new file mode 100644 index 000000000000..bda78a7b129c --- /dev/null +++ b/games-util/cartridges/cartridges-2.8.4.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..12} ) + +inherit gnome2-utils python-single-r1 meson xdg + +DESCRIPTION="Simple game launcher written in Python using GTK4 and Libadwaita" +HOMEPAGE="https://github.com/kra-mo/cartridges/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/kra-mo/${PN}.git" +else + SRC_URI="https://github.com/kra-mo/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +RESTRICT="test" # Just appstream file validation that uses network. +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=gui-libs/libadwaita-1.4.0:1[introspection] + gui-libs/gtk:4[introspection] + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${RDEPEND} + dev-libs/appstream-glib + dev-util/blueprint-compiler + dev-util/desktop-file-utils +" + +src_install() { + meson_src_install + + python_fix_shebang "${ED}/usr/bin" + python_optimize "${ED}/usr" +} + +pkg_postinst() { + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_schemas_update + xdg_pkg_postrm +}