diff options
author | fuzzard <fuzzard@kodi.tv> | 2023-01-29 14:13:06 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-03-07 15:39:16 +1000 |
commit | c8487ea0eb59b8c1cd9c999ab4c76d52328c8f84 (patch) | |
tree | a1f43277c0a887f96c83f79a86c1ed1b1e2012e1 /tools/depends | |
parent | 7019dc5b1228f8b819c45d4de08d2ce932cf569a (diff) |
[tools/depends][target] introduce libunibreak
new dependency for libass
Diffstat (limited to 'tools/depends')
-rw-r--r-- | tools/depends/target/Makefile | 3 | ||||
-rw-r--r-- | tools/depends/target/libunibreak/LIBUNIBREAK-VERSION | 5 | ||||
-rw-r--r-- | tools/depends/target/libunibreak/Makefile | 30 |
3 files changed, 37 insertions, 1 deletions
diff --git a/tools/depends/target/Makefile b/tools/depends/target/Makefile index e0ce2b9c1e..f32ab42d82 100644 --- a/tools/depends/target/Makefile +++ b/tools/depends/target/Makefile @@ -33,6 +33,7 @@ DEPENDS = \ libplist \ libpng \ libshairplay \ + libunibreak \ libusb \ libxml2 \ libxslt \ @@ -134,7 +135,7 @@ fribidi: meson-cross-file gettext: $(ICONV) gnutls: nettle $(ZLIB) harfbuzz: meson-cross-file freetype2-noharfbuzz $(ICONV) -libass: fontconfig fribidi harfbuzz libpng freetype2 expat $(ICONV) +libass: fontconfig fribidi harfbuzz libpng libunibreak freetype2 expat $(ICONV) libbluray: fontconfig freetype2 $(ICONV) udfread libxml2 libcdio-gplv3: $(ICONV) libcdio: $(ICONV) diff --git a/tools/depends/target/libunibreak/LIBUNIBREAK-VERSION b/tools/depends/target/libunibreak/LIBUNIBREAK-VERSION new file mode 100644 index 0000000000..2a9a59c885 --- /dev/null +++ b/tools/depends/target/libunibreak/LIBUNIBREAK-VERSION @@ -0,0 +1,5 @@ +LIBNAME=libunibreak +VERSION=5.1 +ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz +SHA512=c7762c0a5212a69de69fde7dcb3281e0d642a27da881337a6b0f71fac84fd097940dc92059d3daaf91dd21ae8b77d835432da058371958d0eb15af30077e2fba +BYPRODUCT=libunibreak.a diff --git a/tools/depends/target/libunibreak/Makefile b/tools/depends/target/libunibreak/Makefile new file mode 100644 index 0000000000..da14d589f6 --- /dev/null +++ b/tools/depends/target/libunibreak/Makefile @@ -0,0 +1,30 @@ +include ../../Makefile.include LIBUNIBREAK-VERSION ../../download-files.include +DEPS = ../../Makefile.include Makefile LIBUNIBREAK-VERSION ../../download-files.include + +# configuration settings +CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \ + ./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) + cd $(PLATFORM); $(AUTORECONF) -vif + cd $(PLATFORM); $(CONFIGURE) + +$(LIBDYLIB): $(PLATFORM) + $(MAKE) -C $(PLATFORM) + +.installed-$(PLATFORM): $(LIBDYLIB) + $(MAKE) -C $(PLATFORM) install + touch $@ + +clean: + $(MAKE) -C $(PLATFORM) clean + rm -f .installed-$(PLATFORM) + +distclean:: + rm -rf $(PLATFORM) .installed-$(PLATFORM) |