[arch-commits] Commit in php-imagick/trunk (PKGBUILD imagick.ini)
David Runge
dvzrv at archlinux.org
Tue Jun 1 07:24:17 UTC 2021
Date: Tuesday, June 1, 2021 @ 07:24:16
Author: dvzrv
Revision: 952931
upgpkg: php-imagick 3.4.4.r66.g448c1cd-3: Rebuild against imagemagick 7.0.11.14.
Install the php.ini snippet using a file and add an option to override the broken version check:
https://bugs.archlinux.org/task/69636
Added:
php-imagick/trunk/imagick.ini
Modified:
php-imagick/trunk/PKGBUILD
-------------+
PKGBUILD | 10 ++++++----
imagick.ini | 4 ++++
2 files changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-01 06:58:14 UTC (rev 952930)
+++ PKGBUILD 2021-06-01 07:24:16 UTC (rev 952931)
@@ -5,7 +5,7 @@
pkgname=('php-imagick' 'php7-imagick')
_commit="448c1cd0d58ba2838b9b6dff71c9b7e70a401b90"
pkgver=3.4.4.r66.g448c1cd
-pkgrel=2
+pkgrel=3
pkgdesc="PHP extension to create and modify images using the ImageMagick library"
arch=('x86_64')
url="https://github.com/imagick/imagick"
@@ -14,11 +14,14 @@
makedepends=('git' 'php' 'php7')
checkdepends=('librsvg' 'ttf-dejavu')
source=("${pkgbase}::git+https://github.com/${_name}/${_name}#commit=${_commit}"
+ "${_name}.ini"
"${pkgbase}-3.4.4-single-thread.patch::https://github.com/Imagick/imagick/pull/348/commits/f054a66254a71d9840fb9504abeedb4ba25a2b7a.patch"
)
sha512sums=('SKIP'
+ '1463505bd6b2572e21f6bbc242c2e0bf8b881b839ac38e38c230f09b4bf4c4698cafba1a026da8f615ee2b2980ab74dc68284afd70bb732db6fb70b5efba2bfc'
'75c873d823b7bee1a2eab00c3f409746c8f0978e2c5822d8f2d91db5618666d411bc6d18f45b9fa98b86a8d5f9773d914ba816aaa3cfd6cd3f5879d53c581637')
b2sums=('SKIP'
+ '291d68f50a2c173b857c0f132e1874f0682da3c7176f67b946a19a68256ab19f56a234bafa16711c3f8ef26c4bc7df04ea8afdecbcb984820b9bf3fd2a135edb'
'67d1790bd6bb80338a1d2241852d748dd922e4d27bc982eef1eddb9390f2f32a1118dc1f8a8bce1a907c6eb23bcbeaaa1ec45f8e59cf264a3eef482dec224dd1')
pkgver() {
@@ -30,7 +33,6 @@
# setting package version: https://bugs.archlinux.org/task/64185
sed -e "s/@PACKAGE_VERSION@/${pkgver}/" \
-i "${pkgbase}/php_imagick.h" "${pkgbase}/package.xml"
- echo ";extension=${_name}" > "${pkgbase}/${_name}.ini"
(
cd "${pkgbase}"
@@ -80,7 +82,7 @@
cd "$pkgname"
make INSTALL_ROOT="$pkgdir/" install
- install -vDm 644 "${_name}.ini" -t "${pkgdir}/etc/php/conf.d/"
+ install -vDm 644 "../${_name}.ini" -t "${pkgdir}/etc/php/conf.d/"
install -vDm 644 {ChangeLog,CREDITS,README.md} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"
install -vDm 644 examples/*.php \
@@ -93,7 +95,7 @@
cd "$pkgname"
make INSTALL_ROOT="$pkgdir/" install
- install -vDm 644 "${_name}.ini" -t "${pkgdir}/etc/php7/conf.d/"
+ install -vDm 644 "../${_name}.ini" -t "${pkgdir}/etc/php7/conf.d/"
install -vDm 644 {ChangeLog,CREDITS,README.md} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"
install -vDm 644 examples/*.php \
Added: imagick.ini
===================================================================
--- imagick.ini (rev 0)
+++ imagick.ini 2021-06-01 07:24:16 UTC (rev 952931)
@@ -0,0 +1,4 @@
+; extension = imagick
+; ; disable the (broken) version check, because packaging ensures that imagemagick and php-imagick are compatible
+; ; bug reports and out-of-date messages based on the below warning message will not be accepted
+; imagick.skip_version_check = 1
More information about the arch-commits
mailing list