diff --git a/info.yml b/info.yml index ba7ea52..5cb16ca 100644 --- a/info.yml +++ b/info.yml @@ -1,7 +1,7 @@ name: libwmf description: Library for reading and converting WMF (Windows Meta Files) version: 0.2.16 -revision: 1 +revision: 2 url: https://github.com/caolanm/libwmf license: LGPL2.1-or-later maintainers: @@ -11,6 +11,7 @@ type: source depends: - expat - freetype2 + - gd - glibc - libjpeg-turbo - libpng diff --git a/recipe.sh b/recipe.sh index 64ef9cc..7df72eb 100644 --- a/recipe.sh +++ b/recipe.sh @@ -12,7 +12,9 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - ./configure --prefix=/usr --with-gsfontmap=/usr/share/ghostscript/Resource/Init/Fontmap.GS --with-gsfontdir=/usr/share/fonts/gsfonts + ./configure --prefix=/usr \ + --with-gsfontmap=/usr/share/ghostscript/Resource/Init/Fontmap.GS \ + --with-gsfontdir=/usr/share/fonts/gsfonts # prevent excessive overlinking due to libtool sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make