aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libass/Makefile
blob: aa1a5632f911f8c9341da73b25ec044d08816f42 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   libass
PORTVERSION=    0.13.4
CATEGORIES= multimedia devel

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    Portable ASS/SSA subtitle renderer

LICENSE=    ISCL
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libfreetype.so:print/freetype2 \
        libfribidi.so:converters/fribidi \
        libfontconfig.so:x11-fonts/fontconfig

USE_GITHUB= yes

USES=       autoreconf iconv libtool pathfix pkgconfig
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

OPTIONS_DEFINE= HARFBUZZ
OPTIONS_DEFAULT=HARFBUZZ
OPTIONS_EXCLUDE_armv6=HARFBUZZ
OPTIONS_DEFINE_amd64=   ASM
OPTIONS_DEFINE_i386=    ASM
OPTIONS_DEFAULT_amd64=  ASM
OPTIONS_DEFAULT_i386=   ASM

ASM_BUILD_DEPENDS=${LOCALBASE}/bin/yasm:devel/yasm
ASM_CONFIGURE_ENABLE=asm

HARFBUZZ_LIB_DEPENDS=libharfbuzz.so:print/harfbuzz
HARFBUZZ_CONFIGURE_ENABLE=harfbuzz
HARFBUZZ_DESC?= Font shaping via HarfBuzz

.include <bsd.port.mk>