pantry/projects/poppler.freedesktop.org/poppler-data/package.yml
2023-10-01 20:41:57 -04:00

20 lines
637 B
YAML

distributable:
url: https://poppler.freedesktop.org/poppler-data-{{version}}.tar.gz
strip-components: 1
versions:
gitlab: gitlab.freedesktop.org:poppler/poppler-data/tags
strip: /^POPPLER_DATA_/
build:
script:
# datadir is for pkgconfig files, needed by poppler itself to find its own data files
- make install prefix={{prefix}} datadir={{prefix}}/lib pkgdatadir={{prefix}}/share/poppler
# create a symlink in case something is expecting the .pc in share
- ln -s {{prefix}}/lib/pkgconfig {{prefix}}/share/
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --cflags poppler-data