From cde397995e3dbf7429569b0b2a8611e5c85ce082 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Wed, 25 Feb 2004 10:22:27 +0000 Subject: [PATCH] Add gmencoder 0.1.0, Gmencoder is Gnome2 front-end to mplayer/mencoder. It supports mamy of the output codecs as well as postprocesing, cropping, scale, subtitles ripping, 1, 2 and 3 passes for encoding. PR: ports/63337 Submitted by: Michael Johnson --- multimedia/Makefile | 1 + multimedia/gmencoder/Makefile | 43 ++++++++++++++++++++++++++++++++++ multimedia/gmencoder/distinfo | 2 ++ multimedia/gmencoder/pkg-descr | 5 ++++ multimedia/gmencoder/pkg-plist | 6 +++++ 5 files changed, 57 insertions(+) create mode 100644 multimedia/gmencoder/Makefile create mode 100644 multimedia/gmencoder/distinfo create mode 100644 multimedia/gmencoder/pkg-descr create mode 100644 multimedia/gmencoder/pkg-plist diff --git a/multimedia/Makefile b/multimedia/Makefile index 5d5deb9b92f6..0ac40d0a41d7 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -19,6 +19,7 @@ SUBDIR += ffmpeg SUBDIR += ffmpeg045 SUBDIR += fxtv + SUBDIR += gmencoder SUBDIR += goggles SUBDIR += gopchop SUBDIR += gstreamer diff --git a/multimedia/gmencoder/Makefile b/multimedia/gmencoder/Makefile new file mode 100644 index 000000000000..11e1a497d68d --- /dev/null +++ b/multimedia/gmencoder/Makefile @@ -0,0 +1,43 @@ +# Ports collection makefile for: gmencoder +# Date created: Wed Feb 25 03:20:50 EST 2004 +# Whom: Michael Johnson +# +# $FreeBSD$ +# + +PORTNAME= gmencoder +PORTVERSION= 0.1.0 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= ahze@ahze.net +COMMENT= Gmencoder is Gnome2 front-end to mplayer/mencoder + +BUILD_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer +RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer + +HAS_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +USE_GMAKE= yes +USE_GNOME= gnomehack gnomeprefix libgnomeui +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure + +do-configure: + @cd ${WRKSRC}; \ + ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ${CONFIGURE_ENV} + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/multimedia/gmencoder/distinfo b/multimedia/gmencoder/distinfo new file mode 100644 index 000000000000..a155f0ddaf0d --- /dev/null +++ b/multimedia/gmencoder/distinfo @@ -0,0 +1,2 @@ +MD5 (gmencoder-0.1.0.tgz) = 2b011c02f9a9cf3d94554a02d052c938 +SIZE (gmencoder-0.1.0.tgz) = 120557 diff --git a/multimedia/gmencoder/pkg-descr b/multimedia/gmencoder/pkg-descr new file mode 100644 index 000000000000..5d6bbf132a3c --- /dev/null +++ b/multimedia/gmencoder/pkg-descr @@ -0,0 +1,5 @@ +Gmencoder is Gnome2 front-end to mplayer/mencoder. It supports mamy of the +output codecs as well as postprocesing, cropping, scale, subtitles ripping, +1, 2 and 3 passes for encoding. + +WWW: http://gmencoder.sourceforge.net/ diff --git a/multimedia/gmencoder/pkg-plist b/multimedia/gmencoder/pkg-plist new file mode 100644 index 000000000000..da103816be0d --- /dev/null +++ b/multimedia/gmencoder/pkg-plist @@ -0,0 +1,6 @@ +bin/gmencoder +share/gnome/pixmaps/gmencoder/media-pause.png +share/gnome/pixmaps/gmencoder/media-play.png +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm share/gnome/pixmaps/gmencoder