2023-03-05 16:06:53 +03:00
|
|
|
distributable:
|
|
|
|
url: https://poppler.freedesktop.org/poppler-data-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
gitlab: gitlab.freedesktop.org:poppler/poppler-data/tags
|
|
|
|
strip: /^POPPLER_DATA_/
|
2023-03-05 16:06:53 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
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
|