summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-01-26 12:12:06 +0000
committerjmmv <jmmv@pkgsrc.org>2004-01-26 12:12:06 +0000
commitdf418ec75062045c3f8878351eb6847503c63f29 (patch)
tree4cdbdbb5edcf1d9a0caeed15e2f7549f2cf32841
parent5f9a42b2f5661473bb65a5277ef5642636f083a7 (diff)
downloadpkgsrc-df418ec75062045c3f8878351eb6847503c63f29.tar.gz
Move gmencoder to the multimedia category (coming from graphics).
This is version 0.1.0nb6.
-rw-r--r--multimedia/gmencoder/DESCR3
-rw-r--r--multimedia/gmencoder/Makefile42
-rw-r--r--multimedia/gmencoder/PLIST8
-rw-r--r--multimedia/gmencoder/distinfo7
-rw-r--r--multimedia/gmencoder/patches/patch-aa12
-rw-r--r--multimedia/gmencoder/patches/patch-ab13
-rw-r--r--multimedia/gmencoder/patches/patch-ac22
7 files changed, 107 insertions, 0 deletions
diff --git a/multimedia/gmencoder/DESCR b/multimedia/gmencoder/DESCR
new file mode 100644
index 00000000000..a470541a035
--- /dev/null
+++ b/multimedia/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/multimedia/gmencoder/Makefile b/multimedia/gmencoder/Makefile
new file mode 100644
index 00000000000..19941ead9a2
--- /dev/null
+++ b/multimedia/gmencoder/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 12:12:06 jmmv Exp $
+#
+
+DISTNAME= gmencoder-0.1.0
+PKGREVISION= 6
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gmencoder/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= xtraeme@NetBSD.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:../../multimedia/mencoder
+DEPENDS+= mplayer>=0.90:../../multimedia/mplayer
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_GNU_TOOLS+= make
+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/multimedia/gmencoder/PLIST b/multimedia/gmencoder/PLIST
new file mode 100644
index 00000000000..284890e774a
--- /dev/null
+++ b/multimedia/gmencoder/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 12:12:06 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/multimedia/gmencoder/distinfo b/multimedia/gmencoder/distinfo
new file mode 100644
index 00000000000..652db6159f7
--- /dev/null
+++ b/multimedia/gmencoder/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/26 12:12:06 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/multimedia/gmencoder/patches/patch-aa b/multimedia/gmencoder/patches/patch-aa
new file mode 100644
index 00000000000..af8f59ca1a2
--- /dev/null
+++ b/multimedia/gmencoder/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/26 12:12:06 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/multimedia/gmencoder/patches/patch-ab b/multimedia/gmencoder/patches/patch-ab
new file mode 100644
index 00000000000..3d13fd34af8
--- /dev/null
+++ b/multimedia/gmencoder/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/26 12:12:06 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/multimedia/gmencoder/patches/patch-ac b/multimedia/gmencoder/patches/patch-ac
new file mode 100644
index 00000000000..040579cba12
--- /dev/null
+++ b/multimedia/gmencoder/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/01/26 12:12:06 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