diff options
Diffstat (limited to 'games-util/cartridges')
-rw-r--r-- | games-util/cartridges/Manifest | 4 | ||||
-rw-r--r-- | games-util/cartridges/cartridges-2.9.3.ebuild | 62 | ||||
-rw-r--r-- | games-util/cartridges/cartridges-9999.ebuild | 6 |
3 files changed, 68 insertions, 4 deletions
diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest index 28a7f48e3edf..7f7d71ba0a66 100644 --- a/games-util/cartridges/Manifest +++ b/games-util/cartridges/Manifest @@ -1,6 +1,8 @@ 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 EBUILD cartridges-2.7.4-r1.ebuild 1313 BLAKE2B 37f32b98bf4f4321883b0b5acf97a6c17f6d104fc51d0c2dd57ef7fd21ca66ba95d5d3b4917966fc176019d0a7a0b475c86c40341ac7fcd1ca20d70c8273cff9 SHA512 3b3aab3e0cfa68c137c9d523e12c9fd6049d286ef51c6188c799b9561bffe70c9fba9de1f7d8fa705f0ade3a9453603e7412e636941506751dfed7809349d5f6 EBUILD cartridges-2.8.5-r2.ebuild 1314 BLAKE2B 8901b74040acd2ac793cee0a524d4ee9c73dcf6c8fc1f52191dd8822774a47d674740c2f12aed07e924687fa2958111bac77ba4b81c0093957d2488044d7c47d SHA512 ccdb56e98f9af3b1f1805ea3d19e699103b40bb702b04c1bed67d22ba812e82fc8a360de86d20da46b920f072274752f3b61eba3147293499e7cf51a55b683f5 -EBUILD cartridges-9999.ebuild 1314 BLAKE2B 8901b74040acd2ac793cee0a524d4ee9c73dcf6c8fc1f52191dd8822774a47d674740c2f12aed07e924687fa2958111bac77ba4b81c0093957d2488044d7c47d SHA512 ccdb56e98f9af3b1f1805ea3d19e699103b40bb702b04c1bed67d22ba812e82fc8a360de86d20da46b920f072274752f3b61eba3147293499e7cf51a55b683f5 +EBUILD cartridges-2.9.3.ebuild 1323 BLAKE2B f18161001fc587768912e7d7b4f16053d9cb0782fc6d57a5341c900ad752f6e217d571a2e7f772dde298d42fb8384b150da9cf661420024f320ca0ba6d3337a2 SHA512 46a494847c2555af869eb4278cbf1761091b25cf36ba28a64b6e3bd3efeb737ad969dc812f357b4a49beadff856d05785f483f1cd393e9e47bcdca36ccb5a93e +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.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 +} diff --git a/games-util/cartridges/cartridges-9999.ebuild b/games-util/cartridges/cartridges-9999.ebuild index b3d64b8e0edb..b5d046bbe404 100644 --- a/games-util/cartridges/cartridges-9999.ebuild +++ b/games-util/cartridges/cartridges-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit gnome2-utils python-single-r1 meson xdg @@ -28,8 +28,8 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" ${PYTHON_DEPS} - >=gui-libs/libadwaita-1.5.1:1[introspection] - gui-libs/gtk:4[introspection] + >=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}] |