gdk-pixbuf2: fix install scripts

This commit is contained in:
Christoph Reiter
2021-03-27 19:45:45 +01:00
parent d8b81e6473
commit 7e18e782e8
6 changed files with 17 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ _realname=gdk-pixbuf2
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.42.2
pkgrel=1
pkgrel=2
pkgdesc="An image loading library (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64')
@@ -23,7 +23,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-libpng"
"${MINGW_PACKAGE_PREFIX}-libtiff")
options=('emptydirs')
install=${_realname}-${CARCH}.install
install=${_realname}-${MSYSTEM}.install
source=("https://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-${pkgver}.tar.xz"
0003-fix-dllmain.patch
0004-build-all-loaders-plus-gdi.patch

View File

@@ -0,0 +1,5 @@
MINGW_INSTALL=mingw32
pre_remove() {
rm -f ${MINGW_INSTALL}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
}

View File

@@ -0,0 +1,5 @@
MINGW_INSTALL=mingw64
pre_remove() {
rm -f ${MINGW_INSTALL}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
}

View File

@@ -0,0 +1,5 @@
MINGW_INSTALL=ucrt64
pre_remove() {
rm -f ${MINGW_INSTALL}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
}

View File

@@ -1,3 +0,0 @@
pre_remove() {
rm -f mingw32/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
}

View File

@@ -1,3 +0,0 @@
pre_remove() {
rm -f mingw64/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
}