Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kde5.git;a=commitdiff;h=1f30fe785c862ee46d0dc9a852240a5fe49d937f

commit 1f30fe785c862ee46d0dc9a852240a5fe49d937f
Author: crazy <[email protected]>
Date:   Sat Oct 14 20:57:40 2017 +0200

gammaray-2.8.1-2-x86_64
* rebuild with qt5
* added an patch to fix icons installation

diff --git a/source/xapps-extra/gammaray/FrugalBuild 
b/source/xapps-extra/gammaray/FrugalBuild
index 14ab70e..d78fadc 100644
--- a/source/xapps-extra/gammaray/FrugalBuild
+++ b/source/xapps-extra/gammaray/FrugalBuild
@@ -3,21 +3,23 @@

pkgname=gammaray
pkgver=2.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="GammaRay is a software introspection tool for Qt applications."
_F_github_author="KDAB"
_F_github_name="GammaRay"
_F_github_tag_v="y"
_F_cmake_confopts+=" -DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
Finclude github cmake
-depends=('syntax-highlighting' 'kcoreaddons' 'kdstatemachineeditor>=1.2.1' \
-       'qt5-webkit>=5.9.0' 'qt5-wayland>=5.9.1' 'qt5-svg>=5.9.1' 
'qt5-tools>=5.9.1' 'qt5-scxml>=5.9.1' \
-       'qt5-3d>=5.9.1' 'qt5-script>=5.9.1' 'qt5-connectivity>=5.9.1' 
'qt5-remoteobjects>=5.9.1')
+source+=(icons.patch)
+depends=('syntax-highlighting' 'kcoreaddons' 'kdstatemachineeditor>=1.2.1-2' \
+       'qt5-webkit>=5.212.0' 'qt5-wayland>=5.9.2' 'qt5-svg>=5.9.2' 
'qt5-tools>=5.9.2' 'qt5-scxml>=5.9.2' \
+       'qt5-3d>=5.9.2' 'qt5-script>=5.9.2' 'qt5-connectivity>=5.9.2' 
'qt5-remoteobjects>=5.9.2')
makedepends+=('x11-protos' 'extra-cmake-modules')
rodepends=('gdb')
groups=('xapps-extra')
archs=('x86_64')
-sha1sums=('07b2b03e84b895d64183b8eeb89fd2bd8d5f9015')
+sha1sums=('07b2b03e84b895d64183b8eeb89fd2bd8d5f9015' \
+          '96ce934527006639d7ba2ce5b44a3180462ef7ed')
_F_cd_path="GammaRay-$pkgver"

# optimization OK
diff --git a/source/xapps-extra/gammaray/icons.patch 
b/source/xapps-extra/gammaray/icons.patch
new file mode 100644
index 0000000..1e12dea
--- /dev/null
+++ b/source/xapps-extra/gammaray/icons.patch
@@ -0,0 +1,19 @@
+diff -Naur GammaRay-2.8.1/ui/resources/CMakeLists.txt 
GammaRay-2.8.1-p/ui/resources/CMakeLists.txt
+--- GammaRay-2.8.1/ui/resources/CMakeLists.txt 2017-09-05 23:29:29.000000000 
+0200
++++ GammaRay-2.8.1-p/ui/resources/CMakeLists.txt       2017-10-14 
20:47:47.112192388 +0200
+@@ -4,13 +4,13 @@
+     foreach(size 16 24 32 48 64 128 256 512)
+         foreach(scale 1 2 3)
+             set(scaled_size ${size}x${size})
++            set(source gammaray/GammaRay-${scaled_size}.png)
+
+             if(${scale} GREATER 1)
+                 set(scaled_size ${size}x${size}@${scale})
++                set(source gammaray/GammaRay-${scaled_size}x.png)
+             endif()
+
+-            set(source gammaray/GammaRay-${scaled_size}x.png)
+-
+             if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${source})
+                 install(
+                     FILES ${CMAKE_CURRENT_SOURCE_DIR}/${source}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to