fix(poppler-qt5)

use gitlab tags

closes #4699
This commit is contained in:
Jacob Heider 2024-01-04 15:51:00 -05:00 committed by Jacob Heider
parent da770a1901
commit df9bb645fe

View file

@ -1,13 +1,13 @@
distributable: distributable:
url: https://poppler.freedesktop.org/poppler-{{version}}.tar.xz url: https://poppler.freedesktop.org/{{version.tag}}.tar.xz
strip-components: 1 strip-components: 1
display-name: poppler-qt5 display-name: poppler-qt5
versions: versions:
url: https://poppler.freedesktop.org/ gitlab: gitlab.freedesktop.org:poppler/poppler/tags
match: /poppler-\d+\.\d+\.\d+\.tar\.xz/ strip: /^poppler-/
strip:
- /^poppler-/
- /\.tar\.xz/
dependencies: dependencies:
gnupg.org/libassuan: ^2 gnupg.org/libassuan: ^2
cairographics.org: ^1 cairographics.org: ^1
@ -25,11 +25,11 @@ dependencies:
openjpeg.org: ^2 openjpeg.org: ^2
qt.io: ~5 qt.io: ~5
curl.se: ^8 curl.se: ^8
build: build:
dependencies: dependencies:
cmake.org: '*' cmake.org: '*'
gnome.org/gobject-introspection: '*' gnome.org/gobject-introspection: '*'
freedesktop.org/pkg-config: '*'
script: script:
- cmake . $CMAKE_ARGS - cmake . $CMAKE_ARGS
- make --jobs {{ hw.concurrency }} install - make --jobs {{ hw.concurrency }} install
@ -64,6 +64,7 @@ build:
- -DRUN_GPERF_IF_PRESENT=OFF - -DRUN_GPERF_IF_PRESENT=OFF
- -DWITH_GObjectIntrospection=ON - -DWITH_GObjectIntrospection=ON
CXXFLAGS: '$CXXFLAGS -std=c++11' CXXFLAGS: '$CXXFLAGS -std=c++11'
provides: provides:
- bin/pdfattach - bin/pdfattach
- bin/pdfdetach - bin/pdfdetach
@ -78,9 +79,7 @@ provides:
- bin/pdftops - bin/pdftops
- bin/pdftotext - bin/pdftotext
- bin/pdfunite - bin/pdfunite
test: test:
dependencies: - pdfinfo lorem.pdf | grep "Lorem Ipsum"
freedesktop.org/pkg-config: '*' - pkg-config --modversion poppler-qt5 | grep "{{version.raw}}"
script:
- pdfinfo lorem.pdf | grep "Lorem Ipsum"
- pkg-config --modversion poppler-qt5 | grep "{{version}}"