Commit a69221d4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Removed nasm from the contribs and changed the build behaviour for yasm: it's...

Removed nasm from the contribs and changed the build behaviour for yasm: it's only compiled on Intel-based Macs as PPC-based Macs don't need it.
parent 9d98ad6a
...@@ -4,15 +4,15 @@ download-all: autoconf automake libtool cmake gettext pkgconfig freetype2 \ ...@@ -4,15 +4,15 @@ download-all: autoconf automake libtool cmake gettext pkgconfig freetype2 \
speex libshout faad2 faac lame twolame libebml libmatroska ffmpeg libdca \ speex libshout faad2 faac lame twolame libebml libmatroska ffmpeg libdca \
libdvdcss libdvdnav libdvbpsi live libcaca libmodplug xml asa jpeg tiff \ libdvdcss libdvdnav libdvbpsi live libcaca libmodplug xml asa jpeg tiff \
SDL zlib libpng libgpg-error libgcrypt opencdk gnutls libopendaap libcddb \ SDL zlib libpng libgpg-error libgcrypt opencdk gnutls libopendaap libcddb \
libcdio vcdimager SDL_image glib gecko-sdk mpcdec dirac expat taglib nasm \ libcdio vcdimager SDL_image glib gecko-sdk mpcdec dirac expat taglib \
yasm x264 goom lua zvbi fontconfig ncurses all x264 yasm goom lua zvbi fontconfig ncurses all
all: .autoconf .automake .libtool .cmake .intl .pkgcfg .freetype \ all: .autoconf .automake .libtool .cmake .intl .pkgcfg .freetype \
.fribidi .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .fribidi .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
.flac .speex .shout .faad .faac .lame .twolame .ebml .matroska .ffmpeg \ .flac .speex .shout .faad .faac .lame .twolame .ebml .matroska .ffmpeg \
.dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod .asa \ .dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod .asa \
.png .gpg-error .gcrypt .opencdk .gnutls .opendaap .cddb .cdio .vcdimager \ .png .gpg-error .gcrypt .opencdk .gnutls .opendaap .cddb .cdio .vcdimager \
.SDL_image .glib .gecko .mpcdec .dirac_encoder .dirac_decoder \ .SDL_image .glib .gecko .mpcdec .dirac_encoder .dirac_decoder \
.dca .tag .nasm .yasm .x264 .goom2k4 .lua .zvbi .fontconfig .ncurses .aclocal .dca .tag .x264 .goom2k4 .lua .zvbi .fontconfig .ncurses .aclocal
# .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
......
...@@ -1375,8 +1375,13 @@ ifdef HAVE_WIN32 ...@@ -1375,8 +1375,13 @@ ifdef HAVE_WIN32
(cd $<; $(HOSTCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install) (cd $<; $(HOSTCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
endif endif
else else
.x264: x264 ifdef HAVE_DARWIN_OS_ON_INTEL
.x264: x264 .yasm
(cd $<; $(HOSTCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
else
.x264: x264
(cd $<; $(HOSTCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install) (cd $<; $(HOSTCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
endif
endif endif
touch $@ touch $@
...@@ -2229,29 +2234,6 @@ CLEAN_FILE += .clinkcc ...@@ -2229,29 +2234,6 @@ CLEAN_FILE += .clinkcc
CLEAN_PKG += clinkcc CLEAN_PKG += clinkcc
DISTCLEAN_PKG += clinkcc$(CLINKCC_VERSION).tar.gz DISTCLEAN_PKG += clinkcc$(CLINKCC_VERSION).tar.gz
# ***************************************************************************
# NASM assembler
# ***************************************************************************
nasm-$(NASM_VERSION).tar.bz2:
$(WGET) $(NASM_URL)
nasm: nasm-$(NASM_VERSION).tar.bz2
$(EXTRACT_BZ2)
#nasm:
# echo $(NASM_CVSROOT) A > ./nasm.cvs
# CVS_PASSFILE=./nasm.cvs cvs -z3 -d $(NASM_CVSROOT) co nasm
# (cd $@ && autoconf && autoheader)
.nasm: nasm
(cd $< && $(HOSTCC) ./configure --prefix=$(PREFIX) && make && make install)
touch $@
CLEAN_FILE += .nasm
CLEAN_PKG += nasm nasm.cvs
DISTCLEAN_PKG += nasm-$(NASM_VERSION).tar.bz2
# *************************************************************************** # ***************************************************************************
# YASM assembler # YASM assembler
# *************************************************************************** # ***************************************************************************
......
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