summaryrefslogtreecommitdiff
path: root/dev-games
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/Manifest.gzbin6260 -> 6258 bytes
-rw-r--r--dev-games/cegui/Manifest1
-rw-r--r--dev-games/cegui/cegui-0.8.7-r100.ebuild126
-rw-r--r--dev-games/openscenegraph-openmw/Manifest2
-rw-r--r--dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild2
-rw-r--r--dev-games/openscenegraph/Manifest4
-rw-r--r--dev-games/openscenegraph/openscenegraph-3.6.4.ebuild2
-rw-r--r--dev-games/openscenegraph/openscenegraph-3.6.5-r1.ebuild2
-rw-r--r--dev-games/tiled/Manifest2
-rw-r--r--dev-games/tiled/files/tiled-1.4.3-python-38.patch14
-rw-r--r--dev-games/tiled/tiled-1.4.3-r1.ebuild73
11 files changed, 222 insertions, 6 deletions
diff --git a/dev-games/Manifest.gz b/dev-games/Manifest.gz
index 75c2840586d0..3735e23cd635 100644
--- a/dev-games/Manifest.gz
+++ b/dev-games/Manifest.gz
Binary files differ
diff --git a/dev-games/cegui/Manifest b/dev-games/cegui/Manifest
index 6dcb2c2999c0..16dae9f14954 100644
--- a/dev-games/cegui/Manifest
+++ b/dev-games/cegui/Manifest
@@ -3,4 +3,5 @@ AUX cegui-0.8.7-musl.patch 2017 BLAKE2B a7735ce19c17505be2ba1da5c0aa8fde00ed6cca
AUX cegui-0.8.7-python3.patch 1045 BLAKE2B 702c30e85d08e117888d56adaf2c131f9c6410916f08b03ac66efd69230e14b53ee05975e04489f3526fba964a372b340b86acf5a31dda36ddbab40d7f65d944 SHA512 9870e996697775938ca9ba6708dc93d5e59e8a640dd2542c1e8cc8b903ebd1738b11e733f2e9d012f932558a6f77ee8014f0d98133252e2cee2025e664a38e61
DIST cegui-0.8.7.tar.bz2 18114465 BLAKE2B cf0a4867f0e32c6a6b585821c915dc1fbd532e0f95effe28f6d3e4f1a2bccd23f47c7c33a3115befdf8b3f094d49a5af042d28c1e1fbb88e7c7f6da7f3fa173b SHA512 271ff2a1e19f46c7d40cbc210bc665666e45b56cd0efea460db4d08df134d929337846eaf923db1b915597965aab27ad39512d6567cc63ef883555cbff542e56
EBUILD cegui-0.8.7-r1.ebuild 3218 BLAKE2B dd05fabf6a65d69c1752077df3cab2e951db311931324e88b0437992c1e3b20b96779d6b4eff9c44eff4888a587931a697f975d12186918cc8d8165678e753ff SHA512 bf51d3acdbb65d3f96154bb4b0ec0b958a2d3c4a02b825729506e9e7d649685a7b8daf8d9cdc0ec255baea8e081a82c76ffae985867bcf8c10a631fd5365df8a
+EBUILD cegui-0.8.7-r100.ebuild 3333 BLAKE2B fb413b80a0341228b6c38ae78ffbcd5e81ab009c9de5596bd585c001b217d5c397006275904ad74180bb4d8518e3eeda2033d0b27033fc02c4da9d9677c60688 SHA512 c88db516a7fdcc587aa78f917d47ad3dcd7af9ec374cf705c2ee5f8a808164f745d82698c4f69e1925393184d4b317e432446516c632092d999d15b8c0412fd1
MISC metadata.xml 803 BLAKE2B da9534a051925be6cd6d285ce3335c65ba799481840f95aadedb2f81f7a06e05253e8949bf77e7626635437bc5ad5b91af11d6aa452f3524669efdd6216b3bd6 SHA512 47d0eeed54ab5b192051b976a5e1a9790c9e0321753cdc8da73fda4131ac30e40fb57f418418ea7b2bbb30041f76def1a79803d699962488ea4dc1dad50c4996
diff --git a/dev-games/cegui/cegui-0.8.7-r100.ebuild b/dev-games/cegui/cegui-0.8.7-r100.ebuild
new file mode 100644
index 000000000000..7c84fecbec66
--- /dev/null
+++ b/dev-games/cegui/cegui-0.8.7-r100.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# TODO: multiple ABI?
+LUA_COMPAT=( lua5-1 )
+PYTHON_COMPAT=( python3_8 )
+inherit flag-o-matic cmake lua-single python-single-r1
+
+DESCRIPTION="Crazy Eddie's GUI System"
+HOMEPAGE="http://www.cegui.org.uk/"
+SRC_URI="mirror://sourceforge/crayzedsgui/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bidi debug devil doc freeimage expat irrlicht lua ogre opengl pcre python static-libs tinyxml truetype xerces-c +xml zip"
+REQUIRED_USE="|| ( expat tinyxml xerces-c xml )
+ lua? ( ${LUA_REQUIRED_USE} )
+ python? ( ${PYTHON_REQUIRED_USE} )" # bug 362223
+
+# gles broken
+# gles? ( media-libs/mesa[gles1] )
+# directfb broken
+# directfb? ( dev-libs/DirectFB )
+RDEPEND="
+ dev-libs/boost:=
+ virtual/libiconv
+ bidi? ( dev-libs/fribidi )
+ devil? ( media-libs/devil )
+ expat? ( dev-libs/expat )
+ freeimage? ( media-libs/freeimage )
+ irrlicht? ( dev-games/irrlicht )
+ lua? (
+ ${LUA_DEPS}
+ dev-lua/toluapp[${LUA_SINGLE_USEDEP}]
+ )
+ ogre? ( >=dev-games/ogre-1.7:= )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ media-libs/glew:=
+ )
+ pcre? ( dev-libs/libpcre )
+ python? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-libs/boost:=[python,${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ tinyxml? ( dev-libs/tinyxml )
+ truetype? ( media-libs/freetype:2 )
+ xerces-c? ( dev-libs/xerces-c )
+ xml? ( dev-libs/libxml2:2 )
+ zip? ( sys-libs/zlib[minizip] )"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ opengl? ( media-libs/glm )"
+
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-icu-59.patch
+ "${FILESDIR}"/${P}-python3.patch
+ "${FILESDIR}"/${P}-musl.patch
+)
+
+pkg_setup() {
+ use lua && lua-single_pkg_setup
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ # http://www.cegui.org.uk/mantis/view.php?id=991
+ append-ldflags $(no-as-needed)
+
+ local mycmakeargs=(
+ -DCEGUI_BUILD_IMAGECODEC_CORONA=OFF
+ -DCEGUI_BUILD_IMAGECODEC_DEVIL=$(usex devil)
+ -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=$(usex freeimage)
+ -DCEGUI_BUILD_IMAGECODEC_PVR=OFF
+ -DCEGUI_BUILD_IMAGECODEC_SILLY=OFF
+ -DCEGUI_BUILD_IMAGECODEC_STB=ON
+ -DCEGUI_BUILD_IMAGECODEC_TGA=ON
+ -DCEGUI_BUILD_LUA_GENERATOR=$(usex lua)
+ -DCEGUI_BUILD_LUA_MODULE=$(usex lua)
+ -DCEGUI_BUILD_PYTHON_MODULES=$(usex python)
+ -DCEGUI_BUILD_RENDERER_DIRECTFB=OFF
+ -DCEGUI_BUILD_RENDERER_IRRLICHT=$(usex irrlicht)
+ -DCEGUI_BUILD_RENDERER_NULL=ON
+ -DCEGUI_BUILD_RENDERER_OGRE=$(usex ogre)
+ -DCEGUI_BUILD_RENDERER_OPENGL=$(usex opengl)
+ -DCEGUI_BUILD_RENDERER_OPENGL3=$(usex opengl)
+ -DCEGUI_BUILD_RENDERER_OPENGLES=OFF
+ -DCEGUI_BUILD_STATIC_CONFIGURATION=$(usex static-libs)
+ -DCEGUI_BUILD_TESTS=OFF
+ -DCEGUI_BUILD_XMLPARSER_EXPAT=$(usex expat)
+ -DCEGUI_BUILD_XMLPARSER_LIBXML2=$(usex xml)
+ -DCEGUI_BUILD_XMLPARSER_RAPIDXML=OFF
+ -DCEGUI_BUILD_XMLPARSER_TINYXML=$(usex tinyxml)
+ -DCEGUI_BUILD_XMLPARSER_XERCES=$(usex xerces-c)
+ -DCEGUI_HAS_FREETYPE=$(usex truetype)
+ -DCEGUI_HAS_MINIZIP_RESOURCE_PROVIDER=$(usex zip)
+ -DCEGUI_HAS_PCRE_REGEX=$(usex pcre)
+ -DCEGUI_SAMPLES_ENABLED=OFF
+ -DCEGUI_USE_FRIBIDI=$(usex bidi)
+ -DCEGUI_USE_MINIBIDI=OFF
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile all $(usex doc html "")
+}
+
+src_install() {
+ cmake_src_install
+ docinto html
+ use doc && dodoc -r "${BUILD_DIR}"/doc/doxygen/html/*
+}
diff --git a/dev-games/openscenegraph-openmw/Manifest b/dev-games/openscenegraph-openmw/Manifest
index 50ac8a452f80..5abfabc233c9 100644
--- a/dev-games/openscenegraph-openmw/Manifest
+++ b/dev-games/openscenegraph-openmw/Manifest
@@ -3,5 +3,5 @@ AUX openscenegraph-3.5.1-jpeg-9.patch 1211 BLAKE2B 7fedf10332a13270a489c5d2e6629
AUX openscenegraph-3.6.3-docdir.patch 2991 BLAKE2B 9d2d3bab0d8956f66b4b23a112dbd42cbf6dc60b8f423d71f1082700d19a04867232597fadd14a60c77a0add9e60b5ffb4a0db6811dd26d854afb04d208cf716 SHA512 fd1294e441007b488186dbd944c82d1f960f7a898bcc093d0a5edfb936c727f18ad289be8dec8cfa4fbba80965bb7992b6d3a4e2c0f690a7736c05cda49a2bea
DIST openscenegraph-openmw-3.4_p20200425.tar.gz 5698786 BLAKE2B 43684fa898912434dae9a7b41070a893c407dceba7e468a3f3dede32e24aea55d921098faf8d9d05708d2ef01a3507b2f126939dc13b8693002a0bec189bbaf7 SHA512 9bb4d2a6ca4694ee22a29508b74a095a483584ea801dc8298ec8a9b41c4d4fe18c52a21849ae9ec1065060479dcad5156227f82feed13c177415662ecba1da70
EBUILD openscenegraph-openmw-3.4_p20200425-r100.ebuild 4316 BLAKE2B c5d475494f271839ad50da59caf9b9f07d5144841d64741fc4266b2f1b5eba1aca98ba8ad954a41e99bd01fefdbeb3d93b21fc7f78e0b45da75b9825314a08e4 SHA512 171d766ff3083009f2abe54a55a580d77e56f117072dd78e76f7a81c90d671387a54716ef45ff0923379bccc8ef540275fd99b7636ce936a284bf2c19a166332
-EBUILD openscenegraph-openmw-3.4_p20200425.ebuild 4066 BLAKE2B 0580b24b98c4d2a85d7c28feac3a57cf60159c479891b0533c00bced734962018a849683ebf587c8088f0cc3b23f55cd0cf8caea022e273fc157c1542ad8b1d4 SHA512 d45b664b2fef01d26de6011e90d0e91df889dafa30311954f451bd0d602012740275109f41456085637b1af0d95ef96d6f2aeb41eae443335de1c673b1d78597
+EBUILD openscenegraph-openmw-3.4_p20200425.ebuild 4067 BLAKE2B 3c61a5c3eb1b0929c774d4d39317ec8ae0a5901cff5757b8f266a1fe8166b99da72d515d6d5ce4e6eaf69be0f52a7e9086e9f4cbd1fdba0ebd4141f314e4d5c0 SHA512 9c2be14d5055410290af536dcaa69c1b278e010c79dd4bdc3a4a78c4640a82b8293d4dcb2576a0498598c3f6cac624e77c92988b4b00a42ec53fb1ee43f4a75e
MISC metadata.xml 1660 BLAKE2B 57921674c11a78f14a142bfccea979751b718ceab534358265394801abfa2d7193c5024d8336c6748cef561761d2bb9287e9a30239e524e241724a27a98661f1 SHA512 ace5614136e12a0d7deaa1feb6c83673b01aa2477663baf553cf90230877174a5a06358c2e1abab132a18479a59286344051d9a7afecca478525add69a99f356
diff --git a/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild b/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild
index fe26f799c8c5..42fc8ce26dc5 100644
--- a/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild
+++ b/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild
@@ -53,7 +53,7 @@ RDEPEND="
media-libs/gst-plugins-base:1.0
)
jpeg? ( virtual/jpeg:0 )
- lua? ( >=dev-lang/lua-5.1.5:* )
+ lua? ( >=dev-lang/lua-5.1.5:0= )
openexr? (
media-libs/ilmbase:=
media-libs/openexr:=
diff --git a/dev-games/openscenegraph/Manifest b/dev-games/openscenegraph/Manifest
index 22422abb3bfa..1264ca296557 100644
--- a/dev-games/openscenegraph/Manifest
+++ b/dev-games/openscenegraph/Manifest
@@ -3,6 +3,6 @@ AUX openscenegraph-3.6.3-docdir.patch 2991 BLAKE2B 9d2d3bab0d8956f66b4b23a112dbd
AUX openscenegraph-3.6.5-use_boost_asio.patch 9659 BLAKE2B b4ee11d6a69367e47b8a0f4fb9af81fafdf59d5358caaa0f096e0fd1d3ef08c88c1b52a43b32db2c79fceb0aca888c2dca64d90409de5249d0eab8cf5e659792 SHA512 2cd9454b13428811aac5e9a9d167265479b9368deac0e1676ccc51292f74740b9f26ab82d0f4ba074dcb454c3958bfaa8cc1a783bd6abd6161b2d9cea849ec03
DIST OpenSceneGraph-3.6.4.tar.gz 5771539 BLAKE2B 3f608566ed8bd927f30c18ab25147826a40655bfa0eca2b0765f775d1fca53c090b77c9963b392bb73b405150f64f1b3bdc57ac6ef59de7f88bf9fd208b2ff6e SHA512 7cb34fc279ba62a7d7177d3f065f845c28255688bd29026ffb305346e1bb2e515a22144df233e8a7246ed392044ee3e8b74e51bf655282d33ab27dcaf12f4b19
DIST OpenSceneGraph-3.6.5.tar.gz 5780762 BLAKE2B 31ebeeae94eb6aff043788313946d5c08886f97d97cd5796e600918e137ef7f06839206b79b2f5649aac7f34037d4d79e18a5638152e150de931b7f7a7d3c38b SHA512 7002fa30a3bcf6551d2e1050b4ca75a3736013fd190e4f50953717406864da1952deb09f530bc8c5ddf6e4b90204baec7dbc283f497829846d46d561f66feb4b
-EBUILD openscenegraph-3.6.4.ebuild 4084 BLAKE2B 1cdcd148184400626cace2503ca2d0606584c35f945dd510fd5a3588dc14f002b15bb3bbad765af147a3d520ff25cbf6b858f043e4b9741043110c798aef1e3a SHA512 662490b464497b06b3b210327244c71b820dc20502ff1b7f32d0effe788de74d325935860f84a4f32f04de62cf24e2f241cacbe0da6e92f306050bb3e975135b
-EBUILD openscenegraph-3.6.5-r1.ebuild 4007 BLAKE2B 1078a301063691466d290619b28f665e9e85b4df967de6317e414029065a35feb7c98dbcfa29414f3d18ec2b15df436414f89ec9bb7daf3b93fd5e4dc89a7829 SHA512 66faa450a1d508312ddc03ffd3ca5c4eb038206c7c98945a2d09b2abc0095bf3aad01e56125b6f8ca25c31aad63bb93d31751dde06af8534990273af02271501
+EBUILD openscenegraph-3.6.4.ebuild 4085 BLAKE2B b3f1ee722bb06cdd03cd1da9a4b316449b7ba53a58701c4b03407b3f740ebe3e17b30d9a94c4daf53b5ebf8e3fae08d1a4b83503bc9a7eeb7352a6784d7dc256 SHA512 a9c2c6c0f2cbe41a1f6c8793ddf362e7b831edf28ac2ef02fdf573883b8d53d9e057df71e8d047e9a0be25ae7eec7ed81425c6365df25ba4f671d28d6822322b
+EBUILD openscenegraph-3.6.5-r1.ebuild 4008 BLAKE2B 16bf125eaa67e3c737b76b55ee716562f2411d7e1b3cc0576ef5262e61d6e760377583be0c60aaec47936599c39e382d3764716087cd35456191c7f3a168d610 SHA512 d624c2bcf360f23bda06173aa68eab6a45a82efb22990d9dee9137017648aa72212be18939fd6c8021413b70713cc1d175771faed7ca281b8e6141413de4b402
MISC metadata.xml 1853 BLAKE2B 038f64d567fb10f67d1b004d704ed6cc43e95bd5396f10b486e98e95dfb61bb21c15081044c07faa95397f7f57220e7575113507f5a3d0eff256a06b6b791b18 SHA512 1fb1aa5e600d15060f84e68748b8c86266788f859f847a6789896aad1129b88e546f631fc38532d5c4f95d1eeec6195a8eb7137c45701cb4b84e0e72ce234f99
diff --git a/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild b/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild
index 14ae3e9ed18a..3d55a64b0147 100644
--- a/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild
+++ b/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild
@@ -51,7 +51,7 @@ RDEPEND="
)
jpeg? ( virtual/jpeg:0 )
las? ( >=sci-geosciences/liblas-1.8.0 )
- lua? ( >=dev-lang/lua-5.1.5:* )
+ lua? ( >=dev-lang/lua-5.1.5:0= )
openexr? (
media-libs/ilmbase:=
media-libs/openexr:=
diff --git a/dev-games/openscenegraph/openscenegraph-3.6.5-r1.ebuild b/dev-games/openscenegraph/openscenegraph-3.6.5-r1.ebuild
index 66084018cb7c..9c7feb6d7c83 100644
--- a/dev-games/openscenegraph/openscenegraph-3.6.5-r1.ebuild
+++ b/dev-games/openscenegraph/openscenegraph-3.6.5-r1.ebuild
@@ -50,7 +50,7 @@ RDEPEND="
)
jpeg? ( virtual/jpeg:0 )
las? ( >=sci-geosciences/liblas-1.8.0 )
- lua? ( >=dev-lang/lua-5.1.5:* )
+ lua? ( >=dev-lang/lua-5.1.5:0= )
openexr? (
media-libs/ilmbase:=
media-libs/openexr:=
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest
index cb227d99c081..6afd7c5ed136 100644
--- a/dev-games/tiled/Manifest
+++ b/dev-games/tiled/Manifest
@@ -1,5 +1,7 @@
+AUX tiled-1.4.3-python-38.patch 479 BLAKE2B ec7a36fbaddb9cd5b954285e25cd02e1c169e9fce4bb51dcdde528c60849086d4a0cf1bd706b909f2fd87be8174faf0f3488317fb05ed4c801dfffdda9af94f2 SHA512 6694d4bd8d79f5575e1b95fc5aa5b832e2193ff9475ea4e624db12f8305eac5b1a20cac4549ae1924e803ee6f5e9ab7835496c02a66c1e7f834671ada8549ebd
DIST tiled-1.4.2.tar.gz 17806729 BLAKE2B 9f9e6b97c6d95b1f8a1ad6da3540aaf9310a705b412005752afe72c3ce8e35025559ed0e7aaf36a1d65284c29d8406bdc58121f6c13bb658ff84ff43fde7f403 SHA512 1fddd8c8d67e4eaf116c82e276b0941e6dae7c529f2132e49da77d7e215fc7106d5fd3ef55d118f799153b57340effcf2481a131a436be7f00f61c4fc4bd45d2
DIST tiled-1.4.3.tar.gz 17806808 BLAKE2B 81b5a32cc1e6f5f3b4af5520752d34572f0e78aad90df435d075b53ac18b39961aa22d23cff614cd83f0883fd2fd2bca69026160cb8b1b727fddaeff5764babe SHA512 1e75e323733e05563bf542364778d95f2f22484ec0d85b4a9e7fac782c117934b37b049724979be5c83de86a3900c7ca2e9f3c5a660c530d2ecd0f023eb22c2e
EBUILD tiled-1.4.2.ebuild 1371 BLAKE2B f617f685c1798996af236f5de5323c50ee7d179a5003b0b53b66a8c6e5de310958c39feeaa4cb17db26aa00c5bbda62b2cc0a1ab69bbf2c3dd4f25ed81aa716d SHA512 ec75cea172395dd2bf0a76728950dc1888ebe1b5e37048bf213a7bedbf2183e5be0472992bf533de22c6bf3039254e18979ef431cb61fe3eb59a4063177feac1
+EBUILD tiled-1.4.3-r1.ebuild 1452 BLAKE2B 1aa12b44b088f964216be058bca1fbad703a80d3f1bc2d799184417a4c93fbbf1c94fd42ab4121e96a7d60aebd0c3e6801e001a6595dc88651a2d15b88583267 SHA512 788e52cb3288ebf213b83de1568f3bbbe4147a714d5a8714bc50f50ca0824c79a241cf64df3f86b6a0105e89f1f58a6936da81c7d5467f86659f7df0810d8389
EBUILD tiled-1.4.3.ebuild 1372 BLAKE2B 06303c0bf6943dbdbd0d450e00bc81897b999d445a40934b582bfd5a4199d91a7de96d2c634d13749fa895533d59c32b69194facc723090a93ab166fc536c4ad SHA512 fa8137e781cb3334dd2f1f9d98b29c684d192444c13207e6880411f32622e7db7dd5699f2e48b46fc701212e7efad951d21ecf64a913f5f7e14e9dde6b6f78bf
MISC metadata.xml 297 BLAKE2B aaa357a6b59433dc43e1d4c13d13e700e56bb2cb54806defc8defb0880abe067ada43f24a0ca5e02e0acf2be8d294a907d066599cabc1873881092d2fd86fe38 SHA512 0875fcc01853efe23097a84f854432b8450ef0419a6329a813dc0e3d4eee46943ed7e80ff2df52700c822bba60cf56f2dbdac99a54cb2a3f58bf18db0baea069
diff --git a/dev-games/tiled/files/tiled-1.4.3-python-38.patch b/dev-games/tiled/files/tiled-1.4.3-python-38.patch
new file mode 100644
index 000000000000..5515fa8fff2f
--- /dev/null
+++ b/dev-games/tiled/files/tiled-1.4.3-python-38.patch
@@ -0,0 +1,14 @@
+--- a/src/plugins/python/find_python.pri
++++ b/src/plugins/python/find_python.pri
+@@ -1,6 +1,10 @@
+ !contains(DISABLE_PYTHON_PLUGIN, yes) {
+ unix {
+- packagesExist(python3) {
++ packagesExist(python3-embed) {
++ HAVE_PYTHON = yes
++ CONFIG += link_pkgconfig
++ PKGCONFIG += python3-embed
++ } else:packagesExist(python3) {
+ HAVE_PYTHON = yes
+ CONFIG += link_pkgconfig
+ PKGCONFIG += python3
diff --git a/dev-games/tiled/tiled-1.4.3-r1.ebuild b/dev-games/tiled/tiled-1.4.3-r1.ebuild
new file mode 100644
index 000000000000..0a20032a23ba
--- /dev/null
+++ b/dev-games/tiled/tiled-1.4.3-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit python-single-r1 qmake-utils xdg-utils
+
+DESCRIPTION="A general purpose tile map editor"
+HOMEPAGE="https://www.mapeditor.org/"
+SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD BSD-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ app-arch/zstd:=
+ >=dev-qt/qtcore-5.14:5
+ >=dev-qt/qtdeclarative-5.14:5
+ >=dev-qt/qtgui-5.14:5
+ >=dev-qt/qtnetwork-5.14:5
+ >=dev-qt/qtwidgets-5.14:5
+ sys-libs/zlib
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS COPYING NEWS.md README.md )
+PATCHES=( "${FILESDIR}/${P}-python-38.patch" )
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ eqmake5 \
+ LIBDIR="/usr/$(get_libdir)" \
+ PREFIX="/usr" \
+ SYSTEM_ZSTD="yes" \
+ DISABLE_PYTHON_PLUGIN="$(usex !python)" \
+ USE_FHS_PLUGIN_PATH="true"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ einstalldocs
+
+ if use examples ; then
+ docompress -x /usr/share/doc/${PF}/examples
+ dodoc -r examples
+ fi
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}