mxe/src/libass.mk

25 lines
889 B
Makefile
Raw Permalink Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2011-04-03 20:58:28 +01:00
PKG := libass
2017-03-04 10:33:47 +00:00
$(PKG)_WEBSITE := https://code.google.com/p/libass/
2011-04-03 20:58:28 +01:00
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.14.0
$(PKG)_CHECKSUM := 8d5a5c920b90b70a108007ffcd2289ac652c0e03fc88e6eecefa37df0f2e7fdf
$(PKG)_GH_CONF := libass/libass/releases/latest
$(PKG)_DEPS := cc fontconfig freetype fribidi harfbuzz
2011-04-03 20:58:28 +01:00
define $(PKG)_BUILD
# fontconfig is only required for legacy XP support
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
2013-12-15 13:53:50 +00:00
$(MXE_CONFIGURE_OPTS) \
2013-01-19 19:15:29 +00:00
--enable-fontconfig \
--enable-harfbuzz
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
2011-04-03 20:58:28 +01:00
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-libass.exe' \
2011-04-03 20:58:28 +01:00
`'$(TARGET)-pkg-config' libass --cflags --libs`
endef