commit:     12e772660b73c535d49c51536deca7ff798cf8f0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 11:59:47 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 13:07:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e77266

games-util/cartridges: bump to 2.9.3

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-util/cartridges/Manifest                |  1 +
 games-util/cartridges/cartridges-2.9.3.ebuild | 62 +++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest
index a2a2f9e885bb..2b71229d5323 100644
--- a/games-util/cartridges/Manifest
+++ b/games-util/cartridges/Manifest
@@ -1,2 +1,3 @@
 DIST cartridges-2.7.4.tar.gz 1099412 BLAKE2B 
0f15bbe53d8a893dd22b54b0b9435e8a301536c3654b99a302622655dc1207dc657ec21f9c0b8bb7526465126e62d86f7b35ce5561ccf0c275282ce04b685a44
 SHA512 
3f0c8b7fb83454296d5d676a5a69a8e6c9ae0e833a092b43a45fe0ff39c9eeeb0593a8ae8cf6bf936f84fa2ed8141d8c35fc26a4a05d4eb9ab04e04c627ae4e9
 DIST cartridges-2.8.5.tar.gz 1103584 BLAKE2B 
f09e6c9bd42c60731d26bb3550fd04af4856ec71779c32dfc46acb8064ba2cfaf606a1ff1ebcd782c920765afe4b2c24ad2a0f807f451e9f1188c15604acb106
 SHA512 
13b2223f31d8ddeaa925fcf16ee549ff07b53c5968c6def3562792986717ee3d86812affb317c3e3e17455ba433089da4fa091cd7660fd210aca55dd8a20e8ee
+DIST cartridges-2.9.3.tar.gz 2290701 BLAKE2B 
0e9700e7ab78b303e6f8a50654053233f72a4e684cbee529af252a027ade1dd7d9496c6d7539c177959fd55628b9b35d785daa1152f192edf2f477e11f08d0bf
 SHA512 
9fa9c2492b05e03379e6ead44273f1a566ad3aa25365eb5137fef6d6bc50a3e8c4937ac732609a9e72bb6cbd6d139df075ac1ebf3bfd8e2a17883f69352dbd75

diff --git a/games-util/cartridges/cartridges-2.9.3.ebuild 
b/games-util/cartridges/cartridges-2.9.3.ebuild
new file mode 100644
index 000000000000..b5d046bbe404
--- /dev/null
+++ b/games-util/cartridges/cartridges-2.9.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+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/gtk-4.14.4:4[introspection]
+       >=gui-libs/libadwaita-1.5.2:1[introspection]
+       $(python_gen_cond_dep '
+               dev-python/pillow[${PYTHON_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_USEDEP}]
+               dev-python/pyyaml[${PYTHON_USEDEP}]
+               dev-python/requests[${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
+}

Reply via email to