ffmpeg-build-script icon indicating copy to clipboard operation
ffmpeg-build-script copied to clipboard

Would it be possible to add the --enable-libbluray configure option

Open MattL0 opened this issue 3 years ago • 1 comments

hi, I am able to compile ffmpeg with --enable-libbluray without this script.

But if I try to add it to this script by compiling it, it does not work. It always shows an error (can't remember it now because It was a month ago or so).

This was the code i tried

if $NONFREE_AND_GPL; then if build "libbluray" "master"; then download "https://code.videolan.org/videolan/libbluray/-/archive/master/libbluray-master.tar.gz" "libbluray-master.tar.gz" cd libbluray-master execute ./bootstrap execute ./configure --prefix="${WORKSPACE}" --libdir="${WORKSPACE}"/lib execute make -j 16 execute make install build_done "libbluray" fi CONFIGURE_OPTIONS+=("--enable-libbluray") fi

MattL0 avatar Feb 06 '22 00:02 MattL0

if build "libxml2" "snapshot"; then
		download "ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz" "snapshot.tar.gz"
		execute execute ./configure --prefix="${WORKSPACE}" --enable-static --disable-shared --disable-dependency-tracking --without-python
		execute make -j $MJOBS
		execute make install
		build_done "libxml2" "snapshot"
fi
if $NONFREE_AND_GPL; then
	if build "libbluray" "master"; then
		download "https://code.videolan.org/videolan/libbluray/-/archive/master/libbluray-master.tar.gz" "libbluray-master.tar.gz"
		execute ./bootstrap
		execute ./configure --prefix="${WORKSPACE}" --bindir="${WORKSPACE}"/bin --libdir="${WORKSPACE}"/lib
		execute make -j $MJOBS
		execute make install
		build_done "libbluray" "master"
	fi
	CONFIGURE_OPTIONS+=("--enable-libbluray")
fi

ghost avatar Feb 16 '22 09:02 ghost