diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-emulation/pcsxr/pcsxr-1.9.94-r2.ebuild | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-emulation/pcsxr/pcsxr-1.9.94-r2.ebuild')
-rw-r--r-- | games-emulation/pcsxr/pcsxr-1.9.94-r2.ebuild | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/games-emulation/pcsxr/pcsxr-1.9.94-r2.ebuild b/games-emulation/pcsxr/pcsxr-1.9.94-r2.ebuild deleted file mode 100644 index b58d16a4d360..000000000000 --- a/games-emulation/pcsxr/pcsxr-1.9.94-r2.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools ltprune 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="https://dev.gentoo.org/~mgorny/dist/${P}.zip" - -LICENSE="GPL-2 public-domain" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="alsa cdio ffmpeg libav nls openal opengl oss pulseaudio +sdl" -REQUIRED_USE="?? ( alsa openal 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? ( - !libav? ( >=media-video/ffmpeg-3:0= ) - libav? ( media-video/libav: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-base/xorg-proto - nls? ( sys-devel/gettext:0 ) - x86? ( dev-lang/nasm ) -" - -# it's only the .po file check that fails :) -RESTRICT=test - -PATCHES=( - "${FILESDIR}"/${P}-disable-sdl2.patch - "${FILESDIR}"/${P}-zlib-uncompress2.patch - "${FILESDIR}"/${P}-ffmpeg3.patch -) - -S="${WORKDIR}/${PN}" - -src_prepare() { - default - 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 -} |