5 # ugly, but "good enough" for this test
6 # This will need to be updated whenever cabal invokes pkg-config
13 '--variable pc_path pkg-config')
18 printf 'zlib zlib - zlib compression library\n'
19 # \256 = \xAE is the iso-8859-1 (latin-1) encoded version of U+00AE,
20 # i.e. the "registered sign": ®
21 # This resulted in problems, see #9608
22 printf 'vpl Intel\256 Video Processing Library - Accelerated video decode, encode, and frame processing capabilities on Intel\256 GPUs\n'
23 # \360 = \xF0 is latin-1 for ð; this is orð, Icelandic for "word"/"words".
24 printf 'or\360 Icelandic characters\n'
28 shift # drop the --modversion
31 zlib
) echo 1.3; ;; # whatever
32 vpl
) echo 2.10; ;; # whatever
33 # No entry for orð here; let's not even try to match on that
35 echo >&2 "Package $arg was not found in the pkg-config search path."
41 # Ignore some stuff we're not implementing
46 echo >&2 "pkg-config: unrecognised arguments $* (this is an incomplete shim)"