1 |
commit: ae06c3c92830a8708c88f7091a9b4a42014f6d92 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 6 19:07:44 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 6 20:52:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae06c3c9 |
7 |
|
8 |
games-emulation/pcsx2: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
games-emulation/pcsx2/pcsx2-1.6.0-r1.ebuild | 112 ---------------------------- |
13 |
1 file changed, 112 deletions(-) |
14 |
|
15 |
diff --git a/games-emulation/pcsx2/pcsx2-1.6.0-r1.ebuild b/games-emulation/pcsx2/pcsx2-1.6.0-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 7bdeda838f0d..000000000000 |
18 |
--- a/games-emulation/pcsx2/pcsx2-1.6.0-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,112 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-WX_GTK_VER="3.0-gtk3" |
27 |
-inherit cmake fcaps flag-o-matic multilib toolchain-funcs wxwidgets |
28 |
- |
29 |
-MY_PV="${PV/_/-}" |
30 |
- |
31 |
-DESCRIPTION="A PlayStation 2 emulator" |
32 |
-HOMEPAGE="https://pcsx2.net/" |
33 |
-SRC_URI="https://github.com/PCSX2/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="GPL-3" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="-* amd64 x86" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- app-arch/bzip2[abi_x86_32(-)] |
41 |
- app-arch/xz-utils[abi_x86_32(-)] |
42 |
- dev-libs/libaio[abi_x86_32(-)] |
43 |
- dev-libs/libxml2:2[abi_x86_32(-)] |
44 |
- media-libs/alsa-lib[abi_x86_32(-)] |
45 |
- media-libs/libpng:=[abi_x86_32(-)] |
46 |
- media-libs/libsdl2[abi_x86_32(-),haptic,joystick,sound] |
47 |
- media-libs/libsoundtouch[abi_x86_32(-)] |
48 |
- media-libs/portaudio[abi_x86_32(-)] |
49 |
- net-libs/libpcap[abi_x86_32(-)] |
50 |
- sys-libs/zlib[abi_x86_32(-)] |
51 |
- virtual/libudev[abi_x86_32(-)] |
52 |
- virtual/opengl[abi_x86_32(-)] |
53 |
- x11-libs/gtk+:3[abi_x86_32(-)] |
54 |
- x11-libs/libICE[abi_x86_32(-)] |
55 |
- x11-libs/libX11[abi_x86_32(-)] |
56 |
- x11-libs/libXext[abi_x86_32(-)] |
57 |
- x11-libs/wxGTK:${WX_GTK_VER}[abi_x86_32(-),X] |
58 |
-" |
59 |
-DEPEND="${RDEPEND} |
60 |
- dev-cpp/pngpp |
61 |
- dev-cpp/sparsehash |
62 |
-" |
63 |
- |
64 |
-S="${WORKDIR}/${PN}-${MY_PV}" |
65 |
- |
66 |
-FILECAPS=( |
67 |
- "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/PCSX2 |
68 |
-) |
69 |
- |
70 |
-PATCHES=( |
71 |
- "${FILESDIR}/${P}-disable-setcap.patch" |
72 |
-) |
73 |
- |
74 |
-pkg_setup() { |
75 |
- if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then |
76 |
- # -mxsave flag is needed when GCC >= 8.2 is used |
77 |
- # https://bugs.gentoo.org/685156 |
78 |
- if [[ $(gcc-major-version) -gt 8 || $(gcc-major-version) == 8 && $(gcc-minor-version) -ge 2 ]]; then |
79 |
- append-flags -mxsave |
80 |
- fi |
81 |
- fi |
82 |
-} |
83 |
- |
84 |
-src_configure() { |
85 |
- multilib_toolchain_setup x86 |
86 |
- # Build with ld.gold fails |
87 |
- # https://github.com/PCSX2/pcsx2/issues/1671 |
88 |
- tc-ld-disable-gold |
89 |
- |
90 |
- # pcsx2 build scripts will force CMAKE_BUILD_TYPE=Devel |
91 |
- # if it something other than "Devel|Debug|Release" |
92 |
- local CMAKE_BUILD_TYPE="Release" |
93 |
- |
94 |
- if use amd64; then |
95 |
- # Passing correct CMAKE_TOOLCHAIN_FILE for amd64 |
96 |
- # https://github.com/PCSX2/pcsx2/pull/422 |
97 |
- local MYCMAKEARGS=(-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake) |
98 |
- fi |
99 |
- |
100 |
- local mycmakeargs=( |
101 |
- -DARCH_FLAG= |
102 |
- -DDISABLE_BUILD_DATE=TRUE |
103 |
- -DDISABLE_PCSX2_WRAPPER=TRUE |
104 |
- -DDISABLE_SETCAP=TRUE |
105 |
- -DEXTRA_PLUGINS=FALSE |
106 |
- -DOPTIMIZATION_FLAG= |
107 |
- -DPACKAGE_MODE=TRUE |
108 |
- -DXDG_STD=TRUE |
109 |
- |
110 |
- -DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)/${PN}" |
111 |
- -DDOC_DIR=/usr/share/doc/"${PF}" |
112 |
- -DEGL_API=FALSE |
113 |
- -DGTK3_API=TRUE |
114 |
- -DOPENCL_API=FALSE |
115 |
- -DPLUGIN_DIR="/usr/$(get_libdir)/${PN}" |
116 |
- # wxGTK must be built against same sdl version |
117 |
- -DSDL2_API=TRUE |
118 |
- -DUSE_VTUNE=FALSE |
119 |
- ) |
120 |
- |
121 |
- setup-wxwidgets |
122 |
- cmake_src_configure |
123 |
-} |
124 |
- |
125 |
-src_install() { |
126 |
- # Upstream issues: |
127 |
- # https://github.com/PCSX2/pcsx2/issues/417 |
128 |
- # https://github.com/PCSX2/pcsx2/issues/3077 |
129 |
- QA_EXECSTACK="usr/bin/PCSX2" |
130 |
- QA_TEXTRELS="usr/$(get_libdir)/pcsx2/* usr/bin/PCSX2" |
131 |
- cmake_src_install |
132 |
-} |