public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vicente Olivert Riera" <vincent@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/vincent:master commit in: games-emulation/pcsx2/
Date: Tue, 28 May 2013 19:29:55 +0000 (UTC)	[thread overview]
Message-ID: <1369769297.b86f0ab53d0d0c7b10c96cf73e2b6c3d578d9c40.vincent@gentoo> (raw)

commit:     b86f0ab53d0d0c7b10c96cf73e2b6c3d578d9c40
Author:     Vicente Olivert Riera <vincent <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 19:28:17 2013 +0000
Commit:     Vicente Olivert Riera <vincent <AT> gentoo <DOT> org>
CommitDate: Tue May 28 19:28:17 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/vincent.git;a=commit;h=b86f0ab5

Added pcsx2-1.0.0_p5647.ebuild

---
 games-emulation/pcsx2/pcsx2-1.0.0_p5647.ebuild | 91 ++++++++++++++++++++++++++
 1 file changed, 91 insertions(+)

diff --git a/games-emulation/pcsx2/pcsx2-1.0.0_p5647.ebuild b/games-emulation/pcsx2/pcsx2-1.0.0_p5647.ebuild
new file mode 100644
index 0000000..2670980
--- /dev/null
+++ b/games-emulation/pcsx2/pcsx2-1.0.0_p5647.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils wxwidgets games
+
+DESCRIPTION="A PlayStation 2 emulator"
+HOMEPAGE="http://www.pcsx2.net"
+SRC_URI="http://dev.gentoo.org/~vincent/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+
+DEPEND="dev-cpp/sparsehash
+	media-libs/alsa-lib
+	media-libs/glew
+	media-libs/libsdl
+	media-libs/libsoundtouch
+	media-libs/portaudio
+	sys-libs/zlib
+	virtual/jpeg
+	virtual/opengl
+	x11-libs/gtk+:2
+	x11-libs/libICE
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/wxGTK:2.8[X]
+	x86? (
+		dev-libs/libaio
+		media-gfx/nvidia-cg-toolkit
+	)
+	amd64? (
+		app-emulation/emul-linux-x86-baselibs
+		app-emulation/emul-linux-x86-opengl
+		app-emulation/emul-linux-x86-xlibs
+		app-emulation/emul-linux-x86-gtklibs
+		app-emulation/emul-linux-x86-sdl
+		app-emulation/emul-linux-x86-soundlibs
+		app-emulation/emul-linux-x86-libsoundtouch
+		app-emulation/emul-linux-x86-wxGTK:2.8
+		>=dev-libs/libaio-0.3.109-r4[multilib]
+		>=media-gfx/nvidia-cg-toolkit-3.1[multilib]
+	)"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	use amd64 && local ABI="x86"
+
+	local wxgtk_config=""
+	local cg_config=""
+	local mylibpath=""
+
+	if use amd64 ; then
+		mylibpath="/usr/$(get_libdir)"
+		wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.8-32"
+		cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so
+			-DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so"
+	else
+		mylibpath="/usr/$(get_libdir)"
+	fi
+
+	mycmakeargs="-DPACKAGE_MODE=1
+		-DCMAKE_VERBOSE_MAKEFILE=TRUE
+		-DCMAKE_INSTALL_PREFIX=/usr
+		-DCMAKE_LIBRARY_PATH=${mylibpath}
+		-DBUILD_REPLAY_LOADERS=FALSE
+		${wxgtk_config}
+		${cg_config}"
+
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	dogamesbin "${D}usr/bin/${PN}"
+	rm "${D}usr/bin/${PN}" || die "rm failed"
+
+	prepgamesdirs
+}


             reply	other threads:[~2013-05-28 19:30 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28 19:29 Vicente Olivert Riera [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-02 21:01 [gentoo-commits] dev/vincent:master commit in: games-emulation/pcsx2/ Vicente Olivert Riera
2014-05-02 20:06 Vicente Olivert Riera
2014-05-01 20:10 Vicente Olivert Riera
2014-05-01 20:03 Vicente Olivert Riera
2014-04-29 18:39 Vicente Olivert Riera
2014-04-29 18:34 Vicente Olivert Riera
2014-03-05 22:45 Vicente Olivert Riera
2014-01-18 15:29 Vicente Olivert Riera
2013-10-21 10:20 Vicente Olivert Riera
2013-09-26 16:33 Vicente Olivert Riera
2013-08-28 10:59 Vicente Olivert Riera
2013-07-20  7:46 Vicente Olivert Riera
2013-07-13 20:44 Vicente Olivert Riera
2013-07-13 12:13 Vicente Olivert Riera
2013-07-13 12:13 Vicente Olivert Riera
2013-07-07 19:30 Vicente Olivert Riera
2013-07-04  9:06 Vicente Olivert Riera
2013-06-30 20:49 Vicente Olivert Riera
2013-06-29 12:16 Vicente Olivert Riera
2013-06-29  7:34 Vicente Olivert Riera
2013-06-28 11:22 Vicente Olivert Riera
2013-06-27 11:46 Vicente Olivert Riera
2013-06-23 11:47 Vicente Olivert Riera
2013-06-23 11:30 Vicente Olivert Riera
2013-06-23 11:30 Vicente Olivert Riera
2013-06-19 13:56 Vicente Olivert Riera
2013-06-19 13:56 Vicente Olivert Riera
2013-05-28 19:29 Vicente Olivert Riera
2013-03-18 12:45 Vicente Olivert Riera
2013-03-15 13:01 Vicente Olivert Riera
2013-03-09 20:20 Vicente Olivert Riera
2013-03-09 20:11 Vicente Olivert Riera
2013-03-09 20:05 Vicente Olivert Riera
2013-03-09 19:27 Vicente Olivert Riera
2013-03-09 14:46 Vicente Olivert Riera
2013-03-09 14:43 Vicente Olivert Riera
2013-03-09 14:43 Vicente Olivert Riera
2013-03-09 14:43 Vicente Olivert Riera
2013-03-09 14:43 Vicente Olivert Riera
2013-03-09 14:26 Vicente Olivert Riera
2013-03-09 14:20 Vicente Olivert Riera
2013-03-06 11:12 Vicente Olivert Riera
2013-03-06 10:24 Vicente Olivert Riera
2013-03-05 23:52 Vicente Olivert Riera
2013-03-05 23:47 Vicente Olivert Riera
2013-03-05 23:33 Vicente Olivert Riera
2013-03-05 21:52 Vicente Olivert Riera
2013-03-05 18:39 Vicente Olivert Riera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1369769297.b86f0ab53d0d0c7b10c96cf73e2b6c3d578d9c40.vincent@gentoo \
    --to=vincent@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox