[pcsx2] Try fix f27 (#4775) use compat-wxGTK3-gtk2-devel Add BR xz-devel to dectect LibLZMA Remove manually-
by Sérgio M. Basto
commit 66b8b63438566461d879265cfe0f6b3549a1a253
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun May 20 22:44:54 2018 +0100
Try fix f27 (#4775) use compat-wxGTK3-gtk2-devel
Add BR xz-devel to dectect LibLZMA
Remove manually-specified variables were not used by the project
Add DISABLE_ADVANCE_SIMD=TRUE, recomended by upstream
OpenGL_GL_PREFERENCE=GLVND to not use legacy OpenGL
pcsx2.spec | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/pcsx2.spec b/pcsx2.spec
index 467dc13..f55bdf1 100644
--- a/pcsx2.spec
+++ b/pcsx2.spec
@@ -1,6 +1,6 @@
Name: pcsx2
Version: 1.4
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: A Sony Playstation2 emulator
License: GPLv3
URL: https://github.com/PCSX2/pcsx2
@@ -32,7 +32,7 @@ BuildRequires: gtk2-devel
#BuildRequires: gtk3-devel
BuildRequires: portaudio-devel
BuildRequires: sparsehash-devel
-%if (0%{?fedora} >= 28)
+%if (0%{?fedora} >= 27)
BuildRequires: compat-wxGTK3-gtk2-devel
%else
BuildRequires: wxGTK-devel
@@ -41,6 +41,7 @@ BuildRequires: wxGTK-devel
BuildRequires: soundtouch-devel
BuildRequires: libaio-devel
BuildRequires: lzma-devel
+BuildRequires: xz-devel
# for /usr/bin/perl
%if 0%{?rhel} && 0%{?rhel} < 8
BuildRequires: perl
@@ -82,23 +83,22 @@ sed -i 's/@PCSX2_MENU_CATEGORIES@/Game;Emulator;GTK;/g' linux_various/PCSX2.desk
# Extensive testing will is therefore needed. See rpmfusion bug #2455
%cmake . -DPACKAGE_MODE=TRUE \
- -DGLSL_SHADER_DIR=%{_libdir}/pcsx2 \
-DBUILD_REPLAY_LOADERS=FALSE \
-DXDG_STD=TRUE \
-DGLSL_API=TRUE \
- -DFORCE_INTERNAL_SOUNDTOUCH=FALSE \
- -DFORCE_INTERNAL_SDL=FALSE \
-DPLUGIN_DIR=%{_libdir}/pcsx2 \
-DGAMEINDEX_DIR=%{_datadir}/pcsx2 \
-DCMAKE_BUILD_STRIP=FALSE \
-DGTK3_API=FALSE \
-%if (0%{?fedora} >= 28)
+%if (0%{?fedora} >= 27)
-DWX28_API=FALSE \
%else
-DWX28_API=TRUE \
%endif
-DEXTRA_PLUGINS=FALSE \
-DSDL2_API=FALSE \
+ -DDISABLE_ADVANCE_SIMD=TRUE \
+ -DOpenGL_GL_PREFERENCE=GLVND \
-DCMAKE_BUILD_TYPE=Release
@@ -159,6 +159,13 @@ fi
%changelog
+* Sun May 20 2018 Sérgio Basto <sergio(a)serjux.com> - 1.4-8
+- Try fix f27 (#4775) use compat-wxGTK3-gtk2-devel
+- Add BR xz-devel to dectect LibLZMA
+- Remove manually-specified variables were not used by the project
+- Add DISABLE_ADVANCE_SIMD=TRUE, recomended by upstream
+- OpenGL_GL_PREFERENCE=GLVND to not use legacy OpenGL
+
* Fri Mar 02 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> - 1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 6 months
[fs-uae-launcher] Fixed AppData file (BZ #4845) Used new AppData directory Removed obsolete scriptlets
by Andrea Musuruane
commit 0aab22536aa3182cb5dbea47d1d96ae1bc2c99f4
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Sun May 20 10:26:22 2018 +0200
Fixed AppData file (BZ #4845)
Used new AppData directory
Removed obsolete scriptlets
fs-uae-launcher.appdata.xml | 2 +-
fs-uae-launcher.spec | 30 ++++++++++--------------------
2 files changed, 11 insertions(+), 21 deletions(-)
---
diff --git a/fs-uae-launcher.appdata.xml b/fs-uae-launcher.appdata.xml
index 68ad476..d2ba7e1 100644
--- a/fs-uae-launcher.appdata.xml
+++ b/fs-uae-launcher.appdata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017 Andrea Musuruane <musuruan(a)gmail.com -->
<component type="desktop">
- <id>abbaye.desktop</id>
+ <id>fs-uae-launcher.desktop</id>
<metadata_license>CC-BY-SA-3.0</metadata_license>
<project_license>GPL-2.0+ and MIT</project_license>
<name>FS-UAE Launcher</name>
diff --git a/fs-uae-launcher.spec b/fs-uae-launcher.spec
index 9a3b376..a72d227 100644
--- a/fs-uae-launcher.spec
+++ b/fs-uae-launcher.spec
@@ -2,7 +2,7 @@
Name: fs-uae-launcher
Version: 2.8.3
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Graphical configuration frontend and launcher for FS-UAE
# The entire source code is GPLv2+ except oyoyo which is MIT
@@ -67,9 +67,9 @@ desktop-file-validate \
%{buildroot}%{_datadir}/applications/%{name}.desktop
# Install AppData file
-install -d %{buildroot}%{_datadir}/appdata
-install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
+install -d %{buildroot}%{_datadir}/metainfo
+install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
# Symlink system fonts
rm %{buildroot}%{_datadir}/%{name}/workspace/ui/data/NotoSans-Regular.ttf
@@ -88,25 +88,10 @@ ln -s %{_datadir}/fonts/liberation/LiberationSans-Bold.ttf \
%find_lang %{name}
-%post
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-
-%postun
-if [ $1 -eq 0 ] ; then
- /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
-
%files -f %{name}.lang
%{_bindir}/%{name}
%{_datadir}/%{name}
-%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/metainfo/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%doc %{_pkgdocdir}
@@ -115,6 +100,11 @@ fi
%changelog
+* Sun May 20 2018 Andrea Musuruane <musuruan(a)gmail.com> - 2.8.3-6
+- Fixed AppData file (BZ #4845)
+- Used new AppData directory
+- Removed obsolete scriptlets
+
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> - 2.8.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 6 months
[fs-uae-arcade] Fixed AppData file (BZ #4845) Used new AppData directory Removed obsolete scriptlets
by Andrea Musuruane
commit 4862d5177ce73c0c5183b80cc603db86a7384476
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Sun May 20 10:07:54 2018 +0200
Fixed AppData file (BZ #4845)
Used new AppData directory
Removed obsolete scriptlets
fs-uae-arcade.appdata.xml | 2 +-
fs-uae-arcade.spec | 30 ++++++++++--------------------
2 files changed, 11 insertions(+), 21 deletions(-)
---
diff --git a/fs-uae-arcade.appdata.xml b/fs-uae-arcade.appdata.xml
index 47c50c0..40c553d 100644
--- a/fs-uae-arcade.appdata.xml
+++ b/fs-uae-arcade.appdata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017 Andrea Musuruane <musuruan(a)gmail.com -->
<component type="desktop">
- <id>abbaye.desktop</id>
+ <id>fs-uae-arcade.desktop</id>
<metadata_license>CC-BY-SA-3.0</metadata_license>
<project_license>GPL-2.0+ and MIT</project_license>
<name>FS-UAE Arcade</name>
diff --git a/fs-uae-arcade.spec b/fs-uae-arcade.spec
index 0af0a70..c70e602 100644
--- a/fs-uae-arcade.spec
+++ b/fs-uae-arcade.spec
@@ -2,7 +2,7 @@
Name: fs-uae-arcade
Version: 2.8.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Fullscreen game browser for FS-UAE
# The entire source code is GPLv2+ except oyoyo which is MIT
@@ -65,9 +65,9 @@ desktop-file-validate \
%{buildroot}%{_datadir}/applications/%{name}.desktop
# Install AppData file
-install -d %{buildroot}%{_datadir}/appdata
-install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
+install -d %{buildroot}%{_datadir}/metainfo
+install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
# Symlink system font
rm %{buildroot}%{_datadir}/%{name}/arcade/res/LiberationSans-Bold.ttf
@@ -75,25 +75,10 @@ ln -s %{_datadir}/fonts/liberation/LiberationSans-Bold.ttf \
%{buildroot}%{_datadir}/%{name}/arcade/res/LiberationSans-Bold.ttf
-%post
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-
-%postun
-if [ $1 -eq 0 ] ; then
- /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
-
%files
%{_bindir}/%{name}
%{_datadir}/%{name}
-%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/metainfo/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%exclude %{_pkgdocdir}
@@ -101,6 +86,11 @@ fi
%changelog
+* Sun May 20 2018 Andrea Musuruane <musuruan(a)gmail.com> - 2.8.3-5
+- Fixed AppData file (BZ #4845)
+- Used new AppData directory
+- Removed obsolete scriptlets
+
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> - 2.8.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 6 months