# shout
-SHOUT_VERSION := 2.2.2
+SHOUT_VERSION := 2.3.1
SHOUT_URL := http://downloads.us.xiph.org/releases/libshout/libshout-$(SHOUT_VERSION).tar.gz
+ifdef BUILD_ENCODERS
+ifdef BUILD_NETWORK
PKGS += shout
+endif
+endif
ifeq ($(call need_pkg,"shout >= 2.1"),)
PKGS_FOUND += shout
endif
libshout: libshout-$(SHOUT_VERSION).tar.gz .sum-shout
$(UNPACK)
$(APPLY) $(SRC)/shout/libshout-win32.patch
+ $(APPLY) $(SRC)/shout/bsd.patch
+ $(UPDATE_AUTOCONFIG)
$(MOVE)
DEPS_shout = ogg $(DEPS_ogg) theora $(DEPS_theora) speex $(DEPS_speex)
-ifdef HAVE_FPU
DEPS_shout += vorbis $(DEPS_vorbis)
-else
-DEPS_shout += tremor $(DEPS_tremor)
+
+SHOUT_CONF :=
+
+ifdef HAVE_WIN32
+SHOUT_CONF += "--disable-thread"
endif
.shout: libshout
- cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(HOSTVARS) ./configure $(SHOUT_CONF) $(HOSTCONF)
cd $< && $(MAKE) install
touch $@