diff options
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/Manifest.gz | bin | 16469 -> 16472 bytes | |||
-rw-r--r-- | games-puzzle/braid-gog/Manifest | 4 | ||||
-rw-r--r-- | games-puzzle/braid-gog/braid-gog-2.0.0.3-r1.ebuild | 84 | ||||
-rw-r--r-- | games-puzzle/braid-gog/braid-gog-2.0.0.3.ebuild | 55 | ||||
-rw-r--r-- | games-puzzle/braid-gog/metadata.xml | 3 | ||||
-rw-r--r-- | games-puzzle/braid-hb/Manifest | 4 | ||||
-rw-r--r-- | games-puzzle/braid-hb/braid-hb-20150611-r1.ebuild | 84 | ||||
-rw-r--r-- | games-puzzle/braid-hb/braid-hb-20150611.ebuild | 55 | ||||
-rw-r--r-- | games-puzzle/braid-hb/metadata.xml | 3 |
9 files changed, 178 insertions, 114 deletions
diff --git a/games-puzzle/Manifest.gz b/games-puzzle/Manifest.gz Binary files differindex 2049cc3490f9..343ef8ad610b 100644 --- a/games-puzzle/Manifest.gz +++ b/games-puzzle/Manifest.gz diff --git a/games-puzzle/braid-gog/Manifest b/games-puzzle/braid-gog/Manifest index baec12bcade4..98ea310707ae 100644 --- a/games-puzzle/braid-gog/Manifest +++ b/games-puzzle/braid-gog/Manifest @@ -1,3 +1,3 @@ DIST gog_braid_2.0.0.3.sh 122931560 BLAKE2B a15dde4a56510613d7104126c1f275ff17f07a246fc3f09cd2df26b870488c4b4e81a32f7505fc3b720f503f252ac00259aa7225b25c804af64bcced24c81bec SHA512 a7cccb0135e359e5bd7e0499fa449ff1e57c00a648aba37a5df7a12ec5a2a6d3b1758af7a168aec562c83bde864fa6cbbe2504b8a334bab01f6b209a8e4aadc6 -EBUILD braid-gog-2.0.0.3.ebuild 1204 BLAKE2B 9634e85ec51f87ad55bf734194c07c6434d693c4239f3ec339a3a38ee4186ba1a5e244b5f4f2cd2474bd018dd5d9b579a739d1cf8817629ffe00e1c3a3236c8f SHA512 8b28e7ff01e83e37421d95c1c3cfe4d33cf3312cde8ec8ffb863d9da7164c69796b17ade9891643cc8c93dd6fd73ecc1a0a1b07fa1baa3298bdad1d8226b305f -MISC metadata.xml 254 BLAKE2B 4e6c8e1f126f76233a38aba6f5388488656795cb1d7d4767ccb1349772f5e78d59fc5663d4f1933dbe4633c2fbb90cd1d42d4b4d4f5ededc53653e7df13c7187 SHA512 2b82da849e3b0dec378f3fb497014f5d1dbc7aceb8a1f9d1638e83fe69448b1c5151eb4b1187154d828e4a296609ce5125b40977b2581d95b5588e353ca75135 +EBUILD braid-gog-2.0.0.3-r1.ebuild 1887 BLAKE2B 63555ec03ddd6f87de406d687c41fc56510c779819b9bbfe30c5ee51a70048a7f3c159cb2d956a1fa1e6b96413d8fe7789e9fadbaaa6485a1c535195dfe99a0b SHA512 f84e78d5271af658184b70874605c2cf0dc882a22427a81929243ef5ef5d768b73bb126325763c19d04457bfca30011f87460151eae7626645d9aa6fae9f10a5 +MISC metadata.xml 357 BLAKE2B 8b68058c32249f454cc8a320e08646437c7f6c63ea513b06ef86e1083f5a6dd9a301bc71ecd7cb684d8abf677389e2521239108575cbe1937b00769af4547a83 SHA512 fcc165f156a3089862f0cc5db9f6b8eabe4efcecf42638775e884a1f213b39b35c5c92f842efd6b9fd000157edff391d98cca878622a490d1dbee708f9f1526a diff --git a/games-puzzle/braid-gog/braid-gog-2.0.0.3-r1.ebuild b/games-puzzle/braid-gog/braid-gog-2.0.0.3-r1.ebuild new file mode 100644 index 000000000000..29f625d647fb --- /dev/null +++ b/games-puzzle/braid-gog/braid-gog-2.0.0.3-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker xdg + +MY_PN="braid" +DESCRIPTION="Platform game where you manipulate flow of time" +HOMEPAGE="https://www.gog.com/en/game/braid" +SRC_URI="gog_${MY_PN}_${PV}.sh" +S="${WORKDIR}/data/noarch/game" + +LICENSE="GOG-EULA Arphic CC-BY-NC-SA-1.0" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="launcher" +RESTRICT="bindist fetch splitdebug" + +BDEPEND=" + app-arch/unzip +" + +RDEPEND=" + !${CATEGORY}/${MY_PN}-hb + media-gfx/nvidia-cg-toolkit[abi_x86_32] + media-libs/libsdl2[joystick,opengl,sound,video,abi_x86_32] + virtual/opengl[abi_x86_32] + launcher? ( + media-libs/fontconfig:1.0[abi_x86_32] + x11-libs/libX11[abi_x86_32] + x11-libs/libXcursor[abi_x86_32] + x11-libs/libXext[abi_x86_32] + x11-libs/libXfixes[abi_x86_32] + x11-libs/libXft[abi_x86_32] + x11-libs/libXinerama[abi_x86_32] + ) +" + +DIR="/opt/${MY_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_unpack() { + unpack_zip ${A} +} + +src_install() { + exeinto "${DIR}" + insinto "${DIR}" + + doexe Braid.bin.x86 + doins -r data Icon.bmp + dodoc READ_ME.txt + + if use launcher; then + doexe launcher.bin.x86 + exeinto "${DIR}"/lib + doexe lib/libfltk.so.1.3 + dosym "../..${DIR}/launcher.bin.x86" /usr/bin/${MY_PN} + else + dosym "../..${DIR}/Braid.bin.x86" /usr/bin/${MY_PN} + fi + + newicon -s 256 Icon.png ${MY_PN}.png + make_desktop_entry ${MY_PN} Braid +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use launcher; then + elog "You have disabled the launcher. The game will run fullscreen with" + elog "Vsync and postprocessing enabled at an optimal framerate by default." + elog "Pass these options to change that:" + elog "" + elog " -windowed -width [X] -height [Y] -no_vsync -no_post -[R]fps" + fi +} diff --git a/games-puzzle/braid-gog/braid-gog-2.0.0.3.ebuild b/games-puzzle/braid-gog/braid-gog-2.0.0.3.ebuild deleted file mode 100644 index 487d6adc7a25..000000000000 --- a/games-puzzle/braid-gog/braid-gog-2.0.0.3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop unpacker wrapper xdg - -MY_PN="braid" -DESCRIPTION="Platform game where you manipulate flow of time" -HOMEPAGE="https://www.gog.com/en/game/braid" -SRC_URI="gog_${MY_PN}_${PV}.sh" - -LICENSE="GOG-EULA Arphic CC-BY-NC-SA-1.0" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist fetch splitdebug" - -BDEPEND=" - app-arch/unzip -" - -RDEPEND=" - media-gfx/nvidia-cg-toolkit[abi_x86_32] - media-libs/libsdl2[joystick,opengl,sound,video,abi_x86_32] - virtual/opengl[abi_x86_32] - x11-libs/fltk:1[abi_x86_32] - x11-libs/libX11[abi_x86_32] - !${CATEGORY}/${MY_PN}-hb -" - -S="${WORKDIR}/data/noarch/game" -DIR="/opt/${MY_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_unpack() { - unpack_zip ${A} -} - -src_install() { - exeinto "${DIR}" - insinto "${DIR}" - - doexe {Braid,launcher}.bin.x86 - doins -r data Icon.* - dodoc READ_ME.txt - - make_wrapper ${MY_PN} ./launcher.bin.x86 "${DIR}" /usr/$(ABI=x86 get_libdir)/fltk - make_desktop_entry ${MY_PN} Braid "${EPREFIX}${DIR}"/Icon.png -} diff --git a/games-puzzle/braid-gog/metadata.xml b/games-puzzle/braid-gog/metadata.xml index 7c730d47817a..9628757c45f0 100644 --- a/games-puzzle/braid-gog/metadata.xml +++ b/games-puzzle/braid-gog/metadata.xml @@ -5,4 +5,7 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> + <use> + <flag name="launcher">Install FLTK-based launcher that you probably don't need</flag> + </use> </pkgmetadata> diff --git a/games-puzzle/braid-hb/Manifest b/games-puzzle/braid-hb/Manifest index 93af217638c3..e39d2ce563d8 100644 --- a/games-puzzle/braid-hb/Manifest +++ b/games-puzzle/braid-hb/Manifest @@ -1,3 +1,3 @@ DIST BraidSetup-2015-06-11.sh 121622129 BLAKE2B 9cb255621c6e2461dff0ca0dc779d62aef09a16d413e1909c505e41be1db5475be5ced8e16ce8d989faa70f3f7a614e3ac7af99a28feccf1859182dca762b042 SHA512 8f27efd0e6514f92c177663d5cb342b026017e66abe2a46df6b08880a28c8220a7cfcb5607eaf01ace3a39c7c8af5e5f9f62c661d4018cdadc102f4caf677a93 -EBUILD braid-hb-20150611.ebuild 1253 BLAKE2B 86c4202b66b8dcf8ab49e92dc6f6ce6900a8b0c17c2e2befe8d83d1628bc8a1a39441524119f7ccdd2b535993b73941d3c4621e86b29afae46518675420125c2 SHA512 7194d7f9c23bdbce0dffab101ec06008d04561fc76f51043f7b8fe6f8fc8a612de9a68129eb0d41cd3310a52498bbb36fbdfab8d026252e61882e4479017a9fd -MISC metadata.xml 254 BLAKE2B 4e6c8e1f126f76233a38aba6f5388488656795cb1d7d4767ccb1349772f5e78d59fc5663d4f1933dbe4633c2fbb90cd1d42d4b4d4f5ededc53653e7df13c7187 SHA512 2b82da849e3b0dec378f3fb497014f5d1dbc7aceb8a1f9d1638e83fe69448b1c5151eb4b1187154d828e4a296609ce5125b40977b2581d95b5588e353ca75135 +EBUILD braid-hb-20150611-r1.ebuild 1951 BLAKE2B 3d8e82fb2b4de5cea27a7fc3234b88ca67325698acd50099c07496a12c0fc4d4a0f17cef6a0bb1dd681697ccb134676ad6a3b1bc6b49d4581eafdfcfc91a91b7 SHA512 02da7c28f2407c27dae32c2038f947acb14cc9dafa5e34c3bf8e1cecc3b2776e2e0aa1f8812a6ffb2f0df047ebf3ec2bad73ac3bdac1176a1efbb8c1b3f1a376 +MISC metadata.xml 357 BLAKE2B 8b68058c32249f454cc8a320e08646437c7f6c63ea513b06ef86e1083f5a6dd9a301bc71ecd7cb684d8abf677389e2521239108575cbe1937b00769af4547a83 SHA512 fcc165f156a3089862f0cc5db9f6b8eabe4efcecf42638775e884a1f213b39b35c5c92f842efd6b9fd000157edff391d98cca878622a490d1dbee708f9f1526a diff --git a/games-puzzle/braid-hb/braid-hb-20150611-r1.ebuild b/games-puzzle/braid-hb/braid-hb-20150611-r1.ebuild new file mode 100644 index 000000000000..fbcfe6c7f880 --- /dev/null +++ b/games-puzzle/braid-hb/braid-hb-20150611-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker xdg + +MY_PN="braid" +DESCRIPTION="Platform game where you manipulate flow of time" +HOMEPAGE="https://www.humblebundle.com/store/braid" +SRC_URI="BraidSetup-${PV:0:4}-${PV:4:2}-${PV:6:2}.sh" +S="${WORKDIR}/data" + +LICENSE="all-rights-reserved Arphic CC-BY-NC-SA-1.0" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="launcher" +RESTRICT="bindist fetch splitdebug" + +BDEPEND=" + app-arch/unzip +" + +RDEPEND=" + !${CATEGORY}/${MY_PN}-gog + media-gfx/nvidia-cg-toolkit[abi_x86_32] + media-libs/libsdl2[joystick,opengl,sound,video,abi_x86_32] + virtual/opengl[abi_x86_32] + launcher? ( + media-libs/fontconfig:1.0[abi_x86_32] + x11-libs/libX11[abi_x86_32] + x11-libs/libXcursor[abi_x86_32] + x11-libs/libXext[abi_x86_32] + x11-libs/libXfixes[abi_x86_32] + x11-libs/libXft[abi_x86_32] + x11-libs/libXinerama[abi_x86_32] + ) +" + +DIR="/opt/${MY_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_unpack() { + unpack_zip ${A} +} + +src_install() { + exeinto "${DIR}" + insinto "${DIR}" + + doexe x86/Braid.bin.x86 + doins -r noarch/{data,Icon.bmp} + dodoc noarch/READ_ME.txt + + if use launcher; then + doexe x86/launcher.bin.x86 + exeinto "${DIR}"/lib + doexe x86/lib/libfltk.so.1.3 + dosym "../..${DIR}/launcher.bin.x86" /usr/bin/${MY_PN} + else + dosym "../..${DIR}/Braid.bin.x86" /usr/bin/${MY_PN} + fi + + newicon -s 256 noarch/Icon.png ${MY_PN}.png + make_desktop_entry ${MY_PN} Braid +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use launcher; then + elog "You have disabled the launcher. The game will run fullscreen with" + elog "Vsync and postprocessing enabled at an optimal framerate by default." + elog "Pass these options to change that:" + elog "" + elog " -windowed -width [X] -height [Y] -no_vsync -no_post -[R]fps" + fi +} diff --git a/games-puzzle/braid-hb/braid-hb-20150611.ebuild b/games-puzzle/braid-hb/braid-hb-20150611.ebuild deleted file mode 100644 index e289db38e3e0..000000000000 --- a/games-puzzle/braid-hb/braid-hb-20150611.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop unpacker wrapper xdg - -MY_PN="braid" -DESCRIPTION="Platform game where you manipulate flow of time" -HOMEPAGE="https://www.humblebundle.com/store/braid" -SRC_URI="BraidSetup-${PV:0:4}-${PV:4:2}-${PV:6:2}.sh" - -LICENSE="all-rights-reserved Arphic CC-BY-NC-SA-1.0" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist fetch splitdebug" - -BDEPEND=" - app-arch/unzip -" - -RDEPEND=" - media-gfx/nvidia-cg-toolkit[abi_x86_32] - media-libs/libsdl2[joystick,opengl,sound,video,abi_x86_32] - virtual/opengl[abi_x86_32] - x11-libs/fltk:1[abi_x86_32] - x11-libs/libX11[abi_x86_32] - !${CATEGORY}/${MY_PN}-gog -" - -S="${WORKDIR}/data" -DIR="/opt/${MY_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_unpack() { - unpack_zip ${A} -} - -src_install() { - exeinto "${DIR}" - insinto "${DIR}" - - doexe x86/{Braid,launcher}.bin.x86 - doins -r noarch/{data,Icon.*} - dodoc noarch/READ_ME.txt - - make_wrapper ${MY_PN} ./launcher.bin.x86 "${DIR}" /usr/$(ABI=x86 get_libdir)/fltk - make_desktop_entry ${MY_PN} Braid "${EPREFIX}${DIR}"/Icon.png -} diff --git a/games-puzzle/braid-hb/metadata.xml b/games-puzzle/braid-hb/metadata.xml index 7c730d47817a..9628757c45f0 100644 --- a/games-puzzle/braid-hb/metadata.xml +++ b/games-puzzle/braid-hb/metadata.xml @@ -5,4 +5,7 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> + <use> + <flag name="launcher">Install FLTK-based launcher that you probably don't need</flag> + </use> </pkgmetadata> |