diff options
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/Manifest.gz | bin | 2228 -> 2399 bytes | |||
-rw-r--r-- | games-sports/skatebird/Manifest | 3 | ||||
-rw-r--r-- | games-sports/skatebird/metadata.xml | 8 | ||||
-rw-r--r-- | games-sports/skatebird/skatebird-12.ebuild | 51 | ||||
-rw-r--r-- | games-sports/trigger/Manifest | 2 | ||||
-rw-r--r-- | games-sports/trigger/trigger-0.6.1-r1.ebuild | 23 |
6 files changed, 74 insertions, 13 deletions
diff --git a/games-sports/Manifest.gz b/games-sports/Manifest.gz Binary files differindex aeaa39208d11..eee702dce6f3 100644 --- a/games-sports/Manifest.gz +++ b/games-sports/Manifest.gz diff --git a/games-sports/skatebird/Manifest b/games-sports/skatebird/Manifest new file mode 100644 index 000000000000..0af1ff066615 --- /dev/null +++ b/games-sports/skatebird/Manifest @@ -0,0 +1,3 @@ +DIST skatebird-linux.zip 1625530960 BLAKE2B 20fa3d6b3651c2faf4db76d27861b08d971b3f3de682e5893d28f207b870572becdb1fd48d93261d3376202202e6dde9ecd2a50d14d84493568b5ffd6801f3ef SHA512 1deeca9b9f5d3d14b0b632e568f2ec148869c04ba3a0042ad10c007229a6fdaad222cedd29a1e3b388f0287b4763e5a595fed5165b66ee15e6ccadcc1d370fd7 +EBUILD skatebird-12.ebuild 1076 BLAKE2B 999f83a5120c4ad5ab4e99f4e674129bfcfee8ba273ba9219db25f9b7ec64a17b9ef365cb2baee7cf45f5b92cdb44ed3bf2c098f24e2976277dd62248ba09b0e SHA512 cb239a6b9c0597740e0d446b34bd6b4bd8c49282a3402eaf405e3b184d6ecb8a552658c997436a2186c0bf45e6866ce316fc6e82662226b815a5421779e3f095 +MISC metadata.xml 254 BLAKE2B 4e6c8e1f126f76233a38aba6f5388488656795cb1d7d4767ccb1349772f5e78d59fc5663d4f1933dbe4633c2fbb90cd1d42d4b4d4f5ededc53653e7df13c7187 SHA512 2b82da849e3b0dec378f3fb497014f5d1dbc7aceb8a1f9d1638e83fe69448b1c5151eb4b1187154d828e4a296609ce5125b40977b2581d95b5588e353ca75135 diff --git a/games-sports/skatebird/metadata.xml b/games-sports/skatebird/metadata.xml new file mode 100644 index 000000000000..7c730d47817a --- /dev/null +++ b/games-sports/skatebird/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-sports/skatebird/skatebird-12.ebuild b/games-sports/skatebird/skatebird-12.ebuild new file mode 100644 index 000000000000..fa99f085ac4a --- /dev/null +++ b/games-sports/skatebird/skatebird-12.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHECKREQS_DISK_BUILD="3G" +inherit check-reqs desktop wrapper xdg + +MY_PN="SkateBIRD" +DESCRIPTION="Skateboarding game where you play as a bird" +HOMEPAGE="https://glassbottommeg.itch.io/skatebird" +SRC_URI="skatebird-linux.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist fetch splitdebug" + +BDEPEND=" + app-arch/unzip +" + +S="${WORKDIR}" +DIR="/opt/${PN}" +QA_PREBUILT="${DIR#/}/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_prepare() { + default + + # Avoid error trying to create unity.lock. + sed -i "/^single-instance=/d" ${MY_PN}_Data/boot.config || die +} + +src_install() { + exeinto "${DIR}" + newexe ${MY_PN}.x86_64 ${MY_PN} + doexe UnityPlayer.so + + insinto "${DIR}" + doins -r ${MY_PN}_Data/ + + newicon -s 128 ${MY_PN}_Data/Resources/UnityPlayer.png ${PN}.png + make_wrapper ${PN} "${DIR}"/${MY_PN} + make_desktop_entry ${PN} ${MY_PN} +} diff --git a/games-sports/trigger/Manifest b/games-sports/trigger/Manifest index c80c57bcd1a5..27a3f115b925 100644 --- a/games-sports/trigger/Manifest +++ b/games-sports/trigger/Manifest @@ -1,4 +1,4 @@ AUX trigger-0.6.1-gcc6.patch 814 BLAKE2B c2fa05b4a3cf8be96a2c581b893c6b05d5e01374e6cf60ed361222d0f50f8d50baeddb5a046a7c15bb1930a57e7c5dad7db6c5f9eb1925183c7c34cdce7191ac SHA512 32e2979f09363010e252f436b04b888c7dc127e7b6817ea53ac400a1859c6d900990c284169a965bcd18388a972c9ed2c7a8e7f1c928147adbfb0007f7f50aa3 DIST trigger-rally-0.6.1.tar.bz2 61083932 BLAKE2B cc5a291b2177ceba73e2cfdfdf1c3c68fb4704eda3334550740714232229241d1bc0e8573d2786076193513b70ab8e305a8e879e51ee4dc0597654a2f99eac1f SHA512 9f7e57758ffa61002efff6c7ac4d69f53ef4769651bdfdd21b6a8d101f8fd06ba7dc5998a8877146f50e6124896300e3595b4b5fff4decd53b6555e622de85bf -EBUILD trigger-0.6.1-r1.ebuild 1208 BLAKE2B db9f6e96a56790b37e3b1ce8ba69ec7e886f8c3283742d9e67ffa6aaa443b84925c4834d04645360573c45bd5c901135e10bc04ee917829875d4581b2340a32d SHA512 e95c92fd203bce273600cc47714a19756c430cfba3ab210ef2bc71c8f1b992e9b246510e75c364247045f91b92d4250da8066858f16180403b5e35b2ed7a19f4 +EBUILD trigger-0.6.1-r1.ebuild 1207 BLAKE2B 12c72b2770ddcdbad0810436c89abbf973493cd359274662076c60e8f8c72619b3dafeb7838198a180bd8ee8127f7d26f2853b0e87d87d7452fc160ca822b912 SHA512 15e01786d8662f0a780d60ce6073d828f77064248497db4d20cddfa628f6fd7f5eb6355c704259bece592c1451fedb9e635a77cec8c0049cf4cb6b3528e29a7d MISC metadata.xml 337 BLAKE2B f72a34568f564d313c17c2ce4a93e8a10058aa162733a849c6223638897997253c0b8ec1bc58b70f6baa3c7e41528b24d1dd2323d58e56ef637d02b2825d74bf SHA512 2b82df2b2d7e0cb2e61c5b0a69166c3e1e770709200abf1e91956b6f3ceaffc311d1a338048df8ec52268f94bf6a518342a18e39f95d374a75e3f00ba6b58a98 diff --git a/games-sports/trigger/trigger-0.6.1-r1.ebuild b/games-sports/trigger/trigger-0.6.1-r1.ebuild index 71a5f7d7bfd1..cd17773e871f 100644 --- a/games-sports/trigger/trigger-0.6.1-r1.ebuild +++ b/games-sports/trigger/trigger-0.6.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit desktop toolchain-funcs @@ -10,49 +10,48 @@ MY_P=${MY_PN}-${PV} DESCRIPTION="Free OpenGL rally car racing game" HOMEPAGE="http://trigger-rally.sourceforge.net/" SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" +S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND=" dev-games/physfs media-libs/freealut - media-libs/libsdl + media-libs/libsdl[joystick] media-libs/openal media-libs/sdl-image[jpeg,png] media-libs/sdl-mixer virtual/glu virtual/opengl" -DEPEND="${RDEPEND} - dev-util/ftjam" - -S=${WORKDIR}/${MY_P} +DEPEND="${RDEPEND}" +BDEPEND="dev-util/ftjam" PATCHES=( "${FILESDIR}"/${P}-gcc6.patch ) -pkg_setup() { +src_configure() { # Otherwise build fails with: # ...skipped trigger for lack of libpengine.a... tc-export AR -} -src_configure() { econf --datadir=/usr/share/games/${PN} } src_compile() { AR="${AR} cru" jam -dx -qa || die - } src_install() { dobin ${PN} + insinto /usr/share/games/${PN} doins -r data/* + newicon data/textures/life_helmet.png ${PN}.png + make_desktop_entry ${PN} Trigger + dodoc doc/*.txt } |