commit: 564407a6307553f4c70301307b3fc9a60667d65b Author: RobinDX <robin9800xt <AT> gmail <DOT> com> AuthorDate: Sat Jan 30 17:34:14 2016 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Sun Jan 31 00:13:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564407a6
games-emulation/ppsspp: bug fix #572606 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> .../ppsspp/{ppsspp-1.1.0.ebuild => ppsspp-1.1.0-r1.ebuild} | 9 ++++++++- .../ppsspp/{ppsspp-1.1.1.ebuild => ppsspp-1.1.1-r1.ebuild} | 9 ++++++++- .../ppsspp/{ppsspp-9999.ebuild => ppsspp-9999-r1.ebuild} | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/games-emulation/ppsspp/ppsspp-1.1.0.ebuild b/games-emulation/ppsspp/ppsspp-1.1.0-r1.ebuild similarity index 92% rename from games-emulation/ppsspp/ppsspp-1.1.0.ebuild rename to games-emulation/ppsspp/ppsspp-1.1.0-r1.ebuild index 0f5df8a..d7e7c64 100644 --- a/games-emulation/ppsspp/ppsspp-1.1.0.ebuild +++ b/games-emulation/ppsspp/ppsspp-1.1.0-r1.ebuild @@ -103,7 +103,7 @@ src_compile() { src_install() { if use qt4 ; then - exeinto /usr/games/bin + into /usr/games/bin newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp elif use qt5 ; then exeinto /usr/games/bin @@ -121,3 +121,10 @@ src_install() { 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.ebuild b/games-emulation/ppsspp/ppsspp-1.1.1-r1.ebuild similarity index 92% rename from games-emulation/ppsspp/ppsspp-1.1.1.ebuild rename to games-emulation/ppsspp/ppsspp-1.1.1-r1.ebuild index 0f5df8a..d7e7c64 100644 --- a/games-emulation/ppsspp/ppsspp-1.1.1.ebuild +++ b/games-emulation/ppsspp/ppsspp-1.1.1-r1.ebuild @@ -103,7 +103,7 @@ src_compile() { src_install() { if use qt4 ; then - exeinto /usr/games/bin + into /usr/games/bin newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp elif use qt5 ; then exeinto /usr/games/bin @@ -121,3 +121,10 @@ src_install() { 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-9999.ebuild b/games-emulation/ppsspp/ppsspp-9999-r1.ebuild similarity index 92% rename from games-emulation/ppsspp/ppsspp-9999.ebuild rename to games-emulation/ppsspp/ppsspp-9999-r1.ebuild index e60451b..9dd2ba9 100644 --- a/games-emulation/ppsspp/ppsspp-9999.ebuild +++ b/games-emulation/ppsspp/ppsspp-9999-r1.ebuild @@ -102,7 +102,7 @@ src_compile() { src_install() { if use qt4 ; then - exeinto /usr/games/bin + into /usr/games/bin newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp elif use qt5 ; then exeinto /usr/games/bin @@ -120,3 +120,10 @@ src_install() { 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. " +} +