summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-05-26 23:05:05 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-05-26 23:36:15 +0200
commitc9b3e554e45554ee77c5203691f83ec2064f9473 (patch)
treeacb99ea486c32662d78e87e069e55a6590149100 /games-util/cartridges
parentdev-dotnet/dotnet-outdated: bump to 4.6.4 (diff)
downloadgentoo-c9b3e554e45554ee77c5203691f83ec2064f9473.tar.gz
gentoo-c9b3e554e45554ee77c5203691f83ec2064f9473.tar.bz2
gentoo-c9b3e554e45554ee77c5203691f83ec2064f9473.zip
games-util/cartridges: bump to 2.8.5
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'games-util/cartridges')
-rw-r--r--games-util/cartridges/Manifest1
-rw-r--r--games-util/cartridges/cartridges-2.8.5.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest
index 984a8e1da106..a9aefdb87bd1 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.4.tar.gz 1103578 BLAKE2B cc206bf7e812d6898b0ee398d82a5813722fade7b6fbce03f3275956fd11f77f7452c07a0bd635288ff755472176d5ae5b9ede2c959bbaf3415e0aaaa73261bf SHA512 5e4389e6bd9175dd71fa72820456a4dea1a64e452041c8f7dfe3f05fc44156a88c9ff70aaf7e1849c11577ce10d6134c9ef89454463d2c0f7b9e79376a862af7
+DIST cartridges-2.8.5.tar.gz 1103584 BLAKE2B f09e6c9bd42c60731d26bb3550fd04af4856ec71779c32dfc46acb8064ba2cfaf606a1ff1ebcd782c920765afe4b2c24ad2a0f807f451e9f1188c15604acb106 SHA512 13b2223f31d8ddeaa925fcf16ee549ff07b53c5968c6def3562792986717ee3d86812affb317c3e3e17455ba433089da4fa091cd7660fd210aca55dd8a20e8ee
diff --git a/games-util/cartridges/cartridges-2.8.5.ebuild b/games-util/cartridges/cartridges-2.8.5.ebuild
new file mode 100644
index 000000000000..bda78a7b129c
--- /dev/null
+++ b/games-util/cartridges/cartridges-2.8.5.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
+}