* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2016-01-19 20:27 Patrice Clement
0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2016-01-19 20:27 UTC (permalink / raw
To: gentoo-commits
commit: 32516e83e04f3ad49438df03b9e0642484a0e262
Author: RobinDX <robin9800xt <AT> gmail <DOT> com>
AuthorDate: Tue Jan 19 11:10:43 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 11:11:15 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32516e83
games-emulation/ppsspp:new ebuild
games-emulation/ppsspp/Manifest | 0
games-emulation/ppsspp/files/ppsspp | 3 +
games-emulation/ppsspp/files/ppsspp-cmake.patch | 32 ++++++++
.../ppsspp/files/ppsspp-ffmpeg-x86.patch | 11 +++
.../ppsspp/files/ppsspp-ffmpeg-x86_64.patch | 11 +++
games-emulation/ppsspp/files/ppsspp-qt.patch | 11 +++
games-emulation/ppsspp/files/ppsspp.desktop | 7 ++
games-emulation/ppsspp/metadata.xml | 17 ++++
games-emulation/ppsspp/ppsspp-1.1.0.ebuild | 92 ++++++++++++++++++++++
games-emulation/ppsspp/ppsspp-1.1.1.ebuild | 92 ++++++++++++++++++++++
games-emulation/ppsspp/ppsspp-9999.ebuild | 92 ++++++++++++++++++++++
11 files changed, 368 insertions(+)
diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
new file mode 100644
index 0000000..e69de29
diff --git a/games-emulation/ppsspp/files/ppsspp b/games-emulation/ppsspp/files/ppsspp
new file mode 100644
index 0000000..7e3da13
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp
@@ -0,0 +1,3 @@
+#!/bin/bash
+cd /usr/share/games/ppsspp
+./PPSSPPSDL
diff --git a/games-emulation/ppsspp/files/ppsspp-cmake.patch b/games-emulation/ppsspp/files/ppsspp-cmake.patch
new file mode 100644
index 0000000..4a0a036
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-cmake.patch
@@ -0,0 +1,32 @@
+--- CMakeLists.txt.orig 2016-01-04 20:44:44.010023206 +0800
++++ CMakeLists.txt 2016-01-04 20:45:34.910024088 +0800
+@@ -219,11 +219,11 @@
+ if(NOT MSVC)
+ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -D_DEBUG")
+ set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} -Os -D_NDEBUG")
+- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -D_NDEBUG")
++ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -D_NDEBUG")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -O2 -g -D_NDEBUG")
+ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g -D_DEBUG")
+ set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -Os -D_NDEBUG")
+- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -D_NDEBUG")
++ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2 -D_NDEBUG")
+ set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -O2 -g -D_NDEBUG")
+
+ # Disable some warnings
+@@ -634,12 +634,12 @@
+ if (NOT MSVC)
+ # These can be fast even for debug.
+ if(NOT SNAPPY_FOUND)
+- set_target_properties(snappy PROPERTIES COMPILE_FLAGS "-O3")
++ set_target_properties(snappy PROPERTIES COMPILE_FLAGS "-O2")
+ endif()
+- set_target_properties(udis86 PROPERTIES COMPILE_FLAGS "-O3")
+- set_target_properties(cityhash PROPERTIES COMPILE_FLAGS "-O3")
++ set_target_properties(udis86 PROPERTIES COMPILE_FLAGS "-O2")
++ set_target_properties(cityhash PROPERTIES COMPILE_FLAGS "-O2")
+ if(NOT ZLIB_FOUND)
+- set_target_properties(zlib PROPERTIES COMPILE_FLAGS "-O3")
++ set_target_properties(zlib PROPERTIES COMPILE_FLAGS "-O2")
+ endif()
+ endif()
diff --git a/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86.patch b/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86.patch
new file mode 100644
index 0000000..c9e755d
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86.patch
@@ -0,0 +1,11 @@
+--- ffmpeg/linux_x86.sh.orig 2016-01-04 21:44:11.540084990 +0800
++++ ffmpeg/linux_x86.sh 2016-01-04 21:44:56.560085770 +0800
+@@ -72,7 +72,7 @@
+ ./configure \
+ --prefix=./linux/${ARCH} \
+ ${GENERAL} \
+- --extra-cflags="-D__STDC_CONSTANT_MACROS -O3" \
++ --extra-cflags="-D__STDC_CONSTANT_MACROS -O2" \
+ --enable-zlib \
+ --disable-yasm \
+ --disable-everything \
diff --git a/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86_64.patch b/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86_64.patch
new file mode 100644
index 0000000..45bd877
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86_64.patch
@@ -0,0 +1,11 @@
+--- ffmpeg/linux_x86-64.sh.orig 2016-01-04 21:42:14.220082959 +0800
++++ ffmpeg/linux_x86-64.sh 2016-01-04 21:42:31.940083265 +0800
+@@ -71,7 +71,7 @@
+ ./configure \
+ --prefix=./linux/${ARCH} \
+ ${GENERAL} \
+- --extra-cflags="-D__STDC_CONSTANT_MACROS -O3" \
++ --extra-cflags="-D__STDC_CONSTANT_MACROS -O2" \
+ --enable-zlib \
+ --enable-pic \
+ --disable-yasm \
diff --git a/games-emulation/ppsspp/files/ppsspp-qt.patch b/games-emulation/ppsspp/files/ppsspp-qt.patch
new file mode 100644
index 0000000..e372f15
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-qt.patch
@@ -0,0 +1,11 @@
+--- Qt/Settings.pri.orig 2016-01-04 21:37:36.600078151 +0800
++++ Qt/Settings.pri 2016-01-04 21:37:57.430078511 +0800
+@@ -64,7 +64,7 @@
+ else: QMAKE_CXXFLAGS += -std=c++11
+ QMAKE_CFLAGS_RELEASE ~= s/-O.*/
+ QMAKE_CXXFLAGS_RELEASE ~= s/-O.*/
+- QMAKE_ALLFLAGS_RELEASE += -O3 -ffast-math
++ QMAKE_ALLFLAGS_RELEASE += -O2 -ffast-math
+ }
+
+ contains(QT_CONFIG, opengles.) {
diff --git a/games-emulation/ppsspp/files/ppsspp.desktop b/games-emulation/ppsspp/files/ppsspp.desktop
new file mode 100644
index 0000000..a50ed06
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=PPSSPP
+Comment=A PSP emulator
+Exec=/usr/games/bin/ppsspp
+Icon=ppsspp-icon
+Categories=Game;
diff --git a/games-emulation/ppsspp/metadata.xml b/games-emulation/ppsspp/metadata.xml
new file mode 100644
index 0000000..51a6852
--- /dev/null
+++ b/games-emulation/ppsspp/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>robin9800xt@gmail.com</email>
+ <name>RobinDX</name>
+ </maintainer>
+ <use>
+ <flag name='qt4'>Adds support for the Qt GUI/Application Toolkit version 4.x</flag>
+ <flag name='sdl'>Adds support for Simple Direct Layer (media library)</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://github.com/hrydgard/ppsspp/issues</bugs-to>
+ <remote-id type="github">hrydgard/ppsspp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/ppsspp/ppsspp-1.1.0.ebuild b/games-emulation/ppsspp/ppsspp-1.1.0.ebuild
new file mode 100644
index 0000000..458c26c
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.1.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils cmake-utils qt4-r2 git-r3
+
+DESCRIPTION="A PSP emulator for Android, Windows, Mac, Linux and Blackberry 10, written in C++."
+HOMEPAGE="http://www.ppsspp.org/"
+EGIT_REPO_URI="git://github.com/hrydgard/ppsspp.git"
+EGIT_COMMIT="v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="qt4 +sdl"
+REQUIRED_USE="
+ ?? ( qt4 sdl )
+"
+
+RDEPEND=""
+DEPEND="sys-libs/zlib
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-libs/libsdl2 )
+ sdl? ( dev-util/cmake )
+ qt4? ( dev-qt/qtcore:4 )
+ qt4? ( dev-qt/qtgui:4 )
+ qt4? ( dev-qt/qtmultimedia:4 )
+ qt4? ( dev-qt/qtopengl:4 )
+ qt4? ( dev-qt/qtsvg:4 )
+ qt4? ( dev-qt/qt-mobility[multimedia] )"
+
+src_unpack() {
+ git-r3_fetch
+ git-r3_checkout
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_unpack
+ fi
+ cp /usr/portage/distfiles/ppsspp-icon.png "${WORKDIR}"/"${P}"/
+}
+
+src_prepare() {
+ epatch "$FILESDIR"/ppsspp-cmake.patch
+ epatch "$FILESDIR"/ppsspp-ffmpeg-x86_64.patch
+ epatch "$FILESDIR"/ppsspp-ffmpeg-x86.patch
+ epatch "$FILESDIR"/ppsspp-qt.patch
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_prepare
+ else
+ cmake-utils_src_prepare
+ fi
+}
+
+src_configure() {
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_configure
+ eqmake4 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
+ else
+ cmake-utils_src_configure
+ fi
+}
+
+src_compile() {
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_compile
+ else
+ cmake-utils_src_compile
+ fi
+}
+
+src_install() {
+ if use qt4 ; then
+ exeinto /usr/games/bin
+ newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
+ else
+ /usr/games
+ dobin "${FILESDIR}"/ppsspp
+ exeinto /usr/share/games/"${PN}"
+ doexe "${WORKDIR}"/"${P}"_build/PPSSPPSDL
+ insinto /usr/share/games/"${PN}"
+ doins -r "${WORKDIR}"/"${P}"_build/assets
+ doins -r "${WORKDIR}"/"${P}"/lang
+ fi
+ insinto /usr/share/icons/
+ newins "${WORKDIR}"/"${P}"/source_assets/image/icon_regular_72.png ppsspp-icon.png
+ domenu "${FILESDIR}"/ppsspp.desktop
+}
diff --git a/games-emulation/ppsspp/ppsspp-1.1.1.ebuild b/games-emulation/ppsspp/ppsspp-1.1.1.ebuild
new file mode 100644
index 0000000..bd20d86
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.1.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils cmake-utils qt4-r2 git-r3
+
+DESCRIPTION="A PSP emulator for Android, Windows, Mac, Linux and Blackberry 10, written in C++."
+HOMEPAGE="http://www.ppsspp.org/"
+EGIT_REPO_URI="git://github.com/hrydgard/ppsspp.git"
+EGIT_COMMIT="v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt4 +sdl"
+REQUIRED_USE="
+ ?? ( qt4 sdl )
+"
+
+RDEPEND=""
+DEPEND="sys-libs/zlib
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-libs/libsdl2 )
+ sdl? ( dev-util/cmake )
+ qt4? ( dev-qt/qtcore:4 )
+ qt4? ( dev-qt/qtgui:4 )
+ qt4? ( dev-qt/qtmultimedia:4 )
+ qt4? ( dev-qt/qtopengl:4 )
+ qt4? ( dev-qt/qtsvg:4 )
+ qt4? ( dev-qt/qt-mobility[multimedia] )"
+
+src_unpack() {
+ git-r3_fetch
+ git-r3_checkout
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_unpack
+ fi
+ cp /usr/portage/distfiles/ppsspp-icon.png "${WORKDIR}"/"${P}"/
+}
+
+src_prepare() {
+ epatch "$FILESDIR"/ppsspp-cmake.patch
+ epatch "$FILESDIR"/ppsspp-ffmpeg-x86_64.patch
+ epatch "$FILESDIR"/ppsspp-ffmpeg-x86.patch
+ epatch "$FILESDIR"/ppsspp-qt.patch
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_prepare
+ else
+ cmake-utils_src_prepare
+ fi
+}
+
+src_configure() {
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_configure
+ eqmake4 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
+ else
+ cmake-utils_src_configure
+ fi
+}
+
+src_compile() {
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_compile
+ else
+ cmake-utils_src_compile
+ fi
+}
+
+src_install() {
+ if use qt4 ; then
+ exeinto /usr/games/bin
+ newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
+ else
+ /usr/games
+ dobin "${FILESDIR}"/ppsspp
+ exeinto /usr/share/games/"${PN}"
+ doexe "${WORKDIR}"/"${P}"_build/PPSSPPSDL
+ insinto /usr/share/games/"${PN}"
+ doins -r "${WORKDIR}"/"${P}"_build/assets
+ doins -r "${WORKDIR}"/"${P}"/lang
+ fi
+ insinto /usr/share/icons/
+ newins "${WORKDIR}"/"${P}"/source_assets/image/icon_regular_72.png ppsspp-icon.png
+ domenu "${FILESDIR}"/ppsspp.desktop
+}
diff --git a/games-emulation/ppsspp/ppsspp-9999.ebuild b/games-emulation/ppsspp/ppsspp-9999.ebuild
new file mode 100644
index 0000000..742b19c
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-9999.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils cmake-utils qt4-r2 git-r3
+
+DESCRIPTION="A PSP emulator for Android, Windows, Mac, Linux and Blackberry 10, written in C++."
+HOMEPAGE="http://www.ppsspp.org/"
+EGIT_REPO_URI="git://github.com/hrydgard/ppsspp.git"
+#EGIT_COMMIT="v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="qt4 +sdl"
+REQUIRED_USE="
+ ?? ( qt4 sdl )
+"
+
+RDEPEND=""
+DEPEND="sys-libs/zlib
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-libs/libsdl2 )
+ sdl? ( dev-util/cmake )
+ qt4? ( dev-qt/qtcore:4 )
+ qt4? ( dev-qt/qtgui:4 )
+ qt4? ( dev-qt/qtmultimedia:4 )
+ qt4? ( dev-qt/qtopengl:4 )
+ qt4? ( dev-qt/qtsvg:4 )
+ qt4? ( dev-qt/qt-mobility[multimedia] )"
+
+src_unpack() {
+ git-r3_fetch
+ git-r3_checkout
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_unpack
+ fi
+ cp /usr/portage/distfiles/ppsspp-icon.png "${WORKDIR}"/"${P}"/
+}
+
+src_prepare() {
+ epatch "$FILESDIR"/ppsspp-cmake.patch
+ epatch "$FILESDIR"/ppsspp-ffmpeg-x86_64.patch
+ epatch "$FILESDIR"/ppsspp-ffmpeg-x86.patch
+ epatch "$FILESDIR"/ppsspp-qt.patch
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_prepare
+ else
+ cmake-utils_src_prepare
+ fi
+}
+
+src_configure() {
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_configure
+ eqmake4 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
+ else
+ cmake-utils_src_configure
+ fi
+}
+
+src_compile() {
+ if use qt4 ; then
+ cd "${WORKDIR}"/"${P}"/Qt
+ qt4-r2_src_compile
+ else
+ cmake-utils_src_compile
+ fi
+}
+
+src_install() {
+ if use qt4 ; then
+ exeinto /usr/games/bin
+ newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
+ else
+ /usr/games
+ dobin "${FILESDIR}"/ppsspp
+ exeinto /usr/share/games/"${PN}"
+ doexe "${WORKDIR}"/"${P}"_build/PPSSPPSDL
+ insinto /usr/share/games/"${PN}"
+ doins -r "${WORKDIR}"/"${P}"_build/assets
+ doins -r "${WORKDIR}"/"${P}"/lang
+ fi
+ insinto /usr/share/icons/
+ newins "${WORKDIR}"/"${P}"/source_assets/image/icon_regular_72.png ppsspp-icon.png
+ domenu "${FILESDIR}"/ppsspp.desktop
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2016-02-07 10:53 Patrice Clement
0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2016-02-07 10:53 UTC (permalink / raw
To: gentoo-commits
commit: 76de7b7fd59422898dd599f7dba5817e9023732a
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 7 10:50:18 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Feb 7 10:51:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76de7b7f
games-emulation/ppsspp: Remove bogus patch. Fix install directory (typo).
Also taken into consideration in this commit is the sed command pruning all -O2
flags in favour of -O3, courtesy of Michał Ziąbkowski <mziab <AT> o2.pl>.
Gentoo-Bug: 574000
Package-Manager: portage-2.2.26
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
games-emulation/ppsspp/files/ppsspp-cmake.patch | 32 ----------------------
...sspp-1.1.1-r1.ebuild => ppsspp-1.1.0-r2.ebuild} | 7 +++--
...sspp-1.1.0-r1.ebuild => ppsspp-1.1.1-r2.ebuild} | 5 +++-
games-emulation/ppsspp/ppsspp-9999.ebuild | 7 +++--
4 files changed, 14 insertions(+), 37 deletions(-)
diff --git a/games-emulation/ppsspp/files/ppsspp-cmake.patch b/games-emulation/ppsspp/files/ppsspp-cmake.patch
deleted file mode 100644
index 4a0a036..0000000
--- a/games-emulation/ppsspp/files/ppsspp-cmake.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- CMakeLists.txt.orig 2016-01-04 20:44:44.010023206 +0800
-+++ CMakeLists.txt 2016-01-04 20:45:34.910024088 +0800
-@@ -219,11 +219,11 @@
- if(NOT MSVC)
- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -D_DEBUG")
- set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} -Os -D_NDEBUG")
-- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -D_NDEBUG")
-+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -D_NDEBUG")
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -O2 -g -D_NDEBUG")
- set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g -D_DEBUG")
- set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -Os -D_NDEBUG")
-- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -D_NDEBUG")
-+ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2 -D_NDEBUG")
- set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -O2 -g -D_NDEBUG")
-
- # Disable some warnings
-@@ -634,12 +634,12 @@
- if (NOT MSVC)
- # These can be fast even for debug.
- if(NOT SNAPPY_FOUND)
-- set_target_properties(snappy PROPERTIES COMPILE_FLAGS "-O3")
-+ set_target_properties(snappy PROPERTIES COMPILE_FLAGS "-O2")
- endif()
-- set_target_properties(udis86 PROPERTIES COMPILE_FLAGS "-O3")
-- set_target_properties(cityhash PROPERTIES COMPILE_FLAGS "-O3")
-+ set_target_properties(udis86 PROPERTIES COMPILE_FLAGS "-O2")
-+ set_target_properties(cityhash PROPERTIES COMPILE_FLAGS "-O2")
- if(NOT ZLIB_FOUND)
-- set_target_properties(zlib PROPERTIES COMPILE_FLAGS "-O3")
-+ set_target_properties(zlib PROPERTIES COMPILE_FLAGS "-O2")
- endif()
- endif()
diff --git a/games-emulation/ppsspp/ppsspp-1.1.1-r1.ebuild b/games-emulation/ppsspp/ppsspp-1.1.0-r2.ebuild
similarity index 96%
rename from games-emulation/ppsspp/ppsspp-1.1.1-r1.ebuild
rename to games-emulation/ppsspp/ppsspp-1.1.0-r2.ebuild
index 19baa10..4d8db28 100644
--- a/games-emulation/ppsspp/ppsspp-1.1.1-r1.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.1.0-r2.ebuild
@@ -60,10 +60,13 @@ src_unpack() {
}
src_prepare() {
- epatch "$FILESDIR"/ppsspp-cmake.patch
+ # Bug 574000
+ sed -i -e "s#-O3#-O2#g;" "${S}"/CMakeLists.txt || die
+
epatch "$FILESDIR"/ppsspp-ffmpeg-x86_64.patch
epatch "$FILESDIR"/ppsspp-ffmpeg-x86.patch
epatch "$FILESDIR"/ppsspp-qt.patch
+
if use qt4 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_prepare
@@ -103,7 +106,7 @@ src_compile() {
src_install() {
if use qt4 ; then
- into /usr/games/bin
+ exeinto /usr/games/bin
newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
elif use qt5 ; then
exeinto /usr/games/bin
diff --git a/games-emulation/ppsspp/ppsspp-1.1.0-r1.ebuild b/games-emulation/ppsspp/ppsspp-1.1.1-r2.ebuild
similarity index 97%
rename from games-emulation/ppsspp/ppsspp-1.1.0-r1.ebuild
rename to games-emulation/ppsspp/ppsspp-1.1.1-r2.ebuild
index 19baa10..3e3854f 100644
--- a/games-emulation/ppsspp/ppsspp-1.1.0-r1.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.1.1-r2.ebuild
@@ -60,10 +60,13 @@ src_unpack() {
}
src_prepare() {
- epatch "$FILESDIR"/ppsspp-cmake.patch
+ # Bug 574000
+ sed -i -e "s#-O3#-O2#g;" "${S}"/CMakeLists.txt || die
+
epatch "$FILESDIR"/ppsspp-ffmpeg-x86_64.patch
epatch "$FILESDIR"/ppsspp-ffmpeg-x86.patch
epatch "$FILESDIR"/ppsspp-qt.patch
+
if use qt4 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_prepare
diff --git a/games-emulation/ppsspp/ppsspp-9999.ebuild b/games-emulation/ppsspp/ppsspp-9999.ebuild
index 86798ed..a3d3bcc 100644
--- a/games-emulation/ppsspp/ppsspp-9999.ebuild
+++ b/games-emulation/ppsspp/ppsspp-9999.ebuild
@@ -59,10 +59,13 @@ src_unpack() {
}
src_prepare() {
- epatch "$FILESDIR"/ppsspp-cmake.patch
+ # Bug 574000
+ sed -i -e "s#-O3#-O2#g;" "${S}"/CMakeLists.txt || die
+
epatch "$FILESDIR"/ppsspp-ffmpeg-x86_64.patch
epatch "$FILESDIR"/ppsspp-ffmpeg-x86.patch
epatch "$FILESDIR"/ppsspp-qt.patch
+
if use qt4 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_prepare
@@ -102,7 +105,7 @@ src_compile() {
src_install() {
if use qt4 ; then
- into /usr/games/bin
+ exeinto /usr/games/bin
newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
elif use qt5 ; then
exeinto /usr/games/bin
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2016-02-21 11:12 Patrice Clement
0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2016-02-21 11:12 UTC (permalink / raw
To: gentoo-commits
commit: ebaaaf60aac4c9545ded42534b1355b93ea43552
Author: RobinDX <robin9800xt <AT> gmail <DOT> com>
AuthorDate: Sun Feb 21 03:04:26 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 03:06:12 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebaaaf60
games-emulation/ppsspp: remove old
.../ppsspp/files/ppsspp-ffmpeg-x86.patch | 11 --
.../ppsspp/files/ppsspp-ffmpeg-x86_64.patch | 11 --
games-emulation/ppsspp/files/ppsspp-qt.patch | 11 --
games-emulation/ppsspp/ppsspp-1.1.0-r2.ebuild | 132 ---------------------
games-emulation/ppsspp/ppsspp-1.1.1-r2.ebuild | 132 ---------------------
5 files changed, 297 deletions(-)
diff --git a/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86.patch b/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86.patch
deleted file mode 100644
index c9e755d..0000000
--- a/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ffmpeg/linux_x86.sh.orig 2016-01-04 21:44:11.540084990 +0800
-+++ ffmpeg/linux_x86.sh 2016-01-04 21:44:56.560085770 +0800
-@@ -72,7 +72,7 @@
- ./configure \
- --prefix=./linux/${ARCH} \
- ${GENERAL} \
-- --extra-cflags="-D__STDC_CONSTANT_MACROS -O3" \
-+ --extra-cflags="-D__STDC_CONSTANT_MACROS -O2" \
- --enable-zlib \
- --disable-yasm \
- --disable-everything \
diff --git a/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86_64.patch b/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86_64.patch
deleted file mode 100644
index 45bd877..0000000
--- a/games-emulation/ppsspp/files/ppsspp-ffmpeg-x86_64.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ffmpeg/linux_x86-64.sh.orig 2016-01-04 21:42:14.220082959 +0800
-+++ ffmpeg/linux_x86-64.sh 2016-01-04 21:42:31.940083265 +0800
-@@ -71,7 +71,7 @@
- ./configure \
- --prefix=./linux/${ARCH} \
- ${GENERAL} \
-- --extra-cflags="-D__STDC_CONSTANT_MACROS -O3" \
-+ --extra-cflags="-D__STDC_CONSTANT_MACROS -O2" \
- --enable-zlib \
- --enable-pic \
- --disable-yasm \
diff --git a/games-emulation/ppsspp/files/ppsspp-qt.patch b/games-emulation/ppsspp/files/ppsspp-qt.patch
deleted file mode 100644
index e372f15..0000000
--- a/games-emulation/ppsspp/files/ppsspp-qt.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Qt/Settings.pri.orig 2016-01-04 21:37:36.600078151 +0800
-+++ Qt/Settings.pri 2016-01-04 21:37:57.430078511 +0800
-@@ -64,7 +64,7 @@
- else: QMAKE_CXXFLAGS += -std=c++11
- QMAKE_CFLAGS_RELEASE ~= s/-O.*/
- QMAKE_CXXFLAGS_RELEASE ~= s/-O.*/
-- QMAKE_ALLFLAGS_RELEASE += -O3 -ffast-math
-+ QMAKE_ALLFLAGS_RELEASE += -O2 -ffast-math
- }
-
- contains(QT_CONFIG, opengles.) {
diff --git a/games-emulation/ppsspp/ppsspp-1.1.0-r2.ebuild b/games-emulation/ppsspp/ppsspp-1.1.0-r2.ebuild
deleted file mode 100644
index 4d8db28..0000000
--- a/games-emulation/ppsspp/ppsspp-1.1.0-r2.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils cmake-utils qt4-r2 git-r3
-
-DESCRIPTION="A PSP emulator written in C++."
-HOMEPAGE="http://www.ppsspp.org/"
-EGIT_REPO_URI="git://github.com/hrydgard/${PN}.git"
-EGIT_COMMIT="v${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="qt4 qt5 +sdl"
-REQUIRED_USE="
- ?? ( qt4 qt5 sdl )
-"
-
-RDEPEND=""
-
-DEPEND="
- sys-libs/zlib
- sdl? (
- dev-util/cmake
- media-libs/libsdl
- media-libs/libsdl2
- )
- qt4? (
- dev-qt/qtsvg:4
- dev-qt/qtgui:4
- dev-qt/qtcore:4
- dev-qt/qtopengl:4
- dev-qt/qtmultimedia:4
- dev-qt/qt-mobility[multimedia]
- )
- qt5? (
- dev-qt/qtsvg:5
- dev-qt/qtgui:5
- dev-qt/qtcore:5
- dev-qt/qtopengl:5
- dev-qt/qtmultimedia:5
- dev-qt/qtwidgets:5
- dev-qt/qt-mobility[multimedia]
- )
-"
-
-src_unpack() {
- git-r3_fetch
- git-r3_checkout
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_unpack
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_unpack
- fi
-}
-
-src_prepare() {
- # Bug 574000
- sed -i -e "s#-O3#-O2#g;" "${S}"/CMakeLists.txt || die
-
- epatch "$FILESDIR"/ppsspp-ffmpeg-x86_64.patch
- epatch "$FILESDIR"/ppsspp-ffmpeg-x86.patch
- epatch "$FILESDIR"/ppsspp-qt.patch
-
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_prepare
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_prepare
- else
- cmake-utils_src_prepare
- fi
-}
-
-src_configure() {
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_configure
- eqmake4 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_configure
- eqmake5 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
- else
- cmake-utils_src_configure
- fi
-}
-
-src_compile() {
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_compile
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_compile
- else
- cmake-utils_src_compile
- fi
-}
-
-src_install() {
- if use qt4 ; then
- exeinto /usr/games/bin
- newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
- elif use qt5 ; then
- exeinto /usr/games/bin
- newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
- else
- exeinto /usr/games
- dobin "${FILESDIR}"/ppsspp
- exeinto /usr/share/games/"${PN}"
- doexe "${WORKDIR}"/"${P}"_build/PPSSPPSDL
- insinto /usr/share/games/"${PN}"
- doins -r "${WORKDIR}"/"${P}"_build/assets
- doins -r "${WORKDIR}"/"${P}"/lang
- fi
- insinto /usr/share/icons/
- newins "${WORKDIR}"/"${P}"/source_assets/image/icon_regular_72.png ppsspp-icon.png
- domenu "${FILESDIR}"/ppsspp.desktop
-}
-
-pkg_postinst() {
- elog "Remember, in order to play games, you have to "
- elog "be in the 'games' group. "
- elog "Just run 'gpasswd -a <USER> games', then have <USER> re-login. "
-}
diff --git a/games-emulation/ppsspp/ppsspp-1.1.1-r2.ebuild b/games-emulation/ppsspp/ppsspp-1.1.1-r2.ebuild
deleted file mode 100644
index 4d8db28..0000000
--- a/games-emulation/ppsspp/ppsspp-1.1.1-r2.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils cmake-utils qt4-r2 git-r3
-
-DESCRIPTION="A PSP emulator written in C++."
-HOMEPAGE="http://www.ppsspp.org/"
-EGIT_REPO_URI="git://github.com/hrydgard/${PN}.git"
-EGIT_COMMIT="v${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="qt4 qt5 +sdl"
-REQUIRED_USE="
- ?? ( qt4 qt5 sdl )
-"
-
-RDEPEND=""
-
-DEPEND="
- sys-libs/zlib
- sdl? (
- dev-util/cmake
- media-libs/libsdl
- media-libs/libsdl2
- )
- qt4? (
- dev-qt/qtsvg:4
- dev-qt/qtgui:4
- dev-qt/qtcore:4
- dev-qt/qtopengl:4
- dev-qt/qtmultimedia:4
- dev-qt/qt-mobility[multimedia]
- )
- qt5? (
- dev-qt/qtsvg:5
- dev-qt/qtgui:5
- dev-qt/qtcore:5
- dev-qt/qtopengl:5
- dev-qt/qtmultimedia:5
- dev-qt/qtwidgets:5
- dev-qt/qt-mobility[multimedia]
- )
-"
-
-src_unpack() {
- git-r3_fetch
- git-r3_checkout
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_unpack
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_unpack
- fi
-}
-
-src_prepare() {
- # Bug 574000
- sed -i -e "s#-O3#-O2#g;" "${S}"/CMakeLists.txt || die
-
- epatch "$FILESDIR"/ppsspp-ffmpeg-x86_64.patch
- epatch "$FILESDIR"/ppsspp-ffmpeg-x86.patch
- epatch "$FILESDIR"/ppsspp-qt.patch
-
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_prepare
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_prepare
- else
- cmake-utils_src_prepare
- fi
-}
-
-src_configure() {
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_configure
- eqmake4 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_configure
- eqmake5 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
- else
- cmake-utils_src_configure
- fi
-}
-
-src_compile() {
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_compile
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_compile
- else
- cmake-utils_src_compile
- fi
-}
-
-src_install() {
- if use qt4 ; then
- exeinto /usr/games/bin
- newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
- elif use qt5 ; then
- exeinto /usr/games/bin
- newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
- else
- exeinto /usr/games
- dobin "${FILESDIR}"/ppsspp
- exeinto /usr/share/games/"${PN}"
- doexe "${WORKDIR}"/"${P}"_build/PPSSPPSDL
- insinto /usr/share/games/"${PN}"
- doins -r "${WORKDIR}"/"${P}"_build/assets
- doins -r "${WORKDIR}"/"${P}"/lang
- fi
- insinto /usr/share/icons/
- newins "${WORKDIR}"/"${P}"/source_assets/image/icon_regular_72.png ppsspp-icon.png
- domenu "${FILESDIR}"/ppsspp.desktop
-}
-
-pkg_postinst() {
- elog "Remember, in order to play games, you have to "
- elog "be in the 'games' group. "
- elog "Just run 'gpasswd -a <USER> games', then have <USER> re-login. "
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2017-04-04 21:14 Patrice Clement
0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2017-04-04 21:14 UTC (permalink / raw
To: gentoo-commits
commit: 07dcd0e1a674de8b3c71b2e5b34335b3f555eb9f
Author: soredake <fdsfgs <AT> krutt <DOT> org>
AuthorDate: Tue Apr 4 13:17:54 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Apr 4 21:13:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07dcd0e1
games-emulation/ppsspp: version bump to 1.4.
Gentoo-Bug: https://bugs.gentoo.org/583818
Gentoo-Bug: https://bugs.gentoo.org/612826
Gentoo-Bug: https://bugs.gentoo.org/587342
Gentoo-Bug: https://bugs.gentoo.org/574118
Gentoo-Bug: https://bugs.gentoo.org/585722
Closes: https://github.com/gentoo/gentoo/pull/4342
games-emulation/ppsspp/Manifest | 8 ++
games-emulation/ppsspp/files/ppsspp-1.4-O2.patch | 32 ++++++++
.../ppsspp/files/ppsspp-1.4-assets-lookup.patch | 13 ++++
games-emulation/ppsspp/metadata.xml | 8 +-
games-emulation/ppsspp/ppsspp-1.4.ebuild | 87 ++++++++++++++++++++++
5 files changed, 145 insertions(+), 3 deletions(-)
diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
new file mode 100644
index 00000000000..7e6ecd2e242
--- /dev/null
+++ b/games-emulation/ppsspp/Manifest
@@ -0,0 +1,8 @@
+DIST ppsspp-1.4-assets_lang.tar.gz 268473 SHA256 5fe868340c0730d6f73395176ea61c41676052ea04a94f37608eadc6591257ff SHA512 7af7eb05c81fcb7a22b4acac55507958a6fb5f508d67d4de65104eae1bfacd3bfcad087f00a47b3fc3bcf644983d84b5b877750bda9350ab70cb83e326371931 WHIRLPOOL b00e1b3b43678bcbc4d39c48c65806680998dac30743498c42cbf4c91b84a27af77ac4615b36b47e4ac2796a92de4a658df2166eeb255b86e71d85b0c926edba
+DIST ppsspp-1.4-dx9sdk.tar.gz 14582591 SHA256 122340e099fb90d16414a741cc9d569f1a1110ff5d243748eea06e6d58140f17 SHA512 2c54b441b0a31f63ecab1bd2ab14254fb2047d35d2765262d43277330a8428fbf4c8848d5f730456a033cf84258f6b60a467213f8339289b3ab83ed7e94c65b7 WHIRLPOOL 09890402cb3f7c3483b08fbecb2abac82fa413443b5435d43f9438df0fe1c021c5d40cad2d69319ac19b85fd804cb85b32b4a1f7d9d4b379f86b8570959e87bf
+DIST ppsspp-1.4-ext_SPIRV-Cross.tar.gz 193267 SHA256 00737747996ebfa09d9d5d66e292ee8e8be512bda9f0d09f9209500d28141f81 SHA512 0b24d28c9e98b170dc4ae51269dce04c100f9116e5fb66268b23878eab4ee7bfc28d257208e094fedf23be89a488e9497bb246d369711b72bf5e39332225d7bf WHIRLPOOL a811a5d19a839bdd57ad6fa55f6363b4d917db3bfd64e501821c814f4d73c9a3f429aa2ab9683a43cbff85b357638e8f50d7af900775c9cdff7b92f3bba07d54
+DIST ppsspp-1.4-ext_armips.tar.gz 163666 SHA256 a5cc0e9aa3bdf4bb4334def685751f03aaed0aa0d23f317dc2a242bd60be1c64 SHA512 9423bdbc1428700979c13276a427975733a07908fdf021dc6ab88cec0d37e9523aacd4a2a03eef23638070293dde3f1641647c47095ef2751982b9f9893c1baa WHIRLPOOL b5f2201e8e3b604282818a946a729f73ed538cd8f98e57c1fffad8ba219569bf47b1f6714c9af9dfd483b1b71eb045533e0be58a664a8a934ab0b4651fbbcbf6
+DIST ppsspp-1.4-ext_armips_ext_tinyformat.tar.gz 22284 SHA256 9db9bc16e9fafede493b5890b935a57ee6e5e284a9d6e8fa6d9329790a96b8c6 SHA512 fb063ea9b632c8a9a0203c181830cb2feed9142fcf4d69c11cc0a3e8dcbb3cea51dde6bb351df567b3f105a4da99fd2e72ba3572d3fc0e9a45364f4115d6c3d1 WHIRLPOOL 18135420bab7b06a10941ca5039b67899f90e7d2a175eae9ebadf579c1838cb60744d08fd40bb3fe859d108b7af8a17335ce77979ff9e083cc341dd629d7682e
+DIST ppsspp-1.4-ext_glslang.tar.gz 1685246 SHA256 c7e41726e2d9d6c47e7e2654d4354b1a61527e86158c9ad5e8a9e8f9d7f6a788 SHA512 3605fb8a3c5dafcab97578030be4af3703f1475c8e9fd58412a514dcaa0ea6c7bf3a279510759496ab34b979a3d260d3da3d6f00d504c9c5e0f9a7b5a61399bc WHIRLPOOL e78e25b94cb3724e0e013203b27c757896b858779a8f85900dcaa2919482d146f64465166deb25749865d67b66fe2c37876061fd3cc6fcc796d9767ebbb51da3
+DIST ppsspp-1.4-pspautotests.tar.gz 34389722 SHA256 e25ec80dcb50c7a7816afecda5cbe9c15c5fc23dbbc063d697378dcb4134c845 SHA512 70b0c4ee9775ee8179d7993b0162a8fb95aa6b0bf1c2cc49e6e6ec03be6d72c615a8a233235028ce29e715e0ba64f9d60efcb2fadd1b9e6d92a9f435e0c86bbf WHIRLPOOL b108707bf73b4e82808b10cad98992a5026c1c5013908c71bb19c58883cec131f643c333f0b93d29d97157921f842f3be863100032748e021024c0e50791df41
+DIST ppsspp-1.4.tar.gz 18909397 SHA256 d801fbdc0063cd351392af488a65fc66021f45eb1edbabe7bce069ce0d68d5a6 SHA512 986bb4cf9756dba3874838bed9cf5721a2025c19d5c7c936aa8f7dca7848102a10dc924f1900b0ab90a5742ef2b96e3895f085f4ffb471648fb15135c1947580 WHIRLPOOL a02c594378ca01199423596440bdd052c2a75ea61036895c214dd73dad5ffeb95e5f44546939c9a3a812e1cb208ef9ef6e84164f8177f87e02900ca8f7122edc
diff --git a/games-emulation/ppsspp/files/ppsspp-1.4-O2.patch b/games-emulation/ppsspp/files/ppsspp-1.4-O2.patch
new file mode 100644
index 00000000000..55954c7c738
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.4-O2.patch
@@ -0,0 +1,32 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 19038c88a436..bf50f5cf52fb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -195,11 +195,11 @@ if(NOT MSVC)
+
+ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -D_DEBUG")
+ set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} -Os -D_NDEBUG")
+- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -D_NDEBUG")
++ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -D_NDEBUG")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -O2 -g -D_NDEBUG")
+ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g -D_DEBUG")
+ set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -Os -D_NDEBUG")
+- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -D_NDEBUG")
++ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2 -D_NDEBUG")
+ set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -O2 -g -D_NDEBUG")
+ #TODO: Remove this and include the file properly everywhere it makes sense
+ # First step is too use the macros everywhere
+@@ -509,10 +509,10 @@ include_directories(ext/cityhash)
+
+ if (NOT MSVC)
+ # These can be fast even for debug.
+- set_target_properties(udis86 PROPERTIES COMPILE_FLAGS "-O3")
+- set_target_properties(cityhash PROPERTIES COMPILE_FLAGS "-O3")
++ set_target_properties(udis86 PROPERTIES COMPILE_FLAGS "-O2")
++ set_target_properties(cityhash PROPERTIES COMPILE_FLAGS "-O2")
+ if(NOT ZLIB_FOUND)
+- set_target_properties(zlib PROPERTIES COMPILE_FLAGS "-O3")
++ set_target_properties(zlib PROPERTIES COMPILE_FLAGS "-O2")
+ endif()
+ endif()
+
diff --git a/games-emulation/ppsspp/files/ppsspp-1.4-assets-lookup.patch b/games-emulation/ppsspp/files/ppsspp-1.4-assets-lookup.patch
new file mode 100644
index 00000000000..6f75d5ec31c
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.4-assets-lookup.patch
@@ -0,0 +1,13 @@
+diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp
+index 8452d4d61d5f..3d5a4bbd2aa4 100644
+--- a/UI/NativeApp.cpp
++++ b/UI/NativeApp.cpp
+@@ -316,7 +316,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
+
+ // We want this to be FIRST.
+ #ifdef USING_QT_UI
+- VFSRegister("", new AssetsAssetReader());
++ VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/"));
+ #elif defined(IOS)
+ // Packed assets are included in app
+ VFSRegister("", new DirectoryAssetReader(external_dir));
diff --git a/games-emulation/ppsspp/metadata.xml b/games-emulation/ppsspp/metadata.xml
index 64bc4892f9d..ee086732926 100644
--- a/games-emulation/ppsspp/metadata.xml
+++ b/games-emulation/ppsspp/metadata.xml
@@ -5,14 +5,16 @@
<email>robin9800xt@gmail.com</email>
<name>RobinDX</name>
</maintainer>
+ <maintainer type="person">
+ <email>fdsfgs@krutt.org</email>
+ <name>soredake</name>
+ </maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
- <flag name="qt4">Adds support for the Qt GUI/Application Toolkit version 4.x</flag>
- <flag name="qt5">Adds support for the Qt GUI/Application Toolkit version 5.x</flag>
- <flag name="sdl">Adds support for Simple Direct Layer (media library)</flag>
+ <flag name="headless">Build headless version of the PPSSPP</flag>
</use>
<upstream>
<bugs-to>https://github.com/hrydgard/ppsspp/issues</bugs-to>
diff --git a/games-emulation/ppsspp/ppsspp-1.4.ebuild b/games-emulation/ppsspp/ppsspp-1.4.ebuild
new file mode 100644
index 00000000000..1879b5ea6f3
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.4.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils cmake-utils
+
+DESCRIPTION="A PSP emulator written in C++."
+HOMEPAGE="https://www.ppsspp.org/"
+SRC_URI="
+ https://github.com/hrydgard/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/hrydgard/ppsspp-lang/archive/ed0bbfb389da213bd891d179d1d92e95b8f05e43.tar.gz -> ${P}-assets_lang.tar.gz
+ https://github.com/hrydgard/pspautotests/archive/905c3018d01af9dfb511c87e65e07a49257a33ac.tar.gz -> ${P}-pspautotests.tar.gz
+ https://github.com/hrydgard/minidx9/archive/7751cf73f5c06f1be21f5f31c3e2d9a7bacd3a93.tar.gz -> ${P}-dx9sdk.tar.gz
+ https://github.com/hrydgard/glslang/archive/b16f7e6819267e57c3c244808d1981f0ce34acbc.tar.gz -> ${P}-ext_glslang.tar.gz
+ https://github.com/Kingcom/armips/archive/770365d44df35d6e675c58bb2a774ca412278ef5.tar.gz -> ${P}-ext_armips.tar.gz
+ https://github.com/Kingcom/tinyformat/archive/b7f5a22753c81d834ab5133d655f1fd525280765.tar.gz -> ${P}-ext_armips_ext_tinyformat.tar.gz
+ https://github.com/KhronosGroup/SPIRV-Cross/archive/6381b2ff9c0d975af8fd2974c97aa12a69ab6cc6.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+qt5 sdl headless libav"
+REQUIRED_USE="
+ !headless? ( || ( qt5 sdl ) )
+ ?? ( qt5 sdl )
+"
+
+RDEPEND="sys-libs/zlib
+ !libav? ( media-video/ffmpeg:= )
+ libav? ( media-video/libav:= )
+ sdl? (
+ media-libs/libsdl
+ media-libs/libsdl2
+ )
+ qt5? (
+ dev-db/sqlite
+ dev-qt/assistant:5
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtopengl:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ )"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-assets-lookup.patch
+ "${FILESDIR}"/${P}-O2.patch
+)
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ cd "${S}" || die
+ local i list=( assets_lang pspautotests dx9sdk ext_glslang ext_armips ext_SPIRV-Cross ext_armips_ext_tinyformat )
+ for i in "${list[@]}"; do
+ tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
+ done
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSING_QT_UI=$(usex qt5)
+ -DUSE_SYSTEM_FFMPEG=ON
+ -DHEADLESS=$(usex headless)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ use headless && dobin "${BUILD_DIR}/PPSSPPHeadless"
+ insinto /usr/share/"${PN}"
+ doins -r "${BUILD_DIR}/assets"
+ if use qt5 || use sdl ; then
+ dobin "${BUILD_DIR}/PPSSPP$(usex qt5 Qt SDL)"
+ local i
+ for i in 16 24 32 48 64 96 128 256 512 ; do
+ doicon -s ${i} "icons/hicolor/${i}x${i}/apps/${PN}.png"
+ done
+ make_desktop_entry "PPSSPP$(usex qt5 Qt SDL)" "PPSSPP ($(usex qt5 Qt SDL))" "${PN}" "Game"
+ fi
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2017-04-04 21:14 Patrice Clement
0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2017-04-04 21:14 UTC (permalink / raw
To: gentoo-commits
commit: e225e256cbf0d118303693015c91e68b361066d3
Author: soredake <fdsfgs <AT> krutt <DOT> org>
AuthorDate: Sat Apr 1 20:11:58 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Apr 4 21:14:00 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e225e256
games-emulation/ppsspp: clean up old.
Closes: https://github.com/gentoo/gentoo/pull/4342
games-emulation/ppsspp/files/ppsspp | 3 -
games-emulation/ppsspp/files/ppsspp.desktop | 7 --
games-emulation/ppsspp/ppsspp-1.2.2.ebuild | 128 ----------------------------
3 files changed, 138 deletions(-)
diff --git a/games-emulation/ppsspp/files/ppsspp b/games-emulation/ppsspp/files/ppsspp
deleted file mode 100644
index 7e3da1317ab..00000000000
--- a/games-emulation/ppsspp/files/ppsspp
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-cd /usr/share/games/ppsspp
-./PPSSPPSDL
diff --git a/games-emulation/ppsspp/files/ppsspp.desktop b/games-emulation/ppsspp/files/ppsspp.desktop
deleted file mode 100644
index a50ed06e145..00000000000
--- a/games-emulation/ppsspp/files/ppsspp.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=PPSSPP
-Comment=A PSP emulator
-Exec=/usr/games/bin/ppsspp
-Icon=ppsspp-icon
-Categories=Game;
diff --git a/games-emulation/ppsspp/ppsspp-1.2.2.ebuild b/games-emulation/ppsspp/ppsspp-1.2.2.ebuild
deleted file mode 100644
index d0209042c6b..00000000000
--- a/games-emulation/ppsspp/ppsspp-1.2.2.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils cmake-utils qt4-r2 git-r3
-
-DESCRIPTION="A PSP emulator written in C++."
-HOMEPAGE="http://www.ppsspp.org/"
-EGIT_REPO_URI="git://github.com/hrydgard/${PN}.git"
-EGIT_COMMIT="v${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="qt4 qt5 +sdl"
-REQUIRED_USE="
- ?? ( qt4 qt5 sdl )
-"
-
-RDEPEND=""
-
-DEPEND="
- sys-libs/zlib
- sdl? (
- dev-util/cmake
- media-libs/libsdl
- media-libs/libsdl2
- )
- qt4? (
- dev-qt/qtsvg:4
- dev-qt/qtgui:4
- dev-qt/qtcore:4
- dev-qt/qtopengl:4
- dev-qt/qtmultimedia:4
- dev-qt/qt-mobility[multimedia]
- )
- qt5? (
- dev-qt/qtsvg:5
- dev-qt/qtgui:5
- dev-qt/qtcore:5
- dev-qt/qtopengl:5
- dev-qt/qtmultimedia:5
- dev-qt/qtwidgets:5
- dev-qt/qt-mobility[multimedia]
- )
-"
-
-src_unpack() {
- git-r3_fetch
- git-r3_checkout
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_unpack
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_unpack
- fi
-}
-
-src_prepare() {
- sed -i -e "s#-O3#-O2#g;" "${S}"/CMakeLists.txt || die
- sed -i -e "s#-O3#-O2#g;" "${S}"/Qt/Settings.pri || die
- sed -i -e "s#-O3#-O2#g;" "${S}"/ffmpeg/linux_*.sh || die
-
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_prepare
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_prepare
- else
- cmake-utils_src_prepare
- fi
-}
-
-src_configure() {
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_configure
- eqmake4 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_configure
- eqmake5 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
- else
- cmake-utils_src_configure
- fi
-}
-
-src_compile() {
- if use qt4 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_compile
- elif use qt5 ; then
- cd "${WORKDIR}"/"${P}"/Qt || die
- qt4-r2_src_compile
- else
- cmake-utils_src_compile
- fi
-}
-
-src_install() {
- if use qt4 ; then
- exeinto /usr/games/bin
- newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
- elif use qt5 ; then
- exeinto /usr/games/bin
- newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
- else
- exeinto /usr/games
- dobin "${FILESDIR}"/ppsspp
- exeinto /usr/share/games/"${PN}"
- doexe "${WORKDIR}"/"${P}"_build/PPSSPPSDL
- insinto /usr/share/games/"${PN}"
- doins -r "${WORKDIR}"/"${P}"_build/assets
- doins -r "${WORKDIR}"/"${P}"/lang
- fi
- insinto /usr/share/icons/
- newins "${WORKDIR}"/"${P}"/source_assets/image/icon_regular_72.png ppsspp-icon.png
- domenu "${FILESDIR}"/ppsspp.desktop
-}
-
-pkg_postinst() {
- elog "Remember, in order to play games, you have to "
- elog "be in the 'games' group. "
- elog "Just run 'gpasswd -a <USER> games', then have <USER> re-login. "
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2017-11-08 22:48 Patrice Clement
0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2017-11-08 22:48 UTC (permalink / raw
To: gentoo-commits
commit: 31db0c7ea6a88d1bde34a0ab231132c7a0a6b5f5
Author: soredake <fdsfgs <AT> krutt <DOT> org>
AuthorDate: Sat Nov 4 16:47:48 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 8 22:48:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31db0c7e
games-emulation/ppsspp: version bump to 1.4.2.
Closes: https://github.com/gentoo/gentoo/pull/6120
games-emulation/ppsspp/Manifest | 9 ++
.../ppsspp/files/ppsspp-1.4.2-assets-lookup.patch | 13 +++
games-emulation/ppsspp/ppsspp-1.4.2.ebuild | 107 +++++++++++++++++++++
3 files changed, 129 insertions(+)
diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
index 50368322c2c..e9f7a228fc3 100644
--- a/games-emulation/ppsspp/Manifest
+++ b/games-emulation/ppsspp/Manifest
@@ -6,4 +6,13 @@ DIST ppsspp-1.4-ext_armips_ext_tinyformat.tar.gz 22284 SHA256 9db9bc16e9fafede49
DIST ppsspp-1.4-ext_glslang.tar.gz 1685246 SHA256 c7e41726e2d9d6c47e7e2654d4354b1a61527e86158c9ad5e8a9e8f9d7f6a788 SHA512 3605fb8a3c5dafcab97578030be4af3703f1475c8e9fd58412a514dcaa0ea6c7bf3a279510759496ab34b979a3d260d3da3d6f00d504c9c5e0f9a7b5a61399bc WHIRLPOOL e78e25b94cb3724e0e013203b27c757896b858779a8f85900dcaa2919482d146f64465166deb25749865d67b66fe2c37876061fd3cc6fcc796d9767ebbb51da3
DIST ppsspp-1.4-ffmpeg.tar.gz 311610961 SHA256 b75ccf7f740577c1eb6c66c0551919cea5cd71c56cd100a31ae1524803b40236 SHA512 d4bdb3c5a13bc64d7b22e38b416355d302a4401a1d8f6bd57a4d8502823dc9a2987df92b8e781ddab6de8ded9b59b268ef1b33f8f43a0be7b1c57d4ffbee6871 WHIRLPOOL 656d08ad6c2654498cd662ec6a73fb5e2b559a0c69158d8a42d8cc8ba7b7387d8dd210bf31821870b9fd5171830dd6bbf244e7d3139d6a9c5f8a7083350a2430
DIST ppsspp-1.4-pspautotests.tar.gz 34389722 SHA256 e25ec80dcb50c7a7816afecda5cbe9c15c5fc23dbbc063d697378dcb4134c845 SHA512 70b0c4ee9775ee8179d7993b0162a8fb95aa6b0bf1c2cc49e6e6ec03be6d72c615a8a233235028ce29e715e0ba64f9d60efcb2fadd1b9e6d92a9f435e0c86bbf WHIRLPOOL b108707bf73b4e82808b10cad98992a5026c1c5013908c71bb19c58883cec131f643c333f0b93d29d97157921f842f3be863100032748e021024c0e50791df41
+DIST ppsspp-1.4.2-assets_lang.tar.gz 273563 SHA256 9903d6473c77c115ca24efcf698d88d80bec0822541c85cf329e1651cd4af3bc SHA512 b252e3335c84bedd24764caab15909f31dd8de60578b2c32ceab200a53de5689d8e82e1853c921d8835b780cefda10ea2ebe5e98e2afb4ba44204cc2b5209a5a WHIRLPOOL a2930ea6b3409fa338a90ff30eda44ad3c04e897b76d0217c77cfd4617033f54f44caad8e7684d3f50575b5debbd753dc59114e2646eae98313938330bc17daf
+DIST ppsspp-1.4.2-dx9sdk.tar.gz 14582591 SHA256 122340e099fb90d16414a741cc9d569f1a1110ff5d243748eea06e6d58140f17 SHA512 2c54b441b0a31f63ecab1bd2ab14254fb2047d35d2765262d43277330a8428fbf4c8848d5f730456a033cf84258f6b60a467213f8339289b3ab83ed7e94c65b7 WHIRLPOOL 09890402cb3f7c3483b08fbecb2abac82fa413443b5435d43f9438df0fe1c021c5d40cad2d69319ac19b85fd804cb85b32b4a1f7d9d4b379f86b8570959e87bf
+DIST ppsspp-1.4.2-ext_SPIRV-Cross.tar.gz 193267 SHA256 00737747996ebfa09d9d5d66e292ee8e8be512bda9f0d09f9209500d28141f81 SHA512 0b24d28c9e98b170dc4ae51269dce04c100f9116e5fb66268b23878eab4ee7bfc28d257208e094fedf23be89a488e9497bb246d369711b72bf5e39332225d7bf WHIRLPOOL a811a5d19a839bdd57ad6fa55f6363b4d917db3bfd64e501821c814f4d73c9a3f429aa2ab9683a43cbff85b357638e8f50d7af900775c9cdff7b92f3bba07d54
+DIST ppsspp-1.4.2-ext_armips.tar.gz 163666 SHA256 a5cc0e9aa3bdf4bb4334def685751f03aaed0aa0d23f317dc2a242bd60be1c64 SHA512 9423bdbc1428700979c13276a427975733a07908fdf021dc6ab88cec0d37e9523aacd4a2a03eef23638070293dde3f1641647c47095ef2751982b9f9893c1baa WHIRLPOOL b5f2201e8e3b604282818a946a729f73ed538cd8f98e57c1fffad8ba219569bf47b1f6714c9af9dfd483b1b71eb045533e0be58a664a8a934ab0b4651fbbcbf6
+DIST ppsspp-1.4.2-ext_armips_ext_tinyformat.tar.gz 22284 SHA256 9db9bc16e9fafede493b5890b935a57ee6e5e284a9d6e8fa6d9329790a96b8c6 SHA512 fb063ea9b632c8a9a0203c181830cb2feed9142fcf4d69c11cc0a3e8dcbb3cea51dde6bb351df567b3f105a4da99fd2e72ba3572d3fc0e9a45364f4115d6c3d1 WHIRLPOOL 18135420bab7b06a10941ca5039b67899f90e7d2a175eae9ebadf579c1838cb60744d08fd40bb3fe859d108b7af8a17335ce77979ff9e083cc341dd629d7682e
+DIST ppsspp-1.4.2-ext_glslang.tar.gz 1685246 SHA256 c7e41726e2d9d6c47e7e2654d4354b1a61527e86158c9ad5e8a9e8f9d7f6a788 SHA512 3605fb8a3c5dafcab97578030be4af3703f1475c8e9fd58412a514dcaa0ea6c7bf3a279510759496ab34b979a3d260d3da3d6f00d504c9c5e0f9a7b5a61399bc WHIRLPOOL e78e25b94cb3724e0e013203b27c757896b858779a8f85900dcaa2919482d146f64465166deb25749865d67b66fe2c37876061fd3cc6fcc796d9767ebbb51da3
+DIST ppsspp-1.4.2-ffmpeg.tar.gz 311610961 SHA256 b75ccf7f740577c1eb6c66c0551919cea5cd71c56cd100a31ae1524803b40236 SHA512 d4bdb3c5a13bc64d7b22e38b416355d302a4401a1d8f6bd57a4d8502823dc9a2987df92b8e781ddab6de8ded9b59b268ef1b33f8f43a0be7b1c57d4ffbee6871 WHIRLPOOL 656d08ad6c2654498cd662ec6a73fb5e2b559a0c69158d8a42d8cc8ba7b7387d8dd210bf31821870b9fd5171830dd6bbf244e7d3139d6a9c5f8a7083350a2430
+DIST ppsspp-1.4.2-pspautotests.tar.gz 35084214 SHA256 43cd2b3a6313cc7337b59939116eb9ca3c14f10545b275dc03015c273c3d26d4 SHA512 d42050bbbff976c2e09815e736b416a2b29baaed8516537429e47933738ae93c8bbe762088d150fed3fb2b781b79041834c6fdab362f667b16a5697423c78449 WHIRLPOOL 9baadfbc71ceaf1a37f432044e133f1eeb8283c19e27ccd2ec842389e63ace02a8455263e4a66df9eb876e41091f230455f89cbf82b89908c06dddefd73e0f7a
+DIST ppsspp-1.4.2.tar.gz 18922775 SHA256 5877b68a1333315ed7c7521dacd045aa6f92337f7063e58fb7124dbb1ae50b54 SHA512 fb36e211afa83363d036fac757010c6be9d1bcb4c0984f18ddf17871b04bc2b9b89f94341f6c0ada3a2709426cda863e2da5c66d60b72220dcceba7a5deca7e5 WHIRLPOOL b26511e5605fa91761c1e9eb184ba023041b675cab43b1ed729e022e071f33f9e3cbdaae6ee78e298400ba694934fd6778a41a76478f9edc3383ae1c39f3b443
DIST ppsspp-1.4.tar.gz 18909397 SHA256 d801fbdc0063cd351392af488a65fc66021f45eb1edbabe7bce069ce0d68d5a6 SHA512 986bb4cf9756dba3874838bed9cf5721a2025c19d5c7c936aa8f7dca7848102a10dc924f1900b0ab90a5742ef2b96e3895f085f4ffb471648fb15135c1947580 WHIRLPOOL a02c594378ca01199423596440bdd052c2a75ea61036895c214dd73dad5ffeb95e5f44546939c9a3a812e1cb208ef9ef6e84164f8177f87e02900ca8f7122edc
diff --git a/games-emulation/ppsspp/files/ppsspp-1.4.2-assets-lookup.patch b/games-emulation/ppsspp/files/ppsspp-1.4.2-assets-lookup.patch
new file mode 100644
index 00000000000..2a136a39e8d
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.4.2-assets-lookup.patch
@@ -0,0 +1,13 @@
+diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp
+index 717177ef81ff..22239782210d 100644
+--- a/UI/NativeApp.cpp
++++ b/UI/NativeApp.cpp
+@@ -317,7 +317,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
+
+ // We want this to be FIRST.
+ #ifdef USING_QT_UI
+- VFSRegister("", new AssetsAssetReader());
++ VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/"));
+ #elif defined(IOS)
+ // Packed assets are included in app
+ VFSRegister("", new DirectoryAssetReader(external_dir));
diff --git a/games-emulation/ppsspp/ppsspp-1.4.2.ebuild b/games-emulation/ppsspp/ppsspp-1.4.2.ebuild
new file mode 100644
index 00000000000..7a5ad73a893
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.4.2.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils cmake-utils
+
+DESCRIPTION="A PSP emulator written in C++."
+HOMEPAGE="https://www.ppsspp.org/"
+SRC_URI="
+ https://github.com/hrydgard/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ !system-ffmpeg? ( https://github.com/hrydgard/ppsspp-ffmpeg/archive/a2e98d7ba4c7c5cac08608732c3058cb46e3e0ef.tar.gz -> ${P}-ffmpeg.tar.gz )
+ https://github.com/hrydgard/ppsspp-lang/archive/f32328a88cbf368af90eb79bc7ad5420795d6585.tar.gz -> ${P}-assets_lang.tar.gz
+ https://github.com/hrydgard/pspautotests/archive/e18cface3db64ccb96738dc128fe769b28fff65c.tar.gz -> ${P}-pspautotests.tar.gz
+ https://github.com/hrydgard/minidx9/archive/7751cf73f5c06f1be21f5f31c3e2d9a7bacd3a93.tar.gz -> ${P}-dx9sdk.tar.gz
+ https://github.com/hrydgard/glslang/archive/b16f7e6819267e57c3c244808d1981f0ce34acbc.tar.gz -> ${P}-ext_glslang.tar.gz
+ https://github.com/Kingcom/armips/archive/770365d44df35d6e675c58bb2a774ca412278ef5.tar.gz -> ${P}-ext_armips.tar.gz
+ https://github.com/Kingcom/tinyformat/archive/b7f5a22753c81d834ab5133d655f1fd525280765.tar.gz -> ${P}-ext_armips_ext_tinyformat.tar.gz
+ https://github.com/KhronosGroup/SPIRV-Cross/archive/6381b2ff9c0d975af8fd2974c97aa12a69ab6cc6.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+qt5 sdl headless libav +system-ffmpeg"
+REQUIRED_USE="
+ !headless? ( || ( qt5 sdl ) )
+ ?? ( qt5 sdl )
+"
+
+RDEPEND="sys-libs/zlib
+ system-ffmpeg? (
+ !libav? ( media-video/ffmpeg:= )
+ libav? ( media-video/libav:= )
+ )
+ sdl? (
+ media-libs/libsdl
+ media-libs/libsdl2
+ )
+ qt5? (
+ dev-db/sqlite
+ dev-qt/assistant:5
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtopengl:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ )"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-assets-lookup.patch
+ "${FILESDIR}"/${PN}-1.4-O2.patch
+)
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ cd "${S}" || die
+ local i list=( assets_lang pspautotests dx9sdk ext_glslang ext_armips ext_SPIRV-Cross ext_armips_ext_tinyformat )
+ if ! use system-ffmpeg; then
+ list+=( ffmpeg )
+ fi
+ for i in "${list[@]}"; do
+ tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
+ done
+}
+
+src_prepare() {
+ if ! use system-ffmpeg; then
+ sed -i -e "s#-O3#-O2#g;" "${S}"/ffmpeg/linux_*.sh || die
+ fi
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSING_QT_UI=$(usex qt5)
+ -DUSE_SYSTEM_FFMPEG=$(usex system-ffmpeg)
+ -DHEADLESS=$(usex headless)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ use headless && dobin "${BUILD_DIR}/PPSSPPHeadless"
+ insinto /usr/share/"${PN}"
+ doins -r "${BUILD_DIR}/assets"
+ if use qt5 || use sdl ; then
+ dobin "${BUILD_DIR}/PPSSPP$(usex qt5 Qt SDL)"
+ local i
+ for i in 16 24 32 48 64 96 128 256 512 ; do
+ doicon -s ${i} "icons/hicolor/${i}x${i}/apps/${PN}.png"
+ done
+ make_desktop_entry "PPSSPP$(usex qt5 Qt SDL)" "PPSSPP ($(usex qt5 Qt SDL))" "${PN}" "Game"
+ fi
+}
+
+pkg_postinst() {
+ if use system-ffmpeg; then
+ ewarn "system-ffmpeg USE flag is enabled, some bugs might arise due to it."
+ ewarn "See https://github.com/hrydgard/ppsspp/issues/9026 for more informations."
+ fi
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2020-01-25 13:40 Sergei Trofimovich
0 siblings, 0 replies; 11+ messages in thread
From: Sergei Trofimovich @ 2020-01-25 13:40 UTC (permalink / raw
To: gentoo-commits
commit: 32373aba633556a1bec4314e2309089a587ded43
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 25 13:40:16 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jan 25 13:40:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32373aba
games-emulation/ppsspp: tweak for gcc-10
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch | 10 ++++++++++
games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild | 3 ++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch b/games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch
new file mode 100644
index 00000000000..0a7c45a810b
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch
@@ -0,0 +1,10 @@
+--- a/Common/Hashmaps.h
++++ b/Common/Hashmaps.h
+@@ -2,6 +2,7 @@
+
+ #include <cstring>
+ #include <vector>
++#include <stdint.h> /* uint32_t */
+
+ #include "ext/xxhash.h"
+ #include "Common/CommonFuncs.h"
diff --git a/games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild b/games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild
index 4e7f8f7f027..8de0ecaf747 100644
--- a/games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -50,6 +50,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.4.2-assets-lookup.patch
"${FILESDIR}"/${PN}-1.4-O2.patch
"${FILESDIR}"/${P}-ffmpeg-4.patch
+ "${FILESDIR}"/${P}-stdint-gcc-10.patch
)
src_unpack() {
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2022-08-28 20:56 Maciej Barć
0 siblings, 0 replies; 11+ messages in thread
From: Maciej Barć @ 2022-08-28 20:56 UTC (permalink / raw
To: gentoo-commits
commit: 403b41336f08a7c0bb4217fc41ea9095594ca3bb
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sun Aug 28 18:26:18 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 20:56:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=403b4133
games-emulation/ppsspp: update build-system
Added support for system zstd library.
Remove ccache autodetection, build system automagically detects ccache and use it in situations where it shouldn't do that.
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27047
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../ppsspp-disable-ccache-autodetection.patch | 26 ++++++
games-emulation/ppsspp/ppsspp-1.13-r1.ebuild | 102 +++++++++++++++++++++
2 files changed, 128 insertions(+)
diff --git a/games-emulation/ppsspp/files/ppsspp-disable-ccache-autodetection.patch b/games-emulation/ppsspp/files/ppsspp-disable-ccache-autodetection.patch
new file mode 100644
index 000000000000..007e64774c20
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-disable-ccache-autodetection.patch
@@ -0,0 +1,26 @@
+From ca18b1b578ec7215277a73b6658753ff35e677ea Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
+Date: Sun, 28 Aug 2022 17:53:05 +0300
+Subject: [PATCH] Disable ccache autodetection
+
+Build system automagically detects ccache and use it in situations where
+it should'nt do that.
+---
+ CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 376e2c5ad..8c382ce5c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -111,7 +111,6 @@ if(MACOSX AND NOT USE_SYSTEM_LIBSDL2)
+ set(SDL2_LIBRARY ${CMAKE_SOURCE_DIR}/SDL/macOS/SDL2.framework)
+ endif()
+
+-include(ccache)
+ include(GNUInstallDirs)
+
+ add_definitions(-DASSETS_DIR="${CMAKE_INSTALL_FULL_DATADIR}/ppsspp/assets/")
+--
+2.35.1
+
diff --git a/games-emulation/ppsspp/ppsspp-1.13-r1.ebuild b/games-emulation/ppsspp/ppsspp-1.13-r1.ebuild
new file mode 100644
index 000000000000..3b1688d5a6d4
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.13-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg cmake
+
+DESCRIPTION="A PSP emulator written in C++"
+HOMEPAGE="https://www.ppsspp.org/"
+SRC_URI="
+ https://github.com/hrydgard/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/KhronosGroup/SPIRV-Cross/archive/9acb9ec31f5a8ef80ea6b994bb77be787b08d3d1.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
+ https://github.com/Kingcom/armips/archive/7885552b208493a6a0f21663770c446c3ba65576.tar.gz -> ${P}-ext_armips.tar.gz
+ https://github.com/Tencent/rapidjson/archive/73063f5002612c6bf64fe24f851cd5cc0d83eef9.tar.gz -> ${P}-ext_rapidjson.tar.gz
+ https://github.com/hrydgard/glslang/archive/dc11adde23c455a24e13dd54de9b4ede8bdd7db8.tar.gz -> ${P}-ext_glslang.tar.gz
+ https://github.com/hrydgard/miniupnp/archive/3a87be33e797ba947b2b2a5f8d087f6c3ff4d93e.tar.gz -> ${P}-ext_miniupnp.tar.gz
+ https://github.com/hrydgard/ppsspp-freetype/archive/cbea79dc8fef4d9210e2bac7e7b9b5ff3388197a.tar.gz -> ${P}-ext_native_tools_prebuilt.tar.gz
+ https://github.com/hrydgard/ppsspp-lang/archive/3bf6b18eb0ae68861fbfbb7b43cd764771ca42a9.tar.gz -> ${P}-assets_lang.tar.gz
+ discord? ( https://github.com/discordapp/discord-rpc/archive/963aa9f3e5ce81a4682c6ca3d136cddda614db33.tar.gz -> ${P}-ext_discord-rpc.tar.gz )
+"
+
+LICENSE="Apache-2.0 BSD BSD-2 GPL-2 JSON MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="discord qt5"
+RESTRICT="test"
+
+RDEPEND="
+ app-arch/snappy:=
+ app-arch/zstd:=
+ dev-libs/libzip:=
+ dev-util/glslang:=
+ media-libs/glew:=
+ media-libs/libpng:=
+ media-libs/libsdl2[joystick]
+ media-video/ffmpeg:0/56.58.58
+ sys-libs/zlib:=
+ virtual/opengl
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[-gles2-only]
+ dev-qt/qtmultimedia:5[-gles2-only]
+ dev-qt/qtopengl:5[-gles2-only]
+ dev-qt/qtwidgets:5[-gles2-only]
+ )
+ !qt5? ( media-libs/libsdl2[X,opengl,sound,video] )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-CMakeLists-flags.patch"
+ "${FILESDIR}/${PN}-disable-ccache-autodetection.patch"
+)
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ cd "${S}" || die
+ local list=(
+ assets_lang
+ ext_SPIRV-Cross
+ ext_armips
+ ext_glslang
+ ext_miniupnp
+ ext_native_tools_prebuilt
+ ext_rapidjson
+ )
+ use discord && list+=( ext_discord-rpc )
+
+ local i
+ for i in "${list[@]}" ; do
+ tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" ||
+ die "Failed to unpack ${P}-${i}.tar.gz"
+ done
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
+ -DHEADLESS=false
+ -DUSE_DISCORD=$(usex discord)
+ -DUSE_SYSTEM_FFMPEG=ON
+ -DUSE_SYSTEM_LIBZIP=ON
+ -DUSE_SYSTEM_SNAPPY=ON
+ -DUSE_SYSTEM_ZSTD=ON
+ -DUSING_QT_UI=$(usex qt5)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins -r "${BUILD_DIR}/assets"
+
+ local i
+ for i in 16 24 32 48 64 96 128 256 512 ; do
+ doicon -s ${i} icons/hicolor/${i}x${i}/apps/${PN}.png
+ done
+
+ dobin "${BUILD_DIR}/PPSSPP$(usex qt5 Qt SDL)"
+ make_desktop_entry "PPSSPP$(usex qt5 Qt SDL)" "PPSSPP ($(usex qt5 Qt SDL))"
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2023-04-19 3:24 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2023-04-19 3:24 UTC (permalink / raw
To: gentoo-commits
commit: b17bb391e163ea65d1ba219c6981b46518ec77b7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 03:20:02 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 03:20:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17bb391
games-emulation/ppsspp: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/898910
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../ppsspp/files/ppsspp-1.14.4-gcc13.patch | 58 ++++++++++++++++++++++
games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild | 1 +
2 files changed, 59 insertions(+)
diff --git a/games-emulation/ppsspp/files/ppsspp-1.14.4-gcc13.patch b/games-emulation/ppsspp/files/ppsspp-1.14.4-gcc13.patch
new file mode 100644
index 000000000000..c4888f0efb6f
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.14.4-gcc13.patch
@@ -0,0 +1,58 @@
+https://bugs.gentoo.org/898910
+https://github.com/hrydgard/ppsspp/commit/9874737087e8d24ea72b3f08b4975031b54a80a5
+
+From 822592c6b1441f7110e1cb15dcc5cd2ea1de8099 Mon Sep 17 00:00:00 2001
+From: Andreas Stieger <Andreas.Stieger@gmx.de>
+Date: Wed, 5 Apr 2023 00:20:14 +0200
+Subject: [PATCH] Fix build with GCC13: various standard includes
+
+--- a/Common/Data/Format/IniFile.h
++++ b/Common/Data/Format/IniFile.h
+@@ -8,6 +8,7 @@
+ #include <map>
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ #include "Common/File/Path.h"
+
+--- a/Common/GPU/OpenGL/GLFeatures.h
++++ b/Common/GPU/OpenGL/GLFeatures.h
+@@ -5,6 +5,7 @@
+ #pragma once
+
+ #include <string>
++#include <cstdint>
+
+ // TODO: Replace with thin3d's vendor enum.
+ enum {
+--- a/Common/Net/NetBuffer.h
++++ b/Common/Net/NetBuffer.h
+@@ -1,5 +1,7 @@
+ #pragma once
+
++#include <cstdint>
++
+ #include "Common/Buffer.h"
+
+ namespace net {
+--- a/Core/Reporting.h
++++ b/Core/Reporting.h
+@@ -19,6 +19,7 @@
+
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ #include "Common/CommonTypes.h"
+ #include "Common/File/Path.h"
+--- a/ext/vma/vk_mem_alloc.h
++++ b/ext/vma/vk_mem_alloc.h
+@@ -2624,6 +2624,7 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString(
+ #include <cstring>
+ #include <utility>
+ #include <type_traits>
++#include <cstdio>
+
+ #ifdef _MSC_VER
+ #include <intrin.h> // For functions like __popcnt, _BitScanForward etc.
diff --git a/games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild b/games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild
index 653f672374ea..c908641d14a1 100644
--- a/games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild
@@ -43,6 +43,7 @@ BDEPEND="${PYTHON_DEPS}"
PATCHES=(
"${FILESDIR}"/${PN}-CMakeLists-flags.patch
"${FILESDIR}"/${PN}-disable-ccache-autodetection.patch
+ "${FILESDIR}"/${P}-gcc13.patch
)
pkg_setup() {
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2023-09-09 18:14 Maciej Barć
0 siblings, 0 replies; 11+ messages in thread
From: Maciej Barć @ 2023-09-09 18:14 UTC (permalink / raw
To: gentoo-commits
commit: 0dec1bfaf26acac6c5ddce2dc685f0bd32d669f5
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 9 14:27:41 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Sep 9 18:13:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dec1bfa
games-emulation/ppsspp: bump to 1.16
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
games-emulation/ppsspp/Manifest | 1 +
.../ppsspp-1.16-MIPSTables-fix-includes.patch | 10 +++
games-emulation/ppsspp/ppsspp-1.16.ebuild | 76 ++++++++++++++++++++++
3 files changed, 87 insertions(+)
diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
index 258d22f1a536..0f39c295f736 100644
--- a/games-emulation/ppsspp/Manifest
+++ b/games-emulation/ppsspp/Manifest
@@ -1,2 +1,3 @@
DIST ppsspp-1.15.4.tar.xz 51947468 BLAKE2B c6a5e621b02556b791ec41389f17dede63811c87ff628b8f1304ac950071b365ecc9be05f4042e4e3b81e77f5a14b6931577f08b0174fec821350a1d7eca4d6a SHA512 9d2c140b0d633e5ca6191aaf276b7e4f6d029f29d1313a45fb78ee3879fec09f57d816604c51474ab6fe9cde713787d5769e87466d3c3015fe6a9b195ff198d2
DIST ppsspp-1.15.tar.xz 52176784 BLAKE2B f0733edd114e09c3dfc4910fb48b7c5687af06faf39ed9184429d5f9ad0af3149a9270426b92eccbe97f61e436e7399c49e4feb0db05ce9df4d4177d091d7a08 SHA512 88e97f964e826cf791725ed62178dbfa456094af06a1c896df640b24a4e2ae8ed79e0ae63cb29cc6a92e83ecd63ab60013ddf32333fb1e8b5024a6e3fce6b71f
+DIST ppsspp-1.16.tar.xz 50656132 BLAKE2B 5149bd859134a76a191e0f144bdcefc4c521276ebb1390fe5e24eeeb1227b77bab0458a760f29aed5ba169d566f12d5226f2b50a19e44172f1ad98c4eb8f400f SHA512 d65a8c9fb5d7ff45a99f5852d1071029bc51c1e8bdb45b3e78d961a46587553db4465bbd97b301db54a94b60772359929524047f08de3067cd3336f5f7717826
diff --git a/games-emulation/ppsspp/files/ppsspp-1.16-MIPSTables-fix-includes.patch b/games-emulation/ppsspp/files/ppsspp-1.16-MIPSTables-fix-includes.patch
new file mode 100644
index 000000000000..87e85f5bc878
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.16-MIPSTables-fix-includes.patch
@@ -0,0 +1,10 @@
+--- a/Core/MIPS/MIPSTables.h
++++ b/Core/MIPS/MIPSTables.h
+@@ -18,6 +18,7 @@
+ #pragma once
+
+ #include <string>
++#include <stdint.h>
+ #include "Common/CommonTypes.h"
+ #include "Core/MIPS/MIPS.h"
+
diff --git a/games-emulation/ppsspp/ppsspp-1.16.ebuild b/games-emulation/ppsspp/ppsspp-1.16.ebuild
new file mode 100644
index 000000000000..a8cbd4c208f8
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.16.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit python-any-r1 xdg cmake
+
+DESCRIPTION="A PSP emulator written in C++"
+HOMEPAGE="https://www.ppsspp.org/
+ https://github.com/hrydgard/ppsspp/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hrydgard/${PN}.git"
+else
+ SRC_URI="https://github.com/hrydgard/${PN}/releases/download/v${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0 BSD BSD-2 GPL-2 JSON MIT"
+SLOT="0"
+IUSE="discord qt5"
+RESTRICT="test"
+
+RDEPEND="
+ app-arch/snappy:=
+ app-arch/zstd:=
+ dev-libs/libzip:=
+ media-libs/glew:=
+ media-libs/libpng:=
+ media-libs/libsdl2[joystick]
+ media-video/ffmpeg:0/56.58.58
+ sys-libs/zlib:=
+ virtual/opengl
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[-gles2-only]
+ dev-qt/qtmultimedia:5[-gles2-only]
+ dev-qt/qtopengl:5[-gles2-only]
+ dev-qt/qtwidgets:5[-gles2-only]
+ )
+ !qt5? ( media-libs/libsdl2[X,opengl,sound,video] )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.16-MIPSTables-fix-includes.patch
+ "${FILESDIR}"/${PN}-CMakeLists-flags.patch
+ "${FILESDIR}"/${PN}-disable-ccache-autodetection.patch
+)
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DBUILD_SHARED_LIBS=OFF
+ -DCMAKE_SKIP_RPATH=ON
+ -DHEADLESS=false
+ -DUSE_SYSTEM_FFMPEG=ON
+ -DUSE_SYSTEM_LIBZIP=ON
+ -DUSE_SYSTEM_SNAPPY=ON
+ -DUSE_SYSTEM_ZSTD=ON
+ -DUSE_DISCORD=$(usex discord)
+ -DUSING_QT_UI=$(usex qt5)
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/
@ 2024-02-05 11:28 Maciej Barć
0 siblings, 0 replies; 11+ messages in thread
From: Maciej Barć @ 2024-02-05 11:28 UTC (permalink / raw
To: gentoo-commits
commit: 5c1e0c4e25bdc6f7640850d33c3c43d4ea3c0156
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 5 11:19:02 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Feb 5 11:28:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c1e0c4e
games-emulation/ppsspp: bump to 1.17.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
games-emulation/ppsspp/Manifest | 1 +
.../ppsspp/files/ppsspp-1.17.1-avcodec-18825.patch | 176 +++++++++++++++++++++
.../ppsspp/files/ppsspp-1.17.1-ccache-18826.patch | 33 ++++
.../ppsspp/files/ppsspp-1.17.1-cmake-cxx.patch | 11 ++
games-emulation/ppsspp/ppsspp-1.17.1.ebuild | 84 ++++++++++
5 files changed, 305 insertions(+)
diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
index ed30d9e1197e..58cc3e9dbdae 100644
--- a/games-emulation/ppsspp/Manifest
+++ b/games-emulation/ppsspp/Manifest
@@ -1,3 +1,4 @@
DIST ppsspp-1.15.4.tar.xz 51947468 BLAKE2B c6a5e621b02556b791ec41389f17dede63811c87ff628b8f1304ac950071b365ecc9be05f4042e4e3b81e77f5a14b6931577f08b0174fec821350a1d7eca4d6a SHA512 9d2c140b0d633e5ca6191aaf276b7e4f6d029f29d1313a45fb78ee3879fec09f57d816604c51474ab6fe9cde713787d5769e87466d3c3015fe6a9b195ff198d2
DIST ppsspp-1.16.4.tar.xz 51110488 BLAKE2B 061090bfd646b0839de7aed8e4b249ac86353c8742cd293c8df5ffc0d93a67f960ff4836bc13b534ba34871719cea2dc485b7d14deaa17aa5ff3dd6f8663687e SHA512 6364bb821a456409c9ee20eb589d761aef02d7756063bd5faa035b856ca551db0675a65767a9ad09dc8eba5fda6ede8ea3eb384b6770570bd4925e11b8c05ac5
DIST ppsspp-1.16.tar.xz 50656132 BLAKE2B 5149bd859134a76a191e0f144bdcefc4c521276ebb1390fe5e24eeeb1227b77bab0458a760f29aed5ba169d566f12d5226f2b50a19e44172f1ad98c4eb8f400f SHA512 d65a8c9fb5d7ff45a99f5852d1071029bc51c1e8bdb45b3e78d961a46587553db4465bbd97b301db54a94b60772359929524047f08de3067cd3336f5f7717826
+DIST ppsspp-1.17.1.tar.xz 54663108 BLAKE2B 91c4964c9f334d42e090f59485e2f02ba8edb780903d2fa46e1a9cea77f6cc9e1a0605310d76445738259c0e99d5d1ca0764ef5f5565e781b482d5d5274620e5 SHA512 eaa0046f5d8e529efd8238690fa242638aa88630172abe59c4b7ffb16b1e18eeb38fcaf8e70ef76dbd2304b226d1f33e10cde709abe00fa2a5baff16c1883c31
diff --git a/games-emulation/ppsspp/files/ppsspp-1.17.1-avcodec-18825.patch b/games-emulation/ppsspp/files/ppsspp-1.17.1-avcodec-18825.patch
new file mode 100644
index 000000000000..a3003660dd74
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.17.1-avcodec-18825.patch
@@ -0,0 +1,176 @@
+From a8ae43dfd4f06a48a275a684aafee021e591d75e Mon Sep 17 00:00:00 2001
+From: Andrew Udvare <audvare@gmail.com>
+Date: Sun, 4 Feb 2024 18:26:06 -0500
+Subject: [PATCH] ffmpeg: Improved fix for checking if const AVCodec* is
+ necessary
+
+---
+ CMakeLists.txt | 21 +++++++++++++++++++++
+ Core/AVIDump.cpp | 4 +---
+ Core/FFMPEGCompat.h | 8 ++++++++
+ Core/HLE/sceAtrac.cpp | 5 +----
+ Core/HLE/sceMpeg.cpp | 4 +---
+ Core/HW/MediaEngine.cpp | 4 +---
+ Core/HW/SimpleAudioDec.cpp | 1 +
+ Core/HW/SimpleAudioDec.h | 7 +++----
+ 8 files changed, 37 insertions(+), 17 deletions(-)
+ create mode 100644 Core/FFMPEGCompat.h
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 33570d09c024..f7e5ce1d337c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -953,6 +953,23 @@ if(USE_FFMPEG)
+ endif()
+
+ find_package(FFmpeg REQUIRED avcodec avformat avutil swresample swscale)
++ # Check if we need to use avcodec_(alloc|free)_frame instead of av_frame_(alloc|free)
++ # Check if we need to use const AVCodec
++ set(CMAKE_REQUIRED_LIBRARIES avcodec;avformat)
++ set(CMAKE_REQUIRED_FLAGS "-pedantic -Wall -Werror -Wno-unused-variable")
++ check_cxx_source_compiles("extern \"C\" {
++ #include <libavcodec/avcodec.h>
++ #include <libavformat/avformat.h>
++ }
++ static AVCodecContext *s_codec_context = NULL;
++ int main() {
++ const AVCodec *codec = avcodec_find_encoder(s_codec_context->codec_id);
++ return 0;
++ }
++ " HAVE_LIBAVCODEC_CONST_AVCODEC FAIL_REGEX "invalid conversion")
++
++ # Check if we need to use avcodec_alloc_context3 instead of stream->codec
++ # Check if we need to use av_frame_get_buffer instead of avcodec_default_get_buffer
+ endif(USE_FFMPEG)
+
+ find_package(ZLIB)
+@@ -2024,6 +2041,7 @@ add_library(${CoreLibName} ${CoreLinkType}
+ Core/ELF/PrxDecrypter.h
+ Core/ELF/ParamSFO.cpp
+ Core/ELF/ParamSFO.h
++ Core/FFMPEGCompat.h
+ Core/FileSystems/tlzrc.cpp
+ Core/FileSystems/BlobFileSystem.cpp
+ Core/FileSystems/BlobFileSystem.h
+@@ -2358,6 +2376,9 @@ target_compile_features(${CoreLibName} PUBLIC cxx_std_17)
+
+ if(FFmpeg_FOUND)
+ target_compile_definitions(${CoreLibName} PRIVATE USE_FFMPEG=1)
++ if (HAVE_LIBAVCODEC_CONST_AVCODEC)
++ target_compile_definitions(${CoreLibName} PRIVATE HAVE_LIBAVCODEC_CONST_AVCODEC=1)
++ endif()
+ set_target_properties(${CoreLibName} PROPERTIES NO_SYSTEM_FROM_IMPORTED true)
+ target_include_directories(${CoreLibName} BEFORE PUBLIC ${FFmpeg_INCLUDE_avcodec})
+ target_link_libraries(${CoreLibName}
+diff --git a/Core/AVIDump.cpp b/Core/AVIDump.cpp
+index 7c9576d2922b..aa811650314d 100644
+--- a/Core/AVIDump.cpp
++++ b/Core/AVIDump.cpp
+@@ -45,9 +45,7 @@ extern "C" {
+ #define av_frame_free avcodec_free_frame
+ #endif
+
+-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(59, 16, 100)
+-#define AVCodec const AVCodec
+-#endif
++#include "FFMPEGCompat.h"
+
+ static AVFormatContext *s_format_context = nullptr;
+ static AVCodecContext *s_codec_context = nullptr;
+diff --git a/Core/FFMPEGCompat.h b/Core/FFMPEGCompat.h
+new file mode 100644
+index 000000000000..fed3b1c85392
+--- /dev/null
++++ b/Core/FFMPEGCompat.h
+@@ -0,0 +1,8 @@
++#ifndef FFMPEG_COMPAT_H
++#define FFMPEG_COMPAT_H
++
++#ifdef HAVE_LIBAVCODEC_CONST_AVCODEC
++#define AVCodec const AVCodec
++#endif
++
++#endif // FFMPEG_COMPAT_H
+diff --git a/Core/HLE/sceAtrac.cpp b/Core/HLE/sceAtrac.cpp
+index fe0e8a54de6b..f83d9ffdf166 100644
+--- a/Core/HLE/sceAtrac.cpp
++++ b/Core/HLE/sceAtrac.cpp
+@@ -129,10 +129,7 @@ extern "C" {
+ #include "libavcodec/avcodec.h"
+ #include "libavutil/version.h"
+ }
+-
+-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(59, 16, 100)
+-#define AVCodec const AVCodec
+-#endif
++#include "Core/FFMPEGCompat.h"
+
+ #endif // USE_FFMPEG
+
+diff --git a/Core/HLE/sceMpeg.cpp b/Core/HLE/sceMpeg.cpp
+index d050d62f3d73..8be78c73e0f8 100644
+--- a/Core/HLE/sceMpeg.cpp
++++ b/Core/HLE/sceMpeg.cpp
+@@ -113,9 +113,7 @@ extern "C" {
+ #include "libswscale/swscale.h"
+ #include "libavcodec/avcodec.h"
+ }
+-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(59, 16, 100)
+-#define AVCodec const AVCodec
+-#endif
++#include "Core/FFMPEGCompat.h"
+ static AVPixelFormat pmp_want_pix_fmt;
+
+ #endif
+diff --git a/Core/HW/MediaEngine.cpp b/Core/HW/MediaEngine.cpp
+index 0ed957edfd26..7e8b37d4dc9b 100644
+--- a/Core/HW/MediaEngine.cpp
++++ b/Core/HW/MediaEngine.cpp
+@@ -56,9 +56,7 @@ extern "C" {
+
+ #ifdef USE_FFMPEG
+
+-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(59, 16, 100)
+-#define AVCodec const AVCodec
+-#endif
++#include "Core/FFMPEGCompat.h"
+
+ static AVPixelFormat getSwsFormat(int pspFormat)
+ {
+diff --git a/Core/HW/SimpleAudioDec.cpp b/Core/HW/SimpleAudioDec.cpp
+index 7994a7f4027a..80397bf6da0a 100644
+--- a/Core/HW/SimpleAudioDec.cpp
++++ b/Core/HW/SimpleAudioDec.cpp
+@@ -33,6 +33,7 @@ extern "C" {
+ #include "libavutil/samplefmt.h"
+ #include "libavcodec/avcodec.h"
+ }
++#include "Core/FFMPEGCompat.h"
+
+ #endif // USE_FFMPEG
+
+diff --git a/Core/HW/SimpleAudioDec.h b/Core/HW/SimpleAudioDec.h
+index 52a78bf3b411..9bf2427a4a15 100644
+--- a/Core/HW/SimpleAudioDec.h
++++ b/Core/HW/SimpleAudioDec.h
+@@ -33,10 +33,6 @@ extern "C" {
+ #include "libavutil/version.h"
+ };
+
+-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(59, 16, 100)
+-#define AVCodec const AVCodec
+-#endif
+-
+ #endif
+
+ // Wraps FFMPEG for audio decoding in a nice interface.
+@@ -90,6 +86,9 @@ class SimpleAudio {
+ int wanted_resample_freq; // wanted resampling rate/frequency
+
+ AVFrame *frame_;
++#if HAVE_LIBAVCODEC_CONST_AVCODEC // USE_FFMPEG is implied
++ const
++#endif
+ AVCodec *codec_;
+ AVCodecContext *codecCtx_;
+ SwrContext *swrCtx_;
diff --git a/games-emulation/ppsspp/files/ppsspp-1.17.1-ccache-18826.patch b/games-emulation/ppsspp/files/ppsspp-1.17.1-ccache-18826.patch
new file mode 100644
index 000000000000..af5478f1bf73
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.17.1-ccache-18826.patch
@@ -0,0 +1,33 @@
+From e1ef901fcc2f0acbdff2671a8e07edab3e473c98 Mon Sep 17 00:00:00 2001
+From: Andrew Udvare <audvare@gmail.com>
+Date: Sun, 4 Feb 2024 18:39:18 -0500
+Subject: [PATCH] Add option to disable ccache detection
+
+---
+ CMakeLists.txt | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bfd5e690353e..33570d09c024 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -116,7 +116,6 @@ if(NOT IOS)
+ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/sdl)
+ endif()
+
+-include(ccache)
+ include(GNUInstallDirs)
+
+ add_definitions(-DASSETS_DIR="${CMAKE_INSTALL_FULL_DATADIR}/ppsspp/assets/")
+@@ -173,6 +172,11 @@ option(USE_SYSTEM_ZSTD "Dynamically link against system zstd" ${USE_SYSTEM_ZSTD}
+ option(USE_SYSTEM_MINIUPNPC "Dynamically link against system miniUPnPc" ${USE_SYSTEM_MINIUPNPC})
+ option(USE_ASAN "Use address sanitizer" OFF)
+ option(USE_UBSAN "Use undefined behaviour sanitizer" OFF)
++option(USE_CCACHE "Use ccache if detected" ON)
++
++if(USE_CACHE)
++ include(ccache)
++endif()
+
+ if(UNIX AND NOT (APPLE OR ANDROID) AND VULKAN)
+ if(USING_X11_VULKAN)
diff --git a/games-emulation/ppsspp/files/ppsspp-1.17.1-cmake-cxx.patch b/games-emulation/ppsspp/files/ppsspp-1.17.1-cmake-cxx.patch
new file mode 100644
index 000000000000..12796b06e890
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.17.1-cmake-cxx.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.8)
+ project(PPSSPP)
+ enable_testing()
+
++include(CheckCXXSourceCompiles)
++
+ #This is supposed to work but doesn't!
+ if(NOT ANDROID)
+ set(CMAKE_CXX_STANDARD 17)
diff --git a/games-emulation/ppsspp/ppsspp-1.17.1.ebuild b/games-emulation/ppsspp/ppsspp-1.17.1.ebuild
new file mode 100644
index 000000000000..4f6565ae477c
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.17.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit python-any-r1 xdg cmake
+
+DESCRIPTION="A PSP emulator written in C++"
+HOMEPAGE="https://www.ppsspp.org/
+ https://github.com/hrydgard/ppsspp/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/hrydgard/${PN}.git"
+else
+ SRC_URI="https://github.com/hrydgard/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0 BSD BSD-2 GPL-2 JSON MIT"
+SLOT="0"
+IUSE="discord qt5 test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-arch/snappy:=
+ app-arch/zstd:=
+ dev-libs/libzip:=
+ media-libs/glew:=
+ media-libs/libpng:=
+ media-libs/libsdl2[joystick]
+ media-video/ffmpeg:0/58.60.60
+ sys-libs/zlib:=
+ virtual/opengl
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[-gles2-only]
+ dev-qt/qtmultimedia:5[-gles2-only]
+ dev-qt/qtopengl:5[-gles2-only]
+ dev-qt/qtwidgets:5[-gles2-only]
+ )
+ !qt5? ( media-libs/libsdl2[X,opengl,sound,video] )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.17.1-avcodec-18825.patch"
+ "${FILESDIR}/${PN}-1.17.1-ccache-18826.patch"
+ "${FILESDIR}/${PN}-1.17.1-cmake-cxx.patch"
+ "${FILESDIR}/${PN}-CMakeLists-flags.patch"
+)
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DBUILD_SHARED_LIBS=OFF
+ -DCMAKE_SKIP_RPATH=ON
+ -DHEADLESS=false
+ -DUSE_SYSTEM_FFMPEG=ON
+ -DUSE_SYSTEM_LIBZIP=ON
+ -DUSE_SYSTEM_SNAPPY=ON
+ -DUSE_SYSTEM_ZSTD=ON
+ -DUSE_DISCORD=$(usex discord)
+ -DUSING_QT_UI=$(usex qt5)
+ -DUNITTEST=$(usex test)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_src_test -E glslang-testsuite
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-02-05 11:28 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-04 21:14 [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/, games-emulation/ppsspp/files/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2024-02-05 11:28 Maciej Barć
2023-09-09 18:14 Maciej Barć
2023-04-19 3:24 Sam James
2022-08-28 20:56 Maciej Barć
2020-01-25 13:40 Sergei Trofimovich
2017-11-08 22:48 Patrice Clement
2017-04-04 21:14 Patrice Clement
2016-02-21 11:12 Patrice Clement
2016-02-07 10:53 Patrice Clement
2016-01-19 20:27 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox