mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
have pkg-config poll something that exists (#5220)
This commit is contained in:
parent
8b5a41aeb4
commit
2279dde92c
1 changed files with 11 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
distributable:
|
||||
url: https://pkgconfig.freedesktop.org/releases/pkg-config-{{version}}.tar.gz
|
||||
url: https://pkgconfig.freedesktop.org/releases/{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
|
@ -13,23 +13,21 @@ provides:
|
|||
# platform environments.
|
||||
|
||||
versions:
|
||||
github: freedesktop/pkg-config/tags
|
||||
gitlab: gitlab.freedesktop.org:pkg-config/pkg-config/tags
|
||||
strip: /^pkg-config-/
|
||||
|
||||
build:
|
||||
script: |-
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
script:
|
||||
- ./configure
|
||||
--prefix="{{ prefix }}"
|
||||
--disable-debug
|
||||
--disable-host-tool
|
||||
--with-internal-glib
|
||||
--with-pc-path=/usr/lib/pkgconfig:/usr/share/pkgconfig # otherwise the defaults are based on our {{prefix}}
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{ prefix }}"
|
||||
- --disable-debug
|
||||
- --disable-host-tool
|
||||
- --with-internal-glib
|
||||
# otherwise the defaults are based on our {{prefix}}
|
||||
- --with-pc-path=/usr/lib/pkgconfig:/usr/share/pkgconfig
|
||||
# llvm15 changed this to hard error
|
||||
CFLAGS: -Wno-error=int-conversion $CFLAGS
|
||||
|
||||
test:
|
||||
script: pkg-config --version
|
||||
pkg-config --version
|
||||
|
|
Loading…
Reference in a new issue