diff options
author | Luca Weiss | 2016-10-14 22:23:27 +0200 |
---|---|---|
committer | Luca Weiss | 2016-10-14 22:23:27 +0200 |
commit | c99f17d82a05fa967de9159996a14c33117b0ffa (patch) | |
tree | 35bdc404e3d76440b9a0cdc169b4f3f5b6cb6da9 /KDE1Macros.patch | |
parent | c1eaacfb697a77d7a8cb63a633e64f15bfa122b6 (diff) | |
download | aur-c99f17d82a05fa967de9159996a14c33117b0ffa.tar.gz |
Add patch and bump to pkgrel 2
Diffstat (limited to 'KDE1Macros.patch')
-rw-r--r-- | KDE1Macros.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/KDE1Macros.patch b/KDE1Macros.patch new file mode 100644 index 000000000000..79c231177a5c --- /dev/null +++ b/KDE1Macros.patch @@ -0,0 +1,33 @@ +80a81 +> endforeach() +84c85,91 +< function (install_icon icon targetdir) +--- +> function (install_icon_int icon targetdir absolutepath) +> if(absolutepath) +> set(targetpath ${targetdir}) +> else() +> set(targetpath "${KDE1_ICONDIR}/${targetdir}") +> endif() +> +86c93 +< install(FILES ${icon} DESTINATION ${KDE1_ICONDIR}/${targetdir} RENAME ${icon}) +--- +> install(FILES ${icon} DESTINATION ${targetpath} RENAME ${icon}) +89c96 +< install(FILES mini-${icon} DESTINATION ${KDE1_MINIDIR}/${targetdir} RENAME ${icon}) +--- +> install(FILES mini-${icon} DESTINATION ${targetpath} RENAME ${icon}) +92c99 +< install(FILES large-${icon} DESTINATION ${KDE1_ICONDIR}/${targetdir}/large/ RENAME ${icon}) +--- +> install(FILES large-${icon} DESTINATION ${targetpath}/large/ RENAME ${icon}) +94a102,109 +> +> function (install_icon icon targetdir) +> install_icon_int("${icon}" "${targetdir}" FALSE) +> endfunction () +> +> function (install_icon_abs icon targetdir) +> install_icon_int("${icon}" "${targetdir}" TRUE) +> endfunction() |