Commit 202b7d5d authored by Tor Lillqvist's avatar Tor Lillqvist

Pick headers and loader DLL from correct places into zip package

We install the loader DLL in gdk-pixbuf's tree. When zipping up the
loader package, move it from there to be in our own install tree,
and remove the unnecessary libtool archive and import library.
parent 9c7d7618
...@@ -22,15 +22,17 @@ rm $DEVZIP ...@@ -22,15 +22,17 @@ rm $DEVZIP
zip -r -D $DEVZIP -@ <<EOF zip -r -D $DEVZIP -@ <<EOF
bin/rsvg-convert.exe bin/rsvg-convert.exe
bin/rsvg-view.exe bin/rsvg-view.exe
include/librsvg-2 include/librsvg-2.0
lib/librsvg-2.dll.a lib/librsvg-2.dll.a
lib/pkgconfig/librsvg-2.0.pc lib/pkgconfig/librsvg-2.0.pc
EOF EOF
gtk_binary_version=`pkg-config --variable=gtk_binary_version gtk+-2.0`
rm $ENGINEZIP rm $ENGINEZIP
zip $ENGINEZIP lib/gtk-2.0/${gtk_binary_version}/engines/libsvg.dll zip $ENGINEZIP lib/gtk-2.0/@GTK2_BINARY_VERSION@/engines/libsvg.dll
rm $LOADERZIP rm $LOADERZIP
zip $LOADERZIP lib/gtk-2.0/${gtk_binary_version}/loaders/svg_loader.dll mkdir -p lib/gdk-pixbuf-2.0/@gdk_pixbuf_binary_version@/loaders
mv @gdk_pixbuf_binarydir@/loaders/libpixbufloader-svg.dll lib/gdk-pixbuf-2.0/@gdk_pixbuf_binary_version@/loaders
rm -f @gdk_pixbuf_binarydir@/loaders/libpixbufloader-svg.dll.a
rm -f @gdk_pixbuf_binarydir@/loaders/libpixbufloader-svg.la
zip $LOADERZIP lib/gdk-pixbuf-2.0/@gdk_pixbuf_binary_version@/loaders/libpixbufloader-svg.dll
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment