]> git.sesse.net Git - vlc/commitdiff
Adds ncurses compiled with wide characters support to contribs for MacOSX
authorRafaël Carré <funman@videolan.org>
Fri, 14 Sep 2007 16:53:04 +0000 (16:53 +0000)
committerRafaël Carré <funman@videolan.org>
Fri, 14 Sep 2007 16:53:04 +0000 (16:53 +0000)
extras/contrib/src/Distributions/darwin.mak
extras/contrib/src/Makefile
extras/contrib/src/packages.mak

index 40e509e2bc66d8afc770abe04027154102e356c7..8b6fefee33112f00cd48d7131328d86fc2d72eaa 100644 (file)
@@ -5,7 +5,7 @@ all: .autoconf .automake .libtool .intl .pkgcfg .freetype .fribidi \
     .dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod \
     .png .gpg-error .gcrypt .gnutls .opendaap .cddb .cdio .vcdimager \
     .SDL_image .glib .gecko .mpcdec .dirac_encoder .dirac_decoder \
-    .dca .tag .x264 .goom2k4 .lua .zvbi .fontconfig .aclocal
+    .dca .tag .x264 .goom2k4 .lua .zvbi .fontconfig .ncurses .aclocal
 # .expat .clinkcc don't work with SDK yet
 # .glib .IDL .gecko are required to build the mozilla plugin
 # .mozilla will build an entire mozilla. it can be used if we need to create a new .gecko package
index fc79b4d1dd3e878b4a3a32af22bd5519ae034e38..dc48126eaf37c239ba2164df7f121af30d56dab3 100644 (file)
@@ -1137,7 +1137,7 @@ libdvbpsi: libdvbpsi4-$(LIBDVBPSI_VERSION).tar.gz
 
 CLEAN_FILE += .dvbpsi
 CLEAN_PKG += libdvbpsi
-DISTCLEAN_PKG += libdvbpsi3-$(LIBDVBPSI_VERSION).tar.gz
+DISTCLEAN_PKG += libdvbpsi4-$(LIBDVBPSI_VERSION).tar.gz
 
 # ***************************************************************************
 # live
@@ -2162,6 +2162,23 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
        $(INSTALL_NAME)
        touch $@
 
+# ***************************************************************************
+# ncurses library (with wide chars support)
+# ***************************************************************************
+
+ncurses-$(NCURSES_VERSION).tar.gz:
+       $(WGET) $(NCURSES_URL)
+
+ncurses: ncurses-$(NCURSES_VERSION).tar.gz
+       $(EXTRACT_GZ)
+
+.ncurses: ncurses
+       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --without-debug --enable-widec --without-develop --without-shared && make && make install)
+       touch $@
+
+CLEAN_FILE += .ncurses
+CLEAN_PKG += ncurses
+DISTCLEAN_PKG += ncurses-$(NCURSES_VERSION).tar.gz
 
 # ***************************************************************************
 # Some cleaning
index f10e6de214f10c961306c9d09b2604a76a36852b..1562ce44edd6074b561eb67fff17262af7412d66 100644 (file)
@@ -191,3 +191,5 @@ TAGLIB_VERSION=1.4
 TAGLIB_URL=http://developer.kde.org/~wheeler/files/src/taglib-$(TAGLIB_VERSION).tar.gz
 LUA_VERSION=5.1
 LUA_URL=http://www.lua.org/ftp/lua-$(LUA_VERSION).tar.gz
+NCURSES_VERSION=5.6
+NCURSES_URL=$(GNU)/ncurses/ncurses-$(NCURSES_VERSION).tar.gz