-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[osx/ios] banish libass to xxx-depends, this removes the need for an …
…external flag as osx/ios/linux/win are external libass but win is still dyloaded while the others are compile linked
- Loading branch information
Showing
15 changed files
with
238 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# A quick and dirty Makefile to download/build and install | ||
# | ||
# Usage: | ||
# make | ||
# sudo make install | ||
|
||
include ../config.mk | ||
|
||
# lib name, version | ||
LIBNAME=libass | ||
VERSION=0.9.11 | ||
SOURCE=$(LIBNAME)-$(VERSION) | ||
# download location and format | ||
BASE_URL=http://mirrors.xbmc.org/build-deps/darwin-libs | ||
ARCHIVE=$(SOURCE).tar.bz2 | ||
TARBALLS_LOCATION=/Users/Shared/xbmc-depends/tarballs | ||
RETRIEVE_TOOL=/usr/bin/curl | ||
RETRIEVE_TOOL_FLAGS=-Ls --create-dirs --output $(TARBALLS_LOCATION)/$(ARCHIVE) | ||
ARCHIVE_TOOL=tar | ||
ARCHIVE_TOOL_FLAGS=xf | ||
|
||
# configuration settings | ||
CONFIGURE=./configure --prefix=$(PREFIX) --host=$(HOST) | ||
|
||
LIBDYLIB=$(SOURCE)/$(LIBNAME)/.libs/$(LIBNAME).dylib | ||
|
||
CLEAN_FILES=$(ARCHIVE) $(SOURCE) | ||
|
||
all: $(LIBDYLIB) .installed | ||
|
||
$(TARBALLS_LOCATION)/$(ARCHIVE): | ||
$(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE) | ||
|
||
$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE) | ||
-rm -rf $(SOURCE) | ||
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) | ||
echo $(SOURCE) > .gitignore | ||
cd $(SOURCE); $(CONFIGURE) | ||
|
||
$(LIBDYLIB): $(SOURCE) | ||
make -C $(SOURCE) | ||
|
||
.installed: | ||
make -C $(SOURCE) install | ||
touch $@ | ||
|
||
clean: | ||
make -C $(SOURCE) clean | ||
rm .installed | ||
|
||
distclean:: | ||
rm -rf $(SOURCE) .installed |
Oops, something went wrong.