summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoredake <fdsfgs@krutt.org>2017-04-01 23:11:58 +0300
committerPatrice Clement <monsieurp@gentoo.org>2017-04-04 23:14:00 +0200
commite225e256cbf0d118303693015c91e68b361066d3 (patch)
tree49fc19ea76ce26d73eb1713290d988e0eb932ba3 /games-emulation/ppsspp
parentgames-emulation/ppsspp: version bump to 1.4. (diff)
downloadgentoo-e225e256cbf0d118303693015c91e68b361066d3.tar.gz
gentoo-e225e256cbf0d118303693015c91e68b361066d3.tar.bz2
gentoo-e225e256cbf0d118303693015c91e68b361066d3.zip
games-emulation/ppsspp: clean up old.
Closes: https://github.com/gentoo/gentoo/pull/4342
Diffstat (limited to 'games-emulation/ppsspp')
-rw-r--r--games-emulation/ppsspp/files/ppsspp3
-rw-r--r--games-emulation/ppsspp/files/ppsspp.desktop7
-rw-r--r--games-emulation/ppsspp/ppsspp-1.2.2.ebuild128
3 files changed, 0 insertions, 138 deletions
diff --git a/games-emulation/ppsspp/files/ppsspp b/games-emulation/ppsspp/files/ppsspp
deleted file mode 100644
index 7e3da1317aba..000000000000
--- 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 a50ed06e145d..000000000000
--- 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 d0209042c6bd..000000000000
--- 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. "
-}