summaryrefslogtreecommitdiff
path: root/games-engines/scummvm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-20 11:17:21 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-20 11:17:21 +0000
commit48bdeb0db9c7ffed22c6eb859ee40b55ba598b86 (patch)
treef88035a58c20099cf45a576fb53b0330a4754f14 /games-engines/scummvm
parent0fb71e0215ed52863e462cccef73c01aff44d43d (diff)
gentoo resync : 20.12.2017
Diffstat (limited to 'games-engines/scummvm')
-rw-r--r--games-engines/scummvm/Manifest6
-rw-r--r--games-engines/scummvm/scummvm-1.8.0.ebuild109
-rw-r--r--games-engines/scummvm/scummvm-2.0.0.ebuild (renamed from games-engines/scummvm/scummvm-1.8.1-r1.ebuild)32
3 files changed, 16 insertions, 131 deletions
diff --git a/games-engines/scummvm/Manifest b/games-engines/scummvm/Manifest
index 1e4941f61a92..9ba251b0f11e 100644
--- a/games-engines/scummvm/Manifest
+++ b/games-engines/scummvm/Manifest
@@ -1,7 +1,5 @@
-DIST scummvm-1.8.0.tar.xz 17385064 BLAKE2B 02298f525f38d07f89ed829585498ca3cf807b6f1aa9f7601e5f1759a3d908cd99cd19c3a21169b7df9db52eb5b38e2b56d4eac6bdca3ba01c972e5a5054827b SHA512 2fb25467854d6115cf09fd40536728e2c1943c16d8bcb29ebbc3c37fa5dc750a72258e0b0dac6244e5ddcc5f2dfc69af3d7fdff83c98a92a546f8669daa8da27
-DIST scummvm-1.8.1.tar.xz 17807468 BLAKE2B c5ba8c54b96467d4362b7a41afafd5686ae817b619a2bcbc5c82f10fbc0f89af78720ec187503dd3e4ed2ffff577932cf31f84c666cdabbddf579c0f79bfeb1a SHA512 e67ee332668b14432dcd675051384bd4fee2c1a0ddf44f6f8aeaf889d5027a834187e2632d18959583fa258cf03f259a54fd2d88120fa62ef7496232b4e6bdb4
DIST scummvm-1.9.0.tar.xz 22020384 BLAKE2B 10f2c20cf1e32a60897c9e909e0bfda7827a646eb38aaf4923b76708fb5b797c66f94d92f7c095ca77570712223cd0d037fccc563c709448d4d2093299050773 SHA512 c81248e8474ad5b354a46741ab2e40b8ddfb99e196b0c837424e9ccced285d03d5f12fc41be57034be53bdb8254a61ca0c9d9cd9a2340875d32e1bffa31699c2
-EBUILD scummvm-1.8.0.ebuild 2705 BLAKE2B 5b2eea47fe6116ec25a3fb446eb34e38f29e7c5e2aff866f5d9b428c3bf60eed6cdf47416c113ed270e481a5f0e57a95041ceafa4f073d85316a8c4336db92bc SHA512 f1291988d4a468508f5792d96fb0d161c45b3de1f199d51201c313f040cbe7f0f250c6f2fd2826aa7ea59518680209a466dea433faa26ff057182fb03b7818c7
-EBUILD scummvm-1.8.1-r1.ebuild 2617 BLAKE2B 7184df5aa8e47dc5e4b13c4ca5cc99eb9abf31eaefa0c53def38f0148d33fa58d42d4bcabaa97beb00a9dbedc493399958187adb2175ae581605597ecd2b1f07 SHA512 952a6ca57c7d5dceae1c72253373700cb6695efa3295edc902cfce8cadcdcad3823eb811d131be6e0998f8f2a2410b5593df2374ca08815830981349d9cd9948
+DIST scummvm-2.0.0.tar.xz 21291656 BLAKE2B 303aa4254d1c940ce6d65d192f2678a033015f1b85e38c62902aa8fac05a1ff33fd7e3fe9de47825cd0cf72076027adb21c72a63a38349f9ee8f63566f3db948 SHA512 5f4c11145c5dfcc7ae95d5c0e5ac9e938912cc5060b9d5fdfcb699a745755b31412e44199e487ad388ca5e091afc3366f874610adb44d440f336e26d6cd4812c
EBUILD scummvm-1.9.0.ebuild 2572 BLAKE2B 31a15a603f5b6fa33ad38da05a439e0285e4af3cf9212c8e9e403775184045a60ccff0910733ad258772420325d2395f52a54a75582f177b87bd3ad628324f0d SHA512 6d6d2bbddd94c21be730b1903f6c315a2fffe0d4ac95b41ab5cc41e08c67871a74936faaacdd49b3c2a0118caef8c7a5703ff850bc938449e233a7acfa08b606
+EBUILD scummvm-2.0.0.ebuild 2575 BLAKE2B 7965ddcff62fd65ec4c12c0baadb7a448e0502f60c9a34a336924fced0b65c7850408cde3433dffc6bc380776bb419a055aef2602f4052aa4279a6c50ab96e0b SHA512 56eac37da16d842732e436607093d7c9564dedc9c7557259de23211670ed7e215f1731aef3ba445ffce2215c158a2208a2d5d449578f37a4d86d445a750d86d3
MISC metadata.xml 594 BLAKE2B 0c282f09b9bb6fbd7bf89a07595064c7102ad05b39cba2689451fd9555206eb66ee331fcec41b75b7c0a41b01a2301c142608d1a4d4371fcc59d45a2d337ec7d SHA512 6f1c61823667d4fa79900a3be3cb553e37bded1e39124f037cbef7a81bad52f4fbdd79987e28505ea27261b4ca2728bc63eeec0f93034a6e67c5504d915fbfd6
diff --git a/games-engines/scummvm/scummvm-1.8.0.ebuild b/games-engines/scummvm/scummvm-1.8.0.ebuild
deleted file mode 100644
index 4edb099d8009..000000000000
--- a/games-engines/scummvm/scummvm-1.8.0.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic gnome2-utils toolchain-funcs games
-
-DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures"
-HOMEPAGE="http://scummvm.sourceforge.net/"
-SRC_URI="http://scummvm.org/frs/scummvm/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
-IUSE="aac alsa debug flac fluidsynth jpeg mpeg2 mp3 opengl png theora truetype unsupported vorbis zlib"
-RESTRICT="test" # it only looks like there's a test there #77507
-
-RDEPEND=">=media-libs/libsdl-1.2.2[sound,joystick,video]
- zlib? ( sys-libs/zlib )
- jpeg? ( virtual/jpeg:0 )
- png? ( media-libs/libpng:0 )
- vorbis? ( media-libs/libogg media-libs/libvorbis )
- theora? ( media-libs/libtheora )
- aac? ( media-libs/faad2 )
- alsa? ( media-libs/alsa-lib )
- mp3? ( media-libs/libmad )
- mpeg2? ( media-libs/libmpeg2 )
- flac? ( media-libs/flac )
- opengl? ( virtual/opengl )
- truetype? ( media-libs/freetype:2 )
- fluidsynth? ( media-sound/fluidsynth )"
-DEPEND="${RDEPEND}
- app-arch/xz-utils
- x86? ( dev-lang/nasm )"
-
-S=${WORKDIR}/${P/_/}
-
-src_prepare() {
- # -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() {
- local myconf
-
- # bug #137547
- use fluidsynth || myconf="${myconf} --disable-fluidsynth"
-
- use x86 && append-ldflags -Wl,-z,noexecstack
-
- # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
- ./configure \
- --backend=sdl \
- --host=$CHOST \
- --enable-verbose-build \
- --prefix=/usr \
- --bindir="${GAMES_BINDIR}" \
- --datadir="${GAMES_DATADIR}"/${PN} \
- --libdir="${GAMES_LIBDIR}" \
- --enable-zlib \
- $(use_enable debug) \
- $(use_enable !debug release-mode) \
- $(use_enable zlib) \
- $(use_enable aac faad) \
- $(use_enable alsa) \
- $(use_enable jpeg) \
- $(use_enable png) \
- $(use_enable mp3 mad) \
- $(use_enable mpeg2) \
- $(use_enable flac) \
- $(use_enable opengl) \
- $(use_enable vorbis) \
- $(use_enable theora theoradec) \
- $(use_enable truetype freetype2) \
- $(use_enable x86 nasm) \
- $(use unsupported && echo --enable-all-engines) \
- ${myconf} ${EXTRA_ECONF} || die
-}
-
-src_compile() {
- emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB)
-}
-
-src_install() {
- default
- doicon -s scalable icons/scummvm.svg
- make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-engines/scummvm/scummvm-1.8.1-r1.ebuild b/games-engines/scummvm/scummvm-2.0.0.ebuild
index 48d2513b1557..4f775bc1705d 100644
--- a/games-engines/scummvm/scummvm-1.8.1-r1.ebuild
+++ b/games-engines/scummvm/scummvm-2.0.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils flag-o-matic gnome2-utils toolchain-funcs
+inherit eutils flag-o-matic gnome2-utils toolchain-funcs xdg-utils
DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures"
HOMEPAGE="http://scummvm.sourceforge.net/"
@@ -49,38 +49,33 @@ src_prepare() {
}
src_configure() {
- local myconf
-
- # bug #137547
- use fluidsynth || myconf="${myconf} --disable-fluidsynth"
-
use x86 && append-ldflags -Wl,-z,noexecstack
# NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
SDL_CONFIG="sdl2-config" \
./configure \
--backend=sdl \
- --host=$CHOST \
+ --host=${CHOST} \
--enable-verbose-build \
--prefix=/usr \
--libdir="/usr/$(get_libdir)" \
- --enable-zlib \
- $(use_enable debug) \
- $(use_enable !debug release-mode) \
- $(use_enable zlib) \
+ --opengl-mode=$(usex opengl auto none) \
$(use_enable aac faad) \
$(use_enable alsa) \
+ $(use_enable debug) \
+ $(use_enable !debug release-mode) \
+ $(use_enable flac) \
+ $(usex fluidsynth '' --disable-fluidsynth) \
$(use_enable jpeg) \
- $(use_enable png) \
$(use_enable mp3 mad) \
$(use_enable mpeg2) \
- $(use_enable flac) \
- $(use_enable opengl) \
- $(use_enable vorbis) \
+ $(use_enable png) \
$(use_enable theora theoradec) \
$(use_enable truetype freetype2) \
+ $(usex unsupported --enable-all-engines '') \
+ $(use_enable vorbis) \
+ $(use_enable zlib) \
$(use_enable x86 nasm) \
- $(use unsupported && echo --enable-all-engines) \
${myconf} ${EXTRA_ECONF} || die
}
@@ -91,7 +86,6 @@ src_compile() {
src_install() {
default
doicon -s scalable icons/scummvm.svg
- make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
}
pkg_preinst() {
@@ -100,8 +94,10 @@ pkg_preinst() {
pkg_postinst() {
gnome2_icon_cache_update
+ xdg_desktop_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
+ xdg_desktop_database_update
}