At least the ffmpeg libraries get installed now...

This commit is contained in:
Ben "root" Anderson
2015-01-27 23:57:39 -06:00
parent 5f18a2aa4c
commit 2aed24ce46
2 changed files with 13 additions and 1 deletions
+7 -1
View File
@@ -70,8 +70,14 @@ if test "$with_ffmpeg" = "yes"; then
fi
else
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.
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
FFMPEG_CONFFLAGS="$FFMPEG_CONFFLAGS --arch=x86"
fi
+6
View File
@@ -12,6 +12,12 @@ if WINDOWS
rm -f ../*.dll
endif
install:
cd ffmpeg && $(MAKE) install-libs
uninstall:
cd ffmpeg && $(MAKE) uninstall-libs
clean-local: del-dlls
cd ffmpeg && $(MAKE) clean