diff --git a/files/0001-Update-default-style-for-better-integration.patch b/files/0001-Update-default-style-for-better-integration.patch new file mode 100644 --- /dev/null +++ b/files/0001-Update-default-style-for-better-integration.patch @@ -0,0 +1,28 @@ +From cf6e549f133b2fe7d9e8cabd8953a4101ef46431 Mon Sep 17 00:00:00 2001 +From: Yurizal Susanto +Date: Wed, 31 May 2017 10:57:58 +0700 +Subject: [PATCH 1/1] Update default style for better integration + +Change from Fusion to Native system style. + +Signed-off-by: Yurizal Susanto +--- + src/tiled/preferences.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/tiled/preferences.cpp b/src/tiled/preferences.cpp +index 15875895..0496f142 100755 +--- a/src/tiled/preferences.cpp ++++ b/src/tiled/preferences.cpp +@@ -91,7 +91,7 @@ Preferences::Preferences() + (intValue("ApplicationStyle", SystemDefaultStyle)); + #else + mApplicationStyle = static_cast +- (intValue("ApplicationStyle", TiledStyle)); ++ (intValue("ApplicationStyle", SystemDefaultStyle)); + #endif + + // Backwards compatibility check since 'FusionStyle' was removed from the +-- +2.13.0 + diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,6 +1,6 @@ name : tiled version : 1.0.0 -release : 4 +release : 5 source : - https://github.com/bjorn/tiled/archive/v1.0.0.tar.gz : a5e5f1f3ec9428f124e1fbe65ac3b7ab3c17dc13a3c0d489ff6d356f7f6ad43c license : @@ -16,6 +16,7 @@ - pkgconfig(gl) - pkgconfig(Qt5Help) setup : | + %patch -p1 < $pkgfiles/0001-Update-default-style-for-better-integration.patch %qmake PREFIX=/usr build : | %make diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,8 +2,8 @@ tiled - Sönke Behrendt - thesoenke@outlook.com + Yurizal Susanto + rizalsagi@gmail.com Apache-2.0 BSD-2-Clause @@ -55,19 +55,19 @@ programming.devel - tiled + tiled /usr/lib/lib*.so - - 2017-05-28 + + 2017-05-31 1.0.0 Packaging update - Sönke Behrendt - thesoenke@outlook.com + Yurizal Susanto + rizalsagi@gmail.com \ No newline at end of file