1 |
commit: c3ba8e20551ffbb98bb4636fc74a1a7328011168 |
2 |
Author: Marcel Unbehaun <marcel <AT> frostworx <DOT> de> |
3 |
AuthorDate: Sat Nov 9 07:16:22 2013 +0000 |
4 |
Commit: Marcel Unbehaun <frostworks <AT> gmx <DOT> de> |
5 |
CommitDate: Sat Nov 9 07:16:22 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=c3ba8e20 |
7 |
|
8 |
[games-emulation/dolphin-emu] in portage |
9 |
|
10 |
--- |
11 |
games-emulation/dolphin-emu/dolphin-emu-3.0.ebuild | 107 --------------------- |
12 |
1 file changed, 107 deletions(-) |
13 |
|
14 |
diff --git a/games-emulation/dolphin-emu/dolphin-emu-3.0.ebuild b/games-emulation/dolphin-emu/dolphin-emu-3.0.ebuild |
15 |
deleted file mode 100644 |
16 |
index 377258b..0000000 |
17 |
--- a/games-emulation/dolphin-emu/dolphin-emu-3.0.ebuild |
18 |
+++ /dev/null |
19 |
@@ -1,107 +0,0 @@ |
20 |
-# Copyright 1999-2008 Gentoo Foundation |
21 |
-# Distributed under the terms of the GNU General Public License v2 |
22 |
-# $Header: $ |
23 |
-EAPI="3" |
24 |
- |
25 |
-WX_GTK_VER="2.8" |
26 |
- |
27 |
-inherit cmake-utils eutils flag-o-matic games git pax-utils wxwidgets |
28 |
- |
29 |
-DESCRIPTION="Free. open source emulator for Nintendo GameCube and Wii" |
30 |
-HOMEPAGE="http://www.dolphin-emu.com/" |
31 |
-SRC_URI="" |
32 |
-EGIT_REPO_URI="https://code.google.com/p/dolphin-emu/" |
33 |
-EGIT_PROJECT="dolphin-emu" |
34 |
-EGIT_COMMIT="${PV}" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~x86 amd64 ~ppc ~ppc64" |
39 |
-IUSE="alsa ao bluetooth doc encode +lzo openal opengl portaudio pulseaudio +wxwidgets +xrandr" |
40 |
-RESTRICT="" |
41 |
- |
42 |
-RDEPEND=">=media-libs/glew-1.5 |
43 |
- >=media-libs/libsdl-1.2[joystick] |
44 |
- sys-libs/readline |
45 |
- x11-libs/libXext |
46 |
- ao? ( media-libs/libao ) |
47 |
- alsa? ( media-libs/alsa-lib ) |
48 |
- bluetooth? ( net-wireless/bluez ) |
49 |
- encode? ( media-video/ffmpeg[encode] ) |
50 |
- lzo? ( dev-libs/lzo ) |
51 |
- openal? ( media-libs/openal ) |
52 |
- opengl? ( virtual/opengl ) |
53 |
- portaudio? ( media-libs/portaudio ) |
54 |
- pulseaudio? ( media-sound/pulseaudio ) |
55 |
- wxwidgets? ( x11-libs/wxGTK:2.8 ) |
56 |
- xrandr? ( x11-libs/libXrandr )" |
57 |
-DEPEND="${RDEPEND} |
58 |
- dev-util/cmake |
59 |
- dev-util/pkgconfig |
60 |
- media-gfx/nvidia-cg-toolkit" |
61 |
- |
62 |
-src_prepare() { |
63 |
- sed -i -e "s:check_lib(SFML:\#check_lib(SFML:" CMakeLists.txt || die "sed failed" |
64 |
-} |
65 |
- |
66 |
-src_configure() { |
67 |
- # filter problematic compiler flags |
68 |
- filter-flags -flto -fwhole-program |
69 |
- append-flags -fno-pie |
70 |
- |
71 |
- mycmakeargs=" |
72 |
- -DDOLPHIN_WC_REVISION=${MY_PV} |
73 |
- -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} |
74 |
- -Dprefix=${GAMES_PREFIX} |
75 |
- -Ddatadir=${GAMES_DATADIR}/${PN} |
76 |
- -Dplugindir=$(games_get_libdir)/${PN} |
77 |
- $(cmake-utils_use !wxwidgets DISABLE_WX) |
78 |
- $(cmake-utils_use encode ENCODE_FRAMEDUMPS)" |
79 |
- cmake-utils_src_configure |
80 |
-} |
81 |
- |
82 |
-src_compile() { |
83 |
- cmake-utils_src_make |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- # copy files to target installation directory |
88 |
- cmake-utils_src_install |
89 |
- |
90 |
- # set binary name |
91 |
- local binary="${PN}" |
92 |
- use wxwidgets || binary+="-nogui" |
93 |
- |
94 |
- # install documentation as appropriate |
95 |
- cd "${S}" |
96 |
- dodoc Readme.txt |
97 |
- if use doc; then |
98 |
- doins -r docs |
99 |
- fi |
100 |
- |
101 |
- # create menu entry for GUI builds |
102 |
- if use wxwidgets; then |
103 |
- doicon Source/Core/DolphinWX/resources/Dolphin.xpm || die |
104 |
- make_desktop_entry "${binary}" "Dolphin" "Dolphin" "Game;Emulator" |
105 |
- fi |
106 |
- |
107 |
- prepgamesdirs |
108 |
-} |
109 |
- |
110 |
-pkg_postinst() { |
111 |
- # hardened fix |
112 |
- pax-mark -m "${EPREFIX}/usr/games/bin/${PN}" |
113 |
- |
114 |
- echo |
115 |
- if ! use portaudio; then |
116 |
- ewarn "If you need to use your microphone for a game, rebuild with USE=portaudio" |
117 |
- echo |
118 |
- fi |
119 |
- if ! use wxwidgets; then |
120 |
- ewarn "Note: It is not currently possible to configure Dolphin without the GUI." |
121 |
- ewarn "Rebuild with USE=wxwidgets to enable the GUI if needed." |
122 |
- echo |
123 |
- fi |
124 |
- |
125 |
- games_pkg_postinst |
126 |
-} |