Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/scummvm/
Date: Fri, 15 Mar 2019 22:45:40
Message-Id: 1552689928.661cc3f91161da2a0771b9b8a5091615949d82ed.polynomial-c@gentoo
1 commit: 661cc3f91161da2a0771b9b8a5091615949d82ed
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 15 22:13:00 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 15 22:45:28 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=661cc3f9
7
8 games-engines/scummvm: Removed old.
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 games-engines/scummvm/Manifest | 1 -
14 games-engines/scummvm/scummvm-1.9.0.ebuild | 102 -----------------------------
15 2 files changed, 103 deletions(-)
16
17 diff --git a/games-engines/scummvm/Manifest b/games-engines/scummvm/Manifest
18 index a14c9fdd47f..e3b863b3406 100644
19 --- a/games-engines/scummvm/Manifest
20 +++ b/games-engines/scummvm/Manifest
21 @@ -1,2 +1 @@
22 -DIST scummvm-1.9.0.tar.xz 22020384 BLAKE2B 10f2c20cf1e32a60897c9e909e0bfda7827a646eb38aaf4923b76708fb5b797c66f94d92f7c095ca77570712223cd0d037fccc563c709448d4d2093299050773 SHA512 c81248e8474ad5b354a46741ab2e40b8ddfb99e196b0c837424e9ccced285d03d5f12fc41be57034be53bdb8254a61ca0c9d9cd9a2340875d32e1bffa31699c2
23 DIST scummvm-2.0.0.tar.xz 21291656 BLAKE2B 303aa4254d1c940ce6d65d192f2678a033015f1b85e38c62902aa8fac05a1ff33fd7e3fe9de47825cd0cf72076027adb21c72a63a38349f9ee8f63566f3db948 SHA512 5f4c11145c5dfcc7ae95d5c0e5ac9e938912cc5060b9d5fdfcb699a745755b31412e44199e487ad388ca5e091afc3366f874610adb44d440f336e26d6cd4812c
24
25 diff --git a/games-engines/scummvm/scummvm-1.9.0.ebuild b/games-engines/scummvm/scummvm-1.9.0.ebuild
26 deleted file mode 100644
27 index 5e45b629955..00000000000
28 --- a/games-engines/scummvm/scummvm-1.9.0.ebuild
29 +++ /dev/null
30 @@ -1,102 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -inherit eutils flag-o-matic gnome2-utils toolchain-funcs
36 -
37 -DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures"
38 -HOMEPAGE="http://scummvm.sourceforge.net/"
39 -SRC_URI="http://scummvm.org/frs/scummvm/${PV}/${P}.tar.xz"
40 -
41 -LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
44 -IUSE="aac alsa debug flac fluidsynth jpeg mpeg2 mp3 opengl png theora truetype unsupported vorbis zlib"
45 -RESTRICT="test" # it only looks like there's a test there #77507
46 -
47 -RDEPEND=">=media-libs/libsdl2-2.0.0[sound,joystick,video]
48 - zlib? ( sys-libs/zlib )
49 - jpeg? ( virtual/jpeg:0 )
50 - png? ( media-libs/libpng:0 )
51 - vorbis? ( media-libs/libogg media-libs/libvorbis )
52 - theora? ( media-libs/libtheora )
53 - aac? ( media-libs/faad2 )
54 - alsa? ( media-libs/alsa-lib )
55 - mp3? ( media-libs/libmad )
56 - mpeg2? ( media-libs/libmpeg2 )
57 - flac? ( media-libs/flac )
58 - opengl? ( virtual/opengl )
59 - truetype? ( media-libs/freetype:2 )
60 - fluidsynth? ( media-sound/fluidsynth )"
61 -DEPEND="${RDEPEND}
62 - app-arch/xz-utils
63 - x86? ( dev-lang/nasm )"
64 -
65 -S=${WORKDIR}/${P/_/}
66 -
67 -src_prepare() {
68 - default
69 -
70 - # -g isn't needed for nasm here
71 - sed -i \
72 - -e '/NASMFLAGS/ s/-g//' \
73 - configure || die
74 - sed -i \
75 - -e '/INSTALL.*doc/d' \
76 - -e '/INSTALL.*\/pixmaps/d' \
77 - -e 's/-s //' \
78 - ports.mk || die
79 -}
80 -
81 -src_configure() {
82 - use x86 && append-ldflags -Wl,-z,noexecstack
83 -
84 - # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
85 - SDL_CONFIG="sdl2-config" \
86 - ./configure \
87 - --backend=sdl \
88 - --host=${CHOST} \
89 - --enable-verbose-build \
90 - --prefix=/usr \
91 - --libdir="/usr/$(get_libdir)" \
92 - --opengl-mode=$(usex opengl auto none) \
93 - $(use_enable aac faad) \
94 - $(use_enable alsa) \
95 - $(use_enable debug) \
96 - $(use_enable !debug release-mode) \
97 - $(use_enable flac) \
98 - $(usex fluidsynth '' --disable-fluidsynth) \
99 - $(use_enable jpeg) \
100 - $(use_enable mp3 mad) \
101 - $(use_enable mpeg2) \
102 - $(use_enable png) \
103 - $(use_enable theora theoradec) \
104 - $(use_enable truetype freetype2) \
105 - $(usex unsupported --enable-all-engines '') \
106 - $(use_enable vorbis) \
107 - $(use_enable zlib) \
108 - $(use_enable x86 nasm) \
109 - ${myconf} ${EXTRA_ECONF} || die
110 -}
111 -
112 -src_compile() {
113 - emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB)
114 -}
115 -
116 -src_install() {
117 - default
118 - doicon -s scalable icons/scummvm.svg
119 - make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
120 -}
121 -
122 -pkg_preinst() {
123 - gnome2_icon_savelist
124 -}
125 -
126 -pkg_postinst() {
127 - gnome2_icon_cache_update
128 -}
129 -
130 -pkg_postrm() {
131 - gnome2_icon_cache_update
132 -}