Accepting request 183035 from home:dvlara

PSP emulator.

OBS-URL: https://build.opensuse.org/request/show/183035
OBS-URL: https://build.opensuse.org/package/show/Emulators/ppsspp?expand=0&rev=1
This commit is contained in:
Marcus Meissner 2013-07-29 07:55:41 +00:00 committed by Git OBS Bridge
commit 4f106f5171
7 changed files with 125 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bfaf48e2cf0fe5574c9ac2e6508430f36407c813ab179ded45ef9a428f2c0fc0
size 79011190

77
ppsspp-git.spec Normal file
View File

@ -0,0 +1,77 @@
#
# spec file for package
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ppsspp-git
Version: 20130427
Release: 1
License: GPL-2.0
Summary: PSP emulator written in C++
Url: http://www.ppsspp.org
Group: System/Emulators/Other
Source: %{name}-%{version}.tar.gz
Source1: ppsspp.desktop
Source2: ppsspp.sh
Source3: ppsspp.png
BuildRequires: gcc gcc-c++ libSDL-devel cmake zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
PPSSPP is a PSP emulator written in C++, and translates PSP CPU instructions directly into optimized x86, x64 and ARM machine code, using JIT recompilers (dynarecs).
PPSSPP can thus run on quite low-spec hardware, including stronger ARM-based phones and tablets, as long as there's support for OpenGL ES 2.0.
This package contains a GIT snapshot. Updated frequently.
%prep
%setup -q -n %{name}
%build
mkdir build
cd build
cmake ..
make %{?_smp_mflags}
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 -D build/PPSSPPSDL $RPM_BUILD_ROOT/usr/bin/
install -m 755 -D build/PPSSPPHeadless $RPM_BUILD_ROOT/usr/bin/
install -m 755 -D %{SOURCE2} $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/ppsspp/assets
cp -r build/assets/* $RPM_BUILD_ROOT/usr/share/ppsspp/assets
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
install -m 444 -D %{SOURCE1} $RPM_BUILD_ROOT/usr/share/applications
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
install -m 444 -D %{SOURCE3} $RPM_BUILD_ROOT/usr/share/pixmaps
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
/usr/bin/PPSSPPSDL
/usr/bin/PPSSPPHeadless
%attr(555,root,root)/usr/bin/ppsspp.sh
/usr/share/ppsspp
/usr/share/pixmaps/ppsspp.png
%attr(644,root,root)/usr/share/applications/ppsspp.desktop
%changelog
* Sat Apr 27 2013 David Lara <dvlara@gmail.com> - 20130427-2
- Fixed copy files to share directory
* Fri Apr 26 2013 David Lara <dvlara@gmail.com> - 20130427-1
- First release for openSUSE 12.x
- Based on AUR package by Clement Guerin

14
ppsspp.desktop Normal file
View File

@ -0,0 +1,14 @@
[Desktop Entry]
X-SuSE-translate=true
Categories=Application;Game;ArcadeGame;
Encoding=UTF-8
Name=PPSSPP
Name[es]=PPSSPP
GenericName=PPSSPP
Comment=PSP Emulator
Comment[es]=Emulador consola PSP
Exec=/usr/bin/ppsspp.sh
Icon=ppsspp
Terminal=false
StartupNotify=false
Type=Application

3
ppsspp.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:031e277ddf7d39b8d7a82bc8f5f35e9329bcdc4608ddc2dbf301ed95eb6fdc3e
size 13123

4
ppsspp.sh Normal file
View File

@ -0,0 +1,4 @@
#/bin/bash
cd /usr/share/ppsspp
/usr/bin/PPSSPPSDL "$@"