mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-15 15:53:35 +01:00
Remove ppsspp, since ebuild is back on official portage
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
AUX ppsspp 51 BLAKE2B bcc9087f99ca903218cc15d1e1bbbc19f6a47c16a87334be35648290794d70b5b57e1c8ecd4352a7fb0f93d38fe6272df33fbab59ae1d545295b025a6cdfcfef SHA512 65b02e0a66dd18c28df0f040dea71072d7c75e68306941bdf2afbaaf8ec306950b5b98b7b3577003a344b6361901ee162003c77cb3561383680fa2e08a3cc130
|
|
||||||
AUX ppsspp.desktop 129 BLAKE2B d96cabb2ddf5414f1ee7f319a24e72a90625af8d1e901fef7bc9deabd4e5570edfcf26744f0d357b8fdc0ae45a6c56bd3b39a4eae1d3786395d6c70ed6312ee0 SHA512 00e44bfd3e74a87ab01590392e66b1b1a43d202f30454700331c4da05fd708c481883d8b8c558e4b2cdd8df6bf17c0d26b434a24e128c6851cc54aa3741e4883
|
|
||||||
EBUILD ppsspp-9999.ebuild 1436 BLAKE2B d7616542740b37beee3f43a1f776f69bb9452040efab52e94d0e5b6de6e239f5716fb84ccf66798502d1d0b0574bb8a3c25e3a5c97187958bf4f0d203b15dc82 SHA512 d107c607635ab3defdd2a3774451c3c68353dc6c3ce3aab33f743dcf6687fddb41bad0adb8bcb3a5e91a31afd20034365fc160fdaadc60eecd911bd0db02db41
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
cd /usr/share/games/ppsspp
|
|
||||||
./PPSSPPSDL
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=PPSSPP
|
|
||||||
Comment=A PSP emulator
|
|
||||||
Exec=/usr/games/bin/ppsspp
|
|
||||||
Icon=ppsspp-icon
|
|
||||||
Categories=Game;
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit eutils cmake-utils git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="A PSP emulator written in C++."
|
|
||||||
HOMEPAGE="http://www.ppsspp.org/"
|
|
||||||
EGIT_REPO_URI="https://github.com/hrydgard/${PN}"
|
|
||||||
if [[ "$PV" != "9999" ]]; then
|
|
||||||
# for 9999 use master branch, otherwise use the branch/tag
|
|
||||||
EGIT_COMMIT="v${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="qt5 +sdl"
|
|
||||||
REQUIRED_USE="
|
|
||||||
?? ( sdl )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
sys-libs/zlib
|
|
||||||
sdl? (
|
|
||||||
dev-util/cmake
|
|
||||||
media-libs/libsdl
|
|
||||||
media-libs/libsdl2
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
git-r3_fetch
|
|
||||||
git-r3_checkout
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e "s#-O3#-O2#g;" "${S}"/CMakeLists.txt || die
|
|
||||||
sed -i -e "s#-O3#-O2#g;" "${S}"/ffmpeg/linux_*.sh || die
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake-utils_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
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
|
|
||||||
|
|
||||||
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. "
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user