diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-08-14 10:37:38 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-08-14 10:37:38 +0000 |
commit | 229da39729f50fedec0083a278f7dbebed154c3f (patch) | |
tree | e535e31d6c4ce7a0f9e28c4e2aaa803c6a2a7e14 /games-emulation | |
parent | bump (diff) | |
download | gentoo-2-229da39729f50fedec0083a278f7dbebed154c3f.tar.gz gentoo-2-229da39729f50fedec0083a278f7dbebed154c3f.tar.bz2 gentoo-2-229da39729f50fedec0083a278f7dbebed154c3f.zip |
Remove the games team following the Council decision. Restore upstream install layout.
(Portage version: 2.2.11_p72/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/pcsxr/ChangeLog | 9 | ||||
-rw-r--r-- | games-emulation/pcsxr/metadata.xml | 1 | ||||
-rw-r--r-- | games-emulation/pcsxr/pcsxr-1.9.94-r1.ebuild | 111 |
3 files changed, 119 insertions, 2 deletions
diff --git a/games-emulation/pcsxr/ChangeLog b/games-emulation/pcsxr/ChangeLog index a718458a35a2..4671356f90eb 100644 --- a/games-emulation/pcsxr/ChangeLog +++ b/games-emulation/pcsxr/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-emulation/pcsxr # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsxr/ChangeLog,v 1.3 2014/05/15 16:39:28 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsxr/ChangeLog,v 1.4 2014/08/14 10:37:38 mgorny Exp $ + +*pcsxr-1.9.94-r1 (14 Aug 2014) + + 14 Aug 2014; Michał Górny <mgorny@gentoo.org> +pcsxr-1.9.94-r1.ebuild, + metadata.xml: + Remove the games team following the Council decision. Restore upstream install + layout. 15 May 2014; Ulrich Müller <ulm@gentoo.org> pcsxr-1.9.94.ebuild: Fix USE dependency on media-libs/libsdl, "audio" USE flag was renamed to diff --git a/games-emulation/pcsxr/metadata.xml b/games-emulation/pcsxr/metadata.xml index 8d5de1e77802..f8bb87dde512 100644 --- a/games-emulation/pcsxr/metadata.xml +++ b/games-emulation/pcsxr/metadata.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>games</herd> <maintainer> <email>mgorny@gentoo.org</email> <name>Michał Górny</name> diff --git a/games-emulation/pcsxr/pcsxr-1.9.94-r1.ebuild b/games-emulation/pcsxr/pcsxr-1.9.94-r1.ebuild new file mode 100644 index 000000000000..269a383fa5f1 --- /dev/null +++ b/games-emulation/pcsxr/pcsxr-1.9.94-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsxr/pcsxr-1.9.94-r1.ebuild,v 1.1 2014/08/14 10:37:38 mgorny Exp $ + +EAPI=5 + +inherit autotools eutils multilib versionator + +DESCRIPTION="PCSX-Reloaded: a fork of PCSX, the discontinued Playstation emulator" +HOMEPAGE="http://pcsxr.codeplex.com" +# codeplex doesn't support direct downloads but GPL-2 doesn't mind me +# mirroring it. +SRC_URI="http://dev.gentoo.org/~mgorny/dist/${P}.zip" + +LICENSE="GPL-2 public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="alsa cdio ffmpeg nls openal opengl oss pulseaudio +sdl" + +# pcsxr supports both SDL1 and SDL2 but uses the newer version installed +# since SDL is not properly slotted in Gentoo, just fix it on SDL2 + +RDEPEND="dev-libs/glib:2= + media-libs/libsdl:0=[joystick] + sys-libs/zlib:0= + x11-libs/gtk+:3= + x11-libs/libX11:0= + x11-libs/libXext:0= + x11-libs/libXtst:0= + x11-libs/libXv:0= + alsa? ( media-libs/alsa-lib:0= ) + cdio? ( dev-libs/libcdio:0= ) + ffmpeg? ( virtual/ffmpeg:0= ) + nls? ( virtual/libintl:0= ) + openal? ( media-libs/openal:0= ) + opengl? ( virtual/opengl:0= + x11-libs/libXxf86vm:0= ) + pulseaudio? ( media-sound/pulseaudio:0= ) + sdl? ( media-libs/libsdl:0=[sound] )" +DEPEND="${RDEPEND} + app-arch/unzip + dev-util/intltool + x11-proto/videoproto + nls? ( sys-devel/gettext:0 ) + x86? ( dev-lang/nasm )" + +REQUIRED_USE="?? ( alsa openal oss pulseaudio sdl )" + +# it's only the .po file check that fails :) +RESTRICT=test + +S=${WORKDIR}/${PN} + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${P}-disable-sdl2.patch + ) + + epatch "${PATCHES[@]}" + epatch_user + eautoreconf +} + +src_configure() { + local sound_backend + + if use alsa; then + sound_backend=alsa + elif use oss; then + sound_backend=oss + elif use pulseaudio; then + sound_backend=pulseaudio + elif use sdl; then + sound_backend=sdl + elif use openal; then + sound_backend=openal + else + sound_backend=null + fi + + local myconf=( + $(use_enable nls) + $(use_enable cdio libcdio) + $(use_enable opengl) + $(use_enable ffmpeg ccdda) + --enable-sound=${sound_backend} + ) + + econf "${myconf[@]}" +} + +src_install() { + default + prune_libtool_files --all + + dodoc doc/{keys,tweaks}.txt +} + +pkg_postinst() { + local vr + for vr in ${REPLACING_VERSIONS}; do + if ! version_is_at_least 1.9.94-r1 ${vr}; then + ewarn "Starting with pcsxr-1.9.94-r1, the plugin install path has changed." + ewarn "In order for pcsxr to find plugins, you will need to remove stale" + ewarn "symlinks from ~/.pcsxr/plugins. You can do this using the following" + ewarn "command (as your regular user):" + ewarn + ewarn " $ find ~/.pcsxr/plugins/ -type l -delete" + fi + done +} |