diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-09 02:07:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-09 02:07:41 +0000 |
commit | 1a95f960273f276a4fdefb824336b073d83bcb5e (patch) | |
tree | 6adc7118c038d948a0e44ceb3095e09bc2cbe488 /games-engines | |
parent | 494168b06b81a32b889c3cb1f721f925d0a6824f (diff) |
gentoo auto-resync : 09:12:2024 - 02:07:41
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/Manifest.gz | bin | 3706 -> 3710 bytes | |||
-rw-r--r-- | games-engines/scummvm/Manifest | 2 | ||||
-rw-r--r-- | games-engines/scummvm/scummvm-2.9.0.ebuild | 141 |
3 files changed, 143 insertions, 0 deletions
diff --git a/games-engines/Manifest.gz b/games-engines/Manifest.gz Binary files differindex 1c9415054202..4b53dbc69561 100644 --- a/games-engines/Manifest.gz +++ b/games-engines/Manifest.gz diff --git a/games-engines/scummvm/Manifest b/games-engines/scummvm/Manifest index fb7f719986e1..e8113fe02d39 100644 --- a/games-engines/scummvm/Manifest +++ b/games-engines/scummvm/Manifest @@ -1,7 +1,9 @@ AUX scummvm-2.8.1-freetype-2.13.3.patch 2206 BLAKE2B 37b72d1c12dd39fb6b8df294db3000ff677c9c367e059ffa312a31ddf54ade7eccce2bf81ee3aec4460cd9a6640c52eb054da1d78a5ca78cee50da09d11108a7 SHA512 f1945f818f18f2b78451cddfa0f4c0117c4be1b7ceeb4f4955d66dbd96766294794abc8ac6b4ae64c5262744c47d9da50ac471b66e21867a3588f246b06f4066 DIST scummvm-2.8.0.tar.xz 207362400 BLAKE2B 2e0354189bfa50b5af87c9019400c114c7fd3072afeb6cee50c230d27171ae109552c855b07f027769c10f6f325dafd77c56fa17b1c5a61b11ece3c1f54efe53 SHA512 e4e728a668fe3c1b161b56ff788011673766e7429bc27bafb2b4a7f724093b719f7fd47f0995f1db5dad42ecf3ee260fe51d549f85eb2a68862b799962c34632 DIST scummvm-2.8.1.tar.xz 207711376 BLAKE2B 716503fbbd736e522918203400ccf777bc24a8e43c8c030c0e86d9c4f3c3da3f0c580269781fe030901e06854d43e2ed2f6ec9bc4e269c4d4dde8d3e08f494f2 SHA512 aef6c7b83f087cf0742dcd1f896f5706e2408e54c4c902e75f03e69f4c5475b1d33a2149246646afb96c02aa2e85ba93995dff732b3aa84338b7bc96c62b802c +DIST scummvm-2.9.0.tar.xz 219893788 BLAKE2B bb9af6016e4849220b873f35f091d31b9648c3e87b3838f6b4605dc727d2a37687e1d8993218715f3579b400eb11a29c52671136e16fac86415fcbbb87f0c016 SHA512 51236557f93052f2c6f840a135fa775ec4396cfbe618ee74259f29be7e0f0aa6b62d40920e3f03b92991794434ae44ef6f4a26a4615c5e27b362c1545e33b536 EBUILD scummvm-2.8.0-r1.ebuild 3216 BLAKE2B b8c5e62c9e658a3be02d7aa5ebdf7608b5e894a7ae38e830d180c27c99bdf4a6ccda106b4485f5da2a2253d872e7cad38c29a2952d33357642ddba38ada01acb SHA512 2d1ac02a7a7dff08bba47ef29f1ea86895ae28631217fc0a0fe5542f4b85afb351974ff86d414833518fe9832840c81ab4b3b6bc86de31827fdf359b551d7d22 EBUILD scummvm-2.8.1-r1.ebuild 3271 BLAKE2B 45015b16784c174d874ee6a325f39a473285cf0ffbe7ea61e700b0e5aec4a2b9258ff298563b88fa881af83e81f81b64ad630875fa36f42aee2b1b534ecfdaee SHA512 8e22b221a5b0efc48ae3d50f41c1d4cf30c6743e67760aef8a3fd9078251cc3106a86abb1b47749993d5db326ccbe5d3f941d664bad69e4e8f9e001bbad2e1f5 +EBUILD scummvm-2.9.0.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.9.0.ebuild b/games-engines/scummvm/scummvm-2.9.0.ebuild new file mode 100644 index 000000000000..062895592e49 --- /dev/null +++ b/games-engines/scummvm/scummvm-2.9.0.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 +} |