Changeset e52025ed23ee687ce86cbce664a75854d3c25e73
- Timestamp:
- 08/03/08 23:36:36
(9 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1205015796 +0100
- git-parent:
[5b9686862a31a9384b06879afdd2ac00fc4b4890]
- git-author:
- VideoLAN <videolan@jones.via.ecp.fr> 1205015276 +0100
- Message:
build asa on darwin add pcre contrib (needed for asa) install fontconfig.pc on darwin
Signed-off-by: Rafaël Carré <funman@videolan.org>
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r204933c |
re52025e |
|
| 3 | 3 | .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ |
|---|
| 4 | 4 | .flac .speex .shout .faad .faac .lame .twolame .ebml .matroska .ffmpeg \ |
|---|
| 5 | | .dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod \ |
|---|
| | 5 | .dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod .asa \ |
|---|
| 6 | 6 | .png .gpg-error .gcrypt .gnutls .opendaap .cddb .cdio .vcdimager \ |
|---|
| 7 | 7 | .SDL_image .glib .gecko .mpcdec .dirac_encoder .dirac_decoder \ |
|---|
| r072a6e0 |
re52025e |
|
| 451 | 451 | else |
|---|
| 452 | 452 | ifdef HAVE_DARWIN_OS |
|---|
| 453 | | (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`xml2-config --cflags` LIBXML2_LIBS=`xml2-config --libs` ./configure $(HOSTCONF) --with-cache-dir=/var/cache/fontconfig --with-confdir=/etc/fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install-exec && (cd fontconfig ; make install-data)) |
|---|
| | 453 | (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`xml2-config --cflags` LIBXML2_LIBS=`xml2-config --libs` ./configure $(HOSTCONF) --with-cache-dir=/var/cache/fontconfig --with-confdir=/etc/fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install-exec && (cd fontconfig ; make install-data) && cp fontconfig.pc $(PKG_CONFIG_LIBDIR)) |
|---|
| 454 | 454 | else |
|---|
| 455 | 455 | (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install) |
|---|
| … | … | |
| 573 | 573 | CLEAN_PKG += libid3tag |
|---|
| 574 | 574 | DISTCLEAN_PKG += libid3tag-$(LIBID3TAG_VERSION).tar.gz |
|---|
| | 575 | |
|---|
| | 576 | # *************************************************************************** |
|---|
| | 577 | # pcre |
|---|
| | 578 | # *************************************************************************** |
|---|
| | 579 | |
|---|
| | 580 | pcre-$(PCRE_VERSION).tar.bz2: |
|---|
| | 581 | $(WGET) $(PCRE_URL) |
|---|
| | 582 | |
|---|
| | 583 | pcre: pcre-$(PCRE_VERSION).tar.bz2 |
|---|
| | 584 | $(EXTRACT_BZ2) |
|---|
| | 585 | |
|---|
| | 586 | .pcre: pcre |
|---|
| | 587 | (cd $<; ./configure --prefix=$(PREFIX) --disable-shared && $(HOSTCC) make && make install ) |
|---|
| | 588 | touch $@ |
|---|
| | 589 | |
|---|
| | 590 | CLEAN_FILE += .pcre |
|---|
| | 591 | CLEAN_PKG += pcre |
|---|
| | 592 | DISTCLEAN_PKG += pcre-$(PCRE_VERSION).tar.bz2 |
|---|
| 575 | 593 | |
|---|
| 576 | 594 | # *************************************************************************** |
|---|
| … | … | |
| 2310 | 2328 | asa: asa.git.tar.gz |
|---|
| 2311 | 2329 | $(EXTRACT_GZ) |
|---|
| 2312 | | |
|---|
| 2313 | | .asa: asa |
|---|
| | 2330 | patch -p0 < Patches/asa-git.diff |
|---|
| | 2331 | |
|---|
| | 2332 | .asa: asa .fontconfig .pcre |
|---|
| 2314 | 2333 | (cd $<; ./bootstrap; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install) |
|---|
| | 2334 | $(INSTALL_NAME) |
|---|
| 2315 | 2335 | touch $@ |
|---|
| 2316 | 2336 | |
|---|
| r69b114a |
re52025e |
|
| 213 | 213 | NCURSES_URL=$(GNU)/ncurses/ncurses-$(NCURSES_VERSION).tar.gz |
|---|
| 214 | 214 | ASA_URL="http://git.spaceboyz.net/asa.git/?p=asa.git;a=snapshot;" |
|---|
| | 215 | PCRE_VERSION=7.6 |
|---|
| | 216 | PCRE_URL=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$(PCRE_VERSION).tar.bz2 |
|---|