pantry/projects/poppler.freedesktop.org/poppler-data/package.yml
Jonathan Chang e70d0dd625
+poppler.freedesktop.org (#432)
* +poppler.freedesktop.org

* see if explicit PIC fixes segfaults

* that will teach me to use the web editor

* this, maybe

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-03-05 06:06:53 -07:00

25 lines
720 B
YAML

distributable:
url: https://poppler.freedesktop.org/poppler-data-{{version}}.tar.gz
strip-components: 1
versions:
- '0.4.12'
# They have a github but don't update tags!
# gitlab: https://gitlab.freedesktop.org/poppler/poppler-data
build:
dependencies:
tea.xyz/gx/make: '*'
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