Blame view

buildroot/buildroot-2016.08.1/package/libass/libass.mk 1.18 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  ################################################################################
  #
  # libass
  #
  ################################################################################
  
  LIBASS_VERSION = 0.13.2
  LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz
  # Do not use the github helper here, the generated tarball is *NOT*
  # the same as the one uploaded by upstream for the release.
  LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION)
  LIBASS_INSTALL_STAGING = YES
  LIBASS_LICENSE = ISC
  LIBASS_LICENSE_FILES = COPYING
  LIBASS_DEPENDENCIES = \
  	host-pkgconf \
  	freetype \
  	libfribidi \
  	$(if $(BR2_PACKAGE_LIBICONV),libiconv)
  
  # configure: WARNING: Install yasm for a significantly faster libass build.
  # only for Intel archs
  ifeq ($(BR2_i386)$(BR2_x86_64),y)
  LIBASS_DEPENDENCIES += host-yasm
  endif
  
  ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
  LIBASS_DEPENDENCIES += fontconfig
  LIBASS_CONF_OPTS += --enable-fontconfig
  else
  LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider
  endif
  
  ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
  LIBASS_DEPENDENCIES += harfbuzz
  LIBASS_CONF_OPTS += --enable-harfbuzz
  else
  LIBASS_CONF_OPTS += --disable-harfbuzz
  endif
  
  $(eval $(autotools-package))