gdk-pixbuf: fix loaders cache

This commit is contained in:
Gerasim Troeglazov
2022-01-19 17:28:06 +10:00
parent 8d6bb68c37
commit ec631eb8bf

View File

@@ -9,7 +9,7 @@ GdkRGB buffers.
HOMEPAGE="https://wiki.gnome.org/Projects/GdkPixbuf"
COPYRIGHT="1999-2020 Gnome Project"
LICENSE="GNU LGPL v2.1"
REVISION="5"
REVISION="6"
SOURCE_URI="https://download.gnome.org/sources/gdk-pixbuf/${portVersion%.*}/gdk-pixbuf-$portVersion.tar.xz"
CHECKSUM_SHA256="83c66a1cfd591d7680c144d2922c5955d38b4db336d7cd3ee109f7bcf9afef15"
SOURCE_DIR="gdk-pixbuf-$portVersion"
@@ -89,6 +89,7 @@ defineDebugInfoPackage gdk_pixbuf$secondaryArchSuffix \
BUILD()
{
meson build \
--buildtype=release \
--prefix=$prefix \
--bindir=$binDir \
--datadir=$dataDir \
@@ -104,6 +105,10 @@ INSTALL()
{
ninja -C build install
# rebuild loaders cache
export LIBRARY_PATH=$LIBRARY_PATH:$libDir
$binDir/gdk-pixbuf-query-loaders > $libDir/gdk-pixbuf-2.0/2.10.0/loaders.cache
prepareInstalledDevelLib \
libgdk_pixbuf-2.0
fixPkgconfig