diff options
author | tron <tron@pkgsrc.org> | 2012-02-06 23:09:30 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2012-02-06 23:09:30 +0000 |
commit | c6ac464d9cc5c80fd077b5a47485ddb9a40d94ed (patch) | |
tree | f1c724c7feea00638bbb6026e79727f6fbbcfc80 /multimedia | |
parent | fb86e2e127c6c0c598f7d53c733e413bb25f6f73 (diff) | |
download | pkgsrc-c6ac464d9cc5c80fd077b5a47485ddb9a40d94ed.tar.gz |
Import new "ffmpeg2theora" package:
With "ffmpeg2theora" you can convert any file that "ffmpeg" can decode into
the Theora format. Right now the settings are hardcoded into the binary.
The idea is to provide "ffmpeg2theora" as a binary along sites like
"v2v.cc" to enable as many people as possible to encode video clips with
the same settings.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg2theora/DESCR | 5 | ||||
-rw-r--r-- | multimedia/ffmpeg2theora/Makefile | 38 | ||||
-rw-r--r-- | multimedia/ffmpeg2theora/PLIST | 3 | ||||
-rw-r--r-- | multimedia/ffmpeg2theora/distinfo | 5 |
4 files changed, 51 insertions, 0 deletions
diff --git a/multimedia/ffmpeg2theora/DESCR b/multimedia/ffmpeg2theora/DESCR new file mode 100644 index 00000000000..5118d62936f --- /dev/null +++ b/multimedia/ffmpeg2theora/DESCR @@ -0,0 +1,5 @@ +With "ffmpeg2theora" you can convert any file that "ffmpeg" can decode into +the Theora format. Right now the settings are hardcoded into the binary. +The idea is to provide "ffmpeg2theora" as a binary along sites like +"v2v.cc" to enable as many people as possible to encode video clips with +the same settings. diff --git a/multimedia/ffmpeg2theora/Makefile b/multimedia/ffmpeg2theora/Makefile new file mode 100644 index 00000000000..dc63b861f52 --- /dev/null +++ b/multimedia/ffmpeg2theora/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/02/06 23:09:30 tron Exp $ + +DISTNAME= ffmpeg2theora-0.28 +CATEGORIES= multimedia +MASTER_SITES= http://v2v.cc/~j/ffmpeg2theora/downloads/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://v2v.cc/~j/ffmpeg2theora/ +COMMENT= Simple converter to create Ogg Theora files +LICENSE= gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_TOOLS+= pkg-config +BUILD_DEPENDS+= scons>=1.3.1:../../devel/scons + +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 + +SCONS= ${PREFIX}/bin/scons +SCONS_ARGS= -C ${WRKSRC} cc=${CC:Q} destdir=${DESTDIR:Q} prefix=${PREFIX:Q} +SCONS_ARGS+= APPEND_CCFLAGS=${CFLAGS:Q} +SCONS_ARGS+= APPEND_LINKFLAGS=${LDFLAGS:Q} + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ffmpeg2theora ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/ffmpeg2theora.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + +.include "../../audio/libvorbis/buildlink3.mk" +.include "../../multimedia/ffmpeg/buildlink3.mk" +.include "../../multimedia/libogg/buildlink3.mk" +.include "../../multimedia/libtheora/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/ffmpeg2theora/PLIST b/multimedia/ffmpeg2theora/PLIST new file mode 100644 index 00000000000..02afeb342b8 --- /dev/null +++ b/multimedia/ffmpeg2theora/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/06 23:09:30 tron Exp $ +bin/ffmpeg2theora +man/man1/ffmpeg2theora.1 diff --git a/multimedia/ffmpeg2theora/distinfo b/multimedia/ffmpeg2theora/distinfo new file mode 100644 index 00000000000..5aebbc957bb --- /dev/null +++ b/multimedia/ffmpeg2theora/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/02/06 23:09:30 tron Exp $ + +SHA1 (ffmpeg2theora-0.28.tar.bz2) = 431d29e511e109d1b3d774f12f8af975419b8050 +RMD160 (ffmpeg2theora-0.28.tar.bz2) = 4d21b10f745dcfb3a08c548ba248ea92681e5b63 +Size (ffmpeg2theora-0.28.tar.bz2) = 95404 bytes |