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