diff --git a/_service b/_service
index 98ea058..d1237e6 100644
--- a/_service
+++ b/_service
@@ -6,7 +6,7 @@
@PARENT_TAG@~git%cd
v(.*)
enable
- llvm
+ ffmpeg
wxWidgets
*.cmd
*.dll
diff --git a/_servicedata b/_servicedata
index 46c4c5e..0c90e86 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/RPCS3/rpcs3.git
- a6208d2bd77ad67a3e3674cb5e75329b36a86807
\ No newline at end of file
+ f908daf323176789e089c777168835c1eb9258ca
\ No newline at end of file
diff --git a/rpcs3-0.0.4~git20171223.tar.xz b/rpcs3-0.0.4~git20171223.tar.xz
deleted file mode 100644
index 166ec1f..0000000
--- a/rpcs3-0.0.4~git20171223.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bf88be58b36f3a2657f61a77d2e67ca5bef1ff5d7c8b16cedb7d2968c162b244
-size 150421088
diff --git a/rpcs3-0.0.4~git20180120.tar.xz b/rpcs3-0.0.4~git20180120.tar.xz
new file mode 100644
index 0000000..3a2f352
--- /dev/null
+++ b/rpcs3-0.0.4~git20180120.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6d2a0829271e4a3257703aa7aa00f1b0719d809de8180dbd0cba14b1ccfa9ce1
+size 171533948
diff --git a/rpcs3.changes b/rpcs3.changes
index 836cb88..3d49d60 100644
--- a/rpcs3.changes
+++ b/rpcs3.changes
@@ -1,3 +1,103 @@
+-------------------------------------------------------------------
+Sat Jan 20 00:12:46 UTC 2018 - pousaduarte@gmail.com
+
+- Update to version 0.0.4~git20180120:
+ * SPU/MFC: check for sync command before doing a list transfer
+ * install icons to /usr/share and load them from there
+ * rsx/texture_cache: Remove hacks; it has been proven that in offsets are in x16 fixed point
+ * rsx/gl/vk: Simulate z clipping with selective depth clamp - The scale offset matrix is fine but on real hardware the z results seem to be independent of near/far clipping distances -- If depth falls within near/far, clamp depth value to [0,1]
+ * overlay: Fixes - Add fallback fonts including attempting to find glyphs in dev_flash - Fix vulkan hang on startup if icons are not present
+ * rsx: Synchronization improvements - Always flush the primary queue and wait if not involking readback from rsx thread -- Should fix some instances of device_lost when using WCB -- Marked remaining case as TODO -- TODO: optimize amount of time rsx waits for external threads trying to read
+ * cell/scheduler: Manage thread placement depending on cpu hardware
+ * [Travis] Update urls to retrieve glew and vulkan deb packages
+ * RSX: properly handle disconnected pads
+ * Qt: remove obsolete and faulty m_icon_color. RepaintGui does it already
+ * Improve cellSearch implementation
+
+-------------------------------------------------------------------
+Thu Jan 18 11:54:04 UTC 2018 - pousaduarte@gmail.com
+
+- Update to version 0.0.4~git20180117:
+ * rsx/overlays: Introduce 'native' HUD UI and implement some common dialogs (#4011)
+ * Fix #3950
+ * [GUI] remove the letter v from the emu's version
+ * [GUI] add commit hash to game panel if not master
+ * Qt/Input: use name_string instead of hard coded strings
+ * Qt/Input: enable XInput configs with disconnected devices
+ * Qt: fix deadzone preview size on high dpi
+ * SPU: Allow writing to the WrSRR0 channel
+ * SPU: Allow reading of the RdSRR0 channel
+ * Update current firmware version
+ * Add option to disable on-disk shader cache (#4041)
+ * Fix "cellGame: cellGameDataCheck arg validate"
+ * Qt: handler zero-width columns in gamelist
+ * Detect Vulkan Xlib/Wayland surface support at runtime (#4048)
+ * cellGame: cellGameDataCheck arg validate
+ * rsx: add log for potential source of error
+ * rsx: Fix depth clipping
+ * d3d12: fix invalid framebuffer crash and shader compile
+ * rsx: fix image_in arg and swizzle fix
+ * update vulkan submodules
+ * handle some warnings
+ * Qt: fix CurrentSelectionIconPath()
+ * Qt: fix register editor
+ * improve cellPad
+ * Input: init pads as disconnected
+
+-------------------------------------------------------------------
+Sat Jan 13 13:55:13 UTC 2018 - pousaduarte@gmail.com
+
+- Update to version 0.0.4~git20180113:
+ * GUI/Themes: Fix GameList Toolbar Icon Color
+ * GUI/Themes: Fix GameList Icon Backgrounds
+ * Fix windows build
+ * Add support for Vulkan on Wayland
+ * Qt/Input: Introduce profiles
+ * Also stub some similar cellGameUpdate functions
+ * Better stub cellGameUpdateCheckStartAsyncEx/FinishAsyncEx, fixes PAIN
+ * .travis.yml: set git depth to false
+ * Fix debug build
+ * Qt: implement simple find dialog for logs (#3941)
+ * SPU: rewrite ROTH (AVX-512)
+ * Improve Restart function
+ * Add Start Threshold parameter (ALSA)
+ * rsx: Robustness fixes - Track last working state and reset to it if RSX starts to desync -- This is especially useful when running vulkan since the renderer will easily outpace the rest of the system when merely recording draw commands - Ignore empty sets -- Mark empty/invalid IB sets as having 0 element counts.
+ * Fix #4005 regression
+ * [gui] Show total number of llvm compilation dialogs
+ * MsgDialog: Add SetMsg() for changing main text
+ * fix clang warning: logical-op-parentheses
+ * Trophy: Return correct disk space requirements
+ * PPU: use shared jit_compiler instance
+ * Travis: Pass verbose to Qt installer (#4008)
+ * rsx: Workaround for nvidia linux - For some reason, using 1.E-x notation does not work on nvidia linux. Could be a bug in spir-v generator or the driver itself
+ * rsx: Invalidate surface configuration if stencil state is changed - Stencil state afects validity of a depth/stencil surface same as depth state
+ * rsx: Implement depth clamping
+ * rsx/vk: Synchronize access to queue submit calls - Should prevent concurrent access on the present/graphics queue
+ * gl: Remove flag test optimization as it does not work properly - Most texture cache operations will break sampler state and the extra complexity is not worth the very small speed bump
+ * Qt: fix compat list sort (#4003)
+ * Warn about corrupted PARAM.SFO
+ * Trophy: check both bdvd and hdd locations
+ * cellGame: don't write empty TITLE_IDs in PARAM.SFO
+
+-------------------------------------------------------------------
+Thu Jan 4 14:57:38 UTC 2018 - pousaduarte@gmail.com
+
+- Added llvm5.patch to fix build with LLVM5
+
+-------------------------------------------------------------------
+Fri Dec 29 17:56:02 UTC 2017 - pousaduarte@gmail.com
+
+- Update to version 0.0.4~git20171229:
+ * SPU: minor addition for CFLTU, CUFLT
+ * Fix game category issues
+ * Remove /app_home/ dependency
+ * Fix lv2_socket id_base
+ * SPU: minor additions for AVX2+
+ * Fix primary stack size
+ * Set lv2_socket id_base (#3983)
+ * Fix cellPadSetPortSetting (#3980)
+ * Input: evdev: add positive axis list yml to handle 0+ range sticks
+
-------------------------------------------------------------------
Sat Dec 23 19:32:13 UTC 2017 - pousaduarte@gmail.com
diff --git a/rpcs3.spec b/rpcs3.spec
index 3c6cde2..a4ce0a7 100644
--- a/rpcs3.spec
+++ b/rpcs3.spec
@@ -17,7 +17,7 @@
Name: rpcs3
-Version: 0.0.4~git20171223
+Version: 0.0.4~git20180120
Release: 0
Summary: PS3 emulator/debugger
License: GPL-2.0
@@ -47,14 +47,14 @@ BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libavformat)
#qt deps
-BuildRequires: pkgconfig(Qt5Core)
-BuildRequires: pkgconfig(Qt5Widgets)
-BuildRequires: pkgconfig(Qt5DBus)
-BuildRequires: pkgconfig(Qt5Network)
+BuildRequires: pkgconfig(Qt5Core) >= 5.8
+BuildRequires: pkgconfig(Qt5Widgets) >= 5.8
+BuildRequires: pkgconfig(Qt5DBus) >= 5.8
+BuildRequires: pkgconfig(Qt5Network) >= 5.8
#LLVM deps
-BuildRequires: llvm4-devel
-BuildRequires: libLLVM4
+#BuildRequires: llvm4-devel
+#BuildRequires: libLLVM4
Requires(post): hicolor-icon-theme
@@ -67,8 +67,6 @@ An open-source PlayStation 3 emulator/debugger written in C++.
%prep
%setup -q
-#Force Link with shared LLVM libs
-sed -i 's|llvm_map_components_to_libnames(LLVM_LIBS .*)|set(LLVM_LIBS LLVM)|g' rpcs3/CMakeLists.txt
#Generate Version Strings
GIT_VERSION=$(echo %{version} | sed 's|.*git|git~|g')
@@ -81,22 +79,22 @@ echo "// This is a generated file.
// If you don't want this file to update/recompile, change to 1.
#define RPCS3_GIT_VERSION_NO_UPDATE 1
-" > rpcs3/git-version.h
+" > %{name}/git-version.h
%build
-cmake . \
+mkdir ../%{name}_build
+cd ../%{name}_build
+cmake ../%{name}-%{version} \
-DUSE_SYSTEM_FFMPEG="ON" \
-DUSE_SYSTEM_LIBPNG="ON" \
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DCMAKE_INSTALL_LIBEXEC="%{_libexecdir}" \
- -DCMAKE_C_COMPILER=%{_bindir}/clang \
- -DCMAKE_CXX_COMPILER=%{_bindir}/clang++ \
- -DCMAKE_C_FLAGS="%{optflags}" \
- -DCMAKE_CXX_FLAGS="%{optflags}" \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_SKIP_RPATH="YES" \
- -DUSE_SHARED_LLVM_LIBS=ON \
- -DCMAKE_EXE_LINKER_FLAGS="$(llvm-config --libs llvm)"
+ -DCMAKE_C_FLAGS="%{optflags}" \
+ -DCMAKE_CXX_FLAGS="%{optflags}" \
+ -DCMAKE_C_COMPILER=%{_bindir}/clang \
+ -DCMAKE_CXX_COMPILER=%{_bindir}/clang++
%make_jobs
@@ -109,6 +107,7 @@ cmake . \
%icon_theme_cache_postun
%install
+cd ../%{name}_build
%make_install
%files
@@ -116,9 +115,13 @@ cmake . \
%doc README.md
%license LICENSE
-%{_bindir}/%{name}
+%attr(755, root, root) %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
+%{_datadir}/%{name}
+%exclude %{_libexecdir}
+%exclude %{_includedir}
+%exclude %{_bindir}/llvm-tblgen
%changelog