From aa4954f71a3ba2293395a8cce2321a70c39c7554 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 24 May 2024 00:07:11 +0100 Subject: gentoo auto-resync : 24:05:2024 - 00:07:11 --- games-engines/Manifest.gz | Bin 3719 -> 3724 bytes games-engines/fheroes2/Manifest | 4 +- games-engines/fheroes2/fheroes2-1.0.13.ebuild | 76 -------------- games-engines/fheroes2/fheroes2-1.1.0.ebuild | 76 ++++++++++++++ games-engines/scummvm/Manifest | 6 +- games-engines/scummvm/scummvm-2.8.0-r1.ebuild | 141 +++++++++++++++++++++++++ games-engines/scummvm/scummvm-2.8.0.ebuild | 142 -------------------------- games-engines/scummvm/scummvm-2.8.1-r1.ebuild | 141 +++++++++++++++++++++++++ games-engines/scummvm/scummvm-2.8.1.ebuild | 142 -------------------------- games-engines/scummvm/scummvm-9999.ebuild | 3 +- 10 files changed, 364 insertions(+), 367 deletions(-) delete mode 100644 games-engines/fheroes2/fheroes2-1.0.13.ebuild create mode 100644 games-engines/fheroes2/fheroes2-1.1.0.ebuild create mode 100644 games-engines/scummvm/scummvm-2.8.0-r1.ebuild delete mode 100644 games-engines/scummvm/scummvm-2.8.0.ebuild create mode 100644 games-engines/scummvm/scummvm-2.8.1-r1.ebuild delete mode 100644 games-engines/scummvm/scummvm-2.8.1.ebuild (limited to 'games-engines') diff --git a/games-engines/Manifest.gz b/games-engines/Manifest.gz index 597b33a0f6eb..e5881bc3619b 100644 Binary files a/games-engines/Manifest.gz and b/games-engines/Manifest.gz differ diff --git a/games-engines/fheroes2/Manifest b/games-engines/fheroes2/Manifest index 202fe77235ee..0d20771e7291 100644 --- a/games-engines/fheroes2/Manifest +++ b/games-engines/fheroes2/Manifest @@ -1,4 +1,4 @@ AUX fheroes2-1.0.4-scripts.patch 716 BLAKE2B 0b944bf9f012e0fc6789230343e230b400b8a3446a0d07140816c9cb2262ad5b11f5a87562a70f32d71676b55d504299ba610e097cfe4b1fe52147e70c11c249 SHA512 fc5772dab278884f78741f3122554df9e5befc31ff3b07f0d4c5bf6e8764deee651d1999982a2c73c3a0bc49e517dd67bdf8b50151e9b489e08b9f4ebb13123f -DIST fheroes2-1.0.13.tar.gz 11988273 BLAKE2B ff4cdde0e22a239d9c596d846d801facbf762b4d47d5778799697471efbbbb2437ab73a5e2024c29d6705615f6bb58519b4fdc1368ce517f4ef5fdc4202fa464 SHA512 989b71ad6f217c5283441392e5a4bdee8b49d07261dba05372e185dbee239f4bb7b75290ca0b86fbf3dbf98edfaaca6234adc7e0483495ea799bf1636af3f6bc -EBUILD fheroes2-1.0.13.ebuild 1690 BLAKE2B 2328e0598330b06f91272b29d5cfeb23a3c330d5e236b9d06ecfcd90cccc6674505fdb7aa16a5f3a31c2a3a144c8c6dd46b78837a333413d3686c7cc8030f5c5 SHA512 7ef9b0190003435d14275d0469e35709b1a092ac91a06e8c3e98e951597966666407743789748ade2bd32ef3fef8261c299ca2de85078d8336e1488632ef09a4 +DIST fheroes2-1.1.0.tar.gz 12165311 BLAKE2B 11702a2c98ad4aae331ee4ec5c45e25ffcfd9c63bba9078b60f620204c7a32addc36bf2959c98d1be2ed0c7f4b16ea8143329d6d9280f2f24b8c2657c4a37cc1 SHA512 a02a897074b4cc4b2b1f32854e162baa38c120e1211c28c12487cbff649171d60ef509aa55a838ac8239959c8d48bca1dff6629eaf2bba048623f5345f0b2ce3 +EBUILD fheroes2-1.1.0.ebuild 1690 BLAKE2B 2328e0598330b06f91272b29d5cfeb23a3c330d5e236b9d06ecfcd90cccc6674505fdb7aa16a5f3a31c2a3a144c8c6dd46b78837a333413d3686c7cc8030f5c5 SHA512 7ef9b0190003435d14275d0469e35709b1a092ac91a06e8c3e98e951597966666407743789748ade2bd32ef3fef8261c299ca2de85078d8336e1488632ef09a4 MISC metadata.xml 1185 BLAKE2B 28d22394a735740a0c230888558eccb00c4ca9ec0072aabfc27d271c9a5089ea011bc167678a7c3bf81cbeeaccbc8a0fb0b2b94d80fd83b42bc8f9a654da756a SHA512 8b3033b5de642317d2624486810cd189dee8746c9e10110a5f6ae023d51a9203c226f2b41ac4d0afb1e4b29f862063f0749b5170534b17732d26dd8dbaa89625 diff --git a/games-engines/fheroes2/fheroes2-1.0.13.ebuild b/games-engines/fheroes2/fheroes2-1.0.13.ebuild deleted file mode 100644 index c54e921e38d6..000000000000 --- a/games-engines/fheroes2/fheroes2-1.0.13.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake python-single-r1 xdg - -DESCRIPTION="Recreation of HoMM2 game engine" -HOMEPAGE="https://ihhub.github.io/fheroes2/" -SRC_URI="https://github.com/ihhub/fheroes2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" -IUSE="tools" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - media-libs/libpng:= - media-libs/libsdl2[video] - media-libs/sdl2-image - media-libs/sdl2-mixer - sys-libs/zlib -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} - app-arch/libarchive - dev-lang/python - virtual/libintl -" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/fheroes2-1.0.4-scripts.patch" -) - -src_configure() { - # Not using dev-games/libsmacker because the game crashes with it - local mycmakeargs=( - -DENABLE_IMAGE=ON - -DENABLE_TOOLS=$(usex tools) - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - emake -C files/lang -} - -src_install() { - cmake_src_install - - if use tools; then - for file in 82m2wav bin2txt extractor h2dmgr icn2img pal2img til2img xmi2midi; do - newbin "${BUILD_DIR}/${file}" "fheroes2-${file}" - done - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - elog "You need original HoMM2 data files to play fheroes2." - elog "If you have an installer (.exe) from GOG, install:" - elog " games-strategy/homm2-gold-gog" - elog "If you have the original game installed somewhere already, run:" - elog " ${EPREFIX}/usr/share/fheroes2/extract_homm2_resources.sh" - elog "Also you can automatically get a demo version for free by installing:" - elog " games-strategy/homm2-demo" -} diff --git a/games-engines/fheroes2/fheroes2-1.1.0.ebuild b/games-engines/fheroes2/fheroes2-1.1.0.ebuild new file mode 100644 index 000000000000..c54e921e38d6 --- /dev/null +++ b/games-engines/fheroes2/fheroes2-1.1.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake python-single-r1 xdg + +DESCRIPTION="Recreation of HoMM2 game engine" +HOMEPAGE="https://ihhub.github.io/fheroes2/" +SRC_URI="https://github.com/ihhub/fheroes2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="tools" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + media-libs/libpng:= + media-libs/libsdl2[video] + media-libs/sdl2-image + media-libs/sdl2-mixer + sys-libs/zlib +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-arch/libarchive + dev-lang/python + virtual/libintl +" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/fheroes2-1.0.4-scripts.patch" +) + +src_configure() { + # Not using dev-games/libsmacker because the game crashes with it + local mycmakeargs=( + -DENABLE_IMAGE=ON + -DENABLE_TOOLS=$(usex tools) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + emake -C files/lang +} + +src_install() { + cmake_src_install + + if use tools; then + for file in 82m2wav bin2txt extractor h2dmgr icn2img pal2img til2img xmi2midi; do + newbin "${BUILD_DIR}/${file}" "fheroes2-${file}" + done + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + elog "You need original HoMM2 data files to play fheroes2." + elog "If you have an installer (.exe) from GOG, install:" + elog " games-strategy/homm2-gold-gog" + elog "If you have the original game installed somewhere already, run:" + elog " ${EPREFIX}/usr/share/fheroes2/extract_homm2_resources.sh" + elog "Also you can automatically get a demo version for free by installing:" + elog " games-strategy/homm2-demo" +} diff --git a/games-engines/scummvm/Manifest b/games-engines/scummvm/Manifest index fa3ee2933a01..418050859735 100644 --- a/games-engines/scummvm/Manifest +++ b/games-engines/scummvm/Manifest @@ -1,6 +1,6 @@ DIST scummvm-2.8.0.tar.xz 207362400 BLAKE2B 2e0354189bfa50b5af87c9019400c114c7fd3072afeb6cee50c230d27171ae109552c855b07f027769c10f6f325dafd77c56fa17b1c5a61b11ece3c1f54efe53 SHA512 e4e728a668fe3c1b161b56ff788011673766e7429bc27bafb2b4a7f724093b719f7fd47f0995f1db5dad42ecf3ee260fe51d549f85eb2a68862b799962c34632 DIST scummvm-2.8.1.tar.xz 207711376 BLAKE2B 716503fbbd736e522918203400ccf777bc24a8e43c8c030c0e86d9c4f3c3da3f0c580269781fe030901e06854d43e2ed2f6ec9bc4e269c4d4dde8d3e08f494f2 SHA512 aef6c7b83f087cf0742dcd1f896f5706e2408e54c4c902e75f03e69f4c5475b1d33a2149246646afb96c02aa2e85ba93995dff732b3aa84338b7bc96c62b802c -EBUILD scummvm-2.8.0.ebuild 3245 BLAKE2B 39f39fb661e75e49ffc5293608e44c3266f7fa30c1fa88ced8d8926d85336d6d43daf4440fcd546a13f90d405ad5bd5128099b63f7e8566279456c3b7df33b04 SHA512 1a232aafb336991a0ce76dfc4b6629049f9bcb87ea2e28b68d252f132c95124b5d824b8a11bcbad7a2a5167a758b1b43d85bde1654ee1aa269e68cb14dc9b19b -EBUILD scummvm-2.8.1.ebuild 3245 BLAKE2B cf66a0e76a979747f3bd327a30ad8870161390999c023473704bb61e2324ddd9dce4de860b3731f6d046f56432e69bc1a60d5e832a57218c7845b3310d68002c SHA512 487a9abcc1be5d1fac5a06311512bb4dc39fe8f1d36e14fa9c9df4c9a91491f686255db987a0af43f3a2961a212523c501b19bb5f2a25c0ddefb33fae38b553f -EBUILD scummvm-9999.ebuild 3245 BLAKE2B bb8852cff25a78313889a370d50eab4c830347e3d35a069ef78a2a06d97e063cb14628dc5ff276c402f9f2cf56a36fb2409e287ff4e8940ec77214af8145327b SHA512 60d5b76d8bd5b93fdc3ba6dc5f6a189253e3560f90821f60dabce4a412c0ef534a5819bcd8f87abd740647ddbc296aa596e8ad3c281d1e8c5ad5b23aef9454c2 +EBUILD scummvm-2.8.0-r1.ebuild 3216 BLAKE2B b8c5e62c9e658a3be02d7aa5ebdf7608b5e894a7ae38e830d180c27c99bdf4a6ccda106b4485f5da2a2253d872e7cad38c29a2952d33357642ddba38ada01acb SHA512 2d1ac02a7a7dff08bba47ef29f1ea86895ae28631217fc0a0fe5542f4b85afb351974ff86d414833518fe9832840c81ab4b3b6bc86de31827fdf359b551d7d22 +EBUILD scummvm-2.8.1-r1.ebuild 3216 BLAKE2B f9e7b5224ef26fbfe336b4ca4d7a234a0c8c0246d6c4b21ae2cecd7c99b876c94d1d644c67c099657b0be1ae4e393335091434ea32ebf8ac75036ad6bff622d3 SHA512 1f110d14f71728315428ebdd1693c122332de7809c23591f81428b910e22af7b001bffa963d5b50e0f941cebfda5d5093cfb021680221920c5e220bca2ebd0a4 +EBUILD scummvm-9999.ebuild 3216 BLAKE2B 88679a0b85c6e056267df0c7d8c3ba3a5eefdf33af24dbd05a358e605282034dfed6a41bf15051abbb1684834caf04c88b7db5a9468bb5d4d0e2010b102c5225 SHA512 e2bdbfa0f9b7b600386283d1ea0fdaac9f9a13d3c3da2c34d24156ad47cc27e0e7a293e179d4385eba9c869dbaccdfa45e22d8bfe88d2526a96387cf6672b5a8 MISC metadata.xml 988 BLAKE2B 66ced0459606e6037ec74c63fd71605461b8910e9c9376969bf3487e8fdde8b3c7f85cdf3c054f32abd5f72bfe53de028db8d81a3c4c3da220b306f4e2a6eb27 SHA512 2b523111571ecc650a2723c3bbdd2877a33d9380cd7e67e37c556ac1e0cc26aef07ad2c04fab69f012e59c3fab6dd7d7385125e13e200683c4abd85ec1899e92 diff --git a/games-engines/scummvm/scummvm-2.8.0-r1.ebuild b/games-engines/scummvm/scummvm-2.8.0-r1.ebuild new file mode 100644 index 000000000000..9adbe73bf3b8 --- /dev/null +++ b/games-engines/scummvm/scummvm-2.8.0-r1.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit desktop flag-o-matic toolchain-funcs xdg + +DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures" +HOMEPAGE="https://www.scummvm.org/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/scummvm/scummvm" +else + SRC_URI="https://downloads.scummvm.org/frs/scummvm/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" + S=${WORKDIR}/${P/_/} +fi + +LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception" +SLOT="0" +IUSE=" + a52 aac alsa debug flac fluidsynth fribidi gif +gtk jpeg lua mpeg2 + mp3 +net opengl png sndio speech theora truetype unsupported vorbis + zlib +" +RESTRICT="test" # it only looks like there's a test there #77507 + +DEPEND=" + >=media-libs/libsdl2-2.0.0[sound,joystick,video] + a52? ( media-libs/a52dec ) + aac? ( media-libs/faad2 ) + alsa? ( media-libs/alsa-lib ) + flac? ( media-libs/flac:= ) + fluidsynth? ( media-sound/fluidsynth:= ) + fribidi? ( dev-libs/fribidi ) + gif? ( media-libs/giflib ) + gtk? ( + dev-libs/glib:2 + x11-libs/gtk+:3 + ) + jpeg? ( media-libs/libjpeg-turbo:= ) + mp3? ( media-libs/libmad ) + mpeg2? ( media-libs/libmpeg2 ) + net? ( + media-libs/sdl2-net + net-misc/curl + ) + opengl? ( + || ( + virtual/opengl + media-libs/libglvnd + ) + ) + png? ( media-libs/libpng:0 ) + sndio? ( media-sound/sndio:= ) + speech? ( app-accessibility/speech-dispatcher ) + truetype? ( media-libs/freetype:2 ) + theora? ( media-libs/libtheora ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + zlib? ( sys-libs/zlib:= ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + app-arch/xz-utils + truetype? ( virtual/pkgconfig ) + x86? ( dev-lang/nasm ) +" + +src_prepare() { + default + + # -g isn't needed for nasm here + sed -i \ + -e '/NASMFLAGS/ s/-g//' \ + configure || die + sed -i \ + -e '/INSTALL.*doc/d' \ + -e '/INSTALL.*\/pixmaps/d' \ + -e 's/-s //' \ + ports.mk || die +} + +src_configure() { + use x86 && append-ldflags -Wl,-z,noexecstack + tc-export STRINGS + + local myconf=( + --backend=sdl + --host=${CHOST} + --enable-verbose-build + --prefix="${EPREFIX}/usr" + --libdir="${EPREFIX}/usr/$(get_libdir)" + --opengl-mode=$(usex opengl auto none) + --with-sdl-prefix="${EPREFIX}/usr" + $(use_enable a52) + $(use_enable aac faad) + $(use_enable alsa) + $(use_enable debug) + $(use_enable !debug release-mode) + $(use_enable flac) + $(usex fluidsynth '' --disable-fluidsynth) + $(use_enable fribidi) + $(use_enable gif) + $(use_enable gtk) + $(use_enable jpeg) + $(use_enable lua) + $(use_enable mp3 mad) + $(use_enable mpeg2) + $(use_enable net libcurl) + $(use_enable net sdlnet) + $(use_enable png) + $(use_enable sndio) + $(use_enable speech tts) + $(use_enable theora theoradec) + $(use_enable truetype freetype2) + $(usex unsupported --enable-all-engines '') + $(use_enable vorbis) + $(use_enable zlib) + $(use_enable x86 nasm) + ) + echo "configure ${myconf[@]}" + # not an autoconf script, so don't call econf + SDL_CONFIG="sdl2-config" \ + ./configure "${myconf[@]}" ${EXTRA_ECONF} || die +} + +src_compile() { + emake \ + AR="$(tc-getAR) cru" \ + RANLIB="$(tc-getRANLIB)" +} + +src_install() { + default + doicon -s scalable icons/scummvm.svg +} diff --git a/games-engines/scummvm/scummvm-2.8.0.ebuild b/games-engines/scummvm/scummvm-2.8.0.ebuild deleted file mode 100644 index 4f5504d6ddf4..000000000000 --- a/games-engines/scummvm/scummvm-2.8.0.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit desktop flag-o-matic toolchain-funcs xdg - -DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures" -HOMEPAGE="https://www.scummvm.org/" - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/scummvm/scummvm" -else - SRC_URI="https://downloads.scummvm.org/frs/scummvm/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" - S=${WORKDIR}/${P/_/} -fi - -LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception" -SLOT="0" -IUSE=" - a52 aac alsa debug flac fluidsynth fribidi gif +gtk jpeg lua mpeg2 - mp3 +net opengl png sndio speech theora truetype unsupported vorbis - zlib -" -RESTRICT="test" # it only looks like there's a test there #77507 - -DEPEND=" - >=media-libs/libsdl2-2.0.0[sound,joystick,video] - a52? ( media-libs/a52dec ) - aac? ( media-libs/faad2 ) - alsa? ( media-libs/alsa-lib ) - flac? ( media-libs/flac:= ) - fluidsynth? ( media-sound/fluidsynth:= ) - fribidi? ( dev-libs/fribidi ) - gif? ( media-libs/giflib ) - gtk? ( - dev-libs/glib:2 - x11-libs/gtk+:3 - ) - jpeg? ( media-libs/libjpeg-turbo:= ) - mp3? ( media-libs/libmad ) - mpeg2? ( media-libs/libmpeg2 ) - net? ( - media-libs/sdl2-net - net-misc/curl - ) - opengl? ( - || ( - virtual/opengl - media-libs/mesa[gles2] - media-libs/mesa[gles1] - ) - ) - png? ( media-libs/libpng:0 ) - sndio? ( media-sound/sndio:= ) - speech? ( app-accessibility/speech-dispatcher ) - truetype? ( media-libs/freetype:2 ) - theora? ( media-libs/libtheora ) - vorbis? ( - media-libs/libogg - media-libs/libvorbis - ) - zlib? ( sys-libs/zlib:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - app-arch/xz-utils - truetype? ( virtual/pkgconfig ) - x86? ( dev-lang/nasm ) -" - -src_prepare() { - default - - # -g isn't needed for nasm here - sed -i \ - -e '/NASMFLAGS/ s/-g//' \ - configure || die - sed -i \ - -e '/INSTALL.*doc/d' \ - -e '/INSTALL.*\/pixmaps/d' \ - -e 's/-s //' \ - ports.mk || die -} - -src_configure() { - use x86 && append-ldflags -Wl,-z,noexecstack - tc-export STRINGS - - local myconf=( - --backend=sdl - --host=${CHOST} - --enable-verbose-build - --prefix="${EPREFIX}/usr" - --libdir="${EPREFIX}/usr/$(get_libdir)" - --opengl-mode=$(usex opengl auto none) - --with-sdl-prefix="${EPREFIX}/usr" - $(use_enable a52) - $(use_enable aac faad) - $(use_enable alsa) - $(use_enable debug) - $(use_enable !debug release-mode) - $(use_enable flac) - $(usex fluidsynth '' --disable-fluidsynth) - $(use_enable fribidi) - $(use_enable gif) - $(use_enable gtk) - $(use_enable jpeg) - $(use_enable lua) - $(use_enable mp3 mad) - $(use_enable mpeg2) - $(use_enable net libcurl) - $(use_enable net sdlnet) - $(use_enable png) - $(use_enable sndio) - $(use_enable speech tts) - $(use_enable theora theoradec) - $(use_enable truetype freetype2) - $(usex unsupported --enable-all-engines '') - $(use_enable vorbis) - $(use_enable zlib) - $(use_enable x86 nasm) - ) - echo "configure ${myconf[@]}" - # not an autoconf script, so don't call econf - SDL_CONFIG="sdl2-config" \ - ./configure "${myconf[@]}" ${EXTRA_ECONF} || die -} - -src_compile() { - emake \ - AR="$(tc-getAR) cru" \ - RANLIB="$(tc-getRANLIB)" -} - -src_install() { - default - doicon -s scalable icons/scummvm.svg -} diff --git a/games-engines/scummvm/scummvm-2.8.1-r1.ebuild b/games-engines/scummvm/scummvm-2.8.1-r1.ebuild new file mode 100644 index 000000000000..062895592e49 --- /dev/null +++ b/games-engines/scummvm/scummvm-2.8.1-r1.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit desktop flag-o-matic toolchain-funcs xdg + +DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures" +HOMEPAGE="https://www.scummvm.org/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/scummvm/scummvm" +else + SRC_URI="https://downloads.scummvm.org/frs/scummvm/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" + S=${WORKDIR}/${P/_/} +fi + +LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception" +SLOT="0" +IUSE=" + a52 aac alsa debug flac fluidsynth fribidi gif +gtk jpeg lua mpeg2 + mp3 +net opengl png sndio speech theora truetype unsupported vorbis + zlib +" +RESTRICT="test" # it only looks like there's a test there #77507 + +DEPEND=" + >=media-libs/libsdl2-2.0.0[sound,joystick,video] + a52? ( media-libs/a52dec ) + aac? ( media-libs/faad2 ) + alsa? ( media-libs/alsa-lib ) + flac? ( media-libs/flac:= ) + fluidsynth? ( media-sound/fluidsynth:= ) + fribidi? ( dev-libs/fribidi ) + gif? ( media-libs/giflib ) + gtk? ( + dev-libs/glib:2 + x11-libs/gtk+:3 + ) + jpeg? ( media-libs/libjpeg-turbo:= ) + mp3? ( media-libs/libmad ) + mpeg2? ( media-libs/libmpeg2 ) + net? ( + media-libs/sdl2-net + net-misc/curl + ) + opengl? ( + || ( + virtual/opengl + media-libs/libglvnd + ) + ) + png? ( media-libs/libpng:0 ) + sndio? ( media-sound/sndio:= ) + speech? ( app-accessibility/speech-dispatcher ) + truetype? ( media-libs/freetype:2 ) + theora? ( media-libs/libtheora ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + zlib? ( sys-libs/zlib:= ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + app-arch/xz-utils + truetype? ( virtual/pkgconfig ) + x86? ( dev-lang/nasm ) +" + +src_prepare() { + default + + # -g isn't needed for nasm here + sed -i \ + -e '/NASMFLAGS/ s/-g//' \ + configure || die + sed -i \ + -e '/INSTALL.*doc/d' \ + -e '/INSTALL.*\/pixmaps/d' \ + -e 's/-s //' \ + ports.mk || die +} + +src_configure() { + use x86 && append-ldflags -Wl,-z,noexecstack + tc-export STRINGS + + local myconf=( + --backend=sdl + --host=${CHOST} + --enable-verbose-build + --prefix="${EPREFIX}/usr" + --libdir="${EPREFIX}/usr/$(get_libdir)" + --opengl-mode=$(usex opengl auto none) + --with-sdl-prefix="${EPREFIX}/usr" + $(use_enable a52) + $(use_enable aac faad) + $(use_enable alsa) + $(use_enable debug) + $(use_enable !debug release-mode) + $(use_enable flac) + $(usex fluidsynth '' --disable-fluidsynth) + $(use_enable fribidi) + $(use_enable gif) + $(use_enable gtk) + $(use_enable jpeg) + $(use_enable lua) + $(use_enable mp3 mad) + $(use_enable mpeg2) + $(use_enable net libcurl) + $(use_enable net sdlnet) + $(use_enable png) + $(use_enable sndio) + $(use_enable speech tts) + $(use_enable theora theoradec) + $(use_enable truetype freetype2) + $(usex unsupported --enable-all-engines '') + $(use_enable vorbis) + $(use_enable zlib) + $(use_enable x86 nasm) + ) + echo "configure ${myconf[@]}" + # not an autoconf script, so don't call econf + SDL_CONFIG="sdl2-config" \ + ./configure "${myconf[@]}" ${EXTRA_ECONF} || die +} + +src_compile() { + emake \ + AR="$(tc-getAR) cru" \ + RANLIB="$(tc-getRANLIB)" +} + +src_install() { + default + doicon -s scalable icons/scummvm.svg +} diff --git a/games-engines/scummvm/scummvm-2.8.1.ebuild b/games-engines/scummvm/scummvm-2.8.1.ebuild deleted file mode 100644 index 3690afa59cdb..000000000000 --- a/games-engines/scummvm/scummvm-2.8.1.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit desktop flag-o-matic toolchain-funcs xdg - -DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures" -HOMEPAGE="https://www.scummvm.org/" - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/scummvm/scummvm" -else - SRC_URI="https://downloads.scummvm.org/frs/scummvm/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" - S=${WORKDIR}/${P/_/} -fi - -LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception" -SLOT="0" -IUSE=" - a52 aac alsa debug flac fluidsynth fribidi gif +gtk jpeg lua mpeg2 - mp3 +net opengl png sndio speech theora truetype unsupported vorbis - zlib -" -RESTRICT="test" # it only looks like there's a test there #77507 - -DEPEND=" - >=media-libs/libsdl2-2.0.0[sound,joystick,video] - a52? ( media-libs/a52dec ) - aac? ( media-libs/faad2 ) - alsa? ( media-libs/alsa-lib ) - flac? ( media-libs/flac:= ) - fluidsynth? ( media-sound/fluidsynth:= ) - fribidi? ( dev-libs/fribidi ) - gif? ( media-libs/giflib ) - gtk? ( - dev-libs/glib:2 - x11-libs/gtk+:3 - ) - jpeg? ( media-libs/libjpeg-turbo:= ) - mp3? ( media-libs/libmad ) - mpeg2? ( media-libs/libmpeg2 ) - net? ( - media-libs/sdl2-net - net-misc/curl - ) - opengl? ( - || ( - virtual/opengl - media-libs/mesa[gles2] - media-libs/mesa[gles1] - ) - ) - png? ( media-libs/libpng:0 ) - sndio? ( media-sound/sndio:= ) - speech? ( app-accessibility/speech-dispatcher ) - truetype? ( media-libs/freetype:2 ) - theora? ( media-libs/libtheora ) - vorbis? ( - media-libs/libogg - media-libs/libvorbis - ) - zlib? ( sys-libs/zlib:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - app-arch/xz-utils - truetype? ( virtual/pkgconfig ) - x86? ( dev-lang/nasm ) -" - -src_prepare() { - default - - # -g isn't needed for nasm here - sed -i \ - -e '/NASMFLAGS/ s/-g//' \ - configure || die - sed -i \ - -e '/INSTALL.*doc/d' \ - -e '/INSTALL.*\/pixmaps/d' \ - -e 's/-s //' \ - ports.mk || die -} - -src_configure() { - use x86 && append-ldflags -Wl,-z,noexecstack - tc-export STRINGS - - local myconf=( - --backend=sdl - --host=${CHOST} - --enable-verbose-build - --prefix="${EPREFIX}/usr" - --libdir="${EPREFIX}/usr/$(get_libdir)" - --opengl-mode=$(usex opengl auto none) - --with-sdl-prefix="${EPREFIX}/usr" - $(use_enable a52) - $(use_enable aac faad) - $(use_enable alsa) - $(use_enable debug) - $(use_enable !debug release-mode) - $(use_enable flac) - $(usex fluidsynth '' --disable-fluidsynth) - $(use_enable fribidi) - $(use_enable gif) - $(use_enable gtk) - $(use_enable jpeg) - $(use_enable lua) - $(use_enable mp3 mad) - $(use_enable mpeg2) - $(use_enable net libcurl) - $(use_enable net sdlnet) - $(use_enable png) - $(use_enable sndio) - $(use_enable speech tts) - $(use_enable theora theoradec) - $(use_enable truetype freetype2) - $(usex unsupported --enable-all-engines '') - $(use_enable vorbis) - $(use_enable zlib) - $(use_enable x86 nasm) - ) - echo "configure ${myconf[@]}" - # not an autoconf script, so don't call econf - SDL_CONFIG="sdl2-config" \ - ./configure "${myconf[@]}" ${EXTRA_ECONF} || die -} - -src_compile() { - emake \ - AR="$(tc-getAR) cru" \ - RANLIB="$(tc-getRANLIB)" -} - -src_install() { - default - doicon -s scalable icons/scummvm.svg -} diff --git a/games-engines/scummvm/scummvm-9999.ebuild b/games-engines/scummvm/scummvm-9999.ebuild index d678e3432dbb..826f0cc2b782 100644 --- a/games-engines/scummvm/scummvm-9999.ebuild +++ b/games-engines/scummvm/scummvm-9999.ebuild @@ -48,8 +48,7 @@ DEPEND=" opengl? ( || ( virtual/opengl - media-libs/mesa[gles2] - media-libs/mesa[gles1] + media-libs/libglvnd ) ) png? ( media-libs/libpng:0 ) -- cgit v1.2.3