From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- dev-games/Manifest.gz | Bin 5913 -> 6252 bytes dev-games/flatzebra/Manifest | 2 + dev-games/flatzebra/flatzebra-0.1.7.ebuild | 37 +++++ dev-games/freecell-solver/Manifest | 6 +- .../freecell-solver/freecell-solver-5.22.1.ebuild | 51 ------- .../freecell-solver/freecell-solver-5.24.0.ebuild | 2 +- .../freecell-solver/freecell-solver-6.0.1.ebuild | 52 +++++++ dev-games/hawknl/Manifest | 4 +- dev-games/hawknl/files/hawknl-1.68-build.patch | 59 +++++--- dev-games/hawknl/hawknl-1.68-r2.ebuild | 39 ------ dev-games/hawknl/hawknl-1.68-r3.ebuild | 40 ++++++ dev-games/ogre/Manifest | 2 +- dev-games/ogre/metadata.xml | 8 -- dev-games/openscenegraph-openmw/Manifest | 6 + .../files/openscenegraph-3.4-cmake.patch | 87 ++++++++++++ .../files/openscenegraph-3.5.1-jpeg-9.patch | 34 +++++ .../files/openscenegraph-3.6.3-docdir.patch | 73 ++++++++++ dev-games/openscenegraph-openmw/metadata.xml | 28 ++++ .../openscenegraph-openmw-3.4_p20200425.ebuild | 156 +++++++++++++++++++++ dev-games/openscenegraph/Manifest | 6 +- .../openscenegraph/openscenegraph-3.5.5.ebuild | 2 +- .../openscenegraph/openscenegraph-3.6.4.ebuild | 2 +- .../openscenegraph/openscenegraph-3.6.5.ebuild | 7 +- dev-games/recastnavigation/Manifest | 4 + .../recastnavigation-1.5.1_p20200511-install.patch | 115 +++++++++++++++ dev-games/recastnavigation/metadata.xml | 16 +++ .../recastnavigation-1.5.1_p20200511.ebuild | 33 +++++ dev-games/simgear/Manifest | 6 +- dev-games/simgear/simgear-2019.1.1.ebuild | 72 ---------- dev-games/simgear/simgear-2020.1.2.ebuild | 72 ++++++++++ dev-games/simgear/simgear-9999.ebuild | 8 +- dev-games/tiled/Manifest | 8 +- dev-games/tiled/tiled-1.3.4.ebuild | 63 --------- dev-games/tiled/tiled-1.3.5.ebuild | 63 --------- dev-games/tiled/tiled-1.4.0.ebuild | 63 --------- dev-games/tiled/tiled-1.4.1.ebuild | 4 +- 36 files changed, 821 insertions(+), 409 deletions(-) create mode 100644 dev-games/flatzebra/flatzebra-0.1.7.ebuild delete mode 100644 dev-games/freecell-solver/freecell-solver-5.22.1.ebuild create mode 100644 dev-games/freecell-solver/freecell-solver-6.0.1.ebuild delete mode 100644 dev-games/hawknl/hawknl-1.68-r2.ebuild create mode 100644 dev-games/hawknl/hawknl-1.68-r3.ebuild create mode 100644 dev-games/openscenegraph-openmw/Manifest create mode 100644 dev-games/openscenegraph-openmw/files/openscenegraph-3.4-cmake.patch create mode 100644 dev-games/openscenegraph-openmw/files/openscenegraph-3.5.1-jpeg-9.patch create mode 100644 dev-games/openscenegraph-openmw/files/openscenegraph-3.6.3-docdir.patch create mode 100644 dev-games/openscenegraph-openmw/metadata.xml create mode 100644 dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild create mode 100644 dev-games/recastnavigation/Manifest create mode 100644 dev-games/recastnavigation/files/recastnavigation-1.5.1_p20200511-install.patch create mode 100644 dev-games/recastnavigation/metadata.xml create mode 100644 dev-games/recastnavigation/recastnavigation-1.5.1_p20200511.ebuild delete mode 100644 dev-games/simgear/simgear-2019.1.1.ebuild create mode 100644 dev-games/simgear/simgear-2020.1.2.ebuild delete mode 100644 dev-games/tiled/tiled-1.3.4.ebuild delete mode 100644 dev-games/tiled/tiled-1.3.5.ebuild delete mode 100644 dev-games/tiled/tiled-1.4.0.ebuild (limited to 'dev-games') diff --git a/dev-games/Manifest.gz b/dev-games/Manifest.gz index 9f5c34f1ac29..21417c464d91 100644 Binary files a/dev-games/Manifest.gz and b/dev-games/Manifest.gz differ diff --git a/dev-games/flatzebra/Manifest b/dev-games/flatzebra/Manifest index 35cea4f66a3f..2f688a1abec4 100644 --- a/dev-games/flatzebra/Manifest +++ b/dev-games/flatzebra/Manifest @@ -1,3 +1,5 @@ DIST flatzebra-0.1.6.tar.gz 359098 BLAKE2B 8f17c76ea70013bc916ef062dbbf333abd5d8935f5daabd47a101a3c16c7dfab169b80dc406e6175d2626b6265f9bc009b8a5f7a5d4bf2dc1ed766e632977d5a SHA512 500df95ee23bd2decf1e11be76725733d9219ef06a844f2de337fc11494eeea57e5ab6298cb4235c394216dd75bfb64a4e9f732362ca5ee95c43086b2ca38f75 +DIST flatzebra-0.1.7.tar.gz 375938 BLAKE2B b84ee2a69c02a7fd519de3e709a81026946b107fa1ddf8f4ee24a490ae9993f2ecf6c8509b9e92d1ab4e11e7f41e41effaaa2b32a7d2e679400f02853602a9bb SHA512 12afbb0ef00dfac21654961da8d2101e9b7b0e6550b9e66bfb4da4faf77cc1dfb7f3da15c8b84c19379eb1ff8bac09324acc694f9282b74ae73a7379686f2374 EBUILD flatzebra-0.1.6.ebuild 730 BLAKE2B 5f955df8a7732f7b95b390cd1371dd6019ca0bcd738b03c679b48a0b763feae84f4f0660be74231a3906907ffd61d0dab0eaccd1f4fcead9f9778dafca009998 SHA512 10cf7e3f63c4d95ccc6e599d4b44ce2db6753e825962539f1b55ebb4cbbdf53d7c547d77f18a51f940def6286073c6a001b74caa8bc2e671a0e67faf7e3f8c17 +EBUILD flatzebra-0.1.7.ebuild 767 BLAKE2B eb0751b20783251726a05d50108928cf5487ad33c3e1a7fe68f4779b8f4acb86b9eef2b65b50a1196eb6cfd3ff04a11deb5a0cb3887e8d23a8685d06ca094ea0 SHA512 411bae9503f235286ecf5987696a976e4fe103c0e52ddbefcf0fd167fb4c8a96995b72f7d09d3526745746b3d747dce3aeda86e85234bee6ef8ae8b9ebfc741d MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/dev-games/flatzebra/flatzebra-0.1.7.ebuild b/dev-games/flatzebra/flatzebra-0.1.7.ebuild new file mode 100644 index 000000000000..725e4ddcf45f --- /dev/null +++ b/dev-games/flatzebra/flatzebra-0.1.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Generic game engine for 2D double-buffering animation" +HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/dev/batrachians.html" +SRC_URI="http://perso.b2b2c.ca/~sarrazip/dev/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +RDEPEND="media-libs/libsdl[video] + media-libs/sdl-image + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + sed -i \ + -e '/^doc_DATA =/s/^/NOTHANKS/' \ + Makefile.in || die +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + if ! use static-libs; then + find "${ED}" -type f -name '*.la' -delete || die + fi +} diff --git a/dev-games/freecell-solver/Manifest b/dev-games/freecell-solver/Manifest index 0a0ee84bc330..a2338f80707e 100644 --- a/dev-games/freecell-solver/Manifest +++ b/dev-games/freecell-solver/Manifest @@ -1,6 +1,6 @@ AUX freecell-solver-5.22.1-no-docs.patch 1013 BLAKE2B d766bb4a12e546c7a2e6ccdaf00d234f2d1e9fc874c146e3d8755733915ab2cf58472551f46115347678b92ee6b4d14453f051960f5076932bbb15b8a0337794 SHA512 dbb78cb9f67e2d0d71516d765020c91a074a9984a26b3d5d5baf031a852c4c35efebfd1e331aaa009a2a066bd303c405e60b84be690a1bfe86a94ac832281f2e -DIST freecell-solver-5.22.1.tar.xz 421948 BLAKE2B 173a6bb25110695dfaf590f8339f4728e96ad112788efa73ff05ef311effd48b1e037aaa9ed8446cfe3408012f81bb785e6d7a17d249c95108ca38e2473ee0f7 SHA512 8472ce519168481fcbfa0347d1d86859c7344fe34a58bbef694d22653c02f09e70722bf92e052bda5b3f9bce8cee0f745ac45c9e08712b15c34bb40306f510f6 DIST freecell-solver-5.24.0.tar.xz 422468 BLAKE2B 3fc98a6ba5116bbbdc79c8c09c820b3992fd666c14736fca98b2191c752b5c5a465dcf4ad3fc79ac944d2189647097aad70f99b140e6feff133bae26d4d52411 SHA512 264a7e016a5dbd093f126aab520b36c98c02111a3834ba09646ba527046973163aeefe41449e05d161d1790d2f599c6a3302402442b96b9bd524e97fc4f54b91 -EBUILD freecell-solver-5.22.1.ebuild 1153 BLAKE2B 9c8c6b348e2cd9f3a2fbc8cc523c3496ce4128c4827022a0dad379cd42c3f9e22475f5f80d75a73a4433187bd4c5bbb0802c31b94aaa7a7c7f6c36ca7a8ddb9f SHA512 2922cacd75685d7b88edf1b2044be70e4d6358a640542942fa1388769b4b0f163a292faf2f8ea6e6200119a246aa5028c61705e1ed11e489eb671795a892a54a -EBUILD freecell-solver-5.24.0.ebuild 1164 BLAKE2B bb7a96c10484bfdd9617441f495ada745aaa80140fdd7cb2f8148263723732913a4b84fb237dd8148d48ed6a9594a7437345049834cbb38d1c55fca47395626c SHA512 391789fa94f90d7521689f32573494b9831c64c49729f6bd3139addc7ee7c68cc4975c6c9486fbd799ab1842e417b9d5c56402e9875f165ee8261980d1ed5af4 +DIST freecell-solver-6.0.1.tar.xz 421700 BLAKE2B 1effa1c16c90ca09078728eb698b48c30c3489e2c05ef8163dfba825bc44422ec3897a89d4094bedef42e796d3ebfdfe5b65d2783965458d0c11218eb56cc197 SHA512 4e8a810a6385cb448432a54a0791ed948bacd0e4b8d02dfa1a5aed4544846384c6921ca6322496387daba825930d6f9d9fa01bdc1e3e31094fc9e6d3b0ae78e5 +EBUILD freecell-solver-5.24.0.ebuild 1161 BLAKE2B 73860259237a23fdde5991db845c36125a6a811c3c76ca27e5b5a65af0f2b207c06189f8eef3f365046641799e18d4192d0c80178f063ae19f661586a5120538 SHA512 1dd80ab38e2bba567ef1526a92bf6b924851b762317622ffa0d1a9c4d3c6e010272c39c745ccf447dd39ce231cf2e7e75a59e2c1410320b9f50e70688c2b8233 +EBUILD freecell-solver-6.0.1.ebuild 1172 BLAKE2B 6eeb4e978092b920da519c4d6089c7c769eff82a538332ffa69a69a7076a71afa9410fe2e6fe8b1bc454c87bbfe60b8b9e938b6e028ab96bd75d783fd8dfe173 SHA512 6911385afc8f0e6715e91babf9e211cb5d6bedeb48bac4cdd2c8c63c1ab60dbc4ece191960ee8b4da65dc6236472fabc3e8a0ecc4a629aad290dace09588cb4a MISC metadata.xml 330 BLAKE2B 2d2fad43c972b00253e7740bb472027d4edc54537d6d2564f2804b13c7b02b43a34598bf698255d0f42962b14e207da31cf69f021793d0ae16e198d0a1765e8a SHA512 8e5d4cfa7283a489ea757e3dede6b82334b2ceee2a28a98a8dd3b269a2f8bba02e2f0e6a169712e5ff890dcb7bec2feeedef496143bde90ad587771c87a12726 diff --git a/dev-games/freecell-solver/freecell-solver-5.22.1.ebuild b/dev-games/freecell-solver/freecell-solver-5.22.1.ebuild deleted file mode 100644 index c8e88cfcd6eb..000000000000 --- a/dev-games/freecell-solver/freecell-solver-5.22.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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 cmake python-single-r1 - -DESCRIPTION="C library for automatically solving Freecell and some other solitaire variants" -HOMEPAGE="https://fc-solve.shlomifish.org/" -SRC_URI="https://fc-solve.shlomifish.org/downloads/fc-solve/${P}.tar.xz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="tcmalloc" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/pysol_cards[${PYTHON_MULTI_USEDEP}] - dev-python/random2[${PYTHON_MULTI_USEDEP}] - dev-python/six[${PYTHON_MULTI_USEDEP}] - ') - tcmalloc? ( dev-util/google-perftools ) -" -DEPEND="${RDEPEND} - dev-perl/Path-Tiny - dev-perl/Template-Toolkit -" - -DOCS=( README.html ) - -PATCHES=( "${FILESDIR}/${P}-no-docs.patch" ) - -src_prepare() { - python_fix_shebang board_gen - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBUILD_STATIC_LIBRARY=OFF - -DFCS_BUILD_DOCS=OFF - -DFCS_WITH_TEST_SUITE=OFF #requires unpackaged dependencies - -DFCS_AVOID_TCMALLOC=$(usex !tcmalloc) - ) - - cmake_src_configure -} diff --git a/dev-games/freecell-solver/freecell-solver-5.24.0.ebuild b/dev-games/freecell-solver/freecell-solver-5.24.0.ebuild index 0dd634857799..e2375962e0ee 100644 --- a/dev-games/freecell-solver/freecell-solver-5.24.0.ebuild +++ b/dev-games/freecell-solver/freecell-solver-5.24.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://fc-solve.shlomifish.org/downloads/fc-solve/${P}.tar.xz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="tcmalloc" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-games/freecell-solver/freecell-solver-6.0.1.ebuild b/dev-games/freecell-solver/freecell-solver-6.0.1.ebuild new file mode 100644 index 000000000000..94ebeef52d0e --- /dev/null +++ b/dev-games/freecell-solver/freecell-solver-6.0.1.ebuild @@ -0,0 +1,52 @@ +# 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 cmake python-single-r1 + +DESCRIPTION="C library for automatically solving Freecell and some other solitaire variants" +HOMEPAGE="https://fc-solve.shlomifish.org/" +SRC_URI="https://fc-solve.shlomifish.org/downloads/fc-solve/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tcmalloc" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pysol_cards[${PYTHON_MULTI_USEDEP}] + dev-python/random2[${PYTHON_MULTI_USEDEP}] + dev-python/six[${PYTHON_MULTI_USEDEP}] + ') + tcmalloc? ( dev-util/google-perftools ) +" +DEPEND="${RDEPEND} + dev-perl/Moo + dev-perl/Path-Tiny + dev-perl/Template-Toolkit +" + +DOCS=( README.html ) + +PATCHES=( "${FILESDIR}/${PN}-5.22.1-no-docs.patch" ) + +src_prepare() { + python_fix_shebang board_gen + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC_LIBRARY=OFF + -DFCS_BUILD_DOCS=OFF + -DFCS_WITH_TEST_SUITE=OFF # requires unpackaged dependencies + -DFCS_AVOID_TCMALLOC=$(usex !tcmalloc) + ) + + cmake_src_configure +} diff --git a/dev-games/hawknl/Manifest b/dev-games/hawknl/Manifest index f76c5794d3f5..ab7cc1866c5f 100644 --- a/dev-games/hawknl/Manifest +++ b/dev-games/hawknl/Manifest @@ -1,4 +1,4 @@ -AUX hawknl-1.68-build.patch 1538 BLAKE2B 08f02aee539b5436dbadaadba32336dbaf54d7ec08b4e902d12124c40c97b449e5641ab5b2485d5f7aeb864c8ac410c1720dc2406213f4c676b4f0aa00be7e60 SHA512 c3bce38bd43987dbe2707c7ab0f13f36689f322e15b9ef7c9bba4d39bae30f2f4992593d74ee11a97c0367eabda42e6d3af84f0821062c0f984dbaea0066467a +AUX hawknl-1.68-build.patch 2314 BLAKE2B 572af66b0b0f01cb9034c1b681f11434658ffce7cebaeeff28640db5c903e69a1b43fb4c803b98e154a0cd865d62dc4aace37111b48b9396272d8cec4d494c4a SHA512 4eae14cb6d31ab3f0ed42406657a3f4cb90df254562e5699b9f14380c63f80f2ea9fcbbcc37b105a253e52d5eeecec3afeb1ef588dfd951fd76acb48f2ed717f DIST HawkNL168src.tar.gz 181263 BLAKE2B cbd16d6564782dc2a0a70ba875fbe64968063ac2fc2a4f9cd98f268c221d07e3ca0649cf27a6fcfd7735ed43e3e3adb634c1715f83f6bad2924239f79811cdf3 SHA512 52d518a19aaa8005e2e43a693571244a81a5a4450e2f92e6c0a64efb4b32ebfc3aff5d5b3ed09a3cdbee2e444d83067471ac714d7ae03d8cd78f905364c510f0 -EBUILD hawknl-1.68-r2.ebuild 853 BLAKE2B 95490fab3afc628a0491209a7fcef5962905990aa2185713c7c33592f20ad7fbfbb045c4e6bb5d8e964499f62005d9b58a92d716f14157a9692e576e21cb4f4c SHA512 5749a3bb03b77a857ab79eaf8d65307aa9c12a2bb18319a63dd87d20f63d1dd059aefb3df9ee984c44add2c89cc13d248c3fd83033006be3b7e2a7173e123e27 +EBUILD hawknl-1.68-r3.ebuild 830 BLAKE2B 64def6d0a3aad18642e0c3abbff9dd8f7d52f707ffc10a9628faf5ee560bd7e0f33df89fd6b3ce4a39f83f86cf02d5d4c6002f4a39d5000a02a3ddc8ddb3753b SHA512 7a78aeb97920d657df94addca92699eacdea33c04455fecb598017277d5bdc7dc99678c78fbebfb0aa3b26f8007c999d8a726e217bf58c16c468d45c8822a6d9 MISC metadata.xml 1140 BLAKE2B a7fa35900288b1da3adce095bb122b135d1c9af7eea15b180b6eecbcdc394a7755cc04874bab72e1f88a39b21ac4a9a6070af036bcee2eea03d69af596ba0b0a SHA512 088f17589d2c28f7673b68de696fab59559d1074092b804d72550cfd591094fdaf487250928092cf926e90c7699780145d07c49c1132d472b99a3c6caeec7381 diff --git a/dev-games/hawknl/files/hawknl-1.68-build.patch b/dev-games/hawknl/files/hawknl-1.68-build.patch index d94daaaf6d88..eb07d5cc1798 100644 --- a/dev-games/hawknl/files/hawknl-1.68-build.patch +++ b/dev-games/hawknl/files/hawknl-1.68-build.patch @@ -1,12 +1,39 @@ ---- src/makefile.linux.orig 2005-12-16 22:03:24.000000000 -0500 -+++ src/makefile.linux 2005-12-16 22:04:18.000000000 -0500 -@@ -34,13 +34,14 @@ +--- a/src/makefile.linux ++++ b/src/makefile.linux +@@ -1,6 +1,3 @@ +-CC = gcc +-AR = ar cru +-RANLIB = ranlib + MAJOR_VERSION = 1 + MINOR_VERSION = 6 + PATCH_LEVEL = 8 +@@ -11,15 +8,13 @@ + OUTPUT = libNL.so.$(VERSION) + LIBNAME = NL + STATIC = libNL.a +-OPTFLAGS = -funroll-all-loops -ffast-math -fomit-frame-pointer -O2 -D_GNU_SOURCE -D_REENTRANT +-CFLAGS = -Wall -fPIC $(INCLUDE) $(OPTFLAGS) +-LIBFLAGS = -shared -Wl,-soname,NL.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic -lpthread ++CPPFLAGS += -D_GNU_SOURCE -D_REENTRANT $(INCLUDE) ++CFLAGS += -Wall -fPIC ++LIBFLAGS = -shared -Wl,-soname,libNL.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic -lpthread + OBJECTS = crc.o errorstr.o nl.o sock.o group.o loopback.o err.o thread.o mutex.o condition.o nltime.o + + all: $(OBJECTS) +- $(CC) -o $(OUTPUT) $(OBJECTS) $(LIBFLAGS) $(CFLAGS) +- $(AR) $(STATIC) $(OBJECTS) +- $(RANLIB) $(STATIC) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(OUTPUT) $(OBJECTS) $(LIBFLAGS) + + nl.o : nlinternal.h nl.c + sock.o : nlinternal.h sock.h sock.c +@@ -34,23 +29,14 @@ nltime.o : nlinternal.h nltime.c install: -+ mkdir -p $(LIBDIR) $(INCDIR) ; chmod 755 $(LIBDIR) $(INCDIR) ++ mkdir -p $(LIBDIR) $(INCDIR) ; chmod 755 $(LIBDIR) $(INCDIR) cp $(OUTPUT) $(LIBDIR) - cp $(STATIC) $(LIBDIR) +- cp $(STATIC) $(LIBDIR) chmod 755 $(LIBDIR)/$(OUTPUT) - ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION) - ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION) @@ -15,18 +42,16 @@ + ln -s $(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION) + ln -s $(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION) + ln -s $(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so -+ ln -s $(OUTPUT) $(LIBDIR)/$(LIBNAME).so cp ../include/nl.h $(INCDIR)/nl.h chmod 644 $(INCDIR)/nl.h +- @echo "" +- @echo "*************************************************" +- @echo "* Installed HawkNL. *" +- @echo "* Remember to run /sbin/ldconfig before using *" +- @echo "* the library, you may also want to check that *" +- @echo "* $(LIBDIR) is included in /etc/ld.so.conf *" +- @echo "* You must be root to run ldconfig. *" +- @echo "*************************************************" ---- src/makefile.linux.old 2010-09-10 09:44:53.000000000 +0200 -+++ src/makefile.linux 2010-09-10 09:45:09.000000000 +0200 -@@ -13,7 +13,7 @@ - STATIC = libNL.a - OPTFLAGS = -funroll-all-loops -ffast-math -fomit-frame-pointer -O2 -D_GNU_SOURCE -D_REENTRANT - CFLAGS = -Wall -fPIC $(INCLUDE) $(OPTFLAGS) --LIBFLAGS = -shared -Wl,-soname,NL.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic -lpthread -+LIBFLAGS = ${LDFLAGS} -shared -Wl,-soname,libNL.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic -lpthread - OBJECTS = crc.o errorstr.o nl.o sock.o group.o loopback.o err.o thread.o mutex.o condition.o nltime.o - - all: $(OBJECTS) + uninstall: + rm -f $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION) diff --git a/dev-games/hawknl/hawknl-1.68-r2.ebuild b/dev-games/hawknl/hawknl-1.68-r2.ebuild deleted file mode 100644 index ff46abad3e7a..000000000000 --- a/dev-games/hawknl/hawknl-1.68-r2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit toolchain-funcs eutils multilib - -DESCRIPTION="A cross-platform network library designed for games" -HOMEPAGE="http://www.hawksoft.com/hawknl/" -SRC_URI="http://www.sonic.net/~philf/download/HawkNL${PV/./}src.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 hppa x86" -IUSE="doc" - -RDEPEND="" -DEPEND="" - -S=${WORKDIR}/hawknl${PV} - -src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch - sed -i\ -e '/echo /d' src/makefile.linux || die -} - -src_compile() { - emake -C src -f makefile.linux \ - CC="$(tc-getCC)" \ - OPTFLAGS="${CFLAGS} -D_GNU_SOURCE -D_REENTRANT" -} - -src_install() { - emake -j1 -C src -f makefile.linux \ - LIBDIR="${D}/usr/$(get_libdir)" \ - INCDIR="${D}/usr/include" install - if use doc ; then - dodoc -r samples - fi -} diff --git a/dev-games/hawknl/hawknl-1.68-r3.ebuild b/dev-games/hawknl/hawknl-1.68-r3.ebuild new file mode 100644 index 000000000000..1263783a20ec --- /dev/null +++ b/dev-games/hawknl/hawknl-1.68-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A cross-platform network library designed for games" +HOMEPAGE="http://www.hawksoft.com/hawknl/" +SRC_URI="http://www.sonic.net/~philf/download/HawkNL${PV/./}src.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 hppa x86" +IUSE="examples" + +S="${WORKDIR}/${PN}${PV}" + +PATCHES=( "${FILESDIR}"/${P}-build.patch ) + +src_configure() { + tc-export CC +} + +src_compile() { + emake -C src -f makefile.linux +} + +src_install() { + emake -j1 -C src -f makefile.linux \ + LIBDIR="${ED}"/usr/$(get_libdir) \ + INCDIR="${ED}"/usr/include install + + dodoc src/{nlchanges.txt,readme.txt} + if use examples; then + docinto examples + dodoc -r samples/. + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-games/ogre/Manifest b/dev-games/ogre/Manifest index 8e8e82a48357..8722cae855b4 100644 --- a/dev-games/ogre/Manifest +++ b/dev-games/ogre/Manifest @@ -17,4 +17,4 @@ EBUILD ogre-1.12.4.ebuild 5518 BLAKE2B 84b7d5a2e8b10ae7d063d36a930196ca01d9e99a0 EBUILD ogre-1.9.0-r1.ebuild 3791 BLAKE2B cea064e4607e7892d2af6a375b4a7b6845ca27490b0bff72a08beb898d5ff62eff0777f407f5038771bc9181e822a8bc3c825cae9fb59a5aebbe0e20d09b83e9 SHA512 16839c39f7295f039fb59fd2e7422e0e9545070e0cf33b393c7eacdb57e9b84afa8238415f043dc25f7b2eaa20e38f63fc152e63c3e0d1dbf68cdb00bee35c23 EBUILD ogre-1.9.0-r2.ebuild 3589 BLAKE2B c52ab761a94ebb2d5e6c8ac232d4071d1062b172d849fab6c6e4a55c21f27100899ee53d2ec9f36f9f78b20540d0b98e1c301d47c91db10a645ecfa045f4710a SHA512 32079693e35a493a3b6f093c1ca17f8602cde92a0dbaef82862258a12e3b92fe12ec4d4a55a59601065a9a5a5a1370e8b2d32983f62d7687338e52dcafba767a EBUILD ogre-2.1_pre20191212.ebuild 5255 BLAKE2B bfbd657263121a8ecaa9809d3aa5f537b79ef4469d8cb939c25b3f85df1b04f5a97251e8ea650a42dbd25189717e033fd3229a0947fa4a87a4c47bacb9b95c94 SHA512 d536e0b44787db04e49e34c37ec8645304a7495e605324ff06cfce6a019000c3a27fde4697f1abc748d4e133075cab60c796c5a8a9f28f2e41ebf2f8a7b3bafd -MISC metadata.xml 6684 BLAKE2B f5355343249d73a92b7173628b45de63c10e210364b7621360e6778906cea444e5d4b2ddb4d30f0d76cbd3c87149c0471cc28bdf3ab283fa51f97415c7f1d188 SHA512 283888d262306fcec97059a8fe3aef74ceb1f67f03af5deae6a4477a296b4d8713a6e17184198e4e9cb36cd791a8cb160e860bc81bd9bc2319682ad25ef54880 +MISC metadata.xml 6451 BLAKE2B dc2f1adf01141b6822e59ce0db1869c3daadeb3aff3213f00cb47ad395f6348d975147c95db25e6f4d8228ffa032409f42edd086853252fdfe51e1716f227840 SHA512 947ab8607fe112318f65acb848c9615aa1afbcb58562166c6b982f13b87598be6d00366d039112bad4b9eeecd7b37824967dc057efeb3272e5aaec6276372521 diff --git a/dev-games/ogre/metadata.xml b/dev-games/ogre/metadata.xml index 0821402dc0e5..6d7e9fc14ebf 100644 --- a/dev-games/ogre/metadata.xml +++ b/dev-games/ogre/metadata.xml @@ -1,14 +1,6 @@ - - yamakuzure@gmx.net - Sven Eden - - - proxy-maint@gentoo.org - Proxy Maintainers - games@gentoo.org Gentoo Games Project diff --git a/dev-games/openscenegraph-openmw/Manifest b/dev-games/openscenegraph-openmw/Manifest new file mode 100644 index 000000000000..e2b37bd1fcf3 --- /dev/null +++ b/dev-games/openscenegraph-openmw/Manifest @@ -0,0 +1,6 @@ +AUX openscenegraph-3.4-cmake.patch 4485 BLAKE2B 3d63d45b7af01dc4153c03edb828a609a0877e30a8aee9a36fbf69b171df04fac5945e69f91c5e107b55b3c771c5dbcba721f607fcb5a73e1c14dd5351854f22 SHA512 e0dd21ecbf92dec251bc40680106adea4c309badafef408473397b8078e20cd7fbd1d9cb1b1912466ded4156275cd5a1fc1e86caa2471670938e3d39c0c84a97 +AUX openscenegraph-3.5.1-jpeg-9.patch 1211 BLAKE2B 7fedf10332a13270a489c5d2e662947ca84659ad5abc43190d0415212b083b72933b01f84caed161d457490587c8236e38e070e734c649c44b0d67fdc7399a2d SHA512 404439415f8ff6881a90be44281e4a811f018c3e82c2981d076a106e63a3c44fd769867496b8f8a7d53669ba660ab9076a6ccab31e921e9abab65d2ba652b5cc +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.ebuild 4066 BLAKE2B 0580b24b98c4d2a85d7c28feac3a57cf60159c479891b0533c00bced734962018a849683ebf587c8088f0cc3b23f55cd0cf8caea022e273fc157c1542ad8b1d4 SHA512 d45b664b2fef01d26de6011e90d0e91df889dafa30311954f451bd0d602012740275109f41456085637b1af0d95ef96d6f2aeb41eae443335de1c673b1d78597 +MISC metadata.xml 1660 BLAKE2B 57921674c11a78f14a142bfccea979751b718ceab534358265394801abfa2d7193c5024d8336c6748cef561761d2bb9287e9a30239e524e241724a27a98661f1 SHA512 ace5614136e12a0d7deaa1feb6c83673b01aa2477663baf553cf90230877174a5a06358c2e1abab132a18479a59286344051d9a7afecca478525add69a99f356 diff --git a/dev-games/openscenegraph-openmw/files/openscenegraph-3.4-cmake.patch b/dev-games/openscenegraph-openmw/files/openscenegraph-3.4-cmake.patch new file mode 100644 index 000000000000..85eff1ab7907 --- /dev/null +++ b/dev-games/openscenegraph-openmw/files/openscenegraph-3.4-cmake.patch @@ -0,0 +1,87 @@ +--- OpenSceneGraph-3.4.0/CMakeLists.txt ++++ OpenSceneGraph-3.4.0/CMakeLists.txt +@@ -76,6 +76,7 @@ + SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE) + ENDIF(NOT CMAKE_BUILD_TYPE) + ++INCLUDE(MacroOptionalFindPackage) + + IF(ANDROID) + INCLUDE(OsgAndroidMacroUtils)--- OpenSceneGraph-3.4.0/CMakeModules/COPYING-CMAKE-SCRIPTS ++++ OpenSceneGraph-3.4.0/CMakeModules/COPYING-CMAKE-SCRIPTS +@@ -0,0 +1,22 @@ ++Redistribution and use in source and binary forms, with or without ++modification, are permitted provided that the following conditions ++are met: ++ ++1. Redistributions of source code must retain the copyright ++ notice, this list of conditions and the following disclaimer. ++2. Redistributions in binary form must reproduce the copyright ++ notice, this list of conditions and the following disclaimer in the ++ documentation and/or other materials provided with the distribution. ++3. The name of the author may not be used to endorse or promote products ++ derived from this software without specific prior written permission. ++ ++THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR ++IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ++OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ++IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, ++INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ++NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ++DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ++THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ++THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--- OpenSceneGraph-3.4.0/CMakeModules/MacroOptionalFindPackage.cmake ++++ OpenSceneGraph-3.4.0/CMakeModules/MacroOptionalFindPackage.cmake +@@ -0,0 +1,28 @@ ++# - MACRO_OPTIONAL_FIND_PACKAGE() combines FIND_PACKAGE() with an OPTION() ++# MACRO_OPTIONAL_FIND_PACKAGE( [QUIT] ) ++# This macro is a combination of OPTION() and FIND_PACKAGE(), it ++# works like FIND_PACKAGE(), but additionally it automatically creates ++# an option name WITH_, which can be disabled via the cmake GUI. ++# or via -DWITH_=OFF ++# The standard _FOUND variables can be used in the same way ++# as when using the normal FIND_PACKAGE() ++ ++# Copyright (c) 2006, Alexander Neundorf, ++# ++# Redistribution and use is allowed according to the terms of the BSD license. ++# For details see the accompanying COPYING-CMAKE-SCRIPTS file. ++ ++ ++macro (MACRO_OPTIONAL_FIND_PACKAGE _name ) ++ option(WITH_${_name} "Search for ${_name} package" ON) ++ if (WITH_${_name}) ++ find_package(${_name} ${ARGN}) ++ else (WITH_${_name}) ++ set(${_name}_FOUND) ++ set(${_name}_INCLUDE_DIR) ++ set(${_name}_INCLUDES) ++ set(${_name}_LIBRARY) ++ set(${_name}_LIBRARIES) ++ endif (WITH_${_name}) ++endmacro (MACRO_OPTIONAL_FIND_PACKAGE) ++ +--- OpenSceneGraph-3.5.5/CMakeModules/OsgMacroUtils.cmake ++++ OpenSceneGraph-3.5.5/CMakeModules/OsgMacroUtils.cmake +@@ -463,7 +463,7 @@ MACRO(SETUP_EXAMPLE EXAMPLE_NAME) + IF(APPLE) + INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin BUNDLE DESTINATION share/OpenSceneGraph/bin ) + ELSE(APPLE) +- INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples ) ++ INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin COMPONENT openscenegraph-examples ) + IF(MSVC) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_TARGETNAME}${CMAKE_RELWITHDEBINFO_POSTFIX}.pdb DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples CONFIGURATIONS RelWithDebInfo) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_TARGETNAME}${CMAKE_DEBUG_POSTFIX}.pdb DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples CONFIGURATIONS Debug) + +--- OpenSceneGraph-3.4.0/examples/osgviewerFLTK/CMakeLists.txt ++++ OpenSceneGraph-3.4.0/examples/osgviewerFLTK/CMakeLists.txt +@@ -1,6 +1,6 @@ + SET(TARGET_SRC osgviewerFLTK.cpp ) + +-SET(TARGET_EXTERNAL_LIBRARIES ${FLTK_LIBRARY} ${FLTK_GL_LIBRARY}) ++SET(TARGET_EXTERNAL_LIBRARIES ${FLTK_BASE_LIBRARY} ${FLTK_GL_LIBRARY}) + + INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR} ) + diff --git a/dev-games/openscenegraph-openmw/files/openscenegraph-3.5.1-jpeg-9.patch b/dev-games/openscenegraph-openmw/files/openscenegraph-3.5.1-jpeg-9.patch new file mode 100644 index 000000000000..f6e85e8e352d --- /dev/null +++ b/dev-games/openscenegraph-openmw/files/openscenegraph-3.5.1-jpeg-9.patch @@ -0,0 +1,34 @@ +From 34b4e7001522c1b47b4211dac34d2d6a6b994a6f Mon Sep 17 00:00:00 2001 +From: Robert Osfield +Date: Thu, 17 Aug 2017 10:52:59 +0100 +Subject: [PATCH] Added version check for boolean, TRUE and FALSE settings + +--- + src/osgPlugins/jpeg/ReaderWriterJPEG.cpp | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +diff --git a/src/osgPlugins/jpeg/ReaderWriterJPEG.cpp b/src/osgPlugins/jpeg/ReaderWriterJPEG.cpp +index 9f7f4c38937..115203322a5 100644 +--- a/src/osgPlugins/jpeg/ReaderWriterJPEG.cpp ++++ b/src/osgPlugins/jpeg/ReaderWriterJPEG.cpp +@@ -70,12 +70,14 @@ namespace osgDBJPEG + + static int jpegerror = ERR_NO_ERROR; + +-/* Some versions of jmorecfg.h define boolean, some don't... +- Those that do also define HAVE_BOOLEAN, so we can guard using that. */ +-#ifndef HAVE_BOOLEAN +- typedef int boolean; +- #define FALSE 0 +- #define TRUE 1 ++#if JPEG_LIB_VERSION < 90 ++ /* Some versions of jmorecfg.h define boolean, some don't... ++ Those that do also define HAVE_BOOLEAN, so we can guard using that. */ ++ #ifndef HAVE_BOOLEAN ++ typedef int boolean; ++ #define FALSE 0 ++ #define TRUE 1 ++ #endif + #endif + + /* CODE FOR READING/WRITING JPEG FROM STREAMS diff --git a/dev-games/openscenegraph-openmw/files/openscenegraph-3.6.3-docdir.patch b/dev-games/openscenegraph-openmw/files/openscenegraph-3.6.3-docdir.patch new file mode 100644 index 000000000000..75dd48b30687 --- /dev/null +++ b/dev-games/openscenegraph-openmw/files/openscenegraph-3.6.3-docdir.patch @@ -0,0 +1,73 @@ +From 1dfc0e3218e15b94f7b145c8f5b2bf61974b9573 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Sun, 23 Dec 2018 22:10:49 +0100 +Subject: [PATCH 1/2] Add GNUInstallDirs for standard installation directories + +Distributions are given standard variables for already existing hooks. +Multiarch libdirs is taken care of automagically. +Raises minimum cmake version by a little (2.8.5 is enough). +--- + CMakeLists.txt | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 064d4e289..777265e0e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -13,7 +13,7 @@ SET(OPENSCENEGRAPH_RELEASE_CANDIDATE 0) + set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) + set_property(GLOBAL PROPERTY USE_FOLDERS ON) + +-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0 FATAL_ERROR) ++CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5 FATAL_ERROR) + + if(COMMAND cmake_policy) + # Works around warnings libraries linked against that don't +@@ -767,6 +767,7 @@ ELSE() + # FIND_PACKAGE(PythonLibs) + ENDIF() + ++INCLUDE(GNUInstallDirs) + # Include macro utilities here + INCLUDE(OsgMacroUtils) + +-- +2.20.1 + + +From d2be900de7b5fb4e23d9429c02269f671962c670 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Sun, 23 Dec 2018 22:12:33 +0100 +Subject: [PATCH 2/2] Replace OPENJPEG_INSTALL_DOC_DIR with + CMAKE_INSTALL_DOCDIR + +This changes the default doc installdir to DATAROOTDIR/doc/PROJECT_NAME +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 777265e0e..e1ed1bd51 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1180,7 +1180,7 @@ IF(BUILD_DOCUMENTATION) + ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs/osg32-32.png COPYONLY + ) + #INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}ReferenceDocs-${OPENSCENEGRAPH_VERSION}.chm DESTINATION doc OPTIONAL COMPONENT openscenegraph-doc) +- INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs DESTINATION doc COMPONENT openscenegraph-doc) ++ INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT openscenegraph-doc) + + # now set up openthreads documentation generation + IF(BUILD_REF_DOCS_TAGFILE) +@@ -1196,7 +1196,7 @@ IF(BUILD_DOCUMENTATION) + ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs/osg32-32.png COPYONLY + ) + #INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}ReferenceDocs-${OPENSCENEGRAPH_VERSION}.chm DESTINATION doc OPTIONAL COMPONENT openscenegraph-doc) +- INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs DESTINATION doc COMPONENT openthreads-doc) ++ INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT openthreads-doc) + + # Process our other doxyfiles but don't create targets for these + CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/doc/Doxyfiles/all_Doxyfile +-- +2.20.1 + diff --git a/dev-games/openscenegraph-openmw/metadata.xml b/dev-games/openscenegraph-openmw/metadata.xml new file mode 100644 index 000000000000..bc586e1a8125 --- /dev/null +++ b/dev-games/openscenegraph-openmw/metadata.xml @@ -0,0 +1,28 @@ + + + + + alexey+gentoo@asokolov.org + Alexey Sokolov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + games@gentoo.org + Gentoo Games Project + + + OpenSceneGraph on steroids. This fork was created to experiment with performance enhancements for OpenMW that are too controversial to be included in the general purpose OSG project - either for design reasons or backward compatibility reasons. OpenMW still works with "vanilla" OpenSceneGraph, but it is recommended to use the fork for better performance (around 10-15% on most devices). Note that the improvements are very specific to OpenMW and its animation code in particular; other OpenSceneGraph applications are not likely to see the same speed-up, or any speed-up at all if they are already GPU limited. + + + Enable EGL support + Build examples using x11-libs/fox library + Enable support for sci-libs/gdal library + Build OpenInventor plugin + Build osg applications + Use media-libs/libsdl2 additionally to media-libs/libsdl + Enable support for the X xrandr extension + + diff --git a/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild b/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild new file mode 100644 index 000000000000..fe26f799c8c5 --- /dev/null +++ b/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WX_GTK_VER="3.0-gtk3" +inherit cmake flag-o-matic wxwidgets + +DESCRIPTION="OpenMW-specific fork of OpenSceneGraph" +HOMEPAGE="https://github.com/OpenMW/osg" +MY_COMMIT="8b07809fa674ecffe77338aaea2e223b3aadff0e" +SRC_URI="https://github.com/OpenMW/osg/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/osg-${MY_COMMIT}" + +LICENSE="wxWinLL-3 LGPL-2.1" +SLOT="0/132" # NOTE: CHECK WHEN BUMPING! Subslot is SOVERSION +KEYWORDS="~amd64 ~x86" +IUSE="curl debug doc examples egl ffmpeg fltk fox gdal gif glut gstreamer jpeg + lua openexr openinventor osgapps pdf png qt5 sdl sdl2 svg tiff + truetype vnc wxwidgets xine xrandr zlib" + +REQUIRED_USE=" + sdl2? ( sdl ) + openexr? ( zlib ) +" + +# TODO: COLLADA, FBX, GTA, OpenVRML, Performer, DCMTK +BDEPEND=" + app-arch/unzip + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +RDEPEND=" + !dev-games/openscenegraph + media-libs/mesa[egl?] + virtual/glu + virtual/opengl + x11-libs/libSM + x11-libs/libXext + curl? ( net-misc/curl ) + examples? ( + fltk? ( x11-libs/fltk:1[opengl] ) + fox? ( x11-libs/fox:1.6[opengl] ) + glut? ( media-libs/freeglut ) + sdl2? ( media-libs/libsdl2 ) + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[opengl,X] ) + ) + ffmpeg? ( media-video/ffmpeg:0= ) + gdal? ( sci-libs/gdal:= ) + gif? ( media-libs/giflib:= ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + jpeg? ( virtual/jpeg:0 ) + lua? ( >=dev-lang/lua-5.1.5:* ) + openexr? ( + media-libs/ilmbase:= + media-libs/openexr:= + ) + openinventor? ( media-libs/coin ) + pdf? ( app-text/poppler[cairo] ) + png? ( media-libs/libpng:0= ) + qt5? ( + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + ) + sdl? ( media-libs/libsdl ) + svg? ( + gnome-base/librsvg + x11-libs/cairo + ) + tiff? ( media-libs/tiff:0 ) + truetype? ( media-libs/freetype:2 ) + vnc? ( net-libs/libvncserver ) + xrandr? ( x11-libs/libXrandr ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto +" + +PATCHES=( + "${FILESDIR}"/openscenegraph-3.4-cmake.patch + "${FILESDIR}"/openscenegraph-3.5.1-jpeg-9.patch + "${FILESDIR}"/openscenegraph-3.6.3-docdir.patch +) + +src_prepare() { + sed -i "s/ FIND_PACKAGE/ MACRO_OPTIONAL_FIND_PACKAGE/g" CMakeLists.txt || die "can't replace FIND_PACKAGE" + cmake_src_prepare +} + +src_configure() { + if use examples && use wxwidgets; then + setup-wxwidgets + fi + + # Needed by FFmpeg + append-cppflags -D__STDC_CONSTANT_MACROS + + local libdir=$(get_libdir) + local mycmakeargs=( + -DDYNAMIC_OPENSCENEGRAPH=ON + -DLIB_POSTFIX=${libdir/lib} + -DOPENGL_PROFILE=GL2 #GL1 GL2 GL3 GLES1 GLES3 GLES3 + -DOSG_PROVIDE_READFILE=ON + -DOSG_USE_LOCAL_LUA_SOURCE=OFF + -DWITH_Lua51=OFF # We use CMake-version FindLua52.cmake instead which can find any lua + -DWITH_Lua52=$(usex lua) + -DWITH_Asio=OFF # Fails to build, similar to https://github.com/chriskohlhoff/asio/issues/316 + -DWITH_CURL=$(usex curl) + -DBUILD_DOCUMENTATION=$(usex doc) + -DBUILD_OSG_APPLICATIONS=$(usex osgapps) + -DBUILD_OSG_EXAMPLES=$(usex examples) + -DWITH_FFmpeg=$(usex ffmpeg) + -DWITH_GDAL=$(usex gdal) + -DWITH_GIFLIB=$(usex gif) + -DWITH_GStreamer=$(usex gstreamer) + -DWITH_GLIB=$(usex gstreamer) + -DWITH_GtkGl=OFF + -DWITH_JPEG=$(usex jpeg) + -DWITH_Jasper=OFF + -DWITH_LIBLAS=OFF # dep failed to build https://bugs.gentoo.org/725938 + -DWITH_OpenEXR=$(usex openexr) + -DWITH_Inventor=$(usex openinventor) + -DWITH_Poppler-glib=$(usex pdf) + -DWITH_PNG=$(usex png) + -DWITH_SDL=$(usex sdl) + -DWITH_SDL2=$(usex sdl2) + -DWITH_RSVG=$(usex svg rsvg) + -DWITH_TIFF=$(usex tiff) + -DWITH_Freetype=$(usex truetype) + -DWITH_LibVNCServer=$(usex vnc) + -DWITH_Xine=$(usex xine) + -DOSGVIEWER_USE_XRANDR=$(usex xrandr) + -DWITH_ZLIB=$(usex zlib) + -DOSG_USE_QT=$(usex qt5) + -DDESIRED_QT_VERSION=5 + ) + if use examples; then + mycmakeargs+=( + -DWITH_FLTK=$(usex fltk) + -DWITH_FOX=$(usex fox) + -DWITH_GLUT=$(usex glut) + -DWITH_wxWidgets=$(usex wxwidgets) + ) + fi + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doc_openscenegraph doc_openthreads +} diff --git a/dev-games/openscenegraph/Manifest b/dev-games/openscenegraph/Manifest index 4e33b4f55ec2..282aedc31485 100644 --- a/dev-games/openscenegraph/Manifest +++ b/dev-games/openscenegraph/Manifest @@ -5,7 +5,7 @@ AUX openscenegraph-3.6.3-docdir.patch 2991 BLAKE2B 9d2d3bab0d8956f66b4b23a112dbd DIST OpenSceneGraph-3.5.5.tar.gz 5666085 BLAKE2B f474f7e62476c816cc9b036995f2571e65d33ed426a95eb2727994fd2c46e95457bf5392e488556e53c13c30bd46250f0c3d871678a4de234eae8953c03560a6 SHA512 f4a890bfbabab0ed8d50ad50e8f9ae5aa6edd4a73eda30d6c53ad478889608f7c980306a79549ca1e472cdd3df8061af03537c8139fa6446b00aebf47ec26827 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.5.5.ebuild 3633 BLAKE2B 47792e7d042d1507bcf8b8ee12cae6528221a32b77c0428e344da2da5d9745daeec210a56d2f6b333e75792818e9960dc138a0835ec751294164a4cb6e1f18a2 SHA512 d410aefb941ee97e2bf35e6c8d91f565bc9fafded5bdc726a50470f242a17ff23afb644ecd52c81e447f4c20054583af19a45b7242e6523634cb7f23fca8d5ec -EBUILD openscenegraph-3.6.4.ebuild 4083 BLAKE2B f8cc4bb27c0c07d2132475966df648c179e804e9ea6ca3da3b56d60c87de875705993f568269e2eceeac2b41ae2011771df5f1041709c84d294562fd078cdc14 SHA512 70c72095cdc67d90e69f07131de08649af6a10a8ff0b932d4c6170f0543713f123ee37986a55b1f1e4d774bad9950b0bf1388b6c17798c0d00062e27ac2026e2 -EBUILD openscenegraph-3.6.5.ebuild 4083 BLAKE2B 0b05e0eccb1577b130cf4d374af784af1de4e759fc89b12a5a694ff040e7be0bb7fd24af50d9853c933a3d6b60d69ecec9b73aa9d4977cb926e18c8933a89c9b SHA512 9cb9ea4e63d39ac39ccfd13d6a751867c31b5d9afca92702b6bd38d8ac51a8cf390960bd06060827e632e6eacac67279e6f74bee436f2a6102eea242f6c8f0ea +EBUILD openscenegraph-3.5.5.ebuild 3638 BLAKE2B 27b665585e57612457eff670f7e0d0dd90814701fb69853285d140bfc08ee9849dbc9754cb90e9397aeda63b8bf2b40f45a9d80e693484d27f815439e5d0e500 SHA512 bf13b1b1bef914464df6730f1ff2b702b30c986a54fa0d673aed6cabdae04139eb09ed57197d4f7facb2033fc9a3a7ac1a454c2fdff18274aacd29951b817c0a +EBUILD openscenegraph-3.6.4.ebuild 4088 BLAKE2B d8123470276fd6d53fe64cc06d5ad30e65de37462ad04ab3e62d43912c6f43846d141dd6b95305084c45a5bc15e2fd6bcd1bdf654b2ecf9a1e3a5f5d51e62051 SHA512 067562eb6d010a1c2545d9f3f2467eea8e6724d8da9444cf675bcde9e438e22cb8a303e8fc5139bf0510b9f98fd10f8f5126a534fc21e0a5b6eccda884983b37 +EBUILD openscenegraph-3.6.5.ebuild 3999 BLAKE2B 164e857edb269a18453ce00da9d7c80ff8f4cf4c3daf765a10eaae2ed4f46bfdb3841a4fbbb10170139417a664b5aa1fcff5270889f6283a7e8e494a845da9ac SHA512 af11df69e1e7c948ddca05c59653534f99c7644887ce0c4340b83b69873e5e81a0fa0701496b38df30a3e65d6ddde052525b2f52f02cb6bc75e1d070f8a10dc7 MISC metadata.xml 1759 BLAKE2B 6cdfd94a0888ac7716c282b7a473fdc23b00542bf55fe0b7b271d81dac36e1dbe6ef6923a3f6a48d6730b27fccbe6a197ebdce0c3611d736cd6674aec9ae35a8 SHA512 48f68b29d2d8ab7aeb31bdd7322ba39f1c5f9c4c14a301c828c084a774e80a818e2366bbaf2728d1a32a9d20b62bda2a45ab49a331c160d4359c1175787a9999 diff --git a/dev-games/openscenegraph/openscenegraph-3.5.5.ebuild b/dev-games/openscenegraph/openscenegraph-3.5.5.ebuild index 250b3589885d..001828294345 100644 --- a/dev-games/openscenegraph/openscenegraph-3.5.5.ebuild +++ b/dev-games/openscenegraph/openscenegraph-3.5.5.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -WX_GTK_VER="3.0" +WX_GTK_VER="3.0-gtk3" inherit cmake-utils flag-o-matic wxwidgets vcs-snapshot diff --git a/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild b/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild index c8d6dbf4fbbf..694ca9a6e5e0 100644 --- a/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild +++ b/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild @@ -5,7 +5,7 @@ EAPI=7 MY_PN="OpenSceneGraph" MY_P=${MY_PN}-${PV} -WX_GTK_VER="3.0" +WX_GTK_VER="3.0-gtk3" inherit cmake flag-o-matic wxwidgets DESCRIPTION="Open source high performance 3D graphics toolkit" diff --git a/dev-games/openscenegraph/openscenegraph-3.6.5.ebuild b/dev-games/openscenegraph/openscenegraph-3.6.5.ebuild index 4614315778aa..6a1d992b139e 100644 --- a/dev-games/openscenegraph/openscenegraph-3.6.5.ebuild +++ b/dev-games/openscenegraph/openscenegraph-3.6.5.ebuild @@ -5,7 +5,7 @@ EAPI=7 MY_PN="OpenSceneGraph" MY_P=${MY_PN}-${PV} -WX_GTK_VER="3.0" +WX_GTK_VER="3.0-gtk3" inherit cmake flag-o-matic wxwidgets DESCRIPTION="Open source high performance 3D graphics toolkit" @@ -13,7 +13,7 @@ HOMEPAGE="http://www.openscenegraph.org/" SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${MY_P}.tar.gz" LICENSE="wxWinLL-3 LGPL-2.1" -SLOT="0/160" # NOTE: CHECK WHEN BUMPING! Subslot is SOVERSION +SLOT="0/161" # NOTE: CHECK WHEN BUMPING! Subslot is SOVERSION KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" IUSE="asio curl dicom debug doc egl examples ffmpeg fltk fox gdal gif glut gstreamer jpeg las lua openexr openinventor osgapps pdf png sdl sdl2 @@ -94,9 +94,6 @@ src_configure() { -DDYNAMIC_OPENSCENEGRAPH=ON -DLIB_POSTFIX=${libdir/lib} -DOPENGL_PROFILE=GL2 #GL1 GL2 GL3 GLES1 GLES3 GLES3 - -DOSG_ENVVAR_SUPPORTED=ON - -DOSG_PROVIDE_READFILE=ON - -DOSG_USE_LOCAL_LUA_SOURCE=OFF $(cmake_use_find_package asio Asio) $(cmake_use_find_package curl CURL) -DBUILD_DOCUMENTATION=$(usex doc) diff --git a/dev-games/recastnavigation/Manifest b/dev-games/recastnavigation/Manifest new file mode 100644 index 000000000000..774a040d724e --- /dev/null +++ b/dev-games/recastnavigation/Manifest @@ -0,0 +1,4 @@ +AUX recastnavigation-1.5.1_p20200511-install.patch 4029 BLAKE2B 7167a92f5763887f073110f04e0965745ff2114579d8a35c5c7c2480f3787aec3929f83b443e585852d268891fa279a91577a73b3bdebee0aee9c10a66afdd7f SHA512 da2c1bf75328729ef9679e2ac6cd9446b7b950ece6b6f343c0e015cc872c1e69e9fd27c9a6781a62cf6f8c845b82133d4df4ccefde8cbc3983258896d346ffc4 +DIST recastnavigation-1.5.1_p20200511.tar.gz 1541540 BLAKE2B 3878294247e26421c33019c05a8d70f9ae04ce046d1e503b2df8297e5c390c592e0222c445c9a7798c2e3eb7090b6c32d18b94015dce0a248ab17198d3054dda SHA512 bc48d9195c1ce4422359d850ad422e53c2599ff575b8c7a0ce6b7dc42720d7edd99781a1efa7bee49a00cd4ce6734f34ce9d434421471cb0cbf8e5207bbebebc +EBUILD recastnavigation-1.5.1_p20200511.ebuild 811 BLAKE2B a5ba8c158dadc09cc59c53504d425696a2665fe5e529c05d833499c56f3f6abc78d1fa8cec56e5cad475934c676ff53510d771defd2d955878a8f2898dfca03b SHA512 0c9d9be8c118a5ee78b1d2429c52a2dcaf4249877518f714fe350d3b375ab37a622dd9723fdcdc989f0a13d9e244528b15bb2948508552886cbea82730ac38a0 +MISC metadata.xml 487 BLAKE2B f05f7dfccc42f908aa0d3e886bbe5a631e08d6e33babe10e1a5844cd48930c481873c843b8954926413334e8887c6d392412821ed173036a25349ae25afb8948 SHA512 54a6c615a69a2ba3e482e7ce37d556afa7bca8fa68cff67919aed151eb84ea38496a5a439c333ac1699db0085990f4a1d5ea221ec18997a7fcc93b9442d896d0 diff --git a/dev-games/recastnavigation/files/recastnavigation-1.5.1_p20200511-install.patch b/dev-games/recastnavigation/files/recastnavigation-1.5.1_p20200511-install.patch new file mode 100644 index 000000000000..8017517b448a --- /dev/null +++ b/dev-games/recastnavigation/files/recastnavigation-1.5.1_p20200511-install.patch @@ -0,0 +1,115 @@ +https://github.com/recastnavigation/recastnavigation/pull/437 + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d23859d..54a38d8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -11,6 +11,8 @@ option(RECASTNAVIGATION_TESTS "Build tests" ON) + option(RECASTNAVIGATION_EXAMPLES "Build examples" ON) + option(RECASTNAVIGATION_STATIC "Build static libraries" ON) + ++include(GNUInstallDirs) ++ + add_subdirectory(DebugUtils) + add_subdirectory(Detour) + add_subdirectory(DetourCrowd) +diff --git a/DebugUtils/CMakeLists.txt b/DebugUtils/CMakeLists.txt +index 8b6a3fc..86cfe76 100644 +--- a/DebugUtils/CMakeLists.txt ++++ b/DebugUtils/CMakeLists.txt +@@ -26,10 +26,10 @@ set_target_properties(DebugUtils PROPERTIES + ) + + install(TARGETS DebugUtils +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT library + ) + + file(GLOB INCLUDES Include/*.h) +-install(FILES ${INCLUDES} DESTINATION include) ++install(FILES ${INCLUDES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/recastnavigation) +diff --git a/Detour/CMakeLists.txt b/Detour/CMakeLists.txt +index de88111..b4c457a 100644 +--- a/Detour/CMakeLists.txt ++++ b/Detour/CMakeLists.txt +@@ -20,10 +20,10 @@ set_target_properties(Detour PROPERTIES + ) + + install(TARGETS Detour +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT library + ) + + file(GLOB INCLUDES Include/*.h) +-install(FILES ${INCLUDES} DESTINATION include) ++install(FILES ${INCLUDES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/recastnavigation) +diff --git a/DetourCrowd/CMakeLists.txt b/DetourCrowd/CMakeLists.txt +index 73cdf7c..7d1ace3 100644 +--- a/DetourCrowd/CMakeLists.txt ++++ b/DetourCrowd/CMakeLists.txt +@@ -24,10 +24,10 @@ set_target_properties(DetourCrowd PROPERTIES + ) + + install(TARGETS DetourCrowd +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT library + ) + + file(GLOB INCLUDES Include/*.h) +-install(FILES ${INCLUDES} DESTINATION include) ++install(FILES ${INCLUDES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/recastnavigation) +diff --git a/DetourTileCache/CMakeLists.txt b/DetourTileCache/CMakeLists.txt +index 121b8ed..141a680 100644 +--- a/DetourTileCache/CMakeLists.txt ++++ b/DetourTileCache/CMakeLists.txt +@@ -25,10 +25,10 @@ set_target_properties(DetourTileCache PROPERTIES + + + install(TARGETS DetourTileCache +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT library + ) + + file(GLOB INCLUDES Include/*.h) +-install(FILES ${INCLUDES} DESTINATION include) ++install(FILES ${INCLUDES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/recastnavigation) +diff --git a/Recast/CMakeLists.txt b/Recast/CMakeLists.txt +index 5e84376..3b04742 100644 +--- a/Recast/CMakeLists.txt ++++ b/Recast/CMakeLists.txt +@@ -20,10 +20,10 @@ set_target_properties(Recast PROPERTIES + ) + + install(TARGETS Recast +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT library + ) + + file(GLOB INCLUDES Include/*.h) +-install(FILES ${INCLUDES} DESTINATION include) ++install(FILES ${INCLUDES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/recastnavigation) +diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt +index 7c17469..a98ccbf 100644 +--- a/Tests/CMakeLists.txt ++++ b/Tests/CMakeLists.txt +@@ -8,5 +8,3 @@ add_executable(Tests ${TESTS_SOURCES}) + add_dependencies(Tests Recast Detour) + target_link_libraries(Tests Recast Detour) + add_test(Tests Tests) +- +-install(TARGETS Tests RUNTIME DESTINATION bin) diff --git a/dev-games/recastnavigation/metadata.xml b/dev-games/recastnavigation/metadata.xml new file mode 100644 index 000000000000..476961fc1b94 --- /dev/null +++ b/dev-games/recastnavigation/metadata.xml @@ -0,0 +1,16 @@ + + + + + alexey+gentoo@asokolov.org + Alexey Sokolov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + games@gentoo.org + Gentoo Games Project + + diff --git a/dev-games/recastnavigation/recastnavigation-1.5.1_p20200511.ebuild b/dev-games/recastnavigation/recastnavigation-1.5.1_p20200511.ebuild new file mode 100644 index 000000000000..ca12783c1d9f --- /dev/null +++ b/dev-games/recastnavigation/recastnavigation-1.5.1_p20200511.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Navigation mesh construction toolset for games" +HOMEPAGE="https://github.com/recastnavigation/recastnavigation" +MY_COMMIT="df27e4eb1a4ade9912f8b7d75c25769a3193dbd0" +SRC_URI="https://github.com/recastnavigation/recastnavigation/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/recastnavigation-1.5.1_p20200511-install.patch" +) + +src_configure() { + local mycmakeargs=( + -DRECASTNAVIGATION_DEMO=OFF + -DRECASTNAVIGATION_EXAMPLES=OFF + -DRECASTNAVIGATION_STATIC=OFF + -DRECASTNAVIGATION_TESTS=$(usex test) + ) + + cmake_src_configure +} diff --git a/dev-games/simgear/Manifest b/dev-games/simgear/Manifest index f783c3318626..db0d2c2d9ac6 100644 --- a/dev-games/simgear/Manifest +++ b/dev-games/simgear/Manifest @@ -1,5 +1,5 @@ AUX simgear-2019.1.1-gdal3.patch 388 BLAKE2B 364d5f6692809c67d73a3191f387cbd9735e7183a25696e612827c1a796c872ee5d4a09085fa8a24a0fd524725fdeca9303c5c5ee71981de054ab5a8833d5285 SHA512 44d59cf379c8c7d82b87a31a4d29dd02aaa865c37f12c7e565c641bf3fb14497f4d63b69bbc973551b53d74919ddce5495e3f29b598ed87a6a4565e22ec81667 -DIST simgear-2019.1.1.tar.bz2 1370523 BLAKE2B 2f61b2b4b7716b7f15852ff68bee6b749b7daa04caa27927a53eb6d6e4346c46c835938c95436250da767efd2e8043aacc0cb444b37dacde78acada98ffdb4e8 SHA512 83fe4330cf27b9298719f53f2fccde2af77bacdc6f430cc22c8bdfb475fe9b6e01578c1225af21e4e1433c7d2f2b00427454064f942359ba4c1e9896e7fe05d2 -EBUILD simgear-2019.1.1.ebuild 1547 BLAKE2B 0e9ff2e39a692dbdaf30958a52e0488eff8237742e6514993ac0fcd067df2d9bbac5d88a39b921df33a3efbb9c522d7428873ad07147d3e0092e5730982a54ad SHA512 d9071c9f6d3ff0f0fa2cf02a83006c8eb42bca041c5f0f8b14d309d47d11f6381ac8e484a2007cd8dafc1b77ce5edba397a6a8244035adbe6abaa378e0322218 -EBUILD simgear-9999.ebuild 1609 BLAKE2B 82961c4dae78e88dfedf40332e6604a21066b0989e0165b05e8bd8d5db495ab27ecbb0984dc55e3cb68d8a781e4b73a5bbb9e0fab6f2172fccbe28be5fe3e509 SHA512 da4467feaa241c6f39eb1bb507001fd1a66e094b001a00ebac51e60af84bdf1ec332d528ae80b5970d3d87e1169dcf53ffd4c13923ea84c8e0e0ba04ec7c05d5 +DIST simgear-2020.1.2.tar.bz2 1393059 BLAKE2B 62fa15d88368177e23cf52edf51e8c56252399d8f2661e518911c1093a0d7f9f11069da8d65b479f2d4b45792dcd011194e57fa99ac3991f749e8196aaff9552 SHA512 c2e835de471f374a6c33cfd1769b7079d178ee66075bfe87cc9eb1f06dc2648db93c31f62f0ac7a664703406817cb1e909a531812cb76c99cd8751eb7e6782e7 +EBUILD simgear-2020.1.2.ebuild 1539 BLAKE2B 3a0a2292ad3857dee255793748fa4479f3cad2d048a101bc5102cebeacccdb13228b8c57c569c08d723f0d8b479af626a0b7bf1ed35f65f8f65e5f49a6632cce SHA512 4f3ffba5632b910fe429d41a432443269a20a2ca50fcfca3bafedfe6c5f4d039323e6b07cf07e7d7bf38d7502f46c333f6f2cc7cb8252b02be42d7a64e7815ec +EBUILD simgear-9999.ebuild 1601 BLAKE2B 2abe5a461a36bc073eb134133a2b648fd1b699441e99730bad0f01497c4005d492f7363dcb1e59f4325e6b2a709f53f6365a9b227b9bd9f5b2dce916d4c608bd SHA512 37a6cc57913c1a5d4d313748bafe6f93eb55c1c35c6c5389f2f65dba67d13504cebcac050e5d867e0021689f8d77c30b4986a8e3f1525c6becd32cd823119c44 MISC metadata.xml 911 BLAKE2B 978dd6e83dce780a6b6250e86def3f5f3052d7c09cda9d4974ec9f63d151cb0040c9434cde00007a8821b28854d2c49c5a040e29f176d1ebb91600e97ba09f17 SHA512 59839dd8b60cbf26b548157edf6f30255c2ca81545df77d39d47cebbf2eec561014c698ac15028765921fb9a7a570f5032f699f71fc135c5bbad211ce6b0a5a8 diff --git a/dev-games/simgear/simgear-2019.1.1.ebuild b/dev-games/simgear/simgear-2019.1.1.ebuild deleted file mode 100644 index be0ff6416267..000000000000 --- a/dev-games/simgear/simgear-2019.1.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils toolchain-funcs flag-o-matic - -DESCRIPTION="Development library for simulation games" -HOMEPAGE="http://www.simgear.org/" -SRC_URI="mirror://sourceforge/flightgear/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="cpu_flags_x86_sse2 +dns debug gdal openmp subversion test" -RESTRICT="!test? ( test )" - -# TODO aeonwave -COMMON_DEPEND=" - dev-libs/expat - dev-games/openscenegraph - media-libs/openal - net-misc/curl - sys-libs/zlib - virtual/opengl - dns? ( net-libs/udns ) - gdal? ( sci-libs/gdal ) -" -DEPEND="${COMMON_DEPEND} - >=dev-libs/boost-1.44 -" -RDEPEND="${COMMON_DEPEND} - subversion? ( dev-vcs/subversion ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2019.1.1-gdal3.patch" -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - local mycmakeargs=( - -DENABLE_DNS=$(usex dns) - -DENABLE_GDAL=$(usex gdal) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PKGUTIL=ON - -DENABLE_RTI=OFF - -DENABLE_SIMD=OFF # see CPU_FLAGS - -DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2) - -DENABLE_SOUND=ON - -DENABLE_TESTS=$(usex test) - -DSIMGEAR_HEADLESS=OFF - -DSIMGEAR_SHARED=ON - -DSYSTEM_EXPAT=ON - -DSYSTEM_UDNS=ON - -DUSE_AEONWAVE=OFF - -DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO perhaps track it - ) - - if use cpu_flags_x86_sse2; then - append-flags -msse2 -mfpmath=sse - fi - - cmake-utils_src_configure -} diff --git a/dev-games/simgear/simgear-2020.1.2.ebuild b/dev-games/simgear/simgear-2020.1.2.ebuild new file mode 100644 index 000000000000..0b85c837275b --- /dev/null +++ b/dev-games/simgear/simgear-2020.1.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake toolchain-funcs flag-o-matic + +DESCRIPTION="Development library for simulation games" +HOMEPAGE="https://www.flightgear.org/" +SRC_URI="mirror://sourceforge/flightgear/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="cpu_flags_x86_sse2 +dns debug gdal openmp subversion test" +RESTRICT="!test? ( test )" + +# TODO aeonwave +COMMON_DEPEND=" + dev-libs/expat + dev-games/openscenegraph + media-libs/openal + net-misc/curl + sys-libs/zlib + virtual/opengl + dns? ( net-libs/udns ) + gdal? ( sci-libs/gdal ) +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/boost-1.44 +" +RDEPEND="${COMMON_DEPEND} + subversion? ( dev-vcs/subversion ) +" + +PATCHES=( + "${FILESDIR}/${PN}-2019.1.1-gdal3.patch" +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DENABLE_DNS=$(usex dns) + -DENABLE_GDAL=$(usex gdal) + -DENABLE_OPENMP=$(usex openmp) + -DENABLE_PKGUTIL=ON + -DENABLE_RTI=OFF + -DENABLE_SIMD=OFF # see CPU_FLAGS + -DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2) + -DENABLE_SOUND=ON + -DENABLE_TESTS=$(usex test) + -DSIMGEAR_HEADLESS=OFF + -DSIMGEAR_SHARED=ON + -DSYSTEM_EXPAT=ON + -DSYSTEM_UDNS=ON + -DUSE_AEONWAVE=OFF + -DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO perhaps track it + ) + + if use cpu_flags_x86_sse2; then + append-flags -msse2 -mfpmath=sse + fi + + cmake_src_configure +} diff --git a/dev-games/simgear/simgear-9999.ebuild b/dev-games/simgear/simgear-9999.ebuild index d5d560554829..e4fa4059f41d 100644 --- a/dev-games/simgear/simgear-9999.ebuild +++ b/dev-games/simgear/simgear-9999.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils cmake-utils toolchain-funcs flag-o-matic git-r3 +inherit eutils cmake toolchain-funcs flag-o-matic git-r3 DESCRIPTION="Development library for simulation games" -HOMEPAGE="http://www.simgear.org/" +HOMEPAGE="https://www.flightgear.org/" EGIT_REPO_URI="git://git.code.sf.net/p/flightgear/${PN} git://mapserver.flightgear.org/${PN}" EGIT_BRANCH="next" @@ -70,5 +70,5 @@ src_configure() { append-flags -msse2 -mfpmath=sse fi - cmake-utils_src_configure + cmake_src_configure } diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest index 9de408261d4c..3e622a00cb07 100644 --- a/dev-games/tiled/Manifest +++ b/dev-games/tiled/Manifest @@ -1,9 +1,3 @@ -DIST tiled-1.3.4.tar.gz 15860089 BLAKE2B cdc06f82a5bd92179ff4c6402da7094dfa33d1281f358cd82a5125fe9672b5f317f578f3332c1b07c4603bb8930dd50c736f0a41a156594fbd419d94147c0525 SHA512 f78772f74d9f7a241ff9191ed6152f965b7a5342db877fa63a2d84f266d956cb2fa487776cf503db36bc5da9aa825c8bab87e13293e43a129f560020e323bd61 -DIST tiled-1.3.5.tar.gz 15899657 BLAKE2B 3540fb9f4c6994d7b3df382aded53f16a2861f9864836ce295b0d6ab7cc8971b28272d52ff039c8281b7e453e4fbd98651d5b7cf6a2a8fc04f7ea4ab908f2496 SHA512 a8c5faba7eaf14c1062acf693cc0fd43b64003d886f876ac179d21b9aa18bbc1859a2b13dfabe4c0363ebe21a4d64bdd0adb697427ef68c82072cf8e706d7de8 -DIST tiled-1.4.0.tar.gz 17480656 BLAKE2B e98abc86554b830ae882173c4a9e90e5bbc2872a2c2be21468154e305f3f7f5d7eb629d827a07755aa59b938a02abfaa0f8fa9303deb2de4f11c86373f568486 SHA512 1c4cca9c4f5b884a99a6e10f27dc435c2acb93f2c350a4d69927aef524b8d06dd8de8687235929747d087d3ac5d4539ded174cab59bfaf82042e28d7e9b39ad0 DIST tiled-1.4.1.tar.gz 17481260 BLAKE2B 81bbc8026e067fe8a6fc9c474868a7097ecab574c42a679b546bf7ee9a13889898237011114852d0a69f4703c2a9a2f7bdc19221164d350a2d407ff7035e3824 SHA512 68543e70a5b601e1426b12116da47d8c9b961a1d321bdf410287149d3f5cc76e3ef9724e61ae7c9a8b1314679eacd9b34f60faf5e49a090199e4e1707fc061e6 -EBUILD tiled-1.3.4.ebuild 1316 BLAKE2B fa1511b48fc88dc9ef40ef246a0653720051c4c61e8224359e250a56a6f05df81d52fe41a4e0660c32df7d7218a6bc286b6452d686110038462f3a7aacadfd65 SHA512 e9396a9925d1d960a84067a78d694675d0212af603fb359d206474fa5b422505a9b0092ef8b44f75570cf7b6c26c93396372360b350926f900806cd7256cdc5b -EBUILD tiled-1.3.5.ebuild 1321 BLAKE2B ce90087721e5494c1a894eed8ead807558a934e8bada5bb2edcbdb5df4d90abefba7bf9b539d695ac724396b06542df7b47151545b32fcc46693ba590b734dcd SHA512 0dd25ec9d68e69aebf01d64563fbea71638eb73b7e0058c9ad0b596dabccc60a3448c78e18136eb42b758baa06fa6d13a083964e8b6cef19f3d442088d3f49e3 -EBUILD tiled-1.4.0.ebuild 1321 BLAKE2B ab15b2fee6c14e086cb5bc4f01d994df292f9f147509b7f4adc06ee83893c85403492e5500279c32a4c9dfe27b745bb19dc2bcc78324f7118d3bd0ed29a99a27 SHA512 77f7c7f1840b9fc54bd78b35e02eaef1c0657084bbba21940405a83ced2820102e20fc8b174ce25f07a85185f1d647fe689e908bbff0bcb6bd1fc570b41b46f1 -EBUILD tiled-1.4.1.ebuild 1321 BLAKE2B ab15b2fee6c14e086cb5bc4f01d994df292f9f147509b7f4adc06ee83893c85403492e5500279c32a4c9dfe27b745bb19dc2bcc78324f7118d3bd0ed29a99a27 SHA512 77f7c7f1840b9fc54bd78b35e02eaef1c0657084bbba21940405a83ced2820102e20fc8b174ce25f07a85185f1d647fe689e908bbff0bcb6bd1fc570b41b46f1 +EBUILD tiled-1.4.1.ebuild 1298 BLAKE2B 7db9afff2be3971278d279755ca778271879689e4c5859606a4ff603aa04bad5ed9e3398868444db0bd75fb2da54386e4287b37d62f33e1b36cab8b5b22bd3ef SHA512 e31d9da0b1da445cc386e852865b698071b819eb62f7c3ec50daf0319c72eb7273ef0e417a17499e0511e189049e1f76807e2f70e5c837ed193d1b62f4450f4f MISC metadata.xml 297 BLAKE2B aaa357a6b59433dc43e1d4c13d13e700e56bb2cb54806defc8defb0880abe067ada43f24a0ca5e02e0acf2be8d294a907d066599cabc1873881092d2fd86fe38 SHA512 0875fcc01853efe23097a84f854432b8450ef0419a6329a813dc0e3d4eee46943ed7e80ff2df52700c822bba60cf56f2dbdac99a54cb2a3f58bf18db0baea069 diff --git a/dev-games/tiled/tiled-1.3.4.ebuild b/dev-games/tiled/tiled-1.3.4.ebuild deleted file mode 100644 index 9b42c07e6bd0..000000000000 --- a/dev-games/tiled/tiled-1.3.4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_6 ) -inherit gnome2-utils multilib 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=" - >=dev-qt/qtcore-5.10:5 - >=dev-qt/qtdeclarative-5.10:5 - >=dev-qt/qtgui-5.10:5 - >=dev-qt/qtnetwork-5.10:5 - >=dev-qt/qtwidgets-5.10:5 - sys-libs/zlib - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-qt/linguist-tools:5" - -DOCS=( AUTHORS COPYING NEWS.md README.md ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)" -} - -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 -} diff --git a/dev-games/tiled/tiled-1.3.5.ebuild b/dev-games/tiled/tiled-1.3.5.ebuild deleted file mode 100644 index b0e8f2726bb4..000000000000 --- a/dev-games/tiled/tiled-1.3.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) -inherit gnome2-utils multilib 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=" - >=dev-qt/qtcore-5.10:5 - >=dev-qt/qtdeclarative-5.10:5 - >=dev-qt/qtgui-5.10:5 - >=dev-qt/qtnetwork-5.10:5 - >=dev-qt/qtwidgets-5.10:5 - sys-libs/zlib - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-qt/linguist-tools:5" - -DOCS=( AUTHORS COPYING NEWS.md README.md ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)" -} - -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 -} diff --git a/dev-games/tiled/tiled-1.4.0.ebuild b/dev-games/tiled/tiled-1.4.0.ebuild deleted file mode 100644 index a2edacbcb2a7..000000000000 --- a/dev-games/tiled/tiled-1.4.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) -inherit gnome2-utils multilib 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=" - >=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" - -DOCS=( AUTHORS COPYING NEWS.md README.md ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)" -} - -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 -} diff --git a/dev-games/tiled/tiled-1.4.1.ebuild b/dev-games/tiled/tiled-1.4.1.ebuild index a2edacbcb2a7..2579d6320997 100644 --- a/dev-games/tiled/tiled-1.4.1.ebuild +++ b/dev-games/tiled/tiled-1.4.1.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7} ) -inherit gnome2-utils multilib python-single-r1 qmake-utils xdg-utils +inherit python-single-r1 qmake-utils xdg-utils DESCRIPTION="A general purpose tile map editor" HOMEPAGE="https://www.mapeditor.org/" @@ -12,7 +12,7 @@ SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz" LICENSE="BSD BSD-2 GPL-2+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="examples python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -- cgit v1.2.3