diff options
author | jmcneill <jmcneill> | 2008-12-17 04:17:25 +0000 |
---|---|---|
committer | jmcneill <jmcneill> | 2008-12-17 04:17:25 +0000 |
commit | 156cfafc50dec65c9a9c10676aab9133de04a6c8 (patch) | |
tree | be0e48a416a3e00b5ef0fd985cdf351455cd2346 /multimedia | |
parent | 8e2884876c3a742b8b2f49f68c1e0691ee1aee2a (diff) | |
download | pkgsrc-156cfafc50dec65c9a9c10676aab9133de04a6c8.tar.gz |
Import pspvc version 0.3.
PSPVC is an FFMPEG front-end to convert video files for the PSP. It allows
you to queue severals conversions with different parameters for each.
Formats:
* MPEG4/SP (all firmware)
* H264/AVC (firmware 2.0+)
* H264/AVC 480x272 (firmware 3.03-OE-B+)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/pspvc/DESCR | 8 | ||||
-rw-r--r-- | multimedia/pspvc/Makefile | 28 | ||||
-rw-r--r-- | multimedia/pspvc/PLIST | 25 | ||||
-rw-r--r-- | multimedia/pspvc/distinfo | 6 | ||||
-rw-r--r-- | multimedia/pspvc/patches/patch-aa | 21 |
5 files changed, 88 insertions, 0 deletions
diff --git a/multimedia/pspvc/DESCR b/multimedia/pspvc/DESCR new file mode 100644 index 00000000000..bba8f7df327 --- /dev/null +++ b/multimedia/pspvc/DESCR @@ -0,0 +1,8 @@ +PSPVC is an FFMPEG front-end to convert video files for the PSP. It allows +you to queue severals conversions with different parameters for each. + +Formats: + + * MPEG4/SP (all firmware) + * H264/AVC (firmware 2.0+) + * H264/AVC 480x272 (firmware 3.03-OE-B+) diff --git a/multimedia/pspvc/Makefile b/multimedia/pspvc/Makefile new file mode 100644 index 00000000000..929a265c2b9 --- /dev/null +++ b/multimedia/pspvc/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/12/17 04:17:25 jmcneill Exp $ +# + +DISTNAME= pspvc-install-0.3 +PKGNAME= pspvc-0.3 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pspvc/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://pspvc.sf.net/ +COMMENT= PSP video converter + +USE_LANGUAGES= c +USE_TOOLS= pkg-config gmake +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${PKGNAME} + +post-extract: + ${TAR} -C ${WRKDIR} -zxf ${WRKDIR}/${DISTNAME}/archives/${PKGNAME}.tar.gz + +post-install: + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/archives/pspvc.desktop ${PREFIX}/share/applications + ${INSTALL_DATA_DIR} ${PREFIX}/share/pspvc/bin + ${LN} -s ${PREFIX}/bin/ffmpeg ${PREFIX}/share/pspvc/bin/ffmpeg + +.include "../../multimedia/ffmpeg/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/pspvc/PLIST b/multimedia/pspvc/PLIST new file mode 100644 index 00000000000..1cdfefe8369 --- /dev/null +++ b/multimedia/pspvc/PLIST @@ -0,0 +1,25 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/17 04:17:25 jmcneill Exp $ +bin/pspvc +doc/pspvc/AUTHORS +doc/pspvc/COPYING +doc/pspvc/ChangeLog +doc/pspvc/INSTALL +doc/pspvc/NEWS +doc/pspvc/README +doc/pspvc/TODO +share/applications/pspvc.desktop +share/locale/de/LC_MESSAGES/pspvc.mo +share/locale/en/LC_MESSAGES/pspvc.mo +share/locale/fr/LC_MESSAGES/pspvc.mo +share/locale/it/LC_MESSAGES/pspvc.mo +share/locale/pl/LC_MESSAGES/pspvc.mo +share/locale/si/LC_MESSAGES/pspvc.mo +share/pixmaps/psp-console.png +share/pixmaps/pspvc_09.png +share/pixmaps/pspvc_logo.png +share/pixmaps/pspvc_thm.png +share/pspvc/.keep +share/pspvc/bin/ffmpeg +@dirrm share/pspvc/bin +@dirrm share/pspvc +@dirrm doc/pspvc diff --git a/multimedia/pspvc/distinfo b/multimedia/pspvc/distinfo new file mode 100644 index 00000000000..93b777759f4 --- /dev/null +++ b/multimedia/pspvc/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/12/17 04:17:25 jmcneill Exp $ + +SHA1 (pspvc-install-0.3.tar.gz) = 1cbc9aa2b177e0d402ab774d6ddf870156f38dbb +RMD160 (pspvc-install-0.3.tar.gz) = abe601e58dbd88321b7e4515a3e243811a56c596 +Size (pspvc-install-0.3.tar.gz) = 2675111 bytes +SHA1 (patch-aa) = 1032e2054651247267927ac9b6deb963e90acee0 diff --git a/multimedia/pspvc/patches/patch-aa b/multimedia/pspvc/patches/patch-aa new file mode 100644 index 00000000000..4a6710f93a7 --- /dev/null +++ b/multimedia/pspvc/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/12/17 04:17:25 jmcneill Exp $ + +--- src/callbacks.c.orig 2008-12-16 23:11:33.000000000 -0500 ++++ src/callbacks.c +@@ -391,14 +391,14 @@ void launchffmpeg_video(struct convparam + args[argc++]=g_strdup("-i"); + args[argc++]=g_strdup_printf("%s",cparam->filename); + args[argc++]=g_strdup("-acodec"); +- args[argc++]=g_strdup("aac"); ++ args[argc++]=g_strdup("libfaac"); + args[argc++]=g_strdup("-ab"); + args[argc++]=g_strdup_printf("%dkb",cparam->ab); + args[argc++]=g_strdup("-vol"); + args[argc++]=g_strdup_printf("%d",cparam->volume); + args[argc++]=g_strdup("-vcodec"); + if(cparam->codec==0) +- args[argc++]=g_strdup("h264"); ++ args[argc++]=g_strdup("libx264"); + else + args[argc++]=g_strdup("mpeg4"); + args[argc++]=g_strdup("-b"); |