qt: playlist: use item title if available
[vlc.git] / contrib / src / lame / rules.mak
blobab08e93ba961064f8ac27d2ea9b00f34ab366430
1 # lame
3 LAME_VERSION := 3.100
4 LAME_URL := $(SF)/lame/lame-$(LAME_VERSION).tar.gz
5 LAME_CFLAGS := $(CFLAGS)
7 $(TARBALLS)/lame-$(LAME_VERSION).tar.gz:
8 $(call download_pkg,$(LAME_URL),lame)
10 .sum-lame: lame-$(LAME_VERSION).tar.gz
12 ifdef WITH_OPTIMIZATION
13 LAME_CFLAGS += -DNDEBUG
14 endif
16 lame: lame-$(LAME_VERSION).tar.gz .sum-lame
17 $(UNPACK)
18 $(APPLY) $(SRC)/lame/lame-forceinline.patch
19 $(APPLY) $(SRC)/lame/sse.patch
20 ifdef HAVE_VISUALSTUDIO
21 $(APPLY) $(SRC)/lame/struct-float-copy.patch
22 endif
23 # Avoid relying on iconv.m4 from gettext, when reconfiguring.
24 # This is only used by the frontend which we disable.
25 cd $(UNPACK_DIR) && sed -i.orig 's/^AM_ICONV/#&/' configure.in
26 $(UPDATE_AUTOCONFIG)
27 $(MOVE)
29 .lame: lame
30 $(RECONF)
31 cd $< && $(HOSTVARS) CFLAGS="$(LAME_CFLAGS)" ./configure $(HOSTCONF) --disable-analyzer-hooks --disable-decoder --disable-gtktest --disable-frontend
32 cd $< && $(MAKE) install
33 touch $@