0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-19 01:22:09 +00:00
2024-07-06 12:34:00 +00:00

35 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gdk-pixbuf"
PKG_VERSION="2.42.12"
PKG_SHA256="b9505b3445b9a7e48ced34760c3bcb73e966df3ac94c95a148cb669ab748e3c7"
PKG_LICENSE="OSS"
PKG_SITE="http://www.gtk.org/"
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${PKG_VERSION:0:4}/gdk-pixbuf-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper shared-mime-info tiff"
PKG_DEPENDS_CONFIG="shared-mime-info"
PKG_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
configure_package() {
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET+=" libX11"
fi
}
pre_configure_target() {
PKG_MESON_OPTS_TARGET="--wrap-mode=nodownload \
-Dgtk_doc=false \
-Ddocs=false \
-Dintrospection=disabled \
-Dman=false \
-Drelocatable=false \
-Dinstalled_tests=false \
-Dtests=false"
if [ "${DISPLAYSERVER}" != "x11" ]; then
PKG_MESON_OPTS_TARGET+=" -Dbuiltin_loaders=all"
fi
}