| DEPS="croco-0.6.11 gdkpixbuf-2.36.0 cairo-1.15.4 pango-1.40.3" |
| |
| PK_DIRNAME="librsvg-2.40.16" |
| PK_ARCHIVE="$PK_DIRNAME.tar.xz" |
| PK_URL="https://download.gnome.org/sources/librsvg/2.40/$PK_ARCHIVE" |
| PK_LICENSE_FILES="AUTHORS COPYING COPYING.LIB" |
| |
| source $INCLUDE_SCRIPT_DIR/inc-pkall-default.sh |
| |
| PK_CONFIGURE_OPTIONS="--enable-introspection=no" |
| |
| pkinstall() { |
| cd "$BUILD_PACKET_DIR/$PK_DIRNAME" |
| make install || return 1 |
| local GDK_API_VERSION=`ls $ENVDEPS_PACKET_DIR/lib/gdk-pixbuf-2.0/ | grep 2` |
| if [ -z "$GDK_API_VERSION" ]; then |
| return 1 |
| fi |
| local GDK_LOADERS="$INSTALL_PACKET_DIR/lib/gdk-pixbuf-2.0/$GDK_API_VERSION/loaders" |
| mkdir -p "$GDK_LOADERS" || return 1 |
| cp --remove-destination "$BUILD_PACKET_DIR/$PK_DIRNAME/gdk-pixbuf-loader/.libs/libpixbufloader-svg."* "$GDK_LOADERS/" || return 1 |
| } |