mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 19:43:50 +02:00
ImageMagick: update to 7.1.1.47
This commit is contained in:
parent
d114cf7131
commit
76f40120a8
1 changed files with 8 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'ImageMagick'
|
# Template file for 'ImageMagick'
|
||||||
pkgname=ImageMagick
|
pkgname=ImageMagick
|
||||||
# Revbump php*-imagick with ImageMagick updates.
|
# Revbump php*-imagick with ImageMagick updates.
|
||||||
version=7.1.1.36
|
version=7.1.1.47
|
||||||
revision=4
|
revision=1
|
||||||
_upstream_version="${version/.${version##*.}/-${version##*.}}"
|
_upstream_version="${version/.${version##*.}/-${version##*.}}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --enable-opencl --with-modules --with-gslib
|
configure_args="--disable-static --enable-opencl --with-modules --with-gslib
|
||||||
|
@ -20,7 +20,7 @@ license="ImageMagick"
|
||||||
homepage="https://www.imagemagick.org"
|
homepage="https://www.imagemagick.org"
|
||||||
changelog="https://raw.githubusercontent.com/ImageMagick/Website/main/ChangeLog.md"
|
changelog="https://raw.githubusercontent.com/ImageMagick/Website/main/ChangeLog.md"
|
||||||
distfiles="https://github.com/ImageMagick/ImageMagick/archive/${_upstream_version}.tar.gz"
|
distfiles="https://github.com/ImageMagick/ImageMagick/archive/${_upstream_version}.tar.gz"
|
||||||
checksum=cb2925aadf126177f13f670c8ac47ba9a90d012f075ed50f936d141d160e3e97
|
checksum=818e21a248986f15a6ba0221ab3ccbaed3d3abee4a6feb4609c6f2432a30d7ed
|
||||||
|
|
||||||
subpackages="libmagick libmagick-devel"
|
subpackages="libmagick libmagick-devel"
|
||||||
|
|
||||||
|
@ -34,6 +34,11 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
subpackages+=" libmagick-perl"
|
subpackages+=" libmagick-perl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ] && [ "$XBPS_TARGET_WORDSIZE" -eq 64 ]; then
|
||||||
|
export CFLAGS+=" -Doff64_t=off_t"
|
||||||
|
export CXXFLAGS+=" -Doff64_t=off_t"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
# Disable failing checks
|
# Disable failing checks
|
||||||
vsed -i '/validate-formats/d' Makefile
|
vsed -i '/validate-formats/d' Makefile
|
||||||
|
@ -77,9 +82,6 @@ libmagick-devel_package() {
|
||||||
libmagick-perl_package() {
|
libmagick-perl_package() {
|
||||||
short_desc="ImageMagick perl library bindings"
|
short_desc="ImageMagick perl library bindings"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
mv ${DESTDIR}/usr/man/man3 ${DESTDIR}/usr/share/man/
|
|
||||||
mkdir ${DESTDIR}/usr/lib/perl5/vendor_perl
|
|
||||||
mv ${DESTDIR}/usr/lib/perl5/*-*/* ${DESTDIR}/usr/lib/perl5/vendor_perl
|
|
||||||
vmove usr/lib/perl5
|
vmove usr/lib/perl5
|
||||||
vmove usr/share/man/man3
|
vmove usr/share/man/man3
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue