2019-05-29 13:47:11 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This script will tell you if there are headers in the source tree
|
|
|
|
# that have not been installed in $PREFIX
|
|
|
|
|
|
|
|
LIST=""
|
|
|
|
|
2021-05-02 08:38:51 +00:00
|
|
|
for i in $(find spa/include -name '*.h' | sed s#spa/include/##);
|
2019-05-29 13:47:11 +00:00
|
|
|
do
|
2021-05-02 08:38:51 +00:00
|
|
|
[ -f "$PREFIX/include/spa-0.2/$i" ] || LIST="$i $LIST"
|
2019-05-29 13:47:11 +00:00
|
|
|
done
|
|
|
|
|
2021-05-02 08:38:51 +00:00
|
|
|
for i in $(find src/pipewire -name '*.h' -a -not -name '*private.h' | sed s#src/##);
|
2019-05-29 13:47:11 +00:00
|
|
|
do
|
2021-05-02 08:38:51 +00:00
|
|
|
[ -f "$PREFIX/include/pipewire-0.3/$i" ] || LIST="$i $LIST"
|
2019-05-29 13:47:11 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
for i in $LIST;
|
|
|
|
do
|
|
|
|
echo "$i not installed"
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ "$LIST" != "" ];
|
|
|
|
then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|