Skip to content

Commit

Permalink
bump rsvg
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 2, 2023
1 parent 7d6fbd4 commit 1823b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions librsvg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if [ "x${OSTYPE:6:1}" = "x1" ]; then
bottle="https://github.com/autobrew/bundler/releases/download/librsvg-2.56.0/librsvg-2.48.4-high_sierra.tar.xz"
sed -i '' 's|(const unsigned|(const|' src/rsvg.c || true # Fix a warning with older api
else
bottle="https://github.com/autobrew/bundler/releases/download/librsvg-2.56.0/librsvg-2.56.0-universal.tar.xz"
bottle="https://github.com/autobrew/bundler/releases/download/librsvg-2.56.3/librsvg-2.56.3-universal.tar.xz"
NEWLIBS="-lzstd -lpcre2-8"
fi

Expand All @@ -30,7 +30,7 @@ PKG_CFLAGS="$PKG_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32"
#fi

# pkg-config --libs-only-l --static librsvg-2.0 libpng cairo-gobject pangocairo gmodule-2.0 fribidi expat
PKG_LIBS="-L$BREWDIR/lib -lrsvg-2 -lgio-2.0 -lresolv -lgdk_pixbuf-2.0 -ltiff -ljpeg -lgmodule-2.0 -lcairo-gobject -lpangocairo-1.0 -lpangoft2-1.0 -lharfbuzz -lpango-1.0 -lgobject-2.0 -lffi -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lpng16 -lz -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lpcre -lfribidi -lexpat $NEWLIBS -framework AVFoundation -framework AppKit \$(FOUNDATION_LIBS)"
PKG_LIBS="-L$BREWDIR/lib -lrsvg-2 -lgio-2.0 -lresolv -lgdk_pixbuf-2.0 -ltiff -lgmodule-2.0 -lcairo-gobject -lpangocairo-1.0 -lpangoft2-1.0 -lharfbuzz -lpango-1.0 -lgobject-2.0 -lffi -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lpng16 -lz -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lpcre -lfribidi -lexpat -ljpeg $NEWLIBS -framework AVFoundation -framework AppKit \$(FOUNDATION_LIBS)"

# Prevent CRAN builder from linking against old libs in /usr/local/lib
for FILE in $BREWDIR/lib/*.a; do
Expand Down

0 comments on commit 1823b22

Please sign in to comment.