Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 393514 Details for
Bug 510710
games-emulation/pcsx2 - A PlayStation 2 emulator
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pcsx2-1.2.2.ebuild
pcsx2-1.2.2.ebuild (text/plain), 3.85 KB, created by
nE0sIghT
on 2015-01-09 08:54:40 UTC
(
hide
)
Description:
pcsx2-1.2.2.ebuild
Filename:
MIME Type:
Creator:
nE0sIghT
Created:
2015-01-09 08:54:40 UTC
Size:
3.85 KB
patch
obsolete
># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > >inherit wxwidgets cmake-utils multilib games > >KEYWORDS="-* ~amd64 ~x86" >SRC_URI="https://github.com/PCSX2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" > >DESCRIPTION="A PlayStation 2 emulator" >HOMEPAGE="http://www.pcsx2.net" > >LICENSE="GPL-3" >SLOT="0" > >IUSE="cg egl glew glsl joystick sdl sound video" >REQUIRED_USE=" > glew? ( || ( cg glsl ) ) > joystick? ( sdl ) > sound? ( sdl ) > video? ( || ( egl glew ) ) > ?? ( cg glsl ) >" > >LANGS="ar cs_CZ de_DE es_ES fi_FI fr_FR hr_HR hu_HU id_ID it_IT ja_JP ko_KR ms_MY nb_NO pl_PL pt_BR ru_RU sv_SE th_TH tr_TR zh_CN zh_TW" >for lang in ${LANGS}; do > IUSE+=" linguas_${lang}" >done > >RDEPEND="dev-libs/libaio[abi_x86_32] > x11-libs/wxGTK:2.8[abi_x86_32,X] > > || ( > amd64? ( app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) > ( > app-arch/bzip2[abi_x86_32(-)] > virtual/jpeg:62[abi_x86_32(-)] > >=sys-libs/zlib-1.2.4[abi_x86_32(-)] > ) > ) > || ( > amd64? ( app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)] ) > x11-libs/gtk+:2[abi_x86_32(-)] > ) > || ( > amd64? ( app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] ) > ( > x11-libs/libICE[abi_x86_32(-)] > x11-libs/libX11[abi_x86_32(-)] > x11-libs/libXext[abi_x86_32(-)] > ) > ) > > video? ( > || ( > amd64? ( app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] ) > ( > virtual/opengl[abi_x86_32(-)] > egl? ( media-libs/mesa[abi_x86_32(-),egl] ) > glew? ( media-libs/glew[abi_x86_32(-)] ) > ) > ) > cg? ( media-gfx/nvidia-cg-toolkit[abi_x86_32] ) > ) > > sdl? ( > || ( > amd64? ( app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] ) > media-libs/libsdl[abi_x86_32(-),joystick?,sound?] > ) > ) > > sound? ( > || ( > app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] > ( > media-libs/alsa-lib[abi_x86_32(-)] > media-libs/portaudio[abi_x86_32(-)] > ) > ) > media-libs/libsoundtouch[abi_x86_32] > ) >" >DEPEND="${RDEPEND} > >=dev-cpp/sparsehash-1.5 >" > >PATCHES=( > # Workaround broken glext.h, bug #510730 > "${FILESDIR}"/mesa-10.patch > > # Fix Cg find for Gentoo amd64 > "${FILESDIR}"/cg-multilib.patch > > # Honor $GAMES_BINDIR > "${FILESDIR}"/bindir-${PV}.patch >) > ># Upstream issue: https://github.com/PCSX2/pcsx2/issues/417 >QA_TEXTRELS="usr/games/lib32/pcsx2/*" > >src_prepare() { > cmake-utils_src_prepare > > if ! use egl; then > sed -i -e "s:GSdx TRUE:GSdx FALSE:g" cmake/SelectPcsx2Plugins.cmake || die > fi > if ! use glew || ! use cg; then > sed -i -e "s:zerogs TRUE:zerogs FALSE:g" cmake/SelectPcsx2Plugins.cmake || die > fi > if ! use glew; then > sed -i -e "s:zzogl TRUE:zzogl FALSE:g" cmake/SelectPcsx2Plugins.cmake || die > fi > if ! use joystick; then > sed -i -e "s:onepad TRUE:onepad FALSE:g" cmake/SelectPcsx2Plugins.cmake || die > fi > if ! use sound; then > sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" cmake/SelectPcsx2Plugins.cmake || die > fi > > # Remove default CFLAGS > sed -i -e "s:-msse -msse2 -march=i686::g" cmake/BuildParameters.cmake || die > > einfo "Cleaning up locales..." > for lang in ${LANGS}; do > use "linguas_${lang}" && { > einfo "- keeping ${lang}" > continue > } > rm -Rf "${S}"/locales/"${lang}" || die > done > > epatch_user >} > >src_configure() { > multilib_toolchain_setup x86 > > # pcsx2 build scripts will force CMAKE_BUILD_TYPE=Devel > # if it something other than "Devel|Debug|Release" > local CMAKE_BUILD_TYPE="Release" > local WX_GTK_VER="2.8" > > local mycmakeargs=( > -DPACKAGE_MODE=TRUE > -DXDG_STD=TRUE > -DCMAKE_INSTALL_PREFIX=/usr > -DBIN_DIR=${GAMES_BINDIR} > -DCMAKE_LIBRARY_PATH=$(games_get_libdir)/${PN} > -DGAMEINDEX_DIR=${GAMES_DATADIR}/${PN} > -DGLSL_SHADER_DIR=${GAMES_DATADIR}/${PN} > -DPLUGIN_DIR=$(games_get_libdir)/${PN} > $(cmake-utils_use egl EGL_API) > $(cmake-utils_use glsl GLSL_API) > ) > > need-wxwidgets unicode > cmake-utils_src_configure >} > >src_compile() { > cmake-utils_src_compile >} > >src_install() { > cmake-utils_src_install DESTDIR="${D}" > prepgamesdirs >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 510710
:
377218
|
377220
|
377222
|
377284
|
377354
|
377460
|
379416
|
383960
|
383962
|
385652
|
385654
|
391644
|
392328
|
392330
|
392518
|
392520
|
393216
|
393218
|
393514
|
393516
|
397290
|
401588
|
401590
|
401592