Extend Panucci D-Bus interface for streaming
[gpodder.git] / data / osx / create_icon.sh
blob0fa7ad9cea1b557804a5d5767cef43d9d270ac1b
1 #!/bin/bash
2 cd work/gpodder-2.3
4 # create temporary directory
5 mkdir tmpdir
7 # create raster images for the icons
8 for i in 32 48 128
9 do rsvg -w $i -h $i data/gpodder.svg tmpdir/gpodder-$i.png
10 done
12 # get the small one
13 cp data/icons/16/gpodder.png tmpdir/gpodder-16.png
15 # create the icns file (thanks to the icnsutils library http://icns.sourceforge.net/)
16 png2icns tmpdir/icon.icns tmpdir/gpodder-{16,32,48,128}.png