forked from pool/retroarch
- Cleanup with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=10
This commit is contained in:
parent
9fedeb1027
commit
5fee4f17f6
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 29 08:57:44 UTC 2018 - Ismail Dönmez <idonmez@suse.com>
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 28 17:59:34 UTC 2018 - sean@suspend.net
|
Sun Oct 28 17:59:34 UTC 2018 - sean@suspend.net
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package retroarch
|
# spec file for package retroarch
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -20,55 +20,55 @@ Name: retroarch
|
|||||||
Version: 1.7.5
|
Version: 1.7.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Emulator frontend
|
Summary: Emulator frontend
|
||||||
License: GPL-3.0
|
License: GPL-3.0-only
|
||||||
Url: http://www.retroarch.com
|
|
||||||
Group: System/Emulators/Other
|
Group: System/Emulators/Other
|
||||||
|
URL: http://www.retroarch.com
|
||||||
# From https://github.com/libretro/RetroArch/releases
|
# From https://github.com/libretro/RetroArch/releases
|
||||||
Source0: https://github.com/libretro/RetroArch/releases/download/v%{version}/RetroArch-%{version}.tar.xz
|
Source0: https://github.com/libretro/RetroArch/releases/download/v%{version}/RetroArch-%{version}.tar.xz
|
||||||
Source9: %{name}.desktop
|
Source9: %{name}.desktop
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: p7zip
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(freetype2)
|
BuildRequires: python3-devel
|
||||||
BuildRequires: pkgconfig(gbm)
|
BuildRequires: systemd-devel
|
||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: unzip
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
BuildRequires: pkgconfig(xinerama)
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
BuildRequires: pkgconfig(xkbcommon)
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
BuildRequires: pkgconfig(xv)
|
|
||||||
BuildRequires: pkgconfig(wayland-egl)
|
|
||||||
BuildRequires: pkgconfig(libass)
|
|
||||||
BuildRequires: pkgconfig(libudev)
|
|
||||||
BuildRequires: pkgconfig(libusb-1.0)
|
|
||||||
BuildRequires: pkgconfig(libv4l2)
|
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
|
||||||
BuildRequires: pkgconfig(alsa)
|
|
||||||
BuildRequires: pkgconfig(flac)
|
|
||||||
BuildRequires: pkgconfig(jack)
|
|
||||||
BuildRequires: pkgconfig(libpulse)
|
|
||||||
BuildRequires: pkgconfig(openal)
|
|
||||||
BuildRequires: pkgconfig(sdl2)
|
|
||||||
BuildRequires: pkgconfig(SDL2_gfx)
|
BuildRequires: pkgconfig(SDL2_gfx)
|
||||||
BuildRequires: pkgconfig(SDL2_image)
|
BuildRequires: pkgconfig(SDL2_image)
|
||||||
BuildRequires: pkgconfig(SDL2_mixer)
|
BuildRequires: pkgconfig(SDL2_mixer)
|
||||||
BuildRequires: pkgconfig(SDL2_net)
|
BuildRequires: pkgconfig(SDL2_net)
|
||||||
BuildRequires: pkgconfig(SDL2_ttf)
|
BuildRequires: pkgconfig(SDL2_ttf)
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(alsa)
|
||||||
BuildRequires: pkgconfig(Qt5Gui)
|
BuildRequires: pkgconfig(flac)
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: pkgconfig(freetype2)
|
||||||
|
BuildRequires: pkgconfig(gbm)
|
||||||
|
BuildRequires: pkgconfig(gl)
|
||||||
|
BuildRequires: pkgconfig(jack)
|
||||||
|
BuildRequires: pkgconfig(libass)
|
||||||
|
BuildRequires: pkgconfig(libpulse)
|
||||||
|
BuildRequires: pkgconfig(libudev)
|
||||||
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
|
BuildRequires: pkgconfig(libv4l2)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(openal)
|
||||||
|
BuildRequires: pkgconfig(sdl2)
|
||||||
|
BuildRequires: pkgconfig(wayland-egl)
|
||||||
|
BuildRequires: pkgconfig(x11)
|
||||||
|
BuildRequires: pkgconfig(xinerama)
|
||||||
|
BuildRequires: pkgconfig(xkbcommon)
|
||||||
|
BuildRequires: pkgconfig(xv)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: systemd-devel
|
|
||||||
BuildRequires: unzip p7zip
|
|
||||||
|
|
||||||
%if ( 0%{?suse_version} || 0%{?leap_version} )
|
%if ( 0%{?suse_version} || 0%{?leap_version} )
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: vulkan-devel
|
||||||
BuildRequires: pkgconfig(libavcodec)
|
BuildRequires: pkgconfig(libavcodec)
|
||||||
BuildRequires: pkgconfig(libavdevice)
|
BuildRequires: pkgconfig(libavdevice)
|
||||||
BuildRequires: pkgconfig(libavformat)
|
BuildRequires: pkgconfig(libavformat)
|
||||||
BuildRequires: pkgconfig(libavutil)
|
BuildRequires: pkgconfig(libavutil)
|
||||||
BuildRequires: pkgconfig(libswscale)
|
BuildRequires: pkgconfig(libswscale)
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
BuildRequires: vulkan-devel
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -80,7 +80,7 @@ have, such as real-time rewinding and game-aware shading.
|
|||||||
%setup -q -n RetroArch-%{version}
|
%setup -q -n RetroArch-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="%{optflags}"
|
||||||
export CXXFLAGS="$CFLAGS"
|
export CXXFLAGS="$CFLAGS"
|
||||||
./configure --prefix=%{_prefix} \
|
./configure --prefix=%{_prefix} \
|
||||||
--enable-materialui \
|
--enable-materialui \
|
||||||
@ -121,7 +121,7 @@ export CXXFLAGS="$CFLAGS"
|
|||||||
%endif
|
%endif
|
||||||
--enable-7zip \
|
--enable-7zip \
|
||||||
--enable-mmap
|
--enable-mmap
|
||||||
make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -135,7 +135,6 @@ install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/applications/
|
|||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}.cfg
|
%config(noreplace) %{_sysconfdir}/%{name}.cfg
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/%{name}-cg2glsl
|
%{_bindir}/%{name}-cg2glsl
|
||||||
@ -149,6 +148,6 @@ install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/applications/
|
|||||||
%{_datadir}/pixmaps/%{name}.svg
|
%{_datadir}/pixmaps/%{name}.svg
|
||||||
%{_mandir}/man?/%{name}.?*
|
%{_mandir}/man?/%{name}.?*
|
||||||
%{_mandir}/man?/%{name}-cg2glsl.?*
|
%{_mandir}/man?/%{name}-cg2glsl.?*
|
||||||
%{_prefix}/share/doc/%{name}
|
%{_datadir}/doc/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user