public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/
Date: Sun, 17 May 2020 16:42:08 +0000 (UTC)	[thread overview]
Message-ID: <1589733710.6f8e98f277d07ebe527624ac3624db81d03fdcd5.juippis@gentoo> (raw)

commit:     6f8e98f277d07ebe527624ac3624db81d03fdcd5
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Fri May  8 08:23:00 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun May 17 16:41:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f8e98f2

games-emulation/pcsx2: version bump to 1.6.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 games-emulation/pcsx2/Manifest           |   1 +
 games-emulation/pcsx2/pcsx2-1.6.0.ebuild | 101 +++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

diff --git a/games-emulation/pcsx2/Manifest b/games-emulation/pcsx2/Manifest
index ec8552bfec1..e31c9cbc2d7 100644
--- a/games-emulation/pcsx2/Manifest
+++ b/games-emulation/pcsx2/Manifest
@@ -1,2 +1,3 @@
 DIST pcsx2-1.4.0.tar.gz 15108326 BLAKE2B 6601019f9bd038d8cb3ed5ebd47daa5b645e537d028581c1235f9ab03f59d281639913ef037be3ef380a76bd48ea4f8728b0339fafcd331b4cfa41681dbcabd0 SHA512 87ae8bdebcaf015ba03c23056bcab32b13d6726a6c3f05e62ef54f472114399debfcfcda4208b066519c2d20345a1bb8c55582eb342dccc168f410687f3766fb
 DIST pcsx2-1.6.0_rc.tar.gz 17914747 BLAKE2B e088997a7dc8632070f6bcb70defe0ea226fe250bcefd76ab7499d765ba38e7c249fa4e7048815c173fb2e529ef9cd7e139e03b5a178e5dbcaacab6442bb5517 SHA512 41da55efe0652dc2494c7266375a00f7942f45cfbc2602ab981739102876781c474e54758a9c556f189f7b2e34c81fd1f027cfbc4033fb3b817d63387a9c9db3
+DIST pcsx2-1.6.0.tar.gz 17963332 BLAKE2B d1370fd089e1f8716a3365b9f499fef9418c4a9464e701cf0dbac8296cf59a2c6fc9b85ed680c514d8128da7b5c47aa8a067d48cac9eb0482ef2ba5f9234e60e SHA512 0a3e01a25384719fc72b636a1e9cf1cd966d0c978c1c3adfb46d6b3f76f43a25f90ef63d27a1d8092cdf444c5dc7560ce807ca81908d11ade9715e7eaaad6253

diff --git a/games-emulation/pcsx2/pcsx2-1.6.0.ebuild b/games-emulation/pcsx2/pcsx2-1.6.0.ebuild
new file mode 100644
index 00000000000..e6691265aa2
--- /dev/null
+++ b/games-emulation/pcsx2/pcsx2-1.6.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+MY_PV="${PV/_/-}"
+
+inherit cmake multilib toolchain-funcs wxwidgets
+
+DESCRIPTION="A PlayStation 2 emulator"
+HOMEPAGE="https://www.pcsx2.net"
+SRC_URI="https://github.com/PCSX2/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+RDEPEND="
+	app-arch/bzip2[abi_x86_32(-)]
+	app-arch/xz-utils[abi_x86_32(-)]
+	dev-libs/libaio[abi_x86_32(-)]
+	dev-libs/libxml2:2[abi_x86_32(-)]
+	media-libs/alsa-lib[abi_x86_32(-)]
+	media-libs/libpng:=[abi_x86_32(-)]
+	media-libs/libsdl2[abi_x86_32(-),haptic,joystick,sound]
+	media-libs/libsoundtouch[abi_x86_32(-)]
+	media-libs/portaudio[abi_x86_32(-)]
+	net-libs/libpcap[abi_x86_32(-)]
+	sys-libs/zlib[abi_x86_32(-)]
+	virtual/libudev[abi_x86_32(-)]
+	virtual/opengl[abi_x86_32(-)]
+	x11-libs/gtk+:3[abi_x86_32(-)]
+	x11-libs/libICE[abi_x86_32(-)]
+	x11-libs/libX11[abi_x86_32(-)]
+	x11-libs/libXext[abi_x86_32(-)]
+	>=x11-libs/wxGTK-3.0.4-r301:3.0-gtk3[abi_x86_32(-),X]
+"
+DEPEND="${RDEPEND}
+	dev-cpp/pngpp
+	dev-cpp/sparsehash
+"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+pkg_setup() {
+	if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
+		# -mxsave flag is needed when GCC >= 8.2 is used
+		# https://bugs.gentoo.org/685156
+		if [[ $(gcc-major-version) -gt 8 || $(gcc-major-version) == 8 && $(gcc-minor-version) -ge 2 ]]; then
+			append-flags -mxsave
+		fi
+	fi
+}
+
+src_configure() {
+	multilib_toolchain_setup x86
+	# Build with ld.gold fails
+	# https://github.com/PCSX2/pcsx2/issues/1671
+	tc-ld-disable-gold
+
+	# pcsx2 build scripts will force CMAKE_BUILD_TYPE=Devel
+	# if it something other than "Devel|Debug|Release"
+	local CMAKE_BUILD_TYPE="Release"
+
+	if use amd64; then
+		# Passing correct CMAKE_TOOLCHAIN_FILE for amd64
+		# https://github.com/PCSX2/pcsx2/pull/422
+		local MYCMAKEARGS=(-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake)
+	fi
+
+	local mycmakeargs=(
+		-DARCH_FLAG=
+		-DDISABLE_BUILD_DATE=TRUE
+		-DDISABLE_PCSX2_WRAPPER=TRUE
+		-DEXTRA_PLUGINS=FALSE
+		-DOPTIMIZATION_FLAG=
+		-DPACKAGE_MODE=TRUE
+		-DXDG_STD=TRUE
+
+		-DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)/${PN}"
+		-DDOC_DIR=/usr/share/doc/"${PF}"
+		-DEGL_API=FALSE
+		-DGTK3_API=TRUE
+		-DOPENCL_API=FALSE
+		-DPLUGIN_DIR="/usr/$(get_libdir)/${PN}"
+		# wxGTK must be built against same sdl version
+		-DSDL2_API=TRUE
+		-DUSE_VTUNE=FALSE
+	)
+
+	WX_GTK_VER="3.0-gtk3" setup-wxwidgets
+	cmake_src_configure
+}
+
+src_install() {
+	# Upstream issues:
+	#  https://github.com/PCSX2/pcsx2/issues/417
+	#  https://github.com/PCSX2/pcsx2/issues/3077
+	QA_EXECSTACK="usr/bin/PCSX2"
+	QA_TEXTRELS="usr/$(get_libdir)/pcsx2/* usr/bin/PCSX2"
+	cmake_src_install
+}


             reply	other threads:[~2020-05-17 16:42 UTC|newest]

