mirror of https://github.com/mpv-player/mpv
Simplify ASS handling second try, this time taking FreeType into account.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18987 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1b2b9d0d22
commit
6d1ae9655f
19
Makefile
19
Makefile
|
@ -60,10 +60,6 @@ ifeq ($(UNRARLIB),yes)
|
|||
SRCS_COMMON += unrarlib.c
|
||||
endif
|
||||
|
||||
ifeq ($(FREETYPE),yes)
|
||||
SRCS_MENCODER += libvo/font_load_ft.c
|
||||
endif
|
||||
|
||||
OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
|
||||
OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
|
||||
|
||||
|
@ -82,12 +78,6 @@ ifeq ($(EXTERNAL_VIDIX),yes)
|
|||
VO_LIBS += $(EXTERNAL_VIDIX_LIB)
|
||||
endif
|
||||
|
||||
ASS_LIB =
|
||||
|
||||
ifeq ($(CONFIG_ASS),yes)
|
||||
ASS_LIB += libass/libass.a
|
||||
endif
|
||||
|
||||
AO_LIBS = $(ARTS_LIB) \
|
||||
$(ESD_LIB) \
|
||||
$(JACK_LIB) \
|
||||
|
@ -119,13 +109,11 @@ COMMON_LIBS = libmpcodecs/libmpcodecs.a \
|
|||
$(W32_LIB) \
|
||||
libaf/libaf.a \
|
||||
libmpdemux/libmpdemux.a \
|
||||
$(ASS_LIB) \
|
||||
libswscale/libswscale.a \
|
||||
osdep/libosdep.a \
|
||||
$(DVDREAD_LIB) \
|
||||
$(DVDNAV_LIB) \
|
||||
$(CODEC_LIBS) \
|
||||
$(FREETYPE_LIB) \
|
||||
$(TERMCAP_LIB) \
|
||||
$(CDPARANOIA_LIB) \
|
||||
$(MPLAYER_NETWORK_LIB) \
|
||||
|
@ -263,9 +251,14 @@ COMMON_DEPS += libmpdvdkit2/libmpdvdkit.a
|
|||
endif
|
||||
ifeq ($(CONFIG_ASS),yes)
|
||||
COMMON_DEPS += libass/libass.a
|
||||
COMMON_LIBS += libass/libass.a
|
||||
PARTS += libass
|
||||
endif
|
||||
|
||||
# FreeType needs to come after ASS to avoid link failures on MinGW
|
||||
ifeq ($(FREETYPE),yes)
|
||||
SRCS_MENCODER += libvo/font_load_ft.c
|
||||
COMMON_LIBS += $(FREETYPE_LIB)
|
||||
endif
|
||||
ifeq ($(GUI),yes)
|
||||
COMMON_DEPS += Gui/libgui.a
|
||||
GUI_LIBS = Gui/libgui.a
|
||||
|
|
Loading…
Reference in New Issue