From: RobinDX Date: Sat, 30 Jan 2016 17:34:14 +0000 (+0800) Subject: games-emulation/ppsspp: bug fix #572606 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=564407a6307553f4c70301307b3fc9a60667d65b;p=gentoo.git games-emulation/ppsspp: bug fix #572606 Signed-off-by: Patrice Clement --- 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 0f5df8af1706..d7e7c64e7e9d 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 games', then have 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 0f5df8af1706..d7e7c64e7e9d 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 games', then have 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 e60451b5191d..9dd2ba9157a8 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 games', then have re-login. " +} +