Thread overview: 157+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 16:42 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-08  6:05 [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/ Arthur Zamarin
2024-07-22  7:01 Ionen Wolkens
2024-07-22  7:01 Ionen Wolkens
2024-07-22  7:01 Ionen Wolkens
2024-07-20 23:50 Ionen Wolkens
2024-07-19  5:41 Ionen Wolkens
2024-07-13  6:00 Joonas Niilola
2024-06-22  9:34 Ionen Wolkens
2024-06-22  9:34 Ionen Wolkens
2024-06-11  7:16 Joonas Niilola
2024-05-21 17:40 Ionen Wolkens
2024-05-13  5:27 Joonas Niilola
2024-04-26 13:07 Ionen Wolkens
2024-04-26 13:01 Ionen Wolkens
2024-04-26 13:01 Ionen Wolkens
2024-04-22  7:26 Ionen Wolkens
2024-04-22  7:26 Ionen Wolkens
2024-04-22  7:26 Ionen Wolkens
2024-04-10  6:06 Joonas Niilola
2024-04-07 12:32 Ionen Wolkens
2024-04-06  8:03 Ionen Wolkens
2024-03-31 12:09 Ionen Wolkens
2024-03-21  6:37 Joonas Niilola
2024-03-20  7:17 Ionen Wolkens
2024-03-02 14:46 Ionen Wolkens
2024-02-18 18:27 Ionen Wolkens
2024-02-18  8:07 Joonas Niilola
2024-02-17 10:20 Ionen Wolkens
2024-01-17 14:45 Ionen Wolkens
2024-01-17 14:45 Ionen Wolkens
2024-01-15  7:29 Ionen Wolkens
2024-01-15  7:29 Ionen Wolkens
2024-01-15  7:29 Ionen Wolkens
2024-01-15  7:29 Ionen Wolkens
2023-12-31  7:10 Ionen Wolkens
2023-12-30 16:16 Ionen Wolkens
2023-12-19 11:44 Ionen Wolkens
2023-12-19 11:44 Ionen Wolkens
2023-12-19 11:44 Ionen Wolkens
2023-11-22 12:46 Ionen Wolkens
2023-11-19  5:54 Ionen Wolkens
2023-11-19  5:54 Ionen Wolkens
2023-10-26  5:40 Ionen Wolkens
2023-10-25  7:58 Ionen Wolkens
2023-10-19 13:35 Ionen Wolkens
2023-10-14  4:50 Ionen Wolkens
2023-09-19 11:36 Ionen Wolkens
2023-09-19 11:36 Ionen Wolkens
2023-09-19 11:36 Ionen Wolkens
2023-09-19 11:36 Ionen Wolkens
2023-09-17  4:26 Ionen Wolkens
2023-09-12 16:15 Ionen Wolkens
2023-08-27  5:03 Ionen Wolkens
2023-08-24  3:40 Ionen Wolkens
2023-07-25  0:10 Ionen Wolkens
2023-07-06  9:44 Ionen Wolkens
2023-06-24  4:14 Ionen Wolkens
2023-06-24  4:14 Ionen Wolkens
2023-06-02  6:54 Ionen Wolkens
2023-05-28 20:50 Andreas K. Hüttel
2023-05-26  2:39 Ionen Wolkens
2023-05-26  2:39 Ionen Wolkens
2023-05-23  2:52 Sam James
2023-05-16 17:21 Ionen Wolkens
2023-05-10 17:26 Ionen Wolkens
2023-05-10 17:26 Ionen Wolkens
2023-04-30 21:49 Ionen Wolkens
2023-04-26  8:37 Ionen Wolkens
2023-04-23  4:49 Ionen Wolkens
2023-03-28  7:41 Ionen Wolkens
2023-03-28  7:41 Ionen Wolkens
2023-03-25  3:19 Ionen Wolkens
2023-03-21  5:49 Ionen Wolkens
2023-03-19 22:44 Ionen Wolkens
2023-03-12  7:04 Ionen Wolkens
2023-02-13 11:46 Ionen Wolkens
2023-02-09 22:41 Ionen Wolkens
2023-02-02 22:52 Ionen Wolkens
2023-01-30 19:11 Ionen Wolkens
2023-01-25 22:33 Ionen Wolkens
2023-01-12 22:41 Ionen Wolkens
2023-01-11 11:26 Ionen Wolkens
2023-01-02 15:52 Ionen Wolkens
2023-01-02 11:08 Ionen Wolkens
2023-01-02  6:35 Ionen Wolkens
2023-01-02  5:47 Ionen Wolkens
2022-12-30 18:06 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-12-22  8:30 Ionen Wolkens
2022-12-19  5:48 Ionen Wolkens
2022-12-18  5:38 Ionen Wolkens
2022-11-20 21:33 Ionen Wolkens
2022-11-20 21:33 Ionen Wolkens
2022-10-21 10:27 Ionen Wolkens
2022-10-11 16:09 Andreas Sturmlechner
2022-10-03  5:25 Ionen Wolkens
2022-09-26 12:54 Ionen Wolkens
2022-09-23  4:00 Ionen Wolkens
2022-09-23  4:00 Ionen Wolkens
2022-09-23  3:02 Ionen Wolkens
2022-09-23  0:27 Ionen Wolkens
2022-08-12 22:00 James Le Cuirot
2022-06-23 21:04 Ionen Wolkens
2022-05-25  6:46 Ionen Wolkens
2022-05-19 15:20 Ionen Wolkens
2022-05-17  5:34 Sam James
2022-04-21  6:01 Ionen Wolkens
2022-03-14 11:43 Ionen Wolkens
2022-03-11  5:29 Ionen Wolkens
2022-03-02 19:35 Ionen Wolkens
2022-02-16 23:10 Ionen Wolkens
2022-01-27 21:10 Ionen Wolkens
2022-01-09 21:20 Ionen Wolkens
2022-01-06 20:52 Michał Górny
2022-01-06 15:02 Agostino Sarubbo
2022-01-05 23:09 Ionen Wolkens
2022-01-02  5:52 Sam James
2022-01-01 20:42 Ionen Wolkens
2022-01-01  8:14 Ionen Wolkens
2021-09-24 21:23 Ionen Wolkens
2021-04-10  4:24 Sam James
2021-04-05 22:26 David Seifert
2021-03-01  8:26 Joonas Niilola
2021-03-01  8:26 Joonas Niilola
2021-03-01  8:26 Joonas Niilola
2021-02-20 10:10 Michał Górny
2021-02-20  1:26 Sam James
2021-02-19 20:12 Thomas Deutschmann
2021-01-15  8:44 Joonas Niilola
2021-01-15  8:44 Joonas Niilola
2021-01-15  8:44 Joonas Niilola
2021-01-15  8:44 Joonas Niilola
2020-11-12 21:28 Patrice Clement
2020-10-27  7:35 Joonas Niilola
2020-08-11 23:24 Matt Turner
2020-05-24 15:42 Andreas Sturmlechner
2020-05-17 16:42 Joonas Niilola
2020-05-17 16:42 Joonas Niilola
2020-03-15 18:41 Agostino Sarubbo
2020-03-15 11:45 Agostino Sarubbo
2020-03-14 12:07 Joonas Niilola
2020-03-14 12:07 Joonas Niilola
2020-02-08 17:06 David Seifert
2019-10-16  5:22 Joonas Niilola
2019-08-28 15:54 Joonas Niilola
2019-08-02 13:50 Joonas Niilola
2019-08-02 13:48 Joonas Niilola
2019-05-26 20:23 David Seifert
2019-05-08 17:05 Andreas Sturmlechner
2019-05-08 17:05 Andreas Sturmlechner
2018-10-27  8:03 Michał Górny
2017-11-04  7:13 Michael Palimaka
2017-07-30  9:38 Michał Górny
2017-05-24 12:14 Michał Górny
2016-12-29 11:41 Agostino Sarubbo
2016-12-29 11:38 Agostino Sarubbo

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=1589733710.6f8e98f277d07ebe527624ac3624db81d03fdcd5.juippis@gentoo \
    --to=juippis@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