Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rydia
duckstation
pclos-duckstation.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pclos-duckstation.spec of Package duckstation
Name: duckstation Summary: Sony PlayStation(TM) Emulator Version: 273979405d4730491ac094c008a0e567ce3ccaad Release: 2 License: GPL3 Group: Emulators Url: https://github.com/stenzek/duckstation Source0: %{version}.tar.gz Patch0: 01-ftbfs.diff Patch1: 02-data-root.diff BuildRoot: %{_tmppath}/%{name}-buildroot #--------------------------------------------- BuildRequires: cmake BuildRequires: git BuildRequires: SDL2-devel BuildRequires: gtk3-devel BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qttools-devel BuildRequires: curl-devel BuildRequires: libevdev-devel BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel BuildRequires: xorg-x11-proto-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libxkbcommon-devel BuildRequires: qt6-qtbase-private-devel BuildRequires: clang-libs BuildRequires: util-linux-core BuildRequires: wayland-devel BuildRequires: egl-wayland-devel BuildRequires: extra-cmake-modules BuildRequires: clang #---------------------------------------------------------------------------- %description DuckStation is an simulator/emulator of the Sony PlayStation(TM) console, focusing on playability, speed, and long-term maintainability. The goal is to be as accurate as possible while maintaining performance suitable for low-end devices. "Hack" options are discouraged, the default configuration should support all playable games with only some of the enhancements having compatibility issues. A "BIOS" ROM image is required to to start the emulator and to play games. #---------------------------------------------------------------------------- %prep %setup -qn %{name}-%{version} %patch0 -p1 %patch1 -p1 %build %cmake .. \ -DBUILD_NOGUI_FRONTEND=OFF\ -DBUILD_QT_FRONTEND=ON\ -DENABLE_CHEEVOS=ON\ -DENABLE_DISCORD_PRESENCE=OFF\ -DUSE_DRMKMS=OFF\ -DUSE_EGL=ON\ -DUSE_EVDEV=ON\ -DUSE_FBDEV=ON\ -DUSE_SDL2=ON\ -DUSE_WAYLAND=ON\ -DUSE_X11=ON\ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_CXX_COMPILER=clang++ %cmake_build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} cat > %buildroot%_bindir/%{name} << EOF #!/bin/sh cd %{_datadir}/%{name}/ %{_libexecdir}/%{name}/%{name}-qt EOF chmod a+x %{buildroot}%{_bindir}/%{name} mkdir -p %{buildroot}%{_datadir}/%{name}/ cp -arv %{_vpath_builddir}/bin/* %{buildroot}%{_datadir}/%{name}/ mkdir -p %{buildroot}%{_libexecdir}/%{name}/ mv %{buildroot}%{_datadir}/%{name}/%{name}-qt %{buildroot}%{_libexecdir}/%{name}/ install -d -m 0755 %buildroot%_datadir/pixmaps cp %{_vpath_builddir}/bin/resources/images/duck.png %{buildroot}%{_datadir}/pixmaps/%{name}.png install -d %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Duckstation Comment=%{summary} Exec=%{_bindir}/%{name} Icon=%{name} Terminal=false Type=Application StartupNotify=true Categories=Game;X-MandrivaLinux-MoreApplications-Emulators; EOF %files %doc LICENSE README.md CONTRIBUTORS.md %_bindir/%{name} %{_libexecdir}/%{name}/* %{_datadir}/%{name}/* %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %clean rm -rf %{buildroot} rm -rf $RPM_BUILD_DIR/%{name}-%{version}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor