Skip to content
Snippets Groups Projects
Commit adefe573 authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

snap: make it easier to run as a CI job

Honor VLC_PREBUILT_CONTRIBS_URL env variable and produce packaged
tarball if prebuilt contrib is not available.
parent abd6fbe4
No related branches found
No related tags found
No related merge requests found
......@@ -72,13 +72,19 @@ parts:
export PATH=$PWD/extras/tools/build/bin:$PATH
cd contrib && mkdir linux && cd linux
../bootstrap \
--enable-libdsm \
--enable-dvdcss \
--disable-upnp \
--disable-chromaprint
make list
make -j $(getconf _NPROCESSORS_ONLN) fetch
make -j $(getconf _NPROCESSORS_ONLN) -k install || make -j1
--host=$TRIPLET \
--enable-libdsm \
--enable-dvdcss \
--disable-upnp \
--disable-chromaprint
if [ -n "$VLC_PREBUILT_CONTRIBS_URL" ]; then
make prebuilt PREBUILT_URL="$VLC_PREBUILT_CONTRIBS_URL"
else
make list
make -j $(getconf _NPROCESSORS_ONLN) fetch
make -j $(getconf _NPROCESSORS_ONLN) -k install || make -j1
make package
fi
cd ../../
export NOCONFIGURE=1
autoreconf -fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment