mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 00:16:45 +00:00
35 lines
1.2 KiB
Makefile
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.10"
|
|
PKG_SHA256="ee9b6c75d13ba096907a2e3c6b27b61bcd17f5c7ebeab5a5b439d2f2e39fe44b"
|
|
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
|
|
}
|