From ebaaaf60aac4c9545ded42534b1355b93ea43552 Mon Sep 17 00:00:00 2001 From: RobinDX Date: Sun, 21 Feb 2016 11:04:26 +0800 Subject: 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(-) delete mode 100644 games-emulation/ppsspp/files/ppsspp-ffmpeg-x86.patch delete mode 100644 games-emulation/ppsspp/files/ppsspp-ffmpeg-x86_64.patch delete mode 100644 games-emulation/ppsspp/files/ppsspp-qt.patch delete mode 100644 games-emulation/ppsspp/ppsspp-1.1.0-r2.ebuild delete mode 100644 games-emulation/ppsspp/ppsspp-1.1.1-r2.ebuild (limited to 'games-emulation/ppsspp') 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 c9e755ddba67..000000000000 --- 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 45bd877919a6..000000000000 --- 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 e372f15df813..000000000000 --- 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 4d8db28fecf2..000000000000 --- 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 games', then have 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 4d8db28fecf2..000000000000 --- 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 games', then have re-login. " -} -- cgit v1.2.3-65-gdbad