Commit c2fd8c60 authored by Rafaël Carré's avatar Rafaël Carré

Rename flacdec codec plugin to flac, to show it can encode too

Rename flac demux plugin to flacsys
parent 043ddf12
...@@ -1083,8 +1083,8 @@ dnl ...@@ -1083,8 +1083,8 @@ dnl
dnl default modules dnl default modules
dnl dnl
VLC_ADD_PLUGINS([dummy logger memcpy]) VLC_ADD_PLUGINS([dummy logger memcpy])
VLC_ADD_PLUGINS([mpgv mpga m4v m4a h264 ps pva avi asf mp4 rawdv nsv real aiff mjpeg demuxdump flac tta]) VLC_ADD_PLUGINS([mpgv mpga m4v m4a h264 ps pva avi asf mp4 rawdv nsv real aiff mjpeg demuxdump flacsys tta])
VLC_ADD_PLUGINS([cvdsub svcdsub spudec subsdec dvbsub mpeg_audio lpcm a52 dts cinepak flacdec]) VLC_ADD_PLUGINS([cvdsub svcdsub spudec subsdec dvbsub mpeg_audio lpcm a52 dts cinepak flac])
VLC_ADD_PLUGINS([deinterlace invert adjust transform wave ripple psychedelic gradient motionblur rv32 rotate noise]) VLC_ADD_PLUGINS([deinterlace invert adjust transform wave ripple psychedelic gradient motionblur rv32 rotate noise])
VLC_ADD_PLUGINS([fixed32tos16 s16tofixed32 u8tofixed32 mono]) VLC_ADD_PLUGINS([fixed32tos16 s16tofixed32 u8tofixed32 mono])
VLC_ADD_PLUGINS([trivial_resampler ugly_resampler]) VLC_ADD_PLUGINS([trivial_resampler ugly_resampler])
...@@ -3173,7 +3173,7 @@ dnl ...@@ -3173,7 +3173,7 @@ dnl
dnl Flac plugin dnl Flac plugin
dnl dnl
AC_ARG_ENABLE(flac, AC_ARG_ENABLE(flac,
[ --enable-flac flac decoder support (default disabled)]) [ --enable-flac libflac decoder/encoder support (default disabled)])
if test "${enable_flac}" = "yes" if test "${enable_flac}" = "yes"
then then
AC_ARG_WITH(flac-tree, AC_ARG_WITH(flac-tree,
...@@ -3192,8 +3192,8 @@ then ...@@ -3192,8 +3192,8 @@ then
then then
dnl Use a custom flac dnl Use a custom flac
AC_MSG_RESULT(${real_flac_tree}/src/libFLAC/.libs/libFLAC.a) AC_MSG_RESULT(${real_flac_tree}/src/libFLAC/.libs/libFLAC.a)
VLC_ADD_LDFLAGS([flacdec],[${real_flac_tree}/src/libFLAC/.libs/libFLAC.a]) VLC_ADD_LDFLAGS([flac],[${real_flac_tree}/src/libFLAC/.libs/libFLAC.a])
VLC_ADD_CFLAGS([flacdec],[-I${real_flac_tree}/include]) VLC_ADD_CFLAGS([flac],[-I${real_flac_tree}/include])
AC_DEFINE(HAVE_FLAC_STREAM_DECODER_H, 1, [Define if you have FLAC]) AC_DEFINE(HAVE_FLAC_STREAM_DECODER_H, 1, [Define if you have FLAC])
else else
dnl The given flac wasn't built dnl The given flac wasn't built
...@@ -3202,7 +3202,7 @@ then ...@@ -3202,7 +3202,7 @@ then
fi fi
else else
AC_CHECK_HEADERS(FLAC/stream_decoder.h, [ AC_CHECK_HEADERS(FLAC/stream_decoder.h, [
VLC_ADD_LDFLAGS([flacdec],[-lFLAC]) VLC_ADD_LDFLAGS([flac],[-lFLAC])
],[]) ],[])
fi fi
fi fi
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
SOURCES_a52 = a52.c SOURCES_a52 = a52.c
SOURCES_cinepak = cinepak.c SOURCES_cinepak = cinepak.c
SOURCES_dts = dts.c SOURCES_dts = dts.c
SOURCES_flacdec = flac.c SOURCES_flac = flac.c
SOURCES_lpcm = lpcm.c SOURCES_lpcm = lpcm.c
SOURCES_araw = araw.c SOURCES_araw = araw.c
SOURCES_vorbis = vorbis.c SOURCES_vorbis = vorbis.c
......
SOURCES_a52sys = a52.c SOURCES_a52sys = a52.c
SOURCES_dtssys = dts.c SOURCES_dtssys = dts.c
SOURCES_flac = flac.c SOURCES_flacsys = flac.c
SOURCES_ogg = ogg.c SOURCES_ogg = ogg.c
SOURCES_demuxdump = demuxdump.c SOURCES_demuxdump = demuxdump.c
SOURCES_rawdv = rawdv.c SOURCES_rawdv = rawdv.c
......
...@@ -1491,8 +1491,8 @@ strfile %buildroot%_gamesdatadir/fortune/vlc %buildroot%_gamesdatadir/fortune/vl ...@@ -1491,8 +1491,8 @@ strfile %buildroot%_gamesdatadir/fortune/vlc %buildroot%_gamesdatadir/fortune/vl
%_vlc_pluginsdir/codec/libvorbis_plugin.so* %_vlc_pluginsdir/codec/libvorbis_plugin.so*
%files plugin-flac %files plugin-flac
%_vlc_pluginsdir/demux/libflac_plugin.so* %_vlc_pluginsdir/demux/libflacsys_plugin.so*
%_vlc_pluginsdir/codec/libflacdec_plugin.so* %_vlc_pluginsdir/codec/libflac_plugin.so*
%files plugin-a52 %files plugin-a52
%_vlc_pluginsdir/audio_filter/liba52tofloat32_plugin.so* %_vlc_pluginsdir/audio_filter/liba52tofloat32_plugin.so*
......
...@@ -1144,8 +1144,8 @@ rm -fr %buildroot ...@@ -1144,8 +1144,8 @@ rm -fr %buildroot
%files plugin-flac %files plugin-flac
%defattr(-,root,root) %defattr(-,root,root)
%doc README %doc README
%_libdir/vlc/demux/libflac_plugin.so %_libdir/vlc/demux/libflacsys_plugin.so
%_libdir/vlc/codec/libflacdec_plugin.so %_libdir/vlc/codec/libflac_plugin.so
%endif %endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment