Commit 2bd0c496 authored by Pavlov Konstantin's avatar Pavlov Konstantin

[Contrib]: libupnp build rules. Enable upnp on darwin.

parent 6531388a
...@@ -6,7 +6,7 @@ all: .autoconf .gnumake .automake .libtool .intl .pkgcfg .freetype \ ...@@ -6,7 +6,7 @@ all: .autoconf .gnumake .automake .libtool .intl .pkgcfg .freetype \
.png .gpg-error .gcrypt .gnutls .cddb .cdio .vcdimager \ .png .gpg-error .gcrypt .gnutls .cddb .cdio .vcdimager \
.SDL_image .glib .gecko .mpcdec .dirac_encoder .dirac_decoder \ .SDL_image .glib .gecko .mpcdec .dirac_encoder .dirac_decoder \
.dca .tag .x264 .goom2k4 .lua .zvbi .fontconfig .ncurses .liboil \ .dca .tag .x264 .goom2k4 .lua .zvbi .fontconfig .ncurses .liboil \
.schroedinger .libass .aclocal .schroedinger .libass .aclocal .libupnp
# .expat .clinkcc don't work with SDK yet # .expat .clinkcc don't work with SDK yet
# .glib .IDL .gecko are required to build the mozilla plugin # .glib .IDL .gecko are required to build the mozilla plugin
# .mozilla-macosx will build an entire mozilla. it can be used if we need to create a new .gecko package # .mozilla-macosx will build an entire mozilla. it can be used if we need to create a new .gecko package
......
...@@ -2519,6 +2519,25 @@ CLEAN_FILE += .libass ...@@ -2519,6 +2519,25 @@ CLEAN_FILE += .libass
CLEAN_PKG += libass CLEAN_PKG += libass
DISTCLEAN_PKG += libass-$(ASS_VERSION).tar.bz2 DISTCLEAN_PKG += libass-$(ASS_VERSION).tar.bz2
# ***************************************************************************
# UPNP library
# ***************************************************************************
libupnp-$(UPNP_VERSION).tar.bz2:
$(WGET) $(UPNP_URL)
libupnp: libupnp-$(UPNP_VERSION).tar.bz2
$(EXTRACT_BZ2)
.libupnp: libupnp
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-samples --without-documentation --disable-webserver CFLAGS="$(CFLAGS) -O3" && make && make install)
touch $@
CLEAN_FILE += .libupnp
CLEAN_PKG += libupnp
DISTCLEAN_PKG += libupnp-$(UPNP_VERSION).tar.bz2
# *************************************************************************** # ***************************************************************************
# Some cleaning # Some cleaning
# *************************************************************************** # ***************************************************************************
......
...@@ -200,8 +200,8 @@ PORTAUDIO_VERSION=19 ...@@ -200,8 +200,8 @@ PORTAUDIO_VERSION=19
PORTAUDIO_URL=http://www.portaudio.com/archives/pa_snapshot_v$(PORTAUDIO_VERSION).tar.gz PORTAUDIO_URL=http://www.portaudio.com/archives/pa_snapshot_v$(PORTAUDIO_VERSION).tar.gz
CLINKCC_VERSION=171 CLINKCC_VERSION=171
CLINKCC_URL=$(SF)/clinkcc/clinkcc$(CLINKCC_VERSION).tar.gz CLINKCC_URL=$(SF)/clinkcc/clinkcc$(CLINKCC_VERSION).tar.gz
UPNP_VERSION=1.2.1 UPNP_VERSION=1.6.6
UPNP_URL=$(SF)/upnp/libupnp-$(UPNP_VERSION).tar.gz UPNP_URL=$(VIDEOLAN)/testing/contrib/libupnp-$(UPNP_VERSION).tar.bz2
EXPAT_VERSION=2.0.0 EXPAT_VERSION=2.0.0
EXPAT_URL=$(SF)/expat/expat-$(EXPAT_VERSION).tar.gz EXPAT_URL=$(SF)/expat/expat-$(EXPAT_VERSION).tar.gz
PTHREADS_VERSION=2-8-0 PTHREADS_VERSION=2-8-0
......
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