initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
config BR2_PACKAGE_LIBRSVG
|
||||
bool "librsvg"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
depends on BR2_INSTALL_LIBSTDCPP # pango
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_CAIRO_PNG
|
||||
select BR2_PACKAGE_CAIRO_SCRIPT
|
||||
select BR2_PACKAGE_GDK_PIXBUF
|
||||
select BR2_PACKAGE_HOST_RUSTC
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_PANGO
|
||||
help
|
||||
The rsvg library is an efficient renderer for Scalable
|
||||
Vector Graphics (SVG) pictures.
|
||||
|
||||
https://wiki.gnome.org/Projects/LibRsvg
|
||||
|
||||
comment "librsvg needs a toolchain w/ wchar, threads, C++, gcc >= 4.8"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_INSTALL_LIBSTDCPP
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://ftp.gnome.org/pub/gnome/sources/librsvg/2.50/librsvg-2.50.7.sha256sum
|
||||
sha256 fffb61b08cd5282aaae147a02b305166a7426fad22a8b9427708f0f2fc426ebc librsvg-2.50.7.tar.xz
|
||||
|
||||
# Locally computed
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# librsvg
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBRSVG_VERSION_MAJOR = 2.50
|
||||
LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).7
|
||||
LIBRSVG_SITE = http://ftp.gnome.org/pub/gnome/sources/librsvg/$(LIBRSVG_VERSION_MAJOR)
|
||||
LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz
|
||||
LIBRSVG_INSTALL_STAGING = YES
|
||||
LIBRSVG_CONF_ENV = \
|
||||
LIBS=$(TARGET_NLS_LIBS) \
|
||||
RUST_TARGET=$(RUSTC_TARGET_NAME)
|
||||
LIBRSVG_CONF_OPTS = --disable-pixbuf-loader --disable-tools
|
||||
HOST_LIBRSVG_CONF_OPTS = --enable-introspection=no
|
||||
LIBRSVG_DEPENDENCIES = cairo host-gdk-pixbuf gdk-pixbuf host-rustc libglib2 libxml2 pango \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
HOST_LIBRSVG_DEPENDENCIES = host-cairo host-gdk-pixbuf host-libglib2 host-libxml2 host-pango host-rustc
|
||||
LIBRSVG_LICENSE = LGPL-2.1+
|
||||
LIBRSVG_LICENSE_FILES = COPYING.LIB
|
||||
LIBRSVG_CPE_ID_VENDOR = gnome
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
LIBRSVG_CONF_OPTS += --enable-introspection
|
||||
LIBRSVG_DEPENDENCIES += gobject-introspection
|
||||
else
|
||||
LIBRSVG_CONF_OPTS += --disable-introspection
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user