mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
image magick enable shared (#4046)
This commit is contained in:
parent
5329f278df
commit
f907b83082
1 changed files with 11 additions and 8 deletions
|
@ -55,7 +55,7 @@ dependencies:
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
env:
|
env:
|
||||||
MAGICK_HOME: "{{prefix}}"
|
MAGICK_HOME: ${{prefix}}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
|
@ -88,7 +88,8 @@ build:
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --disable-opencl
|
- --disable-opencl
|
||||||
- --enable-static
|
- --enable-static
|
||||||
- --disable-shared
|
- --disable-installed # makes us relocatable
|
||||||
|
- --enable-shared # https://github.com/pkgxdev/pantry/issues/4030
|
||||||
- --with-png=yes
|
- --with-png=yes
|
||||||
- --with-tiff=yes
|
- --with-tiff=yes
|
||||||
- --with-jxl=yes
|
- --with-jxl=yes
|
||||||
|
@ -120,9 +121,11 @@ build:
|
||||||
- --without-x
|
- --without-x
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
- magick -version | grep {{version.tag}}
|
||||||
curl.se: '*'
|
- pkgx curl "https://upload.wikimedia.org/wikipedia/commons/6/6a/PNG_Test.png" -o a.png
|
||||||
script:
|
- magick identify a.png | grep "a.png PNG"
|
||||||
- magick -version | grep {{version.tag}}
|
|
||||||
- curl "https://upload.wikimedia.org/wikipedia/commons/6/6a/PNG_Test.png" -o a.png
|
# verify that we can build the rmagick gem
|
||||||
- magick identify a.png | grep "a.png PNG"
|
#NOTE only darwin because honestly it looks like the rmagick gem build process is broken on Linux
|
||||||
|
- run: pkgx +ruby@3.2.2 gem install rmagick
|
||||||
|
if: darwin
|
||||||
|
|
Loading…
Reference in a new issue