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 BCD17158089 for ; Tue, 7 Nov 2023 18:50:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBEC22BC016; Tue, 7 Nov 2023 18:50:19 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C204E2BC016 for ; Tue, 7 Nov 2023 18:50:19 +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 BD356335D31 for ; Tue, 7 Nov 2023 18:50:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2B39116D for ; Tue, 7 Nov 2023 18:50:16 +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: <1699383011.c3b0607fc93ce9846f5d86397b856de7716d0dbc.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.6.2.ebuild X-VCS-Directories: games-util/cartridges/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: c3b0607fc93ce9846f5d86397b856de7716d0dbc X-VCS-Branch: master Date: Tue, 7 Nov 2023 18:50:16 +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: 71bcf45f-8d98-4300-b209-b2819cc224e1 X-Archives-Hash: dd11e5c60990b1a2ff41a89c6adde724 commit: c3b0607fc93ce9846f5d86397b856de7716d0dbc Author: Maciej Barć gentoo org> AuthorDate: Tue Nov 7 17:52:24 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue Nov 7 18:50:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b0607f games-util/cartridges: bump to 2.6.2 Signed-off-by: Maciej Barć gentoo.org> games-util/cartridges/Manifest | 1 + games-util/cartridges/cartridges-2.6.2.ebuild | 60 +++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest index fda6aa4e7240..de6714916bec 100644 --- a/games-util/cartridges/Manifest +++ b/games-util/cartridges/Manifest @@ -1,2 +1,3 @@ DIST cartridges-2.3.tar.gz 1282083 BLAKE2B 1e6ef65ba223af5b65af922c90b61b5c1bca1859b4231632b2c2996258f562719340f7cb9c6facc6f8151bac8388bcfe3c549131bee9b249d0d03310a622538b SHA512 d5f2d29414d1e347e0459003890f018e585450cc3b6663e922696f04c1eff3a864364a08dfa17ea6fe4e87aa47c28485f0954a4376c1d1695039e478a7dbe7f4 DIST cartridges-2.6.1.tar.gz 1083018 BLAKE2B a760cc3651775139d6151530df20d94a292841f60918cd76e9f77b9d081bbbc71571173d60766b7e7880d7c6f74cadad2711c3d16e6b2bcf904e13b05a1494cd SHA512 dfe5a0c2bcf9cbf83811915cfb00b0f625dd7847ac979e5cb45ca0b907d59c010cc13c048db779b9543d45a5ddc8a4f1bd01322f64f76d0b39433969458bb75f +DIST cartridges-2.6.2.tar.gz 1083203 BLAKE2B ee7ff5efea06f61152e913b351dfefb9f3355e853966b8425d09912463a28165207908cae2f4bdd3af19a0020fe82eb0f1f0bdbaa7ee2d94de294daf81439818 SHA512 8521c859f33ae78c4ed7d75fed73f6a9b695f89ae21e3072f9cb878facdd85dffefb8ea8491def0732c415c89965f5152d8458cbe5c25433b0f7a44388ff7da5 diff --git a/games-util/cartridges/cartridges-2.6.2.ebuild b/games-util/cartridges/cartridges-2.6.2.ebuild new file mode 100644 index 000000000000..a0ac6894055e --- /dev/null +++ b/games-util/cartridges/cartridges-2.6.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit gnome2-utils meson python-single-r1 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" +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 +" + +PATCHES=( "${FILESDIR}/${PN}-1.5.4-dont-validate-appstream.patch" ) + +src_install() { + meson_src_install + + python_fix_shebang "${ED}/usr/bin" + python_optimize "${ED}/usr/share/cartridges/cartridges" +} + +pkg_postinst() { + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_schemas_update + xdg_pkg_postrm +}