Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 383962 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), 4.07 KB, created by
nE0sIghT
on 2014-08-30 13:51:24 UTC
(
hide
)
Description:
pcsx2-1.2.2.ebuild
Filename:
MIME Type:
Creator:
nE0sIghT
Created:
2014-08-30 13:51:24 UTC
Size:
4.07 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 >if [[ ${PV} == "9999" ]]; then > inherit git-r3 > EGIT_REPO_URI="git://github.com/PCSX2/pcsx2.git" >else > KEYWORDS="~amd64 ~x86" > SRC_URI="https://github.com/PCSX2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" >fi > >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=" > app-arch/bzip2[abi_x86_32] > dev-libs/libaio[abi_x86_32] > virtual/jpeg:62[abi_x86_32] > x11-libs/gtk+:2[abi_x86_32] > x11-libs/libICE[abi_x86_32] > x11-libs/libX11[abi_x86_32] > x11-libs/libXext[abi_x86_32] > >=sys-libs/zlib-1.2.4[abi_x86_32] > > || ( > x11-libs/wxGTK:2.8[abi_x86_32,X] > x11-libs/wxGTK:3.0[abi_x86_32,X] > ) > > video? ( > virtual/opengl[abi_x86_32] > > cg? ( > x86? ( media-gfx/nvidia-cg-toolkit ) > amd64? ( media-gfx/nvidia-cg-toolkit[multilib] ) > ) > egl? ( media-libs/mesa[abi_x86_32,egl] ) > glew? ( media-libs/glew[abi_x86_32] ) > ) > > sdl? ( media-libs/libsdl[abi_x86_32,joystick?,sound?] ) > > sound? ( > media-libs/alsa-lib[abi_x86_32] > media-libs/libsoundtouch[abi_x86_32] > media-libs/portaudio[abi_x86_32] > ) >" >DEPEND="${RDEPEND} > >=dev-cpp/sparsehash-1.5 >" > >PATCHES=( > # Workaround broken glext.h, bug #510730 > "${FILESDIR}"/mesa-10.patch >) >if [[ ${PV} == "1.2.2" ]]; then > PATCHES+=( > # Fix Cg find for Gentoo amd64 > "${FILESDIR}"/cg-multilib.patch > # Backported wxGTK:3.0 support > "${FILESDIR}"/00-wxGTK-3.patch > "${FILESDIR}"/01-wxGTK-3.patch > "${FILESDIR}"/02-wxGTK-3.patch > "${FILESDIR}"/03-wxGTK-3.patch > "${FILESDIR}"/04-wxGTK-3.patch > "${FILESDIR}"/05-wxGTK-3.patch > "${FILESDIR}"/06-wxGTK-3.patch > "${FILESDIR}"/07-wxGTK-3.patch > "${FILESDIR}"/08-wxGTK-3.patch > "${FILESDIR}"/09-wxGTK-3.patch > "${FILESDIR}"/10-wxGTK-3.patch > "${FILESDIR}"/11-wxGTK-3.patch > "${FILESDIR}"/12-wxGTK-3.patch > ) >fi > >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" > if has_version 'x11-libs/wxGTK:3.0[abi_x86_32,X]'; then > WX_GTK_VER="3.0" > fi > need-wxwidgets unicode > > local mycmakeargs=( > -DPACKAGE_MODE=TRUE > -DXDG_STD=TRUE > -DCMAKE_INSTALL_PREFIX=/usr > -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) > ) > > if [ $WX_GTK_VER == '3.0' ]; then > mycmakeargs+=(-DWX28_API=FALSE) > fi > > cmake-utils_src_configure >} > >src_compile() { > cmake-utils_src_compile >} > >src_install() { > cmake-utils_src_install DESTDIR="${D}" > > # move binary files to correct directory > mv ${D}/usr/bin ${D}/${GAMES_BINDIR} || die > > 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