1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to upstream version 0.11.2

- Project repository has been moved from Google code to GitHub
- Introduce OPTIONS for ASM ENCA FONTCONFIG HARFBUZZ
- BUILD_DEPENDS on yasm for optimized ASM builds

PR:		191874
Submitted by:	Jan Beich <jbeich@vfemail.net>
Approved by:	mentors (implicit)
This commit is contained in:
Thomas Zander 2014-07-19 14:09:12 +00:00
parent 406b6e43aa
commit e75bf3a19e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362263
4 changed files with 49 additions and 13 deletions

View File

@ -1,10 +1,8 @@
# $FreeBSD$
PORTNAME= libass
PORTVERSION= 0.10.2
PORTREVISION= 2
PORTVERSION= 0.11.2
CATEGORIES= multimedia devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Portable ASS/SSA subtitle renderer
@ -12,17 +10,44 @@ COMMENT= Portable ASS/SSA subtitle renderer
LICENSE= ISCL
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libenca.so:${PORTSDIR}/converters/enca \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
libexpat.so:${PORTSDIR}/textproc/expat2 \
libfribidi.so:${PORTSDIR}/converters/fribidi
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}
GH_COMMIT= 03a9c6c
USES= libtool:keepla pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
USE_AUTOTOOLS= aclocal autoconf autoheader automake libtoolize
AUTOMAKE_ARGS= --add-missing
PATHFIX_MAKEFILEIN=Makefile.am
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
OPTIONS_DEFINE= ASM ENCA FONTCONFIG HARFBUZZ
OPTIONS_DEFAULT=ASM ENCA FONTCONFIG HARFBUZZ
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.*
ASM_DESC?= Use optimized ASM routines on x86/amd64
.include <bsd.port.mk>
ENCA_LIB_DEPENDS=libenca.so:${PORTSDIR}/converters/enca
ENCA_CONFIGURE_ENABLE=enca
ENCA_DESC?= Charset conversion via enca
FONTCONFIG_LIB_DEPENDS=libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
FONTCONFIG_CONFIGURE_ENABLE=fontconfig
HARFBUZZ_LIB_DEPENDS=libharfbuzz.so:${PORTSDIR}/print/harfbuzz
HARFBUZZ_CONFIGURE_ENABLE=harfbuzz
HARFBUZZ_DESC?= Font shaping via HarfBuzz
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
.if ${PORT_OPTIONS:MASM}
CONFIGURE_ARGS+= --enable-asm
BUILD_DEPENDS+= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
.else
CONFIGURE_ARGS+= --disable-asm
.endif
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (libass-0.10.2.tar.xz) = f02afcc6410b800f0007dc7c282e897dab64f817c23b37d171fd6ff7fc4ca1d8
SIZE (libass-0.10.2.tar.xz) = 278244
SHA256 (libass-0.11.2.tar.xz) = 8a689d4c42b5a4a9589c99952e717745cb00eb11490861ade3b14771b17f2727
SIZE (libass-0.11.2.tar.xz) = 108813

View File

@ -0,0 +1,11 @@
--- configure.ac~
+++ configure.ac
@@ -70,7 +70,7 @@ AS_IF([test x$enable_asm != xno], [
AS_CASE([$host],
[*darwin*], [
ASFLAGS="$ASFLAGS -f macho$BITS -DPREFIX -DHAVE_ALIGNED_STACK=1" ],
- [*linux*|*bsd*], [
+ [*linux*|*dragonfly*|*bsd*], [
ASFLAGS="$ASFLAGS -f elf -DHAVE_ALIGNED_STACK=1" ],
[*cygwin*|*mingw*], [
ASFLAGS="$ASFLAGS -f win$BITS"

View File

@ -1,4 +1,4 @@
libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation
Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter.
WWW: http://code.google.com/p/libass/
WWW: https://github.com/libass/libass