At least the ffmpeg libraries get installed now...
This commit is contained in:
@@ -70,8 +70,14 @@ if test "$with_ffmpeg" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
dnl System FFMpeg
|
dnl System FFMpeg
|
||||||
|
dnl HACK: $prefix is set to NONE if not user specified
|
||||||
|
if test "$prefix" = "NONE"; then
|
||||||
|
our_installdir="/opt"
|
||||||
|
else
|
||||||
|
our_installdir="$prefix"
|
||||||
|
fi
|
||||||
dnl We might as well throw in GPL stuff as we're bound to GPL by libmad anyway.
|
dnl We might as well throw in GPL stuff as we're bound to GPL by libmad anyway.
|
||||||
FFMPEG_CONFFLAGS="--enable-gpl --disable-programs --disable-doc --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter"
|
FFMPEG_CONFFLAGS="--shlibdir=$our_installdir/stepmania-$VERSION --enable-gpl --disable-programs --disable-doc --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter"
|
||||||
if test "$host_os" = "mingw32"; then
|
if test "$host_os" = "mingw32"; then
|
||||||
FFMPEG_CONFFLAGS="$FFMPEG_CONFFLAGS --arch=x86"
|
FFMPEG_CONFFLAGS="$FFMPEG_CONFFLAGS --arch=x86"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -12,6 +12,12 @@ if WINDOWS
|
|||||||
rm -f ../*.dll
|
rm -f ../*.dll
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
install:
|
||||||
|
cd ffmpeg && $(MAKE) install-libs
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
cd ffmpeg && $(MAKE) uninstall-libs
|
||||||
|
|
||||||
clean-local: del-dlls
|
clean-local: del-dlls
|
||||||
cd ffmpeg && $(MAKE) clean
|
cd ffmpeg && $(MAKE) clean
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user