e3c2ecee27
* Add LMSensors for sensor and fan control (work in progress).
32 lines
1.1 KiB
Makefile
32 lines
1.1 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.8"
|
|
PKG_SHA256="84acea3acb2411b29134b32015a5b1aaa62844b19c4b1ef8b8971c6b0759f4c6"
|
|
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}" = "wl" ]; then
|
|
PKG_DEPENDS_TARGET+=" libX11 wayland"
|
|
fi
|
|
}
|
|
|
|
pre_configure_target() {
|
|
PKG_MESON_OPTS_TARGET="-Dgtk_doc=false \
|
|
-Ddocs=false \
|
|
-Dintrospection=disabled \
|
|
-Dman=false \
|
|
-Drelocatable=false \
|
|
-Dinstalled_tests=false"
|
|
|
|
if [ "${DISPLAYSERVER}" != "wl" ]; then
|
|
PKG_MESON_OPTS_TARGET+=" -Dbuiltin_loaders=all"
|
|
fi
|
|
}
|