diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-08-09 09:39:32 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-08-09 10:12:29 -0400 |
commit | 6a213c6652adcaaaf3fa5be974f7ceec5637f68e (patch) | |
tree | fe9383e64ede0e2643cbddb1818c96aab6179754 | |
parent | app-misc/datovka: add missing dependency libdatovka (diff) | |
download | gentoo-6a213c6652adcaaaf3fa5be974f7ceec5637f68e.tar.gz gentoo-6a213c6652adcaaaf3fa5be974f7ceec5637f68e.tar.bz2 gentoo-6a213c6652adcaaaf3fa5be974f7ceec5637f68e.zip |
games-sports/speed-dreams: add 2.2.3 final
Did not expect this to release so soon given the usual
rate, but there it is.
Will likely avoid _rc/_betas in the future due to distfiles
size (was only picked because last non-rc was very old).
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r-- | games-sports/speed-dreams/Manifest | 4 | ||||
-rw-r--r-- | games-sports/speed-dreams/speed-dreams-2.2.3.ebuild | 85 |
2 files changed, 89 insertions, 0 deletions
diff --git a/games-sports/speed-dreams/Manifest b/games-sports/speed-dreams/Manifest index 37ac43b361e8..64cb8a50b382 100644 --- a/games-sports/speed-dreams/Manifest +++ b/games-sports/speed-dreams/Manifest @@ -1,5 +1,9 @@ DIST speed-dreams-1.4.0-r2307-src.tar.bz2 332667666 BLAKE2B 17455c6fc6bbe0cb4b5e00d4217eb49e0f6e39a8aa389f304771e32429c48e2e6bc834d8d0c7a01927376c5b37ae8e7b27399da88784b5f46b9549d46d01222f SHA512 6ae88691f52480351825c20c8bfb3ff54783b84bfbbc385ae2c0578991fa9025b16dcdc4ce136b85246a2a479452f2b209ecbec2be0a7ae85818929ea5fa1195 +DIST speed-dreams-src-base-2.2.3-r7616.tar.xz 238067340 BLAKE2B 5250a295fd077ab5c773bfb066416a2b0abfbd667e99c5c7a360898121af9dc757cf6afd003e220b9e76e687040d80687f8f78d445d6b98064efa396f5b1b4b7 SHA512 a98913625a78a67f7428649c6f3c426d32537b5f1b9331540bb32926568d281e1ec0e80bf45e5d847f43ee00b2d0c5945be96d86ac36d840b79dd3da82920960 DIST speed-dreams-src-base-2.2.3-rc1-r7601.tar.xz 212142540 BLAKE2B 894c29281d4ee75b7917fac2f98e2509beb8b6c92b2743f24636407fb3ea54a362ec6bf8cd13e79e96696d83caa5db9c6d05a5baf74228d07c7d8d75542f8c12 SHA512 42dd12283e55289e00e25edb769e5786f0d45b6be4c3056f72e6af7cdb2493fc7266f0485a91118c9c9b1a609fe78ce97c10db006ee0dd51e07b5fdb969026b3 +DIST speed-dreams-src-hq-cars-and-tracks-2.2.3-r7616.tar.xz 578705056 BLAKE2B 8b354211686ca6183ada892c844fa0345f2b751b786194d2d52e37a25c8dcf048e91862f2964c337e02765fba4e7bafa81539355a2b00af68476704ddc85c817 SHA512 4a488daeb1161dbc61ca95c5152d38864f759bbc2d0d8cc4d4c4a258aa143dedab55f16ba3343657b2fe8544e1f33ee0bc82e2cdeda7a7087a283e2513a8b6c6 DIST speed-dreams-src-hq-cars-and-tracks-2.2.3-rc1-r7601.tar.xz 578684928 BLAKE2B eeb567bc7bd713c349037e3c630791ead8dd53c4e7c8d8f75b534d72e85352e546a031211aae4a42338f64b3d21496318b72b08e9ffbb3615439d82fd983e424 SHA512 a9ca5926bdf70173df18abd6be7be54705c916207371595bda1bdd5e70d5ee9105f0fd16a72f5a713ea359b2b001b6f8a39251aac46e117ea4bc9e5dad7b69b9 +DIST speed-dreams-src-more-hq-cars-and-tracks-2.2.3-r7616.tar.xz 668751780 BLAKE2B f4c528eebdecc337394a08100e45eb66a8ad5e85164813a27a406d6b54089cd640874d37680588bfffcf3f1fdc274fd2329defb9d052ef2833c86dec8be21c9d SHA512 e8256c28697dd78794c41f2dc659d7aa455f0e5967b3178fbe17eb4adf6ef93ed719621f38afd78c8d0a548bcb7b61bb0859755b4867fee21096fe0925acfd89 DIST speed-dreams-src-more-hq-cars-and-tracks-2.2.3-rc1-r7601.tar.xz 668750172 BLAKE2B 851f31e52acd604b5bcb0ec7b393d33f513a6f2f84239160709fde6db3a23ec94dc39d554c9fb3bcaddcb90c308ac5d11a74a9e9fd410b4885fc9bedee60fb50 SHA512 1aa25700bb60c7a4d47817f821f54603dca9aaf662a23607a3fad367352f69c5182825a8ff4051736095b1277d4de017f5106200f77d74cb7a59780c97d3536c +DIST speed-dreams-src-wip-cars-and-tracks-2.2.3-r7616.tar.xz 409517248 BLAKE2B 5dc7af87df13f87e3561dbc139366a1b7041130812d02316c103707102b352de9c3dd111411576f168b813d4c735656a098e681e70e274593762e552aabb517c SHA512 693ebd5f1f81629fe62c7c086de8a924833b3ee1b4a25f803b7214b58f8520b16f4d45cdd96e941f1f884afa3f53afd66ef9a500fda42b928c7124ae9205060a DIST speed-dreams-src-wip-cars-and-tracks-2.2.3-rc1-r7601.tar.xz 429292132 BLAKE2B ffb20028ec792a423cd745db1a47274a5db9115510c33bf28c7323bf23a024aa3441dab045b6e81fdc3d17ac22f8919ffa044d07932d242f8cefaa7e274cbc51 SHA512 a31a592c6d86bc12b8d8df6013fc783677e611f4953b6a8650465dbd6ebfb0adcf51193e5003ff38b30619f145c752fe18121d2630bd64687bac113cd8d8c283 diff --git a/games-sports/speed-dreams/speed-dreams-2.2.3.ebuild b/games-sports/speed-dreams/speed-dreams-2.2.3.ebuild new file mode 100644 index 000000000000..514956352f07 --- /dev/null +++ b/games-sports/speed-dreams/speed-dreams-2.2.3.ebuild @@ -0,0 +1,85 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop flag-o-matic + +MY_PV="${PV}-r7616" + +DESCRIPTION="Fork of the famous open racing car simulator TORCS" +HOMEPAGE="http://www.speed-dreams.org/" +SRC_URI=" + mirror://sourceforge/speed-dreams/${PN}-src-base-${MY_PV}.tar.xz + mirror://sourceforge/speed-dreams/${PN}-src-hq-cars-and-tracks-${MY_PV}.tar.xz + mirror://sourceforge/speed-dreams/${PN}-src-more-hq-cars-and-tracks-${MY_PV}.tar.xz + mirror://sourceforge/speed-dreams/${PN}-src-wip-cars-and-tracks-${MY_PV}.tar.xz" +S="${WORKDIR}" + +LICENSE="GPL-2+ BitstreamVera CC0-1.0 Free-Art-1.2 OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug osggraph webstats" + +RDEPEND=" + dev-games/freesolid + dev-libs/expat + media-libs/libpng:= + media-libs/libsdl2[X,haptic,opengl,joystick,video] + media-libs/libvorbis + media-libs/openal + media-libs/plib + net-libs/enet:1.3 + sys-libs/zlib:= + virtual/glu + virtual/jpeg + virtual/opengl + osggraph? ( dev-games/openscenegraph:=[png] ) + webstats? ( net-misc/curl )" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${PN}-2.2.3_rc1-xmlversion-rpath.patch +) + +src_configure() { + append-cppflags -I. #806980 + + local mycmakeargs=( + -DCMAKE_BUILD_WITH_INSTALL_RPATH=yes # see xmlversion-rpath patch + -DOPTION_3RDPARTY_SOLID=yes + -DOPTION_HUDDEBUG=$(usex debug) + -DOPTION_OFFICIAL_ONLY=yes + -DOPTION_OSGGRAPH=$(usex osggraph) + -DOPTION_TRACE_LEVEL=$(usex debug 5 3) + -DOPTION_WEBSERVER=$(usex webstats) + -DOpenGL_GL_PREFERENCE=LEGACY # legacy needed for gl*ARB symbols + -DSD_BINDIR="${EPREFIX}"/usr/bin + -DSD_DATADIR="${EPREFIX}"/usr/share/${PN}-2 + -DSD_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/${PN}-2 + + # These features currently lack official support and portions + # of the required code is missing in release tarballs. + # Check if these directories exist on a version bump. + #-DOPTION_3RDPARTY_SQLITE3=yes # src/modules/simu/simureplay/ + #-DOPTION_CLIENT_SERVER=yes # src/modules/csnetworking/ + ) + + cmake_src_configure +} + +src_install() { + local HTML_DOCS=( doc/userman/. ) + cmake_src_install + + newicon data/data/icons/icon.png ${PN}-2.png + make_desktop_entry ${PN}-2 "Speed Dreams 2" ${PN}-2 +} + +pkg_postinst() { + # Issue reproduced in testing, warn in case it's widespread. + elog "If you experience freezes in menus, try to disable menu music in options." + elog "See: https://sourceforge.net/p/speed-dreams/tickets/973/" +} |