pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/gmencoder Move gmencoder to the multimedia ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/68e464c472c9
branches:  trunk
changeset: 467108:68e464c472c9
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Jan 26 12:12:06 2004 +0000

description:
Move gmencoder to the multimedia category (coming from graphics).
This is version 0.1.0nb6.

diffstat:

 multimedia/gmencoder/DESCR            |   3 ++
 multimedia/gmencoder/Makefile         |  42 +++++++++++++++++++++++++++++++++++
 multimedia/gmencoder/PLIST            |   8 ++++++
 multimedia/gmencoder/distinfo         |   7 +++++
 multimedia/gmencoder/patches/patch-aa |  12 ++++++++++
 multimedia/gmencoder/patches/patch-ab |  13 ++++++++++
 multimedia/gmencoder/patches/patch-ac |  22 ++++++++++++++++++
 7 files changed, 107 insertions(+), 0 deletions(-)

diffs (135 lines):

diff -r 5e4ec1439fdd -r 68e464c472c9 multimedia/gmencoder/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmencoder/DESCR        Mon Jan 26 12:12:06 2004 +0000
@@ -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 -r 5e4ec1439fdd -r 68e464c472c9 multimedia/gmencoder/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmencoder/Makefile     Mon Jan 26 12:12:06 2004 +0000
@@ -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@localhost
+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 -r 5e4ec1439fdd -r 68e464c472c9 multimedia/gmencoder/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmencoder/PLIST        Mon Jan 26 12:12:06 2004 +0000
@@ -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 -r 5e4ec1439fdd -r 68e464c472c9 multimedia/gmencoder/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmencoder/distinfo     Mon Jan 26 12:12:06 2004 +0000
@@ -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 -r 5e4ec1439fdd -r 68e464c472c9 multimedia/gmencoder/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmencoder/patches/patch-aa     Mon Jan 26 12:12:06 2004 +0000
@@ -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 -r 5e4ec1439fdd -r 68e464c472c9 multimedia/gmencoder/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmencoder/patches/patch-ab     Mon Jan 26 12:12:06 2004 +0000
@@ -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 -r 5e4ec1439fdd -r 68e464c472c9 multimedia/gmencoder/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmencoder/patches/patch-ac     Mon Jan 26 12:12:06 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index