diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-08 06:41:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-08 06:41:21 +0000 |
commit | 9991465b0b90d77b2a8a2ae833b6ecd99e6b5101 (patch) | |
tree | 28adc48ed9c9af3eec4c870d7a7efc8da5e0d8f1 /games-util/cartridges | |
parent | d69399c7befdd98cda62d6a1788ae2aa7f104c5e (diff) |
gentoo auto-resync : 08:01:2025 - 06:41:21
Diffstat (limited to 'games-util/cartridges')
-rw-r--r-- | games-util/cartridges/Manifest | 2 | ||||
-rw-r--r-- | games-util/cartridges/cartridges-2.11.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest index 46721d9b004e..6046cf58ed0f 100644 --- a/games-util/cartridges/Manifest +++ b/games-util/cartridges/Manifest @@ -1,4 +1,6 @@ +DIST cartridges-2.11.tar.gz 2303903 BLAKE2B dbb6b0349e9301585dede3a07d254258d4559bbc88f1451e498fe9f98ebcf95db91e15feaab362d67f0afec4f31e0ee18a3ee327318c1cb1f5a104ea2854a807 SHA512 ba1b23c1a2c3e73fd293c33c4ace804bb464df5c26e435c7ad9a1b8fc2f46be7ad1a46478919cd11274c69589acf06a8f0d65efcd2e0bfb90c3e2633c32417f3 DIST cartridges-2.9.3.tar.gz 2290701 BLAKE2B 0e9700e7ab78b303e6f8a50654053233f72a4e684cbee529af252a027ade1dd7d9496c6d7539c177959fd55628b9b35d785daa1152f192edf2f477e11f08d0bf SHA512 9fa9c2492b05e03379e6ead44273f1a566ad3aa25365eb5137fef6d6bc50a3e8c4937ac732609a9e72bb6cbd6d139df075ac1ebf3bfd8e2a17883f69352dbd75 +EBUILD cartridges-2.11.ebuild 1324 BLAKE2B 00fadb3f6e4f3e2a52c9e42f60ac83e11b89e4b7bfe9a3fe7b1439b7d66cc7b5e1d33f5f843ec59a3169031d60438189387eaaeb17770400f42567cb49f97d37 SHA512 6a5ccc988752304218916af7a60457c6b1ceb8d2ca4535815305000ca5937746aefad3fa9ab0fe39dc05c68f97a1c441fa4ddfb22bc26819d499a2105f9275a3 EBUILD cartridges-2.9.3.ebuild 1322 BLAKE2B b5ee5a3957f24ba0700d1a5783ae390d7cc8c271454c18ad9fccdc4496562ee580799fc463955ebb15e9a65a274fc42f84d67ff31c29b364bebd4cddfbacece1 SHA512 e54005d6e8a9ead108353c237e555a4de75458736b8de8a0a8ff354d502b5e45e878f28a4b1ec3fd08e3d30286fdfe62b58d0d5aa7370ad985096f54502f07ed EBUILD cartridges-9999.ebuild 1323 BLAKE2B f18161001fc587768912e7d7b4f16053d9cb0782fc6d57a5341c900ad752f6e217d571a2e7f772dde298d42fb8384b150da9cf661420024f320ca0ba6d3337a2 SHA512 46a494847c2555af869eb4278cbf1761091b25cf36ba28a64b6e3bd3efeb737ad969dc812f357b4a49beadff856d05785f483f1cd393e9e47bcdca36ccb5a93e MISC metadata.xml 760 BLAKE2B f57df1306fd66ac7c1275d2c77ced58a333f3e47a7f02ae643d8fe4bceb7f28dfc796e3898fb28eef7f6e4ee250e762ca208c662be94a12e89a098ec45d5b482 SHA512 e70a9f88c0cdb41276783878ccaf24623f8c97fafc55d88ab564604cb534b4ea7426eb50d3c9ba9ee091e7adf5bea6d68e919c0c84a496be3d8c6497394cd2b7 diff --git a/games-util/cartridges/cartridges-2.11.ebuild b/games-util/cartridges/cartridges-2.11.ebuild new file mode 100644 index 000000000000..8bcb60addec5 --- /dev/null +++ b/games-util/cartridges/cartridges-2.11.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 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.16.12:4[introspection] + >=gui-libs/libadwaita-1.6.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 +} |