# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# If your want to make a different flavour of Opera, change this variable.
+# If your want to make a different flavor of Opera, change this variable.
# For now there are two valid choices: "beta" and "developer".
FLAVOR=-${FLAVOR:-beta}
rm -rf ${PKG}${FFMPEG_DIR}/{pkgconfig,include}
# Add path to ffmpeg libs to launcher
- sed -i "s/PATH_TO_FFMPEG/$(echo ${FFMPEG_DIR} | sed 's/\//\\\//g')/" /${PKG}/usr/bin/opera${FLAVOR}
+ sed -i "s/PATH_TO_FFMPEG/$(echo ${FFMPEG_DIR} | sed 's/\//\\\//g')/" ${PKG}/usr/bin/opera${FLAVOR}
}
# Exit on most errors
if [ "${FFMPEG}" == "yes" ]; then
build_ffmpeg
+else
+ sed -i 's/PATH_TO_FFMPEG\://' ${PKG}/usr/bin/opera${FLAVOR}
fi
# Strip binaries and libraries