if [ "$path" != "" ]
then
- ln -sf ../mltpp.i .
+ ln -sf ../melted.i
# Invoke swig
- swig -c++ -I../../src `pkg-config mlt-framework --cflags` -tcl mltpp.i || exit 1
+ swig -c++ -I../../melted++ `pkg-config mlt++ --cflags` -tcl melted.i || exit 1
# Compile the wrapper
- g++ -D_GNU_SOURCE -c -rdynamic -pthread -I../../src `pkg-config mlt-framework --cflags` mltpp_wrap.cxx || exit 1
+ g++ -D_GNU_SOURCE -c -rdynamic -pthread -I../../melted++ `pkg-config mlt++ --cflags` melted_wrap.cxx || exit 1
# Create the module
- gcc -shared mltpp_wrap.o -L../../src -lmlt++ -o mltpp.so || exit 1
+ gcc -shared melted_wrap.o -L../../melted++ -lmelted++ -o melted.so || exit 1
else
echo "Unable to locate tclsh."
exit 1