[csw-devel] SF.net SVN: gar:[8718] csw/mgar/pkg

bensons at users.sourceforge.net bensons at users.sourceforge.net
Sun Feb 21 16:38:56 CET 2010


Revision: 8718
          http://gar.svn.sourceforge.net/gar/?rev=8718&view=rev
Author:   bensons
Date:     2010-02-21 15:38:47 +0000 (Sun, 21 Feb 2010)

Log Message:
-----------
gstplugins_bad: initial GAR recipe

Added Paths:
-----------
    csw/mgar/pkg/gstplugins_bad/
    csw/mgar/pkg/gstplugins_bad/branches/
    csw/mgar/pkg/gstplugins_bad/tags/
    csw/mgar/pkg/gstplugins_bad/trunk/
    csw/mgar/pkg/gstplugins_bad/trunk/Makefile
    csw/mgar/pkg/gstplugins_bad/trunk/checksums
    csw/mgar/pkg/gstplugins_bad/trunk/files/
    csw/mgar/pkg/gstplugins_bad/trunk/files/patch-gstvideomeasure_collector.h
    csw/mgar/pkg/gstplugins_bad/trunk/files/patch-gstvideomeasure_ssim.h


Property changes on: csw/mgar/pkg/gstplugins_bad/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/gstplugins_bad/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gstplugins_bad/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/gstplugins_bad/trunk/Makefile	2010-02-21 15:38:47 UTC (rev 8718)
@@ -0,0 +1,55 @@
+GARNAME = gstplugins_bad
+GARVERSION = 0.10.17
+CATEGORIES = gnome
+
+DESCRIPTION = GStreamer plugins (Bad)
+define BLURB
+  GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared 
+  to the rest. They might be close to being good quality, but they're 
+  missing something - be it a good code review, some documentation, a set 
+  of tests, a real live maintainer, or some actual wide use. 
+endef
+
+MASTER_SITES = http://gstreamer.freedesktop.org/src/gst-plugins-bad/
+SRCNAME = gst-plugins-bad
+DISTFILES  = $(SRCNAME)-$(GARVERSION).tar.gz
+WORKSRC = $(WORKDIR)/$(SRCNAME)-$(GARVERSION)
+PACKAGES = CSWgstpluginsbad
+CATALOGNAME = gstplugins_bad
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+BUILD_DEP_PKGS += CSWzlib CSWsunmath CSWneon CSWmesa CSWlibxml2 CSWlibsdl
+BUILD_DEP_PKGS += CSWiconv CSWgstreamer CSWgstplugins CSWglib2 CSWggettext
+BUILD_DEP_PKGS += CSWbzip2 CSWfaac CSWfaad2 CSWggettextrt CSWjasper CSWliboil
+RUNTIME_DEP_PKGS = $(BUILD_DEP_PKGS)
+
+CONFIGURE_ARGS += $(DIRPATHS)
+CONFIGURE_ARGS += --disable-debug
+
+STRIP_LIBTOOL = 1
+
+TEST_SCRIPTS =
+
+LICENSE = $(WORKDIR_FIRSTMOD)/$(SRCNAME)-$(GARVERSION)/COPYING
+
+PATCHFILES = patch-gstvideomeasure_collector.h patch-gstvideomeasure_ssim.h
+
+# we provide that symbol
+CHECKPKG_OVERRIDES_CSWgstpluginsbad += symbol-not-found|libgstcamerabin.so
+
+include gar/category.mk
+post-configure-modulated:
+	perl -pi -e 's,(LIBS = -lnsl -lsocket),$$1 -lresolv,' \
+		$(WORKSRC)/gst/dccp/Makefile
+	perl -pi -e 's,#include <stdint.h>,,' \
+		$(WORKSRC)/gst/dtmf/tone_detect.c
+	perl -pi -e 's,powf,pow,' \
+		$(WORKSRC)/gst/hdvparse/gsthdvparse.c
+	perl -pi -e 's,(#include) "stdint.h",$$1 <sys/types.h>,' \
+		$(WORKSRC)/gst/librfb/d3des.c
+	perl -pi -e 's,(#include) "stdint.h",,' \
+		$(WORKSRC)/gst/librfb/vncauth.c
+	perl -pi -e 's,INADDR_NONE,~INADDR_ANY,' \
+		$(WORKSRC)/gst/pcapparse/gstpcapparse.c

Added: csw/mgar/pkg/gstplugins_bad/trunk/checksums
===================================================================
--- csw/mgar/pkg/gstplugins_bad/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/gstplugins_bad/trunk/checksums	2010-02-21 15:38:47 UTC (rev 8718)
@@ -0,0 +1,3 @@
+454f1bfaa9a1dff48d7a1df2fbf5b3c3  gst-plugins-bad-0.10.17.tar.gz
+4f8db8228a9066d3a68501dfc2202d59  patch-gstvideomeasure_collector.h
+5f7b6d332bb6e70488e8ae8043cdf0dc  patch-gstvideomeasure_ssim.h

