Commit b14c37e0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repack.d/common.h: add filter_from_requires function

parent 10bbec85
......@@ -85,10 +85,16 @@ fix_chrome_sandbox()
chmod -v 4711 $BUILDROOT$sandbox
}
filter_from_requires()
{
local i
for i in "$@" ; do
subst "1i%filter_from_requires /^$i.*/d" $SPEC
done
}
# ignore embedded libs
drop_embedded_reqs()
{
subst '1i%filter_from_requires /^libGLESv2.so().*/d' $SPEC
subst '1i%filter_from_requires /^libEGL.so().*/d' $SPEC
subst '1i%filter_from_requires /^libffmpeg.so().*/d' $SPEC
filter_from_requires "libGLESv2.so()" "libEGL.so()" "libffmpeg.so()"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment