summaryrefslogtreecommitdiff
path: root/games-engines/love
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-25 01:35:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-25 01:35:27 +0000
commit3cba520665a0461aa7b0ada016f4a0df717e37a2 (patch)
tree2a653051c7ea63b16724a5da9d583994530ab97b /games-engines/love
parent8c39538f1e5cf37f42c409a6c742f96abef56f3b (diff)
gentoo auto-resync : 25:12:2023 - 01:35:27
Diffstat (limited to 'games-engines/love')
-rw-r--r--games-engines/love/Manifest4
-rw-r--r--games-engines/love/love-11.5.ebuild77
-rw-r--r--games-engines/love/metadata.xml3
3 files changed, 83 insertions, 1 deletions
diff --git a/games-engines/love/Manifest b/games-engines/love/Manifest
index 5dc1a8424ff5..043184e8cc10 100644
--- a/games-engines/love/Manifest
+++ b/games-engines/love/Manifest
@@ -4,8 +4,10 @@ AUX love-0.8.0-opengl_glext_prototypes.patch 1614 BLAKE2B 70bfd445e26a933b8d9f0b
DIST love-0.7.2-linux-src.tar.gz 900209 BLAKE2B abd0db98d210c5523d3b5a75c30bcfa2fc9d7760c7642d08dda28690ab72ddf8a0c7b60793cd7b0f902a8e3fcf2750748c75caf29638a7455572d84683be7820 SHA512 cbca1d7e3425d1ecbdae019212dfa2814d8ac3bad1faedd4b052cf3e89b5bf2fac6e422283628e4c125858c9db050dee2129476d1a73ec44ffe8a4704f170f61
DIST love-0.8.0-linux-src.tar.gz 1027356 BLAKE2B bfbc2f9a3d5c3beffb4790a69716416815534c3b390b1554722eceaec57a7530377c06c15c6551aa972b33176bccdadfc8ad12bc186ceda201527bd9f8286d6f SHA512 6a0e28d102b950d3dddf7101996fe0ad04dfd7d4ec5e58797b41ef3382b60e74f90c6e707f882cf43cc0c5cc98703857eefc6418e6a6fd34e88f8019143f55a4
DIST love-11.4-linux-src.tar.gz 2925931 BLAKE2B 3f3a8aa1df69dad69edc89429ff5d9505d2de45a109962d3e110848eb1c3042b053472900cc68ddc485769045c9a26f39a2549efb9f15033bb6b2e08dc2cda44 SHA512 a1669e353c216b0f8de862eef877a178618499c38b5ad91143ee64e543affea8fccb13af4ea4957d8698c65dd703e45095ae1069601c4d0ff98d34d71d70ffd3
+DIST love-11.5-linux-src.tar.gz 2937716 BLAKE2B c0ccd2836462a799c14edb83345bddec1b2d8e77865bc076814cf90ca5b2feda465263c3322efde8fa49f6dfcce6aef69a272a7ff88e0e06b9f57d0e810d8874 SHA512 86fe29939e0d48317e742c99c80b1805821f91539c37d1701207585593b10e3a12f335dac9c25069e0de61a7c6af7c6d5e30bc36826c29f963df8f64084a9a5b
EBUILD love-0.7.2-r100.ebuild 1071 BLAKE2B 25d77837d89ac1464b4546f3ef7cfa118aaa5605fdf7ac0b489565e303117f407905081129119d8c56fbd5ad65a4e86dcf6a030c204d5641028d016baa309c9d SHA512 06f5eb653f2d11a8ad8c29568c9d2fdce12186b78a65179df86cfb60e456bc539e30cec7c1f69365d6fddf8f5265b5aece0aa12f7a4f008394bbd19721c51a5e
EBUILD love-0.8.0-r100.ebuild 1054 BLAKE2B 1751b66810c9ee03901189844df23839af973faf4aed7408df7a942622c98ceffce31bdf5e358403a34e7dde4ec318cec5eb39935f61e982df718db33e75ea7d SHA512 1f343224cebee26a615b3e79b9e99f834d3b138cf6ce1ec913d89f9294cd2c2ec2ec8b84165e02d0d29402b90d582027963066adac91b6e13349da9213fd91b4
EBUILD love-11.4.ebuild 1500 BLAKE2B 79674a4063cc2bf1692486aeda110768cbfa233b7cab04eb3c6f060257192ba87788d6a794b8b89a8d4e2f014e6fc9b482b5475daf43dd02bdd287eef800dfe3 SHA512 a945f3c057847099b8a96accec7e983b8fb074c6e068dec76e7c53b6c7dfe660c8a52c2092c9fd8b7d69a048937f74df7c651f969ed2cf1da24bcff6b606b039
+EBUILD love-11.5.ebuild 1500 BLAKE2B dcc479962226e190e1fce41310a89702fc2743982e2ee3cddc53cd4d54b9c44144d3e1b78d6158deb51bb4770269476ea68ab1996ed4f357cc24a0067e06dcde SHA512 77c5f51bb7e8f7805e10aaa3e7014b3a7173f6d65d0026d1e976fde672278ab0c9ef2a15251f87c6a9d44bc9423e90e368f6259fbc57963b2ae49989bb8bb9fd
EBUILD love-9999.ebuild 1436 BLAKE2B d6ef7a3ed2cc25a0bd6531618d35ec343cb2af44313cfd77a49f3350590ff2471bc77886f793b36919405c34a28213c136193d7814012ce5bce80f10b3b5f38a SHA512 7ab80aac134ef54ce3bcf047a0b23975e25ac6a1f5b6e9775a6344475b39f7286b38c9fd986ef303730fc147e8d989db745b60284942fd6df0ea5c9592244224
-MISC metadata.xml 364 BLAKE2B 259c310ac7adc0b0d8fa0a7a6f2e01b86e93ab264194cd67e627444d5779c9d0ee83d001d2afd6253643d40bc7354f70e08074758761d1985fbfb355a18ae3be SHA512 7cf2aec8ede52561b14d590448f221da7a9d57a31b58cd0246b82cf8b1c5927b4cad662613bea15caf078a487a965a9b85eb042d33ad168b201361af8b2f99d4
+MISC metadata.xml 440 BLAKE2B a7588bf48fd3a4be19465dcff8732c9b587833add1c4b65b0ca5d2e69d805ec11bec0401dac16088bda622984ae629abf0230e23e271e4d91c305797d0dc2a8c SHA512 ccc3245e1f025a0b324c2fd165489c98ae46f8cec3d0661030711541b917956595159dd927a6b955e4d504ca3471e751eeb1c4e3a2f167aa35c5c064b006c41c
diff --git a/games-engines/love/love-11.5.ebuild b/games-engines/love/love-11.5.ebuild
new file mode 100644
index 000000000000..f620f97c1f51
--- /dev/null
+++ b/games-engines/love/love-11.5.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit flag-o-matic lua-single xdg-utils
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/love2d/${PN}.git"
+else
+ SRC_URI="https://github.com/love2d/${PN}/releases/download/${PV}/${P}-linux-src.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="A framework for 2D games in Lua"
+HOMEPAGE="https://love2d.org/"
+
+LICENSE="ZLIB"
+SLOT="0"
+IUSE="gme"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="sys-libs/zlib
+ ${LUA_DEPS}
+ media-libs/freetype
+ media-libs/libmodplug
+ media-libs/libsdl2[joystick,opengl]
+ media-libs/libtheora
+ media-libs/libvorbis
+ media-libs/openal
+ media-sound/mpg123
+ virtual/opengl
+ gme? ( media-libs/game-music-emu )"
+DEPEND="${RDEPEND}"
+
+DOCS=( "readme.md" "changes.txt" )
+
+src_prepare() {
+ default
+ if [[ ${PV} == 9999* ]]; then
+ ./platform/unix/automagic || die
+ fi
+}
+
+src_configure() {
+ # Bug #858719
+ append-flags -fno-strict-aliasing
+
+ local myeconfargs=(
+ $(use_enable gme)
+ --with-lua=$(usex lua_single_target_luajit luajit lua)
+ --with-luaversion=$(ver_cut 1-2 $(lua_get_version))
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}
diff --git a/games-engines/love/metadata.xml b/games-engines/love/metadata.xml
index 300455c21e7d..e3aef72b5ad7 100644
--- a/games-engines/love/metadata.xml
+++ b/games-engines/love/metadata.xml
@@ -5,6 +5,9 @@
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">love2d/love</remote-id>
+ </upstream>
<use>
<flag name="gme">Use <pkg>media-libs/game-music-emu</pkg> to support additional music formats</flag>
</use>