diff options
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/Manifest.gz | bin | 1216 -> 1219 bytes | |||
-rw-r--r-- | games-kids/gmult/Manifest | 3 | ||||
-rw-r--r-- | games-kids/gmult/files/gmult-12.0-vala-0.56.11.patch | 15 | ||||
-rw-r--r-- | games-kids/gmult/gmult-12.0.ebuild | 15 |
4 files changed, 30 insertions, 3 deletions
diff --git a/games-kids/Manifest.gz b/games-kids/Manifest.gz Binary files differindex 5e8adf46411e..cf2144c1845e 100644 --- a/games-kids/Manifest.gz +++ b/games-kids/Manifest.gz diff --git a/games-kids/gmult/Manifest b/games-kids/gmult/Manifest index f787d0f9bf88..0e09539d96c2 100644 --- a/games-kids/gmult/Manifest +++ b/games-kids/gmult/Manifest @@ -1,3 +1,4 @@ +AUX gmult-12.0-vala-0.56.11.patch 468 BLAKE2B 31a1b5fcffe809c8748d47ccb6c774c97affc211c05d70a05d15be685600bece5c614d4bdbceb0d8e0163997235b9474305c985918831c367128a9eab41aede2 SHA512 8bfdc1a4fdaa212220d4dfe9557a63187758cfcbf7162e3ffac305b3b426045e6dc1b73d7f027d175baf72a1fe0997e14e5006f5836ae4e99a8ab54446c13e77 DIST gmult-12.0.tar.bz2 195103 BLAKE2B d1d93190a607dc62bf4809dff7c5240c97f49dc4c833ea91028e9810961125eadba6fac41852b53f674b14c1e4c777a8d9ed58496ad2641ad99ed961041c40c8 SHA512 617b51defaf61c7967c9ccd6898209330733709df4290717e6c158719d04c61a38fa6832197c937f8aef1da23dc2f820c707291761ef8437ab0e78850253768c -EBUILD gmult-12.0.ebuild 917 BLAKE2B 027bc01530ae650ece4069e5339e78dc02cf5815d00a446275ce118397bdaa8a0cd9a5900242549541f824371e273f2e363772c950fbd6ecbc2fce607097db48 SHA512 43feff6daee1a7fe3258e6e75e92bbb55072e894ca4fbfd97184020570e54de28ab59674807c01ad8fb7c3ea4565b482df2791a4729ecfd4f7845ff326df2515 +EBUILD gmult-12.0.ebuild 1177 BLAKE2B 5143d3e64fb2f6f128f21b52e4d90fedc7949acaaa865bedeee08390ecc911e996515309c986d7f134232794a565781db78a6275c96fb98c1a760f3978df5f1a SHA512 598f9752ab9ccd1a2730e233f23af3394720a812d14984f657b60b131323bfc3793d37be2fd405cd688a0a5696bc597836ede371fa6c65219553e5b9011650c0 MISC metadata.xml 337 BLAKE2B b8fb50568754e9544c17fad92f9be53263e1b292b61506fb616b263d39c53c7943741a156ef2a94d25415a8b55d1bc5a974f3807147d8a7152242ba2a8505c02 SHA512 60bb053c0f86be5ce8f8fa29715e2a0072d502a7600c95cf06b9f5e478ee7b9ade83899001e63b32e4ee6364b0da79df039a778e22f055628bc42e1d2185fdde diff --git a/games-kids/gmult/files/gmult-12.0-vala-0.56.11.patch b/games-kids/gmult/files/gmult-12.0-vala-0.56.11.patch new file mode 100644 index 000000000000..fb0ba7a5227d --- /dev/null +++ b/games-kids/gmult/files/gmult-12.0-vala-0.56.11.patch @@ -0,0 +1,15 @@ +vala-0.56.11 gtk4 bindings seemingly broke API, and so this +workaround must either be applied conditionally or depend +on >=vala-0.56.11 as it breaks older VALA_0_56 and we cannot +check for minor versions from defines. + +https://bugs.gentoo.org/912438 +--- a/gmult/main.vala ++++ b/gmult/main.vala +@@ -108,4 +108,4 @@ + var provider = new Gtk.CssProvider(); +-#if VALA_0_58 +- provider.load_from_data(css); ++#if VALA_0_56 ++ provider.load_from_data(css, -1); + #else diff --git a/games-kids/gmult/gmult-12.0.ebuild b/games-kids/gmult/gmult-12.0.ebuild index b2b12394e1db..6fda353fb576 100644 --- a/games-kids/gmult/gmult-12.0.ebuild +++ b/games-kids/gmult/gmult-12.0.ebuild @@ -20,14 +20,25 @@ RDEPEND=" >=gui-libs/libadwaita-1.3:1[vala] virtual/libintl x11-libs/cairo - x11-libs/pango" + x11-libs/pango +" DEPEND="${RDEPEND}" BDEPEND=" $(vala_depend) - sys-devel/gettext" + sys-devel/gettext +" DOCS=( NEWS.md README.md ) +src_prepare() { + default + + # TODO: verify if this is still needed with new vala releases + # as it may instead break them if reverted (see patch for details) + has_version -b ">=dev-lang/vala-0.56.11" && + eapply "${FILESDIR}"/${PN}-12.0-vala-0.56.11.patch +} + src_configure() { vala_setup meson_src_configure |