diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-07-26 13:55:04 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-07-26 13:55:04 +0000 |
commit | 6a17f6b552f811a7d4091da1a9e81bf90da1a813 (patch) | |
tree | 15e7d8c97d754f58d22323a2ac875a0169caa151 /graphics | |
parent | 738a46011eb4dc3f2ca7774b280edd6801956107 (diff) | |
download | pkgsrc-6a17f6b552f811a7d4091da1a9e81bf90da1a813.tar.gz |
Initial import of gmencoder, version 0.1.0:
Gmencoder is a GNOME2 frontend to mplayer/mencoder. It supports much of the
output codecs, as well as postprocesing, cropping, scaling, subtitles ripping,
and one, two or three passes for encoding.
Provided by Juan RP in pkgsrc-wip.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gmencoder/DESCR | 3 | ||||
-rw-r--r-- | graphics/gmencoder/Makefile | 41 | ||||
-rw-r--r-- | graphics/gmencoder/PLIST | 8 | ||||
-rw-r--r-- | graphics/gmencoder/distinfo | 7 | ||||
-rw-r--r-- | graphics/gmencoder/patches/patch-aa | 12 | ||||
-rw-r--r-- | graphics/gmencoder/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/gmencoder/patches/patch-ac | 22 |
7 files changed, 106 insertions, 0 deletions
diff --git a/graphics/gmencoder/DESCR b/graphics/gmencoder/DESCR new file mode 100644 index 00000000000..a470541a035 --- /dev/null +++ b/graphics/gmencoder/DESCR @@ -0,0 +1,3 @@ +Gmencoder is a GNOME2 frontend to mplayer/mencoder. It supports much of the +output codecs, as well as postprocesing, cropping, scaling, subtitles ripping, +and one, two or three passes for encoding. diff --git a/graphics/gmencoder/Makefile b/graphics/gmencoder/Makefile new file mode 100644 index 00000000000..ad1f80fc77e --- /dev/null +++ b/graphics/gmencoder/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/07/26 13:55:04 jmmv Exp $ +# + +DISTNAME= gmencoder-0.1.0 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gmencoder/} +EXTRACT_SUFX= .tgz + +MAINTAINER= jrp@hispabsd.org +HOMEPAGE= http://gmencoder.sourceforge.net/ +COMMENT= GNOME2 frontend to mencoder + +BUILD_USES_MSGFMT= yes +DEPENDS+= gnome2-dirs>=1.2:../../misc/gnome2-dirs +DEPENDS+= mencoder>=0.90:../../graphics/mencoder +DEPENDS+= mplayer>=0.90:../../graphics/mplayer + +GNU_CONFIGURE= yes +USE_BUILDLINK2= yes +USE_GMAKE= yes +USE_PKGINSTALL= yes +USE_PKGLOCALEDIR= yes +USE_X11= yes + +CFLAGS+= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\" +EGDIR= ${PREFIX}/share/examples/gmencoder +CONF_FILES= ${EGDIR}/gmencoder_opts ${PKG_SYSCONFDIR}/gmencoder_opts + +post-build: + ${MV} ${WRKSRC}/etc/gmencoder_opts ${WRKSRC}/etc/gmencoder_opts.in + ${SED} -e 's|/usr/local|${PREFIX}|g' \ + < ${WRKSRC}/etc/gmencoder_opts.in > ${WRKSRC}/etc/gmencoder_opts + +post-install: + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/etc/gmencoder_opts ${EGDIR} + +.include "../../devel/gettext-lib/buildlink2.mk" +.include "../../devel/libgnomeui/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/gmencoder/PLIST b/graphics/gmencoder/PLIST new file mode 100644 index 00000000000..f1bcb09ebef --- /dev/null +++ b/graphics/gmencoder/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/26 13:55:04 jmmv Exp $ +bin/gmencoder +share/examples/gmencoder/gmencoder_opts +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gmencoder.mo +share/pixmaps/gmencoder/media-pause.png +share/pixmaps/gmencoder/media-play.png +@dirrm share/pixmaps/gmencoder +@dirrm share/examples/gmencoder diff --git a/graphics/gmencoder/distinfo b/graphics/gmencoder/distinfo new file mode 100644 index 00000000000..f4af9155814 --- /dev/null +++ b/graphics/gmencoder/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/07/26 13:55:04 jmmv Exp $ + +SHA1 (gmencoder-0.1.0.tgz) = c262f402b004e2d13fec8f2e81eaf5309f268d83 +Size (gmencoder-0.1.0.tgz) = 120557 bytes +SHA1 (patch-aa) = 989772ed57ae44eb19f7d8f64a0ee20de5355de4 +SHA1 (patch-ab) = bbb32ad10269338ca727e951e11c7a4fdb00ce5d +SHA1 (patch-ac) = b36a57a29360042a2ff266d3d6fea8372747c707 diff --git a/graphics/gmencoder/patches/patch-aa b/graphics/gmencoder/patches/patch-aa new file mode 100644 index 00000000000..cfbaee47584 --- /dev/null +++ b/graphics/gmencoder/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/07/26 13:55:04 jmmv Exp $ + +--- src/callbacks.c.orig 2003-04-23 19:55:26.000000000 +0200 ++++ src/callbacks.c 2003-04-23 19:55:40.000000000 +0200 +@@ -8,6 +8,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <unistd.h> ++#include <pthread.h> + + #include "callbacks.h" + #include "interface.h" diff --git a/graphics/gmencoder/patches/patch-ab b/graphics/gmencoder/patches/patch-ab new file mode 100644 index 00000000000..5f75d62f4ce --- /dev/null +++ b/graphics/gmencoder/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/07/26 13:55:04 jmmv Exp $ + +--- src/main.c.orig 2003-06-12 17:32:13.000000000 +0200 ++++ src/main.c +@@ -359,7 +359,7 @@ Configura () + + if (!strlen (fichero_opts)) + { +- sprintf (fichero_opts, "/etc/gmencoder_opts", home); ++ sprintf (fichero_opts, PKG_SYSCONFDIR "/gmencoder_opts", home); + if (-1 != (fd = open (fichero_opts, O_RDONLY))) + { + close (fd); diff --git a/graphics/gmencoder/patches/patch-ac b/graphics/gmencoder/patches/patch-ac new file mode 100644 index 00000000000..b37b8c44bfc --- /dev/null +++ b/graphics/gmencoder/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/07/26 13:55:04 jmmv Exp $ + +--- configure.orig 2003-06-12 17:48:46.000000000 +0200 ++++ configure +@@ -3876,7 +3876,7 @@ done + + # Busco la versión de mplayer + echo -n checking for mplayer... +-MPLAYER=`type -path mplayer` ++MPLAYER=`whereis mplayer` + if [ "$?" = "1" ] ; then + echo No mplayer found in your path + fi +@@ -3901,7 +3901,7 @@ esac + EXTRA_DEFS="$EXTRA_DEFS -D$VER -DMP_PATH=\\\"\"${MPLAYER}\\\"\"" + + echo -n checking for mencoder... +-MENCODER=`type -path mencoder` ++MENCODER=`whereis mencoder` + if [ "$?" = "1" ] ; then + echo No mencoder found in your path + fi |