mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: imagemagick
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
diff --git imagemagick-clean/MagickCore/fx.c imagemagick-workdir/MagickCore/fx.c
|
||||
index dc96e9b..63aeda3 100644
|
||||
--- imagemagick-clean/MagickCore/fx.c
|
||||
+++ imagemagick-workdir/MagickCore/fx.c
|
||||
@@ -38,6 +38,9 @@
|
||||
%
|
||||
*/
|
||||
|
||||
+double j0(double x);
|
||||
+double j1(double x);
|
||||
+double jn(double x);
|
||||
/*
|
||||
Include declarations.
|
||||
*/
|
||||
@@ -0,0 +1,18 @@
|
||||
name=imagemagick
|
||||
revision=1
|
||||
from_source=imagemagick
|
||||
imagedeps="gcc perl"
|
||||
hostdeps="xgcc xbinutils pkgconfig automake autoconf libstdc++-v3"
|
||||
deps="base zlib libjpeg-turbo libpng freetype fontconfig bzip2 xz zstd libx11 perl"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-static
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR=${dest_dir} install
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=imagemagick
|
||||
version=7.1.2
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/ImageMagick/ImageMagick/archive/refs/tags/${version}-23.tar.gz"
|
||||
tarball_sha512="04ac6181773dfd1a079e0bccc369198b92712f9ef3a7f295ba1eee66dfc99f936859140fa079a7baa269a19e0f367990eb68fbc5c07082b0c86e91f6e086aeb2"
|
||||
hostdeps="autoconf automake libtool pkgconfig"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
Reference in New Issue
Block a user