aboutsummaryrefslogtreecommitdiff
path: root/tools/depends
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends')
-rw-r--r--tools/depends/target/libass/LIBASS-VERSION5
-rw-r--r--tools/depends/target/libass/Makefile16
2 files changed, 8 insertions, 13 deletions
diff --git a/tools/depends/target/libass/LIBASS-VERSION b/tools/depends/target/libass/LIBASS-VERSION
new file mode 100644
index 0000000000..336d709ab4
--- /dev/null
+++ b/tools/depends/target/libass/LIBASS-VERSION
@@ -0,0 +1,5 @@
+LIBNAME=libass
+VERSION=0.17.1
+ARCHIVE=$(LIBNAME)-$(VERSION).tar.xz
+SHA512=437b4b60db2626e48f438b5138ab4dbf2c2ab4c8f0b587a6e554510c6719544ef2235c601ff1e482d020410f9bab95ad1a9b176d19a3bd54880499a576b41f23
+BYPRODUCT=libass.a
diff --git a/tools/depends/target/libass/Makefile b/tools/depends/target/libass/Makefile
index 2c1ebc3252..523d25602b 100644
--- a/tools/depends/target/libass/Makefile
+++ b/tools/depends/target/libass/Makefile
@@ -1,13 +1,5 @@
-include ../../Makefile.include
-DEPS = ../../Makefile.include Makefile ../../download-files.include
-
-# lib name, version
-LIBNAME=libass
-VERSION=0.15.2
-SOURCE=$(LIBNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.gz
-SHA512=3b8022ca500d4a9e19e9b7106e29d23d4bca20012619c829bc3e77437bcb3c7bd8364800f7daeb3f2d8400afc7bbcaab487c7b30c429d9aed70e37ce4cb265a2
-include ../../download-files.include
+include ../../Makefile.include LIBASS-VERSION ../../download-files.include
+DEPS = ../../Makefile.include Makefile LIBASS-VERSION ../../download-files.include
ifeq ($(OS),android)
# Android API Level 21/22 requires explicit link.
@@ -21,13 +13,12 @@ endif
# configuration settings
CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \
- ./configure --prefix=$(PREFIX) --disable-enca
+ ./configure --prefix=$(PREFIX)
LIBDYLIB=$(PLATFORM)/$(LIBNAME)/.libs/$(LIBNAME).a
all: .installed-$(PLATFORM)
-
$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
@@ -47,4 +38,3 @@ clean:
distclean::
rm -rf $(PLATFORM) .installed-$(PLATFORM)
-