1 |
commit: be5ec2798f9674ca0d90792681f1509891cbd0b3 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 6 03:49:44 2020 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 6 03:49:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5ec279 |
7 |
|
8 |
games-emulation/vbam: remove old |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
games-emulation/vbam/Manifest | 1 - |
13 |
.../vbam/files/vbam-2.1.0-performance_fixup.patch | 43 ---------- |
14 |
games-emulation/vbam/vbam-2.1.0.ebuild | 96 ---------------------- |
15 |
3 files changed, 140 deletions(-) |
16 |
|
17 |
diff --git a/games-emulation/vbam/Manifest b/games-emulation/vbam/Manifest |
18 |
index fe54a9b045c..cce742bd3f1 100644 |
19 |
--- a/games-emulation/vbam/Manifest |
20 |
+++ b/games-emulation/vbam/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST vbam-2.1.0.tar.gz 2977888 BLAKE2B 48884b10d13cdeddfae1dc5a94a4576ebfd7aab263225650a7d4f7138854da3c8bbffa4a8f08e9da001cd967f0e85a7beb82f86350031264a66bfdd5403d36dd SHA512 e4489c84880a7a70e7e94104ffbbdd805e9f15d5c962c0c13a7470496d2fdad8e21c1ddb161b776eb0b1a0c7583182df5838da5a523ce31dac620aa2a7842321 |
23 |
DIST vbam-2.1.4.tar.gz 3891574 BLAKE2B 5255fe814ab583c433f273c31b36933c09301330b47b2deefa453453c1d127c29a1b9de2e945e6706b1f9d9ec517444989818f3db329b96c106bf5d51ec71ae3 SHA512 9070715797c6be1648661019f236eb9328eb409f52e80e15aac52d814cf4155cf1ea37c230557c1288f152f0d27d838b11bee38679787a8d5198ca81f173d896 |
24 |
|
25 |
diff --git a/games-emulation/vbam/files/vbam-2.1.0-performance_fixup.patch b/games-emulation/vbam/files/vbam-2.1.0-performance_fixup.patch |
26 |
deleted file mode 100644 |
27 |
index c99f829bdc0..00000000000 |
28 |
--- a/games-emulation/vbam/files/vbam-2.1.0-performance_fixup.patch |
29 |
+++ /dev/null |
30 |
@@ -1,43 +0,0 @@ |
31 |
-From a8d0508cf299a58b2a659d6017b049db121de8ba Mon Sep 17 00:00:00 2001 |
32 |
-From: Rafael Kitover <rkitover@×××××.com> |
33 |
-Date: Mon, 2 Jul 2018 18:32:18 -0700 |
34 |
-Subject: [PATCH] use GetWindow()->Refresh() in Wayland only |
35 |
- |
36 |
-Some people are reporting stuttering, and @retro-wertz tested both |
37 |
-DrawArea() and Refresh() on wxgtk3 under xorg and found that the |
38 |
-Refresh() method produces more stuttering. |
39 |
- |
40 |
-Change the compile check for wxgtk2 to a runtime check for wayland, and |
41 |
-use Refresh() under Wayland only. |
42 |
---- |
43 |
- src/wx/panel.cpp | 11 ++++------- |
44 |
- 1 file changed, 4 insertions(+), 7 deletions(-) |
45 |
- |
46 |
-diff --git a/src/wx/panel.cpp b/src/wx/panel.cpp |
47 |
-index e4b86301..faaf6e4d 100644 |
48 |
---- a/src/wx/panel.cpp |
49 |
-+++ b/src/wx/panel.cpp |
50 |
-@@ -1817,19 +1817,16 @@ void DrawingPanelBase::DrawArea(uint8_t** data) |
51 |
- } |
52 |
- |
53 |
- // next, draw the frame (queue a PaintEv) Refresh must be used under |
54 |
-- // Wayland or nothing is drawn, however it causes high CPU usage with GTK2, |
55 |
-- // so use the old method in that case |
56 |
--#if !defined(__WXGTK__) || defined(__WXGTK3__) |
57 |
-- GetWindow()->Refresh(); |
58 |
--#else |
59 |
-- { |
60 |
-+ // Wayland or nothing is drawn. |
61 |
-+ if (wxGetApp().UsingWayland()) |
62 |
-+ GetWindow()->Refresh(); |
63 |
-+ else { |
64 |
- DrawingPanelBase* panel = wxGetApp().frame->GetPanel()->panel; |
65 |
- if (panel) { |
66 |
- wxClientDC dc(panel->GetWindow()); |
67 |
- panel->DrawArea(dc); |
68 |
- } |
69 |
- } |
70 |
--#endif |
71 |
- |
72 |
- // finally, draw on-screen text using wx method, if possible |
73 |
- // this method flickers too much right now |
74 |
|
75 |
diff --git a/games-emulation/vbam/vbam-2.1.0.ebuild b/games-emulation/vbam/vbam-2.1.0.ebuild |
76 |
deleted file mode 100644 |
77 |
index 3d0c2496b2e..00000000000 |
78 |
--- a/games-emulation/vbam/vbam-2.1.0.ebuild |
79 |
+++ /dev/null |
80 |
@@ -1,96 +0,0 @@ |
81 |
-# Copyright 1999-2018 Gentoo Authors |
82 |
-# Distributed under the terms of the GNU General Public License v2 |
83 |
- |
84 |
-EAPI=6 |
85 |
- |
86 |
-WX_GTK_VER="3.0-gtk3" |
87 |
-inherit gnome2-utils wxwidgets xdg-utils cmake-utils |
88 |
- |
89 |
-if [[ ${PV} == 9999 ]]; then |
90 |
- EGIT_REPO_URI="https://github.com/visualboyadvance-m/visualboyadvance-m.git" |
91 |
- inherit git-r3 |
92 |
-else |
93 |
- SRC_URI="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
94 |
- KEYWORDS="~amd64 ~x86" |
95 |
- S="${WORKDIR}/visualboyadvance-m-${PV}" |
96 |
-fi |
97 |
- |
98 |
-DESCRIPTION="Game Boy, GBC, and GBA emulator forked from VisualBoyAdvance" |
99 |
-HOMEPAGE="https://github.com/visualboyadvance-m/visualboyadvance-m" |
100 |
- |
101 |
-LICENSE="GPL-2" |
102 |
-SLOT="0" |
103 |
-IUSE="ffmpeg link lirc nls openal +sdl wxwidgets" |
104 |
-REQUIRED_USE="openal? ( wxwidgets ) || ( sdl wxwidgets )" |
105 |
- |
106 |
-RDEPEND=" |
107 |
- >=media-libs/libpng-1.4:0= |
108 |
- media-libs/libsdl2[joystick] |
109 |
- link? ( >=media-libs/libsfml-2.0:= ) |
110 |
- sys-libs/zlib:= |
111 |
- virtual/glu |
112 |
- virtual/opengl |
113 |
- ffmpeg? ( =media-video/ffmpeg-3*:= ) |
114 |
- lirc? ( app-misc/lirc ) |
115 |
- nls? ( virtual/libintl ) |
116 |
- wxwidgets? ( |
117 |
- openal? ( media-libs/openal ) |
118 |
- x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] |
119 |
- )" |
120 |
-DEPEND="${RDEPEND} |
121 |
- app-arch/zip |
122 |
- wxwidgets? ( virtual/imagemagick-tools ) |
123 |
- x86? ( || ( dev-lang/nasm dev-lang/yasm ) ) |
124 |
- nls? ( sys-devel/gettext ) |
125 |
- virtual/pkgconfig" |
126 |
- |
127 |
-PATCHES=( |
128 |
- "${FILESDIR}/${P}-performance_fixup.patch" |
129 |
-) |
130 |
- |
131 |
-src_configure() { |
132 |
- use wxwidgets && setup-wxwidgets |
133 |
- local mycmakeargs=( |
134 |
- -DENABLE_FFMPEG=$(usex ffmpeg) |
135 |
- -DENABLE_LINK=$(usex link) |
136 |
- -DENABLE_LIRC=$(usex lirc) |
137 |
- -DENABLE_NLS=$(usex nls) |
138 |
- -DENABLE_OPENAL=$(usex openal) |
139 |
- -DENABLE_SDL=$(usex sdl) |
140 |
- -DENABLE_WX=$(usex wxwidgets) |
141 |
- -DENABLE_ASM_CORE=$(usex x86) |
142 |
- -DENABLE_ASM_SCALERS=$(usex x86) |
143 |
- -DCMAKE_SKIP_RPATH=ON |
144 |
- ) |
145 |
- cmake-utils_src_configure |
146 |
-} |
147 |
- |
148 |
-src_install() { |
149 |
- cmake-utils_src_install |
150 |
- |
151 |
- if use sdl ; then |
152 |
- dodoc doc/ReadMe.SDL.txt |
153 |
- doman src/debian/vbam.6 |
154 |
- fi |
155 |
- use wxwidgets && doman src/debian/visualboyadvance-m.6 |
156 |
-} |
157 |
- |
158 |
-pkg_preinst() { |
159 |
- if use wxwidgets ; then |
160 |
- gnome2_icon_savelist |
161 |
- fi |
162 |
-} |
163 |
- |
164 |
-pkg_postinst() { |
165 |
- if use wxwidgets ; then |
166 |
- gnome2_icon_cache_update |
167 |
- xdg_desktop_database_update |
168 |
- fi |
169 |
-} |
170 |
- |
171 |
-pkg_postrm() { |
172 |
- if use wxwidgets ; then |
173 |
- gnome2_icon_cache_update |
174 |
- xdg_desktop_database_update |
175 |
- fi |
176 |
-} |