Added: csw/mgar/pkg/gstplugins_bad/trunk/files/patch-gstvideomeasure_collector.h
===================================================================
--- csw/mgar/pkg/gstplugins_bad/trunk/files/patch-gstvideomeasure_collector.h	                        (rev 0)
+++ csw/mgar/pkg/gstplugins_bad/trunk/files/patch-gstvideomeasure_collector.h	2010-02-21 15:38:47 UTC (rev 8718)
@@ -0,0 +1,25 @@
+--- gst-plugins-bad-0.10.17.orig/gst/videomeasure/gstvideomeasure_collector.h	2009-10-12 12:23:35.000000000 +0200
++++ gst-plugins-bad-0.10.17/gst/videomeasure/gstvideomeasure_collector.h	2010-02-21 16:23:40.000000000 +0100
+@@ -29,17 +29,11 @@
+ typedef struct _GstMeasureCollectorClass GstMeasureCollectorClass;
+ 
+ #define GST_TYPE_MEASURE_COLLECTOR            (gst_measure_collector_get_type())
+-#define GST_MEASURE_COLLECTOR(obj)                                             \
+-    (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MEASURE_COLLECTOR,              \
+-    GstMeasureCollector))
+-#define GST_IS_MEASURE_COLLECTOR(obj)         \
+-    (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_MEASURE_COLLECTOR))
+-#define GST_MEASURE_COLLECTOR_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),\
+-    GST_TYPE_MEASURE_COLLECTOR, GstMeasureCollectorClass))
+-#define GST_IS_MEASURE_COLLECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),\
+-    GST_TYPE_MEASURE_COLLECTOR))
+-#define GST_MEASURE_COLLECTOR_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),\
+-    GST_TYPE_MEASURE_COLLECTOR, GstMeasureCollectorClass))
++#define GST_MEASURE_COLLECTOR(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MEASURE_COLLECTOR,              GstMeasureCollector))
++#define GST_IS_MEASURE_COLLECTOR(obj)          (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_MEASURE_COLLECTOR))
++#define GST_MEASURE_COLLECTOR_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_MEASURE_COLLECTOR, GstMeasureCollectorClass))
++#define GST_IS_MEASURE_COLLECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_MEASURE_COLLECTOR))
++#define GST_MEASURE_COLLECTOR_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_MEASURE_COLLECTOR, GstMeasureCollectorClass))
+ 
+ typedef enum {
+   GST_MEASURE_COLLECTOR_0 = 0,

Added: csw/mgar/pkg/gstplugins_bad/trunk/files/patch-gstvideomeasure_ssim.h
===================================================================
--- csw/mgar/pkg/gstplugins_bad/trunk/files/patch-gstvideomeasure_ssim.h	                        (rev 0)
+++ csw/mgar/pkg/gstplugins_bad/trunk/files/patch-gstvideomeasure_ssim.h	2010-02-21 15:38:47 UTC (rev 8718)
@@ -0,0 +1,24 @@
+--- gst-plugins-bad-0.10.17.orig/gst/videomeasure/gstvideomeasure_ssim.h	2009-10-12 12:23:35.000000000 +0200
++++ gst-plugins-bad-0.10.17/gst/videomeasure/gstvideomeasure_ssim.h	2010-02-21 16:23:33.000000000 +0100
+@@ -37,16 +37,11 @@
+ 
+ 
+ #define GST_TYPE_SSIM            (gst_ssim_get_type())
+-#define GST_SSIM(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj),            \
+-    GST_TYPE_SSIM,GstSSim))
+-#define GST_IS_SSIM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj),            \
+-    GST_TYPE_SSIM))
+-#define GST_SSIM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass) ,            \
+-    GST_TYPE_SSIM,GstSSimClass))
+-#define GST_IS_SSIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass) ,            \
+-    GST_TYPE_SSIM))
+-#define GST_SSIM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj) ,            \
+-    GST_TYPE_SSIM,GstSSimClass))
++#define GST_SSIM(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_SSIM,GstSSim))
++#define GST_IS_SSIM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_SSIM))
++#define GST_SSIM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass) , GST_TYPE_SSIM,GstSSimClass))
++#define GST_IS_SSIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass) , GST_TYPE_SSIM))
++#define GST_SSIM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj) , GST_TYPE_SSIM,GstSSimClass))
+ 
+ typedef struct _GstSSim             GstSSim;
+ typedef struct _GstSSimClass        GstSSimClass;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list