mirror of
https://github.com/gryf/gryf-overlay.git
synced 2025-12-25 07:32:30 +01:00
Corrected PPSSPP ebuilds
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
AUX ppsspp 51 BLAKE2B bcc9087f99ca903218cc15d1e1bbbc19f6a47c16a87334be35648290794d70b5b57e1c8ecd4352a7fb0f93d38fe6272df33fbab59ae1d545295b025a6cdfcfef SHA512 65b02e0a66dd18c28df0f040dea71072d7c75e68306941bdf2afbaaf8ec306950b5b98b7b3577003a344b6361901ee162003c77cb3561383680fa2e08a3cc130
|
||||
AUX ppsspp.desktop 129 BLAKE2B d96cabb2ddf5414f1ee7f319a24e72a90625af8d1e901fef7bc9deabd4e5570edfcf26744f0d357b8fdc0ae45a6c56bd3b39a4eae1d3786395d6c70ed6312ee0 SHA512 00e44bfd3e74a87ab01590392e66b1b1a43d202f30454700331c4da05fd708c481883d8b8c558e4b2cdd8df6bf17c0d26b434a24e128c6851cc54aa3741e4883
|
||||
EBUILD ppsspp-9999.ebuild 1438 BLAKE2B 0f213ab253c3d723ece6ce7f94f8c8ae73f671c035327c146a50bca41e9bc9e209f6e1eeea6bfe2d33a7a721b087db4b49f191f878a6c3659020f51e26543499 SHA512 826b6765acb1938eddcf66fee17880b098108847780e46c5e7dd1b0a1f59368b47ac6c681b2c260717b7f239845c1dea49ddeaf6afd1e93e8b6a3e6cda968b1d
|
||||
EBUILD ppsspp-1.10.3.ebuild 1442 BLAKE2B 3650dd927816858c0118ca3c4fde2889e6495d23b44269966641eac81bdafc509c800aa6fa6ec4a878f50157bc747fb13a2b6fdd3e3d09f516d9232f0396e870 SHA512 dceb5c412bac674306ab82526df2fcb5d332e611b5479f7b9aa24c2ea6852a83d5201ab7704253d1ce56df63023e033f80304894b7e75254d3f3438c09724370
|
||||
EBUILD ppsspp-9999.ebuild 1442 BLAKE2B 3650dd927816858c0118ca3c4fde2889e6495d23b44269966641eac81bdafc509c800aa6fa6ec4a878f50157bc747fb13a2b6fdd3e3d09f516d9232f0396e870 SHA512 dceb5c412bac674306ab82526df2fcb5d332e611b5479f7b9aa24c2ea6852a83d5201ab7704253d1ce56df63023e033f80304894b7e75254d3f3438c09724370
|
||||
MISC ppsspp-9999.ebuild_ 1438 BLAKE2B 0f213ab253c3d723ece6ce7f94f8c8ae73f671c035327c146a50bca41e9bc9e209f6e1eeea6bfe2d33a7a721b087db4b49f191f878a6c3659020f51e26543499 SHA512 826b6765acb1938eddcf66fee17880b098108847780e46c5e7dd1b0a1f59368b47ac6c681b2c260717b7f239845c1dea49ddeaf6afd1e93e8b6a3e6cda968b1d
|
||||
MISC psp_files 5904 BLAKE2B 98b55bd752a6abcbb349a543a6fb26c4f45d749057e244848b5b4d014a2bee319823befc47c6fa4eff5f25e59f18e0c4cea40d58916a96552f7b1ea43eccbc79 SHA512 ead70625eac67efc4427d5ae24fd2026bb63c43b97bc8e34de090d442749a5f9c0271dd42d525135c33d9f8d8d71d95e3fdaeaffce0d628235abc1643284a67f
|
||||
|
||||
71
games-emulation/ppsspp/ppsspp-1.10.3.ebuild
Normal file
71
games-emulation/ppsspp/ppsspp-1.10.3.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# 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="~amd64"
|
||||
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. "
|
||||
}
|
||||
@@ -1,14 +1,17 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
inherit eutils cmake-utils git-r3
|
||||
|
||||
DESCRIPTION="A PSP emulator written in C++."
|
||||
HOMEPAGE="http://www.ppsspp.org/"
|
||||
EGIT_REPO_URI="git://github.com/hrydgard/${PN}.git"
|
||||
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"
|
||||
@@ -17,9 +20,6 @@ IUSE="qt5 +sdl"
|
||||
REQUIRED_USE="
|
||||
?? ( sdl )
|
||||
"
|
||||
#EGIT_SUBMODULES=( '*' '-ffmpeg' )
|
||||
# !libav? ( media-video/ffmpeg:= )
|
||||
# libav? ( media-video/libav:= )
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user