gdk-pixbuf2: fix install scripts
This commit is contained in:
@@ -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
|
||||
|
||||
5
mingw-w64-gdk-pixbuf2/gdk-pixbuf2-MINGW32.install
Normal file
5
mingw-w64-gdk-pixbuf2/gdk-pixbuf2-MINGW32.install
Normal file
@@ -0,0 +1,5 @@
|
||||
MINGW_INSTALL=mingw32
|
||||
|
||||
pre_remove() {
|
||||
rm -f ${MINGW_INSTALL}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
}
|
||||
5
mingw-w64-gdk-pixbuf2/gdk-pixbuf2-MINGW64.install
Normal file
5
mingw-w64-gdk-pixbuf2/gdk-pixbuf2-MINGW64.install
Normal file
@@ -0,0 +1,5 @@
|
||||
MINGW_INSTALL=mingw64
|
||||
|
||||
pre_remove() {
|
||||
rm -f ${MINGW_INSTALL}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
}
|
||||
5
mingw-w64-gdk-pixbuf2/gdk-pixbuf2-UCRT64.install
Normal file
5
mingw-w64-gdk-pixbuf2/gdk-pixbuf2-UCRT64.install
Normal file
@@ -0,0 +1,5 @@
|
||||
MINGW_INSTALL=ucrt64
|
||||
|
||||
pre_remove() {
|
||||
rm -f ${MINGW_INSTALL}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
pre_remove() {
|
||||
rm -f mingw32/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
pre_remove() {
|
||||
rm -f mingw64/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
}
|
||||
Reference in New Issue
Block a user