From 1252b7a51c2cc6bd3a81830544cacce0aefc0bf1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Dec 2023 19:50:47 +0000 Subject: gentoo auto-resync : 18:12:2023 - 19:50:47 --- games-fps/Manifest.gz | Bin 11895 -> 11892 bytes games-fps/gzdoom/Manifest | 2 +- games-fps/gzdoom/metadata.xml | 1 - games-fps/yamagi-quake2/Manifest | 12 +- games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild | 151 ---------------------- games-fps/yamagi-quake2/yamagi-quake2-8.30.ebuild | 151 ++++++++++++++++++++++ 6 files changed, 158 insertions(+), 159 deletions(-) delete mode 100644 games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild create mode 100644 games-fps/yamagi-quake2/yamagi-quake2-8.30.ebuild (limited to 'games-fps') diff --git a/games-fps/Manifest.gz b/games-fps/Manifest.gz index 93fc8d28325f..c214f96b4c63 100644 Binary files a/games-fps/Manifest.gz and b/games-fps/Manifest.gz differ diff --git a/games-fps/gzdoom/Manifest b/games-fps/gzdoom/Manifest index 3665bfb511b2..632097a8d347 100644 --- a/games-fps/gzdoom/Manifest +++ b/games-fps/gzdoom/Manifest @@ -3,4 +3,4 @@ AUX gzdoom-4.10.0-headers.patch 3999 BLAKE2B 88a024fee77f89d4a58c29b51617f2f28ba AUX gzdoom-4.7.1-Introduce-the-BUILD_NONFREE-option.patch 1209 BLAKE2B b3cf80ab4d6328dbcb14ceb9514883ed58b8086dab02182f4cf8964140095dd8d6ac0503c68a4c7442c0f9cc92b4bb6b3e084eee026be52842413e15118a13be SHA512 a08c29fe6b867dbbe60035c99c31d1bce73c1ff37ca2c15f659e060b77366f6fcdc11d2319dee3331d9874115e92566b9c0a6364604869f3815fbb0ee7179ef6 DIST gzdoom-4.10.0.tar.gz 24319337 BLAKE2B a683182ed1bb091d19cff127352068faa846f0a10bc0ade07f8277dca7a5367d0bc19d2828c485fba11cefdb47aa8d99224bb8babbebe3df0b99a6fde577a586 SHA512 fd2f6e34aaa59e3d153de6359211082398878dae3d396ab55fc736f94e1378d5e03193d7912a29a531cf1dc255d30af63ad1c6472784e3745db6ac4a3a9e6fe6 EBUILD gzdoom-4.10.0.ebuild 2348 BLAKE2B 7df7ceaad500561d6be8a12c44c726f36cfa842c08286e8e951141575f3511dad12b9a7b98f5ece1b31e3678223aab4bb3cd9e30f33bf3a5a88b8f5a3452eeec SHA512 966c031675d45424e8f5ed2be484297d3345b5b6e9e9524cc9056c5a26d6f8418a1054dd86baa0c6530619c3a03c42d5c2bae311918e4a654f6c5bb8633a83d6 -MISC metadata.xml 880 BLAKE2B 2567e34ed2a970d0d8ca70590dc6e6440b09f9949f2283c9b028a4245265db826d8ecc27710226738cf418a64aeaa0776b2909c377db3f06efa6dabd2d624fff SHA512 037a5f1e53ffc75178d895e0c232ce62181785155875e3eee0f814273ece452baaead182185d3dd6f5cea4ddb110a17072b796559c964694a46bd52ec0290822 +MISC metadata.xml 831 BLAKE2B 10826d6059b0fbde6215bdac4a0ba83556b653295156a579ed8a8841bc233c3760cafbddf7073b22d776fa7b87f5fe0ef92960694f5e9970f74a644e794c739b SHA512 6888a190bd07d76ee063c800864111926ae63f3efc539b4f722c99be6f6e41fcae28146668ad840724435650ec2f0d144272ca4094a97b6047c22ef0cf207f17 diff --git a/games-fps/gzdoom/metadata.xml b/games-fps/gzdoom/metadata.xml index 41b3c9962102..b337177bc8a0 100644 --- a/games-fps/gzdoom/metadata.xml +++ b/games-fps/gzdoom/metadata.xml @@ -14,7 +14,6 @@ Gentoo Games Project - Enable GLES2 backend Enable non-free components Enable software renderer diff --git a/games-fps/yamagi-quake2/Manifest b/games-fps/yamagi-quake2/Manifest index 85e90be00320..86ad15178405 100644 --- a/games-fps/yamagi-quake2/Manifest +++ b/games-fps/yamagi-quake2/Manifest @@ -1,14 +1,14 @@ AUX yamagi-quake2-8.01-execinfo.patch 1356 BLAKE2B 0e2ca61efc754046b4b66179f00ac176b24f7a76b27a2706abcadcacf74eddda7dcc042a0932ce04988b60ceb2682ac5870f67fd929440649a5007d3da20a89a SHA512 0daeb4621cdc93a2477cc84b9eb7f70a46d17aee3eab52991f90f17a38bada6e815a5164637629ae481ce0a5520089dfce14fad97eb986823885aadebbb34827 -DIST quake2-8.10.tar.xz 2138064 BLAKE2B 80fbb467977d365aa19015eade8d6cb6004895f8f5a605cdbd840ac41ad2d8a51da1ef3653f401bd1e597c39185f273a5f9720570ad9899815e6bc064a323027 SHA512 390a3971d5473166e4c24ef93b1866ae4ca05d17f6c5906d0b7a5bd81d3fbfbff6756b8222af5e3bf2a2f738215375a9eb2947b8690aceb99ac2bf4125d19d25 DIST quake2-8.20.tar.xz 2152184 BLAKE2B 6616666bcc48f7d97d06e71744f6ebdd3ef6a2701b628fe6d7c26293f8b62586bd03037877a77c3c56660e6e11704e6149e8bd7aad3c5fe28964ee25278cd16f SHA512 5dbdbbf582494d16d00b9880ddea6de4b098a307dbe4ddf6bc90aa6b2bd2928c10fab40cf5dd63861e7a37f9c75b9afae6f43f8bfff3ee6704ca94f78ff9b7d2 -DIST quake2-ctf-1.08.tar.xz 136468 BLAKE2B cce9f75333c03494dccc1a693c3c0a62194457673c17c59cd5d08a06a11daa769dabaf787c04d9de291c7cc255b4decef06ae5f045c5bc7bc3f4008f0e6babdb SHA512 3d3343ae5287c5f01efd3363ede19f2e41cc8d083691c928afd9e4a81c0b46f6002eb2ed99d11742b7c04f8ea728a1dbb3b5d26ce4fd1066b4f49e3fb664317e +DIST quake2-8.30.tar.xz 2165532 BLAKE2B cc0d42d643d066368450f2d789a987a978a3c0f319fdba2593e5275c4af3b2e7833913326d6cee39ddf854564638a3e2dc27c8333afbf0ff36691c31f5b093d8 SHA512 2801cc167f6780c93b9abb5462b6f57c4487ba8745f61dd4732ec9fccd0c07b5058b9e6640dae71b74eece5248fbae72ce071cc5b96e0d9a9e0540389e1fa413 DIST quake2-ctf-1.09.tar.xz 136564 BLAKE2B 352dd4a8a7a10b28ecff49bf61517fa39f4836e3f40fc41f234d5bb845467e1e87a385d4f4786d61228e2d9bcbb8647b660f054ea72af826b7fefb052f946d7d SHA512 2ba40ef7c973cc57aa632e3a102784f5819109019dc5e614ff376e69ba85a21a85171c713c1c55a023f17ba2f2f8f888acbf37e103e39d4f21cc498d167a0aa6 -DIST quake2-ref_vk-1.0.2.tar.gz 295693 BLAKE2B 422fa9f406302140c0cad4994f4e33a6b145dd954417635a73406fd5d888ed8884d335a15e13069881d8102aa87157f0061553c3c3dc253b5fdb40b389b0027f SHA512 5b6d72a6a769cd9171a6ac2776f9c637e527800b3214e1799041e0c19c9b258130b6fb67812e5c889a1b1f593edd14c23ea4aa00cbfec06e68ef8aeb132a7102 +DIST quake2-ctf-1.10.tar.xz 136544 BLAKE2B 04a374a32b90d4dd77cb7f57f361775310560b29a75b61b7acec1f3694041b04afa9fc7c75b93872368c6af552531ab2aba0d766f2394fd5a77da8017a3f9878 SHA512 66734ce71097a8a584408916fe445d56e81ae86c19ecdd178dfe9f14aa1a526a9f098b0f5756441c80b5516c160e7f64454acc5c351f0ed99acc7dea0a2d9027 DIST quake2-ref_vk-1.0.4.tar.gz 301286 BLAKE2B f5b03e451a5e341fcce4db353d71dd80f579326e7d7d6db899e17490f74d4d2b74b6186a57a614bb82b8460f59d3b0ad0f60f8045ff6ad35bbc14ebb54cb8e1e SHA512 9db1b75c2676d22e10fe0d9954349585d055eb29a58d63e04a023670d1a60f8bc8fc0b8ecfc854edd1f464d6200a58d56dd8fdd3489389047e2e5198fdf756a3 -DIST quake2-rogue-2.09.tar.xz 305548 BLAKE2B d0623a68b52faf87caa974ba9bcf511e24b132b3fb371dea312c8ff8edab943fcdcfd0bf4278cb996c9b8b85da5c61a1b276e3f0d4493d2e69615908c4f6c01e SHA512 f69fe00c1d3484280231b4ec625aff5f3135f013398014d01ed3823834f17bcbc8930911843b00b088a8247e42ce5074f5b2a029ff2a695ed65e8561ed563de5 +DIST quake2-ref_vk-1.0.7.tar.gz 315716 BLAKE2B b12996f3f09f07ebd8ed10fe138115046061941b70db7c7da9d0c639ddb2553fd040f9552db107757ea4f86e496665c520b4d4c2b3611a6d51692bdb5c6cc9b4 SHA512 52a05e64e6d41be78945b6908a08839507e1c14d9d16661ba45eda3bb4147ca4c89cc767343a5ad96e2bcef5c7773ed4fa128eaf829c0433f363873fafd326a4 DIST quake2-rogue-2.10.tar.xz 306052 BLAKE2B 3b77949857014dd0fa96ad14eabe9548f18cdc47a7620c2dba89709d5d0747e05a22a5b50fe6ee7599ae61969572fa4b26334615947991008b8187df6eb1d19a SHA512 52929c3d483b569a90f4e3183ffe0525ee5f73cd50ef12148e9c3894ee5e9ec73b3458677fcdeae4df4a93bd49ef9e43d6ff3c4ab989e982018d3e76a76e4fc0 -DIST quake2-xatrix-2.10.tar.xz 214664 BLAKE2B 858a33c10ad3378449cf96cf4cec45bbbeb0680eb7296a6ab9a266dcb83053a1ea784f171b3b163426583ce2bd4b5631daa0b327a9c4ab1c13ab469a62a3d85d SHA512 fa6c008fba766e0ec159ab0a9ea72fb4bcf33c428f5b5c37a0611c9f2052f147d14af9872bbccdfdf4ab485bf523398c32dfa91a767b715a2dc84355b7e1d204 +DIST quake2-rogue-2.11.tar.xz 324220 BLAKE2B c2c4b9b65238302f81f31f02b3576fd29507d276482c74b6b3720ceb4664e49109afc0e14a759de2866125b98e775e9417461682d14b11895e2470cb293e9da9 SHA512 9ff487c7907cb809efe2f327adb9547f65ca4dbaeec638ddc8e9e7b52da4d1b1574107e835a6975ab626ce5c0bf0cec0a7cc5880e45a973a208b7ebf051f80ce DIST quake2-xatrix-2.11.tar.xz 215284 BLAKE2B d763005e33d4d5db7c8ca9c93597e6a2d207cb9fb6f3fdbc758c148833226006caa7ebdb23865a6aa434e367d2259e630da177033a6760c7b1e51044cff4cb0b SHA512 a9f668804feb942a65eae1a537a4c26c079511d9dc7bf339fb9e1dff1de4dce8d0795813387e15947d0906044a75de7411d1c84f290b64e37f417d3fdf2fa5b0 -EBUILD yamagi-quake2-8.10.ebuild 3831 BLAKE2B ecbc3a4b35491a6a5fc9766b92ebb7b4b9ef0cb56cefebf2a9b2b58c53448dc4b488af78b71eb472735a14d36f64fca648bed677e53b88f07a37e9d3c2843766 SHA512 52a1929d05a6bf58fa869f1c2afb430925fbd9a415d5672c995c00fd143974f1c48d9db58b9647996eb2387eb03fa0a53abff17ce5ed935904d7985edb8ef83b +DIST quake2-xatrix-2.12.tar.xz 216216 BLAKE2B db4e59a852a7e6f37532a79f5b74661390dd28782d0ee1ea4cc0ea77d191922adaefba8e8046b38c7b4231bd5a151562f92d56e0ee15b962cb9154fd8de36374 SHA512 291360583777dedab9935634a825f8859c12c851f103136d36c028d185bec2409a6634a6bf83db479c1b3fd3fece11698b1bd274eff75f41d51a9e498f0ba804 EBUILD yamagi-quake2-8.20.ebuild 3831 BLAKE2B 1f3529503764b46712d802a871013c317c5fbda32f392e189cef90fd418d485b05206b666190511362ddf99264482fab75db0a0b67027fa974433d2a8ff94c11 SHA512 6b8dec60a56bfcf6963db323e9dd626b5de2ee08d7469be818d2ad7b1a44672239b059473bb47d6af786f1e9ca33404aaf60b832128ca72aa2ae74b2368929e7 +EBUILD yamagi-quake2-8.30.ebuild 3831 BLAKE2B cd0e0afc09f5ebd0c077b3d82319e4ce4e1a641d56f0c207246c18cac82898d0e8b37f61532b8fb7c7585379f47dad1650b9b0ca7a32233f2500b76b766883a8 SHA512 d5c18ad63c518c6d39ccab4379ab553c0f6facd6ff90c8e619290f11dc040c17692586f86af4ce36abb60883bdc0d1e685d12e7787f9c3f836a48f09f5cae02a MISC metadata.xml 1045 BLAKE2B 36c1bedf0094f4c6aeeba84680c9e60f26eaa6c237a0936a12882decb1f48fb602ead075df71b5f340a822627fadc0952521a138588c55b498e72d27fcae1fe7 SHA512 0c8998876069f7110a2a3270954faaebfcc6c61ce9ed17265b202bd27c6d8f76e4b057c371a021a68b9a38ededffcbaf5fadbe2ef3a3deff04b39b58f8ed17a3 diff --git a/games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild deleted file mode 100644 index 4a4a792e4187..000000000000 --- a/games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop toolchain-funcs wrapper - -CTF_V="1.08" -ROGUE_V="2.09" -XATRIX_V="2.10" -REF_VK_V="1.0.2" - -DESCRIPTION="Quake 2 engine focused on single player" -HOMEPAGE="https://www.yamagi.org/quake2/" -SRC_URI="https://deponie.yamagi.org/quake2/quake2-${PV}.tar.xz - ctf? ( https://deponie.yamagi.org/quake2/quake2-ctf-${CTF_V}.tar.xz ) - rogue? ( https://deponie.yamagi.org/quake2/quake2-rogue-${ROGUE_V}.tar.xz ) - xatrix? ( https://deponie.yamagi.org/quake2/quake2-xatrix-${XATRIX_V}.tar.xz ) - vulkan? ( https://github.com/yquake2/ref_vk/archive/refs/tags/v${REF_VK_V}.tar.gz -> - quake2-ref_vk-${REF_VK_V}.tar.gz ) -" -S="${WORKDIR}/quake2-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="+client ctf dedicated gles openal +opengl rogue softrender vulkan xatrix" -REQUIRED_USE=" - || ( client dedicated ) - client? ( || ( opengl gles softrender vulkan ) ) -" - -RDEPEND=" - client? ( - media-libs/libsdl2[opengl?,video,vulkan?] - net-misc/curl - gles? ( - media-libs/libglvnd - media-libs/libsdl2[gles2] - ) - openal? ( media-libs/openal ) - !openal? ( media-libs/libsdl2[sound] ) - opengl? ( media-libs/libglvnd[X] ) - ) -" -DEPEND="${RDEPEND} - client? ( vulkan? ( dev-util/vulkan-headers ) ) -" - -PATCHES=( "${FILESDIR}"/${PN}-8.01-execinfo.patch ) - -DOCS=( CHANGELOG README.md doc ) - -src_compile() { - tc-export CC - - local targets=( game ) - local emakeargs=( - VERBOSE=1 - WITH_EXECINFO=$(usex elibc_musl no yes) - WITH_SYSTEMWIDE=yes - WITH_SYSTEMDIR="${EPREFIX}"/usr/share/quake2 - WITH_OPENAL=$(usex openal) - ) - - if use client; then - targets+=( client ) - use gles && targets+=( ref_gles3 ) - use opengl && targets+=( ref_gl1 ref_gl3 ) - use softrender && targets+=( ref_soft ) - fi - use dedicated && targets+=( server ) - - emake "${emakeargs[@]}" config - emake "${emakeargs[@]}" "${targets[@]}" - - if use client && use vulkan; then - emake -C "${WORKDIR}"/ref_vk-${REF_VK_V} VERBOSE=1 - fi - - local addon - for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do - emake -C "${WORKDIR}"/quake2-${addon}-* VERBOSE=1 - done -} - -src_install() { - insinto /usr/lib/yamagi-quake2 - # Yamagi Quake II expects all binaries to be in the same directory - # See doc/070_packaging.md for more info - exeinto /usr/lib/yamagi-quake2 - doins -r release/. - - if use client; then - doexe release/quake2 - dosym ../lib/yamagi-quake2/quake2 /usr/bin/yquake2 - - newicon stuff/icon/Quake2.svg "yamagi-quake2.svg" - make_desktop_entry "yquake2" "Yamagi Quake II" - - if use vulkan; then - doins "${WORKDIR}"/ref_vk-${REF_VK_V}/release/ref_vk.so - fi - fi - - if use dedicated; then - doexe release/q2ded - dosym ../lib/yamagi-quake2/q2ded /usr/bin/yq2ded - fi - - insinto /usr/lib/yamagi-quake2/baseq2 - doins stuff/yq2.cfg - - local addon - for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do - insinto /usr/lib/yamagi-quake2/${addon} - doins "${WORKDIR}"/quake2-${addon}-*/release/game.so - - if use client; then - local addon_name - case ${addon} in - ctf) addon_name="CTF" ;; - rogue) addon_name="Ground Zero" ;; - xatrix) addon_name="The Reckoning" ;; - esac - - make_wrapper "yquake2-${addon}" "yquake2 +set game ${addon}" - make_desktop_entry "yquake2-${addon}" "Yamagi Quake II: ${addon_name}" - fi - done - - keepdir /usr/share/quake2 - - einstalldocs - if use client; then - docinto examples - dodoc stuff/cdripper.sh - fi -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog - elog "In order to play, you should do one of the following things:" - elog " - install games-fps/quake2-data or games-fps/quake2-demodata;" - elog " - manually copy game data files into ~/.yq2/ or" - elog " ${EROOT}/usr/share/quake2/." - elog "Read ${EROOT}/usr/share/doc/${PF}/README.md* for more information." - elog - fi -} diff --git a/games-fps/yamagi-quake2/yamagi-quake2-8.30.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-8.30.ebuild new file mode 100644 index 000000000000..250ea6612a77 --- /dev/null +++ b/games-fps/yamagi-quake2/yamagi-quake2-8.30.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs wrapper + +CTF_V="1.10" +ROGUE_V="2.11" +XATRIX_V="2.12" +REF_VK_V="1.0.7" + +DESCRIPTION="Quake 2 engine focused on single player" +HOMEPAGE="https://www.yamagi.org/quake2/" +SRC_URI="https://deponie.yamagi.org/quake2/quake2-${PV}.tar.xz + ctf? ( https://deponie.yamagi.org/quake2/quake2-ctf-${CTF_V}.tar.xz ) + rogue? ( https://deponie.yamagi.org/quake2/quake2-rogue-${ROGUE_V}.tar.xz ) + xatrix? ( https://deponie.yamagi.org/quake2/quake2-xatrix-${XATRIX_V}.tar.xz ) + vulkan? ( https://github.com/yquake2/ref_vk/archive/refs/tags/v${REF_VK_V}.tar.gz -> + quake2-ref_vk-${REF_VK_V}.tar.gz ) +" +S="${WORKDIR}/quake2-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="+client ctf dedicated gles openal +opengl rogue softrender vulkan xatrix" +REQUIRED_USE=" + || ( client dedicated ) + client? ( || ( opengl gles softrender vulkan ) ) +" + +RDEPEND=" + client? ( + media-libs/libsdl2[opengl?,video,vulkan?] + net-misc/curl + gles? ( + media-libs/libglvnd + media-libs/libsdl2[gles2] + ) + openal? ( media-libs/openal ) + !openal? ( media-libs/libsdl2[sound] ) + opengl? ( media-libs/libglvnd[X] ) + ) +" +DEPEND="${RDEPEND} + client? ( vulkan? ( dev-util/vulkan-headers ) ) +" + +PATCHES=( "${FILESDIR}"/${PN}-8.01-execinfo.patch ) + +DOCS=( CHANGELOG README.md doc ) + +src_compile() { + tc-export CC + + local targets=( game ) + local emakeargs=( + VERBOSE=1 + WITH_EXECINFO=$(usex elibc_musl no yes) + WITH_SYSTEMWIDE=yes + WITH_SYSTEMDIR="${EPREFIX}"/usr/share/quake2 + WITH_OPENAL=$(usex openal) + ) + + if use client; then + targets+=( client ) + use gles && targets+=( ref_gles3 ) + use opengl && targets+=( ref_gl1 ref_gl3 ) + use softrender && targets+=( ref_soft ) + fi + use dedicated && targets+=( server ) + + emake "${emakeargs[@]}" config + emake "${emakeargs[@]}" "${targets[@]}" + + if use client && use vulkan; then + emake -C "${WORKDIR}"/ref_vk-${REF_VK_V} VERBOSE=1 + fi + + local addon + for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do + emake -C "${WORKDIR}"/quake2-${addon}-* VERBOSE=1 + done +} + +src_install() { + insinto /usr/lib/yamagi-quake2 + # Yamagi Quake II expects all binaries to be in the same directory + # See doc/070_packaging.md for more info + exeinto /usr/lib/yamagi-quake2 + doins -r release/. + + if use client; then + doexe release/quake2 + dosym ../lib/yamagi-quake2/quake2 /usr/bin/yquake2 + + newicon stuff/icon/Quake2.svg "yamagi-quake2.svg" + make_desktop_entry "yquake2" "Yamagi Quake II" + + if use vulkan; then + doins "${WORKDIR}"/ref_vk-${REF_VK_V}/release/ref_vk.so + fi + fi + + if use dedicated; then + doexe release/q2ded + dosym ../lib/yamagi-quake2/q2ded /usr/bin/yq2ded + fi + + insinto /usr/lib/yamagi-quake2/baseq2 + doins stuff/yq2.cfg + + local addon + for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do + insinto /usr/lib/yamagi-quake2/${addon} + doins "${WORKDIR}"/quake2-${addon}-*/release/game.so + + if use client; then + local addon_name + case ${addon} in + ctf) addon_name="CTF" ;; + rogue) addon_name="Ground Zero" ;; + xatrix) addon_name="The Reckoning" ;; + esac + + make_wrapper "yquake2-${addon}" "yquake2 +set game ${addon}" + make_desktop_entry "yquake2-${addon}" "Yamagi Quake II: ${addon_name}" + fi + done + + keepdir /usr/share/quake2 + + einstalldocs + if use client; then + docinto examples + dodoc stuff/cdripper.sh + fi +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "In order to play, you should do one of the following things:" + elog " - install games-fps/quake2-data or games-fps/quake2-demodata;" + elog " - manually copy game data files into ~/.yq2/ or" + elog " ${EROOT}/usr/share/quake2/." + elog "Read ${EROOT}/usr/share/doc/${PF}/README.md* for more information." + elog + fi +} -- cgit v1.2.3