diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-12-14 21:50:46 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-12-14 21:50:46 +0000 |
commit | a291ae184ea3ed9450f16d10c38e9836e52ad505 (patch) | |
tree | 6f257d3a4a10f874a8aab6a78d12db315bcdb02a /multimedia | |
parent | b1acb05843f973d497734d3af390a7f3ee48499d (diff) | |
download | pkgsrc-a291ae184ea3ed9450f16d10c38e9836e52ad505.tar.gz |
ffmpeg: add option "ass" for subtitle renderer support and enable it by
default. ++pkgrevision. Tested on NetBSD-6
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg/Makefile | 3 | ||||
-rw-r--r-- | multimedia/ffmpeg/options.mk | 18 | ||||
-rw-r--r-- | multimedia/libass/buildlink3.mk | 5 |
3 files changed, 21 insertions, 5 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index d66af96aac5..b9c814359f1 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.93 2012/11/09 07:56:26 tron Exp $ +# $NetBSD: Makefile,v 1.94 2012/12/14 21:50:46 cheusov Exp $ PKGNAME= ffmpeg-20121028.${DISTVERSION} +PKGREVISION= 1 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ffmpeg.mplayerhq.hu/ diff --git a/multimedia/ffmpeg/options.mk b/multimedia/ffmpeg/options.mk index 64bf44832e8..4d6edf0c0ea 100644 --- a/multimedia/ffmpeg/options.mk +++ b/multimedia/ffmpeg/options.mk @@ -1,10 +1,11 @@ -# $NetBSD: options.mk,v 1.25 2012/10/10 13:33:44 drochner Exp $ +# $NetBSD: options.mk,v 1.26 2012/12/14 21:50:46 cheusov Exp $ # Global and legacy options PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg -PKG_SUPPORTED_OPTIONS= faac lame libvpx opencore-amr theora vorbis x264 xvid -PKG_SUGGESTED_OPTIONS= lame libvpx theora vorbis x264 xvid +PKG_SUPPORTED_OPTIONS= faac lame ass libvpx theora vorbis x264 xvid \ + opencore-amr +PKG_SUGGESTED_OPTIONS= lame ass libvpx theora vorbis x264 xvid #PKG_OPTIONS_OPTIONAL_GROUPS= aac-decoder #PKG_OPTIONS_GROUP.aac-decoder= faac @@ -18,6 +19,17 @@ PKG_SUGGESTED_OPTIONS+= vdpau .include "../../mk/bsd.options.mk" ### +### ass option +### +.if !empty(PKG_OPTIONS:Mass) +USE_TOOLS+= pkg-config +CONFIGURE_ARGS+= --enable-libass +.include "../../multimedia/libass/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-libass +.endif + +### ### faac option ### .if !empty(PKG_OPTIONS:Mfaac) diff --git a/multimedia/libass/buildlink3.mk b/multimedia/libass/buildlink3.mk index dd7ce8836ea..d73e62c2065 100644 --- a/multimedia/libass/buildlink3.mk +++ b/multimedia/libass/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/07/09 10:24:18 abs Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2012/12/14 21:50:46 cheusov Exp $ BUILDLINK_TREE+= libass @@ -7,6 +7,9 @@ LIBASS_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.libass+= libass>=0.9.12 BUILDLINK_PKGSRCDIR.libass?= ../../multimedia/libass + +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../textproc/enca/buildlink3.mk" .endif # LIBASS_BUILDLINK3_MK BUILDLINK_TREE+= -libass |