File linphoneqt-0004-genicons.patch of Package linphoneqt

diff -U 3 -H -b -B -d -r -N -- a/linphone-app/assets/icons/genicons_1.1.sh b/linphone-app/assets/icons/genicons_1.1.sh
--- a/linphone-app/assets/icons/genicons_1.1.sh	
+++ b/linphone-app/assets/icons/genicons_1.1.sh	
@@ -19,10 +19,12 @@
 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
 ##
 
+export SCRIPTDIR="$(cd "$(dirname "$0")" && pwd)"
+cd "$SCRIPTDIR"
+
 for i in 16 22 24 32 64 128 256
 do
   mkdir -p hicolor/${i}x${i}/apps
   inkscape -z --export-type=png --export-filename=hicolor/${i}x${i}/apps/icon.png -w $i -h $i ../images/linphone_logo.svg
 done
 convert -density 256x256 -background transparent ../images/linphone_logo.svg -define icon:auto-resize -colors 256 ../icon.ico
-png2icns ../../cmake_builder/linphone_package/macos/linphone.icns hicolor/16x16/apps/icon.png hicolor/32x32/apps/icon.png hicolor/128x128/apps/icon.png hicolor/256x256/apps/icon.png
openSUSE Build Service is sponsored by