From b8a68ff14101189bc5330d9afa620b8c45212032 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 11 Jun 2023 20:18:01 +0100 Subject: gentoo auto-resync : 11:06:2023 - 20:18:01 --- games-action/descent3-demo/Manifest | 2 +- .../descent3-demo/descent3-demo-1.4.0a-r2.ebuild | 76 ---------------------- .../descent3-demo/descent3-demo-1.4.0a-r3.ebuild | 76 ++++++++++++++++++++++ 3 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644 games-action/descent3-demo/descent3-demo-1.4.0a-r2.ebuild create mode 100644 games-action/descent3-demo/descent3-demo-1.4.0a-r3.ebuild (limited to 'games-action/descent3-demo') diff --git a/games-action/descent3-demo/Manifest b/games-action/descent3-demo/Manifest index cfcbca8a7ac6..150501badf6b 100644 --- a/games-action/descent3-demo/Manifest +++ b/games-action/descent3-demo/Manifest @@ -1,3 +1,3 @@ DIST descent3-demo.run 45118289 BLAKE2B 7e64f03aa6cf75839d1eddf0116686c9d2a121f69a764cf416695455008b608579449ab7458177a2be11910ad361f707501153749d5c8b58dacc36e338251c1c SHA512 8f5e790257d0477e4238aae8fb5b4b1f21e23f188775cb53a5197baf0c174017d821e3a8dd696f9c0fd27838e08cff4bde0d6f5a9dca87a7e8af29cdc627d29c -EBUILD descent3-demo-1.4.0a-r2.ebuild 1700 BLAKE2B 7b27344c4f143a0e82074aac7d180b9e423295d26e4fbe8153f974071b68973114a4ba9db641403370a9e12c557df4840f88d3f0ff68f41a3f2120ff0c79a899 SHA512 78d097278c095271c95c2c79d4f8989b954b48f65954bd94f0aaa497bf6bd09b6d6d5f3e23aa555f03a79eb62552498a58df16f14104727f6af3bb87a9f96d41 +EBUILD descent3-demo-1.4.0a-r3.ebuild 1698 BLAKE2B 8d6ab7ef4e8cb6a106f7de93c3a5928a7273f53b39a7b2ad61bd01eca92ea59426d131b195204a4228adf0c80b8a50282ed1f81e99f49ce78d5a7c2a02e26cb3 SHA512 dabbed96aa782ff6a9f20c1a496b204edcb3e9ca1fd8efa104c6b7a3b2574132d1919c5b2f391cbe5a6d6b869c3b5fc06d29d12553033690533ea1456863b9c2 MISC metadata.xml 675 BLAKE2B 4139ed645b5f8dc482764849d22aab2db6873c040f4a9379e868c7a94f7939922fe2f3c322b62bae133098c1e2d385e3cac2b846667b690f404a19dfaf631d38 SHA512 0dfed7da1f78d986827b595053a09204b8f03f5ee2f701ef5304b6f0d5528c6c037326cb95497d5d9e071857dc3cc43808b2d67a1299053ffe9732e698c1f553 diff --git a/games-action/descent3-demo/descent3-demo-1.4.0a-r2.ebuild b/games-action/descent3-demo/descent3-demo-1.4.0a-r2.ebuild deleted file mode 100644 index b23a9ee52d79..000000000000 --- a/games-action/descent3-demo/descent3-demo-1.4.0a-r2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker wrapper xdg - -DESCRIPTION="Indoor/outdoor 3D combat with evil robotic mining spacecraft" -HOMEPAGE="http://www.lokigames.com/products/descent3/" -SRC_URI="mirror://lokigames/loki_demos/${PN}.run" -S="${WORKDIR}" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa pulseaudio" -REQUIRED_USE="?? ( alsa pulseaudio )" - -RESTRICT="bindist mirror strip" - -RDEPEND=" - sys-libs/glibc - >=virtual/opengl-7.0-r1[abi_x86_32(-)] - >=x11-libs/libX11-1.6.2[abi_x86_32(-)] - >=x11-libs/libXext-1.3.2[abi_x86_32(-)] - alsa? ( media-libs/alsa-oss[abi_x86_32(-)] ) - pulseaudio? ( media-sound/pulseaudio[abi_x86_32(-)] ) -" -BDEPEND="games-util/loki_patch" - -dir="/opt/${PN}" -QA_PREBUILT=" - ${dir#/}/descent3_demo.x86 - ${dir#/}/netgames/*.d3m -" - -src_install() { - local \ - snd= \ - demo="data/demos/descent3_demo" \ - exe="descent3_demo.x86" - - loki_patch patch.dat data/ || die - - insinto ${dir} - doins -r "${demo}"/* - - exeinto ${dir} - doexe "${demo}/${exe}" - - # Required directory - keepdir "${dir}"/missions - - # Fix for 2.6 kernel crash, bug #151148 - dosym ppics.hog "${dir}"/PPics.Hog - - if use alsa; then - snd="aoss " - elif use pulseaudio; then - snd="env LD_PRELOAD=\"${EPREFIX}/usr/$(ABI=x86 get_libdir)/pulseaudio/libpulsedsp.so\" " - fi - - make_wrapper ${PN} "${snd}./${exe} -G -o" "${dir}" - newicon "${demo}"/launch/box.png ${PN}.png - make_desktop_entry ${PN} "Descent 3 (Demo)" -} - -pkg_postinst() { - xdg_pkg_postinst - - elog "To play the game run:" - elog " descent3-demo" - elog - elog "If the game appears blank, then run it windowed with:" - elog " descent3-demo -w" -} diff --git a/games-action/descent3-demo/descent3-demo-1.4.0a-r3.ebuild b/games-action/descent3-demo/descent3-demo-1.4.0a-r3.ebuild new file mode 100644 index 000000000000..a0ae950ccf3b --- /dev/null +++ b/games-action/descent3-demo/descent3-demo-1.4.0a-r3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker wrapper xdg + +DESCRIPTION="Indoor/outdoor 3D combat with evil robotic mining spacecraft" +HOMEPAGE="https://www.lokigames.com/products/descent3/" +SRC_URI="mirror://lokigames/loki_demos/${PN}.run" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa pulseaudio" +REQUIRED_USE="?? ( alsa pulseaudio )" + +RESTRICT="bindist mirror strip" + +RDEPEND=" + sys-libs/glibc + >=virtual/opengl-7.0-r1[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + alsa? ( media-libs/alsa-oss[abi_x86_32(-)] ) + pulseaudio? ( media-libs/libpulse[abi_x86_32(-)] ) +" +BDEPEND="games-util/loki_patch" + +dir="/opt/${PN}" +QA_PREBUILT=" + ${dir#/}/descent3_demo.x86 + ${dir#/}/netgames/*.d3m +" + +src_install() { + local \ + snd= \ + demo="data/demos/descent3_demo" \ + exe="descent3_demo.x86" + + loki_patch patch.dat data/ || die + + insinto ${dir} + doins -r "${demo}"/* + + exeinto ${dir} + doexe "${demo}/${exe}" + + # Required directory + keepdir "${dir}"/missions + + # Fix for 2.6 kernel crash, bug #151148 + dosym ppics.hog "${dir}"/PPics.Hog + + if use alsa; then + snd="aoss " + elif use pulseaudio; then + snd="env LD_PRELOAD=\"${EPREFIX}/usr/$(ABI=x86 get_libdir)/pulseaudio/libpulsedsp.so\" " + fi + + make_wrapper ${PN} "${snd}./${exe} -G -o" "${dir}" + newicon "${demo}"/launch/box.png ${PN}.png + make_desktop_entry ${PN} "Descent 3 (Demo)" +} + +pkg_postinst() { + xdg_pkg_postinst + + elog "To play the game run:" + elog " descent3-demo" + elog + elog "If the game appears blank, then run it windowed with:" + elog " descent3-demo -w" +} -- cgit v1.2.3