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:
|
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
|
strip-components: 1
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
|
@ -13,23 +13,21 @@ provides:
|
||||||
# platform environments.
|
# platform environments.
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: freedesktop/pkg-config/tags
|
gitlab: gitlab.freedesktop.org:pkg-config/pkg-config/tags
|
||||||
strip: /^pkg-config-/
|
strip: /^pkg-config-/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: |-
|
script:
|
||||||
./configure $ARGS
|
- ./configure
|
||||||
make --jobs {{ hw.concurrency }} install
|
--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:
|
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
|
# llvm15 changed this to hard error
|
||||||
CFLAGS: -Wno-error=int-conversion $CFLAGS
|
CFLAGS: -Wno-error=int-conversion $CFLAGS
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: pkg-config --version
|
pkg-config --version
|
||||||
|
|
Loading…
Reference in a new issue