summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhidayat.pcd2021-10-19 21:31:25 +0800
committerhidayat.pcd2021-10-19 21:31:25 +0800
commitac8267f4aa482802d6e1f22eeef4b9afc824eda9 (patch)
tree6e881db1c2a636a66e26b1e227234b473bd1f0ed /PKGBUILD
parent8c7a9bcaf5c4310a6a6dfc729a79e20a4cea9227 (diff)
downloadaur-scangearmp-mp280.tar.gz
Fix for newer GIMP verions
Original patch by lesebas for scangearmp-mg3200 (AUR)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1ccbfd34512f..d5948a955ce2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: Jakub Klinkovský <kuba.klinkovsky@gmail.com>
+# Maintainer: Muhammad Hidayat <hidayat.pcd@gmail.com>
+# Former maintainer: Jakub Klinkovský <kuba.klinkovsky@gmail.com>
#
# If you're going to adapt this package to other printer models,
# here is a list of printer names and IDs:
@@ -19,7 +20,7 @@ _id=370
pkgname=scangearmp-${_name}
pkgver=1.60
-pkgrel=4
+pkgrel=5
_pkgver=1.60-1
pkgdesc="Canon Scanner Driver (${_name} series)"
url="http://support-my.canon-asia.com/contents/MY/EN/0100303302.html"
@@ -39,10 +40,13 @@ makedepends=(
)
source=(http://gdlp01.c-wss.com/gds/3/0100003033/01/scangearmp-source-${_pkgver}.tar.gz
fix_png15.patch
- fix_configure.patch)
+ fix_configure.patch
+ fix_gimp2.9.patch
+)
md5sums=('15782d670f9d5c5904e00610508114f3'
'6609d7fe171e67451658a3665442972c'
- '8c21b22ef834b17bcdad6e97d8916ca2')
+ '8c21b22ef834b17bcdad6e97d8916ca2'
+ 'f90572fce7a3878438f7c93360f615e4')
if [ "$CARCH" == "x86_64" ]; then
_libdir=libs_bin64
@@ -55,6 +59,7 @@ build() {
cd "$srcdir/scangearmp-source-$_pkgver"
patch -p1 -i "$srcdir/fix_png15.patch"
patch -p1 -i "$srcdir/fix_configure.patch"
+ patch -p1 -i "$srcdir/fix_gimp2.9.patch"
# Prepare build
cd "$srcdir/scangearmp-source-$_pkgver/scangearmp"