diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-01-01 21:27:43 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-01-01 21:29:38 +0100 |
commit | 02e47a58d19dafb330def4b0887478b7f294d51c (patch) | |
tree | 0e49ead4625230ea4c0b775445f233b1537c64dd /games-util | |
parent | games-emulation/melonds: bump to 0.9.5_p20231231 (diff) | |
download | gentoo-02e47a58d19dafb330def4b0887478b7f294d51c.tar.gz gentoo-02e47a58d19dafb330def4b0887478b7f294d51c.tar.bz2 gentoo-02e47a58d19dafb330def4b0887478b7f294d51c.zip |
games-util/cartridges: bump to 2.7.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/cartridges/Manifest | 1 | ||||
-rw-r--r-- | games-util/cartridges/cartridges-2.7.2.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest index 2e245eb4e74c..5b8dcee5f4d7 100644 --- a/games-util/cartridges/Manifest +++ b/games-util/cartridges/Manifest @@ -2,3 +2,4 @@ DIST cartridges-2.3.tar.gz 1282083 BLAKE2B 1e6ef65ba223af5b65af922c90b61b5c1bca1 DIST cartridges-2.6.1.tar.gz 1083018 BLAKE2B a760cc3651775139d6151530df20d94a292841f60918cd76e9f77b9d081bbbc71571173d60766b7e7880d7c6f74cadad2711c3d16e6b2bcf904e13b05a1494cd SHA512 dfe5a0c2bcf9cbf83811915cfb00b0f625dd7847ac979e5cb45ca0b907d59c010cc13c048db779b9543d45a5ddc8a4f1bd01322f64f76d0b39433969458bb75f DIST cartridges-2.6.2.tar.gz 1083203 BLAKE2B ee7ff5efea06f61152e913b351dfefb9f3355e853966b8425d09912463a28165207908cae2f4bdd3af19a0020fe82eb0f1f0bdbaa7ee2d94de294daf81439818 SHA512 8521c859f33ae78c4ed7d75fed73f6a9b695f89ae21e3072f9cb878facdd85dffefb8ea8491def0732c415c89965f5152d8458cbe5c25433b0f7a44388ff7da5 DIST cartridges-2.7.1.tar.gz 1094433 BLAKE2B a1ba5563bb084b0ba44660f8cfd17fa576fadf0371d42ca9c539c5093064f66141829962e736a2eed3d8a8de4eb940ecf0c33cd89880daebc36b12787af9450d SHA512 191ee3231d08093868e9a73be61dde1619bb77286a69d21e54002890857bfbf5ba3c04faa7009159b8c354666514ecf307dc070faa12ba5c5510d31ec6d6c1cc +DIST cartridges-2.7.2.tar.gz 1094408 BLAKE2B 462c4117e0cc3050b9deac508704e863dab0f389e825007392a51a44fffb9eb9a98d8f915379b1eb7ecb696ed85a9027a3705835038109d814e96282a865883f SHA512 3dc9118034d8e5491c10b12515e099a05505da97aa19658509e6e36c6de1da5b34998973dfc5ea010c754eff5e44ce2603ed65037a213af4ed3db9107ddaa83c diff --git a/games-util/cartridges/cartridges-2.7.2.ebuild b/games-util/cartridges/cartridges-2.7.2.ebuild new file mode 100644 index 000000000000..cb3975484a26 --- /dev/null +++ b/games-util/cartridges/cartridges-2.7.2.ebuild @@ -0,0 +1,58 @@ +# 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 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 +" + +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 +} |