2f91e98ecc
Restructure the source tree to be more like the target installation directory (share/...). Rewrite setup.py to only install a subset of the available UIs and to be more flexible and cleaner in general. I hope this doesn't cause too much breakage, but should result in a cleaner build/install system and more happy developers and packagers in the long run.
16 lines
415 B
Bash
16 lines
415 B
Bash
#!/bin/bash
|
|
cd work/gpodder-2.3
|
|
|
|
# create temporary directory
|
|
mkdir tmpdir
|
|
|
|
# create raster images for the icons
|
|
for i in 32 48 128
|
|
do rsvg -w $i -h $i data/gpodder.svg tmpdir/gpodder-$i.png
|
|
done
|
|
|
|
# get the small one
|
|
cp data/icons/16/gpodder.png tmpdir/gpodder-16.png
|
|
|
|
# create the icns file (thanks to the icnsutils library http://icns.sourceforge.net/)
|
|
png2icns tmpdir/icon.icns tmpdir/gpodder-{16,32,48,128}.png
|