mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-01-04 21:04:18 +01:00
new ebuilds: screenkey, ppsspp, azpainterb, primus, apktool
This commit is contained in:
3
games-emulation/ppsspp/Manifest
Normal file
3
games-emulation/ppsspp/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
AUX ppsspp 51 SHA256 398ffa79d2a6da38717efbbc0d1ff5e5edde2ddcd09367291f6c6f1ebc2820e9 SHA512 65b02e0a66dd18c28df0f040dea71072d7c75e68306941bdf2afbaaf8ec306950b5b98b7b3577003a344b6361901ee162003c77cb3561383680fa2e08a3cc130 WHIRLPOOL a0ef5a2b68b66202dd0c1029bddd228367d4d729292f596355c93278c57daed82ae3cdefca0afb4fd45761019408afeeedfd5b874c9fc57de268af056101cf81
|
||||
AUX ppsspp.desktop 129 SHA256 518f8590f76f2b0019cc6424ac0c4b7cce03599ce89b7afd65a96b9e6b1f8aff SHA512 00e44bfd3e74a87ab01590392e66b1b1a43d202f30454700331c4da05fd708c481883d8b8c558e4b2cdd8df6bf17c0d26b434a24e128c6851cc54aa3741e4883 WHIRLPOOL 2cd1311249f621c0bbaa00c9cb642078699bd887d93afdf214769d25e1a85a4bde56dbdb929a2776b1715de306727b6abb883f04f43b17994d59cdc66d8072d3
|
||||
EBUILD ppsspp-9999.ebuild 2683 SHA256 a502deb6d3e09347c36ca6b5e483a756c34aa5d7c4e3bad830ba3bb879395c0d SHA512 d37a2e2848f739c9927a6a4d3347e1c0f16f25c20a7c260aaadf3ab394fc2ca3f08dc370e5cb7799bde9294aee1ea3438ea501bf1455d88910504dbd5fc1ec56 WHIRLPOOL ce71940fc27e7e347f4784155168a78a0c39470064392807ecfd6c51ce3ca7223d9bd3bd424143872902f03f183937eb0d802d523a11f654b2c3d9b19ba4d10d
|
||||
3
games-emulation/ppsspp/files/ppsspp
Normal file
3
games-emulation/ppsspp/files/ppsspp
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd /usr/share/games/ppsspp
|
||||
./PPSSPPSDL
|
||||
7
games-emulation/ppsspp/files/ppsspp.desktop
Normal file
7
games-emulation/ppsspp/files/ppsspp.desktop
Normal file
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=PPSSPP
|
||||
Comment=A PSP emulator
|
||||
Exec=/usr/games/bin/ppsspp
|
||||
Icon=ppsspp-icon
|
||||
Categories=Game;
|
||||
128
games-emulation/ppsspp/ppsspp-9999.ebuild
Normal file
128
games-emulation/ppsspp/ppsspp-9999.ebuild
Normal file
@@ -0,0 +1,128 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
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"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
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. "
|
||||
}
|
||||
Reference in New Issue
Block a user