2023-03-15 15:20:28 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2021-present Frank Hartung (supervisedthinking (@) gmail.com)
|
|
|
|
|
|
|
|
PKG_NAME="librsvg"
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_VERSION="2.46.7"
|
2023-03-15 15:20:28 +00:00
|
|
|
PKG_LICENSE="LGPL-2.1"
|
|
|
|
PKG_SITE="https://gitlab.gnome.org/GNOME/librsvg"
|
|
|
|
PKG_URL="https://download.gnome.org/sources/librsvg/${PKG_VERSION:0:4}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain cargo:host gdk-pixbuf pango libcroco"
|
2023-03-15 15:20:28 +00:00
|
|
|
PKG_LONGDESC="This is librsvg - A small library to render Scalable Vector Graphics (SVG), associated with the GNOME Project."
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_TOOLCHAIN="autotools"
|
2023-03-15 15:20:28 +00:00
|
|
|
|
|
|
|
pre_configure_target() {
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_path_GDK_PIXBUF_QUERYLOADERS="${SYSROOT_PREFIX}/usr/bin/gdk-pixbuf-query-loaders" \
|
|
|
|
--enable-installed-tests=no \
|
|
|
|
--disable-tools \
|
|
|
|
--enable-introspection=no"
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_make_target() {
|
|
|
|
sed -e "s:^GLIB_MKENUMS =.*:GLIB_MKENUMS = ${SYSROOT_PREFIX}/usr/bin/glib-mkenums:g" -i ${PKG_BUILD}/.${TARGET_NAME}/Makefile
|
|
|
|
}
|