-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ff1539
commit 41641ad
Showing
3 changed files
with
463 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,230 @@ | ||
{% set version = "1.10.0" %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
{% set prefix = 'Library/' if win else '' %} | ||
|
||
package: | ||
name: poppler-split | ||
version: {{ version }} | ||
|
||
source: | ||
# fake source url to get version migrator to pass | ||
url: https://github.com/scipy/scipy/archive/refs/tags/v{{ version }}.tar.gz | ||
# url: https://poppler.freedesktop.org/poppler-{{ version }}.tar.xz | ||
sha256: 3f9e587a96844a9b4ee7f998cfe4dc3964dc95c4ca94d7de6a77bffb99f873da | ||
patches: | ||
- exportsymbols.patch # [win] | ||
- windows-data.patch # [win] | ||
# libtiff uses Unix I/O even on Windows | ||
# https://github.com/conda-forge/libtiff-feedstock/pull/51 | ||
- disable-libtiff-win32-io.patch # [win] | ||
- includesystembeforejpeg.patch # [win] | ||
|
||
build: | ||
number: 0 | ||
detect_binary_files_with_prefix: true | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
# Need these CDTs for Qt on Linux. Please keep them alphabetized! | ||
- {{ cdt('libselinux-devel') }} # [linux] | ||
- {{ cdt('libxdamage') }} # [linux] | ||
- {{ cdt('libxfixes') }} # [linux] | ||
- {{ cdt('libxscrnsaver-devel') }} # [linux] | ||
- {{ cdt('libxtst-devel') }} # [linux] | ||
- {{ cdt('libxxf86vm') }} # [linux] | ||
- {{ cdt('mesa-libgl-devel') }} # [linux] | ||
- {{ cdt('mesa-libegl-devel') }} # [linux] | ||
- m2-msys2-runtime # [win] | ||
- {{ native }}pkg-config | ||
- cmake | ||
- make | ||
- ninja | ||
- {{ posix }}patch | ||
- perl 5 | ||
- gobject-introspection 1.* # [not win] | ||
- libboost # [build_platform != target_platform] | ||
- cairo # [build_platform != target_platform] | ||
- curl # [build_platform != target_platform] | ||
- fontconfig # [build_platform != target_platform] | ||
- freetype # [build_platform != target_platform] | ||
- gettext # [build_platform != target_platform] | ||
- glib # [build_platform != target_platform] | ||
- libjpeg-turbo # [build_platform != target_platform] | ||
- lcms2 # [build_platform != target_platform] | ||
- libcurl # [build_platform != target_platform] | ||
- libiconv # [build_platform != target_platform] | ||
- libpng # [build_platform != target_platform] | ||
- libtiff # [build_platform != target_platform] | ||
- nss # [not win and build_platform != target_platform] | ||
- openjpeg # [build_platform != target_platform] | ||
- zlib # [build_platform != target_platform] | ||
host: | ||
- libboost | ||
- cairo | ||
- curl | ||
- fontconfig | ||
- freetype | ||
- gettext | ||
- glib | ||
- libjpeg-turbo | ||
- lcms2 | ||
- libcurl | ||
- libiconv | ||
- libpng | ||
- libtiff | ||
- nss # [not win] | ||
- openjpeg | ||
- qt-main # [not (ppc64le or arm64)] | ||
- zlib | ||
|
||
outputs: | ||
- name: poppler | ||
script: install.sh # [unix] | ||
script: install.bat # [not unix] | ||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
# Need these CDTs for Qt on Linux. Please keep them alphabetized! | ||
- {{ cdt('libselinux-devel') }} # [linux] | ||
- {{ cdt('libxdamage') }} # [linux] | ||
- {{ cdt('libxfixes') }} # [linux] | ||
- {{ cdt('libxscrnsaver-devel') }} # [linux] | ||
- {{ cdt('libxtst-devel') }} # [linux] | ||
- {{ cdt('libxxf86vm') }} # [linux] | ||
- {{ cdt('mesa-libgl-devel') }} # [linux] | ||
- {{ cdt('mesa-libegl-devel') }} # [linux] | ||
- m2-msys2-runtime # [win] | ||
- {{ native }}pkg-config | ||
- cmake | ||
- make | ||
- ninja | ||
- {{ posix }}patch | ||
- perl 5 | ||
- gobject-introspection 1.* # [not win] | ||
- libboost # [build_platform != target_platform] | ||
- cairo # [build_platform != target_platform] | ||
- curl # [build_platform != target_platform] | ||
- fontconfig # [build_platform != target_platform] | ||
- freetype # [build_platform != target_platform] | ||
- gettext # [build_platform != target_platform] | ||
- glib # [build_platform != target_platform] | ||
- libjpeg-turbo # [build_platform != target_platform] | ||
- lcms2 # [build_platform != target_platform] | ||
- libcurl # [build_platform != target_platform] | ||
- libiconv # [build_platform != target_platform] | ||
- libpng # [build_platform != target_platform] | ||
- libtiff # [build_platform != target_platform] | ||
- nss # [not win and build_platform != target_platform] | ||
- openjpeg # [build_platform != target_platform] | ||
- zlib # [build_platform != target_platform] | ||
host: | ||
- libboost | ||
- cairo | ||
- curl | ||
- fontconfig | ||
- freetype | ||
- gettext | ||
- glib | ||
- libjpeg-turbo | ||
- lcms2 | ||
- libcurl | ||
- libiconv | ||
- libpng | ||
- libtiff | ||
- nss # [not win] | ||
- openjpeg | ||
- zlib | ||
run: | ||
- poppler-data | ||
test: | ||
commands: | ||
- pdfinfo -listenc | ||
- pdfunite --help | ||
- pdftocairo --help | ||
|
||
- name: poppler-qt | ||
build: | ||
skip: true # [ppc64le or arm64] | ||
script: install.sh # [unix] | ||
script: install.bat # [not unix] | ||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
# Need these CDTs for Qt on Linux. Please keep them alphabetized! | ||
- {{ cdt('libselinux-devel') }} # [linux] | ||
- {{ cdt('libxdamage') }} # [linux] | ||
- {{ cdt('libxfixes') }} # [linux] | ||
- {{ cdt('libxscrnsaver-devel') }} # [linux] | ||
- {{ cdt('libxtst-devel') }} # [linux] | ||
- {{ cdt('libxxf86vm') }} # [linux] | ||
- {{ cdt('mesa-libgl-devel') }} # [linux] | ||
- {{ cdt('mesa-libegl-devel') }} # [linux] | ||
- m2-msys2-runtime # [win] | ||
- {{ native }}pkg-config | ||
- cmake | ||
- make | ||
- ninja | ||
- {{ posix }}patch | ||
- perl 5 | ||
- gobject-introspection 1.* # [not win] | ||
- libboost # [build_platform != target_platform] | ||
- cairo # [build_platform != target_platform] | ||
- curl # [build_platform != target_platform] | ||
- fontconfig # [build_platform != target_platform] | ||
- freetype # [build_platform != target_platform] | ||
- gettext # [build_platform != target_platform] | ||
- glib # [build_platform != target_platform] | ||
- libjpeg-turbo # [build_platform != target_platform] | ||
- lcms2 # [build_platform != target_platform] | ||
- libcurl # [build_platform != target_platform] | ||
- libiconv # [build_platform != target_platform] | ||
- libpng # [build_platform != target_platform] | ||
- libtiff # [build_platform != target_platform] | ||
- nss # [not win and build_platform != target_platform] | ||
- openjpeg # [build_platform != target_platform] | ||
- zlib # [build_platform != target_platform] | ||
host: | ||
- libboost-headers | ||
- cairo | ||
- curl | ||
- fontconfig | ||
- freetype | ||
- gettext | ||
- glib | ||
- libjpeg-turbo | ||
- lcms2 | ||
- libcurl | ||
- libiconv | ||
- libpng | ||
- libtiff | ||
- nss # [not win] | ||
- openjpeg | ||
- qt-main | ||
- zlib | ||
- {{ pin_subpackage('poppler', exact=True) }} | ||
run: | ||
- {{ pin_subpackage('poppler', exact=True) }} | ||
test: | ||
commands: | ||
- test -f ${PREFIX}/lib/pkgconfig/poppler-qt5.pc # [not win] | ||
- if not exist %LIBRARY_BIN%\\poppler.dll exit 1 # [win] | ||
|
||
about: | ||
home: https://poppler.freedesktop.org/ | ||
license: GPL-2.0-only | ||
license_family: GPL | ||
license_file: COPYING | ||
summary: The Poppler PDF manipulation library. | ||
|
||
extra: | ||
feedstock-name: poppler | ||
recipe-maintainers: | ||
- pkgw | ||
- ocefpaf | ||
- xhochy | ||
- xylar |
Oops, something went wrong.