[Midnightbsd-cvs] mports: multimedia/gstreamer-plugins-bad: add plugins bad

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Oct 23 17:12:16 EDT 2007


Log Message:
-----------
add plugins bad

Added Files:
-----------
    mports/multimedia/gstreamer-plugins-bad:
        Makefile (r1.1)
        pkg-plist (r1.1)
    mports/multimedia/gstreamer-plugins-bad/files:
        patch-add_missing_files (r1.1)
        patch-ext-spc-gstspc.h (r1.1)

-------------- next part --------------
--- /dev/null
+++ multimedia/gstreamer-plugins-bad/pkg-plist
@@ -0,0 +1,113 @@
+include/gstreamer-%%VERSION%%/gst/app/gstappbuffer.h
+include/gstreamer-%%VERSION%%/gst/app/gstappsink.h
+include/gstreamer-%%VERSION%%/gst/app/gstappsrc.h
+lib/gstreamer-%%VERSION%%/libgstapp.a
+lib/gstreamer-%%VERSION%%/libgstapp.la
+lib/gstreamer-%%VERSION%%/libgstapp.so
+lib/gstreamer-%%VERSION%%/libgstbayer.a
+lib/gstreamer-%%VERSION%%/libgstbayer.la
+lib/gstreamer-%%VERSION%%/libgstbayer.so
+lib/gstreamer-%%VERSION%%/libgstcdxaparse.a
+lib/gstreamer-%%VERSION%%/libgstcdxaparse.la
+lib/gstreamer-%%VERSION%%/libgstcdxaparse.so
+lib/gstreamer-%%VERSION%%/libgstdeinterlace.a
+lib/gstreamer-%%VERSION%%/libgstdeinterlace.la
+lib/gstreamer-%%VERSION%%/libgstdeinterlace.so
+lib/gstreamer-%%VERSION%%/libgstequalizer.a
+lib/gstreamer-%%VERSION%%/libgstequalizer.la
+lib/gstreamer-%%VERSION%%/libgstequalizer.so
+lib/gstreamer-%%VERSION%%/libgstfilter.a
+lib/gstreamer-%%VERSION%%/libgstfilter.la
+lib/gstreamer-%%VERSION%%/libgstfilter.so
+lib/gstreamer-%%VERSION%%/libgstfreeze.a
+lib/gstreamer-%%VERSION%%/libgstfreeze.la
+lib/gstreamer-%%VERSION%%/libgstfreeze.so
+lib/gstreamer-%%VERSION%%/libgstglimagesink.a
+lib/gstreamer-%%VERSION%%/libgstglimagesink.la
+lib/gstreamer-%%VERSION%%/libgstglimagesink.so
+lib/gstreamer-%%VERSION%%/libgsth264parse.a
+lib/gstreamer-%%VERSION%%/libgsth264parse.la
+lib/gstreamer-%%VERSION%%/libgsth264parse.so
+lib/gstreamer-%%VERSION%%/libgstinterleave.a
+lib/gstreamer-%%VERSION%%/libgstinterleave.la
+lib/gstreamer-%%VERSION%%/libgstinterleave.so
+lib/gstreamer-%%VERSION%%/libgstmodplug.a
+lib/gstreamer-%%VERSION%%/libgstmodplug.la
+lib/gstreamer-%%VERSION%%/libgstmodplug.so
+lib/gstreamer-%%VERSION%%/libgstmpegvideoparse.a
+lib/gstreamer-%%VERSION%%/libgstmpegvideoparse.la
+lib/gstreamer-%%VERSION%%/libgstmpegvideoparse.so
+lib/gstreamer-%%VERSION%%/libgstmultifile.a
+lib/gstreamer-%%VERSION%%/libgstmultifile.la
+lib/gstreamer-%%VERSION%%/libgstmultifile.so
+lib/gstreamer-%%VERSION%%/libgstmve.a
+lib/gstreamer-%%VERSION%%/libgstmve.la
+lib/gstreamer-%%VERSION%%/libgstmve.so
+lib/gstreamer-%%VERSION%%/libgstnsf.a
+lib/gstreamer-%%VERSION%%/libgstnsf.la
+lib/gstreamer-%%VERSION%%/libgstnsf.so
+lib/gstreamer-%%VERSION%%/libgstnuvdemux.a
+lib/gstreamer-%%VERSION%%/libgstnuvdemux.la
+lib/gstreamer-%%VERSION%%/libgstnuvdemux.so
+%%I386%%lib/gstreamer-%%VERSION%%/libgstreal.a
+%%I386%%lib/gstreamer-%%VERSION%%/libgstreal.la
+%%I386%%lib/gstreamer-%%VERSION%%/libgstreal.so
+lib/gstreamer-%%VERSION%%/libgstreplaygain.a
+lib/gstreamer-%%VERSION%%/libgstreplaygain.la
+lib/gstreamer-%%VERSION%%/libgstreplaygain.so
+lib/gstreamer-%%VERSION%%/libgstrfbsrc.a
+lib/gstreamer-%%VERSION%%/libgstrfbsrc.la
+lib/gstreamer-%%VERSION%%/libgstrfbsrc.so
+lib/gstreamer-%%VERSION%%/libgstrtpmanager.a
+lib/gstreamer-%%VERSION%%/libgstrtpmanager.la
+lib/gstreamer-%%VERSION%%/libgstrtpmanager.so
+lib/gstreamer-%%VERSION%%/libgstspectrum.a
+lib/gstreamer-%%VERSION%%/libgstspectrum.la
+lib/gstreamer-%%VERSION%%/libgstspectrum.so
+lib/gstreamer-%%VERSION%%/libgstspeed.a
+lib/gstreamer-%%VERSION%%/libgstspeed.la
+lib/gstreamer-%%VERSION%%/libgstspeed.so
+lib/gstreamer-%%VERSION%%/libgstswitch.a
+lib/gstreamer-%%VERSION%%/libgstswitch.la
+lib/gstreamer-%%VERSION%%/libgstswitch.so
+lib/gstreamer-%%VERSION%%/libgsttta.a
+lib/gstreamer-%%VERSION%%/libgsttta.la
+lib/gstreamer-%%VERSION%%/libgsttta.so
+lib/gstreamer-%%VERSION%%/libgstvideoparse.a
+lib/gstreamer-%%VERSION%%/libgstvideoparse.la
+lib/gstreamer-%%VERSION%%/libgstvideoparse.so
+lib/gstreamer-%%VERSION%%/libgstvideosignal.a
+lib/gstreamer-%%VERSION%%/libgstvideosignal.la
+lib/gstreamer-%%VERSION%%/libgstvideosignal.so
+lib/gstreamer-%%VERSION%%/libgstvmnc.a
+lib/gstreamer-%%VERSION%%/libgstvmnc.la
+lib/gstreamer-%%VERSION%%/libgstvmnc.so
+lib/gstreamer-%%VERSION%%/libgstxingheader.a
+lib/gstreamer-%%VERSION%%/libgstxingheader.la
+lib/gstreamer-%%VERSION%%/libgstxingheader.so
+lib/gstreamer-%%VERSION%%/libgsty4menc.a
+lib/gstreamer-%%VERSION%%/libgsty4menc.la
+lib/gstreamer-%%VERSION%%/libgsty4menc.so
+lib/libgstapp-%%VERSION%%.a
+lib/libgstapp-%%VERSION%%.la
+lib/libgstapp-%%VERSION%%.so
+lib/libgstapp-%%VERSION%%.so.0
+share/locale/af/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/az/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/cs/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/da/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/en_GB/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/hu/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/it/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/nb/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/nl/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/or/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/sq/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/sr/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/sv/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/uk/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+share/locale/vi/LC_MESSAGES/gst-plugins-bad-%%VERSION%%.mo
+ at dirrmtry include/gstreamer-%%VERSION%%/gst/app
+ at dirrmtry include/gstreamer-%%VERSION%%/gst
+ at dirrmtry include/gstreamer-%%VERSION%%
+ at dirrm lib/gstreamer-%%VERSION%%
--- /dev/null
+++ multimedia/gstreamer-plugins-bad/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for:	gstreamer-plugins-bad
+# Date created:			20 Jan 2006
+# Whom:				Michael Johnson <ahze at FreeBSD.org>
+#
+# $MidnightBSD: mports/multimedia/gstreamer-plugins-bad/Makefile,v 1.1 2007/10/23 21:12:14 laffer1 Exp $
+# $FreeBSD: ports/multimedia/gstreamer-plugins-bad/Makefile,v 1.10 2007/06/26 12:37:51 ahze Exp $
+#    $MCom: ports/multimedia/gstreamer-plugins-bad/Makefile,v 1.7 2006/09/14 21:25:16 ahze Exp $
+#
+
+CATEGORIES=	multimedia
+
+COMMENT=	Bad gstreamer-plugins
+
+GST_PLUGIN=	bad
+GST_PLUGIN_SUFFIX=	-bad
+
+MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer-plugins
+
+BUILD_DEPENDS+=	gstreamer-plugins>=${GST_VERSION}${GST_MINOR_VERSION}:${PORTSDIR}/multimedia/gstreamer-plugins
+RUN_DEPENDS+=	gstreamer-plugins>=${GST_VERSION}${GST_MINOR_VERSION}:${PORTSDIR}/multimedia/gstreamer-plugins
+
+gst_bad_DIST=	bad
+BAD_GST_DIRS=	gst-libs sys gst po
+PLIST_SUB=	VERSION="${GST_VERSION}"
+NO_GSTREAMER_COMMON=	yes
+PLIST=	${.CURDIR}/pkg-plist
+
+CONFIGURE_ARGS+=--mandir=${PREFIX}/man
+USE_GL=		yes
+
+do-build:
+.for dir in ${BAD_GST_DIRS}
+	@(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${FAKE_MAKEARGS} ${ALL_TARGET})
+.endfor
+
+do-install:
+.for dir in ${BAD_GST_DIRS}
+	@(cd ${INSTALL_WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${FAKE_MAKEARGS} ${INSTALL_TARGET})
+
+.endfor
+
+.include "${MASTERDIR}/Makefile"
--- /dev/null
+++ multimedia/gstreamer-plugins-bad/files/patch-ext-spc-gstspc.h
@@ -0,0 +1,11 @@
+--- ext/spc/gstspc.h.orig	Fri Dec 22 18:28:46 2006
++++ ext/spc/gstspc.h	Fri Dec 22 18:28:15 2006
+@@ -22,7 +22,7 @@
+ 
+ #include <gst/gst.h>
+ 
+-#include <openspc.h>
++#include <OpenSPC.h>
+ 
+ G_BEGIN_DECLS
+ 
--- /dev/null
+++ multimedia/gstreamer-plugins-bad/files/patch-add_missing_files
@@ -0,0 +1,195 @@
+diff -urN /dev/null ext/ivorbis/vorbisdec.h
+--- /dev/null	Wed Dec 31 18:00:00 1969
++++ ext/ivorbis/vorbisdec.h	Thu Jul  5 14:49:17 2007
+@@ -0,0 +1,87 @@
++/* -*- c-basic-offset: 2 -*-
++ * GStreamer
++ * Copyright (C) <1999> Erik Walthinsen <omega at cse.ogi.edu>
++ *
++ * Tremor modifications <2006>:
++ *   Chris Lord, OpenedHand Ltd. <chris at openedhand.com>, http://www.o-hand.com/
++ *
++ * This library is free software; you can redistribute it and/or
++ * modify it under the terms of the GNU Library General Public
++ * License as published by the Free Software Foundation; either
++ * version 2 of the License, or (at your option) any later version.
++ *
++ * This library is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ * Library General Public License for more details.
++ *
++ * You should have received a copy of the GNU Library General Public
++ * License along with this library; if not, write to the
++ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
++ * Boston, MA 02111-1307, USA.
++ */
++
++
++#ifndef __GST_IVORBIS_DEC_H__
++#define __GST_IVORBIS_DEC_H__
++
++
++#include <gst/gst.h>
++#include <tremor/ivorbiscodec.h>
++
++G_BEGIN_DECLS
++
++#define GST_TYPE_IVORBIS_DEC \
++  (gst_ivorbis_dec_get_type())
++#define GST_IVORBIS_DEC(obj) \
++  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_IVORBIS_DEC,GstIVorbisDec))
++#define GST_IVORBIS_DEC_CLASS(klass) \
++  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_IVORBIS_DEC,GstIVorbisDecClass))
++#define GST_IS_IVORBIS_DEC(obj) \
++  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_IVORBIS_DEC))
++#define GST_IS_IVORBIS_DEC_CLASS(klass) \
++  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_IVORBIS_DEC))
++
++typedef struct _GstIVorbisDec GstIVorbisDec;
++typedef struct _GstIVorbisDecClass GstIVorbisDecClass;
++
++/**
++ * GstIVorbisDec:
++ *
++ * Opaque data structure.
++ */
++struct _GstIVorbisDec {
++  GstElement            element;
++
++  GstPad *              sinkpad;
++  GstPad *              srcpad;
++
++  vorbis_dsp_state      vd;
++  vorbis_info           vi;
++  vorbis_comment        vc;
++  vorbis_block          vb;
++  guint64               granulepos;
++
++  gboolean              initialized;
++
++  GList                 *queued;
++
++  GstSegment		segment;
++  gboolean		discont;
++
++  GstClockTime          cur_timestamp; /* only used with non-ogg container formats */
++  GstClockTime          prev_timestamp; /* only used with non-ogg container formats */
++
++  GList			*pendingevents;
++  GstTagList		*taglist;
++};
++
++struct _GstIVorbisDecClass {
++  GstElementClass parent_class;
++};
++
++GType gst_ivorbis_dec_get_type(void);
++
++G_END_DECLS
++
++#endif /* __GST_IVORBIS_DEC_H__ */
+diff -urN /dev/null ext/ivorbis/vorbisenc.h
+--- /dev/null	Wed Dec 31 18:00:00 1969
++++ ext/ivorbis/vorbisenc.h	Thu Jul  5 14:49:43 2007
+@@ -0,0 +1,100 @@
++/* GStreamer
++ * Copyright (C) <1999> Erik Walthinsen <omega at cse.ogi.edu>
++ *
++ * This library is free software; you can redistribute it and/or
++ * modify it under the terms of the GNU Library General Public
++ * License as published by the Free Software Foundation; either
++ * version 2 of the License, or (at your option) any later version.
++ *
++ * This library is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ * Library General Public License for more details.
++ *
++ * You should have received a copy of the GNU Library General Public
++ * License along with this library; if not, write to the
++ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
++ * Boston, MA 02111-1307, USA.
++ */
++
++
++#ifndef __VORBISENC_H__
++#define __VORBISENC_H__
++
++
++#include <gst/gst.h>
++
++#include <tremor/ivorbiscodec.h>
++
++#ifdef __cplusplus
++extern "C" {
++#endif /* __cplusplus */
++
++#define GST_TYPE_VORBISENC \
++  (vorbisenc_get_type())
++#define GST_VORBISENC(obj) \
++  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VORBISENC,VorbisEnc))
++#define GST_VORBISENC_CLASS(klass) \
++  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VORBISENC,VorbisEncClass))
++#define GST_IS_VORBISENC(obj) \
++  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VORBISENC))
++#define GST_IS_VORBISENC_CLASS(klass) \
++  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VORBISENC))
++
++typedef struct _VorbisEnc VorbisEnc;
++typedef struct _VorbisEncClass VorbisEncClass;
++
++struct _VorbisEnc {
++  GstElement       element;
++
++  GstPad          *sinkpad,
++                  *srcpad;
++
++  ogg_stream_state os; /* take physical pages, weld into a logical
++                                                      stream of packets */
++  ogg_page         og; /* one Ogg bitstream page.  Vorbis packets are inside */
++  ogg_packet       op; /* one raw packet of data for decode */
++
++  vorbis_info      vi; /* struct that stores all the static vorbis bitstream
++                                                            settings */
++  vorbis_comment   vc; /* struct that stores all the user comments */
++
++  vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */
++  vorbis_block     vb; /* local working space for packet->PCM decode */
++
++  gboolean         eos;
++
++  gboolean         managed;
++  gint             bitrate;
++  gint             min_bitrate;
++  gint             max_bitrate;
++  gfloat           quality;
++  gboolean         quality_set;
++  gint             serial;
++
++  gint             channels;
++  gint             frequency;
++
++  guint64          samples_in;
++  guint64          bytes_out;
++
++  GstCaps         *metadata;
++
++  gboolean         setup;
++  gboolean         flush_header;
++  gchar           *last_message;
++};
++
++struct _VorbisEncClass {
++  GstElementClass parent_class;
++};
++
++GType vorbisenc_get_type(void);
++
++
++#ifdef __cplusplus
++}
++#endif /* __cplusplus */
++
++
++#endif /* __VORBISENC_H__ */


More information about the Midnightbsd-cvs mailing list