]> git.sesse.net Git - vlc/commitdiff
contribs: slimmed the OS X package
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 22 Feb 2010 16:55:22 +0000 (17:55 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 22 Feb 2010 16:55:34 +0000 (17:55 +0100)
The included share folder was cut down to aclocal, autoconf, automake, gettext and libtool. Additionally, the gecko-sdk is downloaded and installed separately now. This vastly speeds up the installation process.

extras/contrib/Makefile

index b389427c8eeea9fcf456356ce753b8db6b6988a8..ccb52da37520322b7d3057d384e260e59d12074f 100644 (file)
@@ -64,6 +64,8 @@ hosts/$(HOST)/.$(CONTRIBREV): contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2
        (cd tmp && find . -type d) | while read dir; do mkdir -p -- "$(PREFIX)/$$dir"; done
        (cd tmp && find . -not -type d) | while read i; do mv -f -- tmp/"$$i" "$(PREFIX)/$$i"; done
        rm -rf tmp
+       # install the gecko-sdk, which isn't part of the package for size and speed reasons
+       (cd src && rm -rf *gecko* && $(MAKE) .gecko)
     # libiconv.la is no longer present on Snow Leopard, so fix possible references to it, which would
     # result in linking issues
 ifdef HAVE_DARWIN_10
@@ -97,7 +99,9 @@ package-macosx:
                exit 1 ; \
        fi
        mkdir tmp
-       (cd $(PREFIX); tar cf - *) | (cd tmp; tar xf -)
+       rm -rf $(PREFIX)/share/locale $(PREFIX)/share/doc $(PREFIX)/share/man
+       (cd $(PREFIX); tar cf - Sparkle bin sbin include lib share/aclocal* share/autoconf* \
+               share/automake* share/gettext* share/libtool*) | (cd tmp; tar xf -)
        ./change_prefix.sh tmp $(PREFIX) @@CONTRIB_PREFIX@@
        (cd tmp; tar cf - .) | bzip2 -c > contrib-macosx.tar.bz2
        rm -rf tmp