Skip to content
Snippets Groups Projects
Commit b56cc336 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

contrib: vorbis: do not use a fake target for vorbisenc

We don't add useless rules.

vorbisenc is built with libvorbis, so we just build that when needed.
parent 07101865
No related branches found
No related tags found
Loading
......@@ -6,15 +6,18 @@ VORBIS_URL := http://downloads.xiph.org/releases/vorbis/libvorbis-$(VORBIS_VERSI
ifdef HAVE_FPU
PKGS += vorbis
endif
ifdef BUILD_ENCODERS
PKGS += vorbis
endif
ifeq ($(call need_pkg,"vorbis >= 1.1"),)
ifdef BUILD_ENCODERS
ifeq ($(call need_pkg,"vorbisenc >= 1.1"),)
PKGS_FOUND += vorbis
endif
PKGS_ALL += vorbisenc
ifdef BUILD_ENCODERS
PKGS += vorbisenc
else
PKGS_FOUND += vorbis
endif
ifeq ($(call need_pkg,"vorbisenc >= 1.1"),)
PKGS_FOUND += vorbisenc
endif
$(TARBALLS)/libvorbis-$(VORBIS_VERSION).tar.xz:
......@@ -39,11 +42,3 @@ DEPS_vorbis = ogg $(DEPS_ogg)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-docs --disable-examples --disable-oggtest
cd $< && $(MAKE) install
touch $@
.sum-vorbisenc: .sum-vorbis
touch $@
DEPS_vorbisenc = vorbis $(DEPS_vorbis)
.vorbisenc:
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment