diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-11-29 08:24:42 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-11-29 08:24:42 +0000 |
commit | 011741f575ece440b1471ae905d7409e83a46bec (patch) | |
tree | 80a067dd7138d3cb0b673c6cb77fb0dfe4a7835e /multimedia | |
parent | fbb4d9b122ef15154ff4aaaeeacde151947fc964 (diff) | |
download | pkgsrc-011741f575ece440b1471ae905d7409e83a46bec.tar.gz |
Import gst-plugins1-good-1.0.3 as multimedia/gst-plugins1-good.
GStreamer is a library that allows the construction of graphs of
media-handling components, ranging from simple Ogg/Vorbis playback to
complex audio (mixing) and video (non-linear editing) processing.
Applications can take advantage of advances in codec and filter technology
transparently. Developers can add new codecs and filters by writing a
simple plugin with a clean, generic interface.
GStreamer is released under the LGPL.
This package is part of the good GStreamer plugins; that is, those that are
considered to be stable and correctly coded.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gst-plugins1-good/DESCR | 12 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/Makefile | 17 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/Makefile.common | 50 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/PLIST | 87 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/buildlink3.mk | 16 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/distinfo | 9 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/patches/patch-ab | 34 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/patches/patch-ba | 23 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/patches/patch-bb | 16 | ||||
-rw-r--r-- | multimedia/gst-plugins1-good/patches/patch-sys_v4l2_gstv4l2object.c | 37 |
10 files changed, 301 insertions, 0 deletions
diff --git a/multimedia/gst-plugins1-good/DESCR b/multimedia/gst-plugins1-good/DESCR new file mode 100644 index 00000000000..6d97a894d65 --- /dev/null +++ b/multimedia/gst-plugins1-good/DESCR @@ -0,0 +1,12 @@ +GStreamer is a library that allows the construction of graphs of +media-handling components, ranging from simple Ogg/Vorbis playback to +complex audio (mixing) and video (non-linear editing) processing. + +Applications can take advantage of advances in codec and filter technology +transparently. Developers can add new codecs and filters by writing a +simple plugin with a clean, generic interface. + +GStreamer is released under the LGPL. + +This package is part of the good GStreamer plugins; that is, those that are +considered to be stable and correctly coded. diff --git a/multimedia/gst-plugins1-good/Makefile b/multimedia/gst-plugins1-good/Makefile new file mode 100644 index 00000000000..4d1e46ba9f9 --- /dev/null +++ b/multimedia/gst-plugins1-good/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2012/11/29 08:24:42 ryoon Exp $ +# + +.include "Makefile.common" + +COMMENT+= good plugins + +CONFIGURE_ARGS+= --enable-zlib + +PKGCONFIG_OVERRIDE+= pkgconfig/*.pc.in + +# only useful if gstreamer was built with the "gstcheck" option +TEST_TARGET= check-torture + +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/gst-plugins1-good/Makefile.common b/multimedia/gst-plugins1-good/Makefile.common new file mode 100644 index 00000000000..cdaa6c7d8ea --- /dev/null +++ b/multimedia/gst-plugins1-good/Makefile.common @@ -0,0 +1,50 @@ +# $NetBSD: Makefile.common,v 1.1 2012/11/29 08:24:42 ryoon Exp $ +# +# used by audio/gst-plugins1-flac/Makefile +## used by multimedia/gst-plugins1-v4l2/Makefile (broken) +# used by graphics/gst-plugins1-jpeg/Makefile +# used by graphics/gst-plugins1-png/Makefile +# used by audio/gst-plugins1-oss/Makefile +# used by audio/gst-plugins1-pulse/Makefile +# used by audio/gst-plugins1-speex/Makefile +# used by multimedia/gst-plugins1-vpx/Makefile +# used by x11/gst-plugins1-x11/Makefile +# used by audio/gst-plugins1-wavpack/Makefile +# + +GST_PLUGINS1_TYPE= good +GST_PLUGINS1_VER= 1.0.3 + +# Disable all drivers and features by default. +.for driver in aalib \ + aalibtest \ + cairo \ + dv1394 \ + flac \ + gst_v4l2 \ + jack \ + jpeg \ + libcaca \ + libdv \ + libpng \ + oss \ + oss4 \ + pulse \ + shout2 \ + speex \ + sunaudio \ + vpx \ + x \ + xshm \ + xvideo \ + zlib +CONFIGURE_ARGS+= --disable-${driver} +.endfor + +.include "../../multimedia/gst-plugins1-base/plugins.mk" +.include "../../devel/orc/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +BUILDLINK_API_DEPENDS.gst-plugins1-base+= gst-plugins1-base>=1.0.3 +.include "../../multimedia/gst-plugins1-base/buildlink3.mk" +BUILDLINK_API_DEPENDS.gstreamer1+= gstreamer1>=1.0.3 +.include "../../multimedia/gstreamer1/buildlink3.mk" diff --git a/multimedia/gst-plugins1-good/PLIST b/multimedia/gst-plugins1-good/PLIST new file mode 100644 index 00000000000..b382a140145 --- /dev/null +++ b/multimedia/gst-plugins1-good/PLIST @@ -0,0 +1,87 @@ +@comment $NetBSD: PLIST,v 1.1 2012/11/29 08:24:42 ryoon Exp $ +lib/gstreamer-1.0/libgstalaw.la +lib/gstreamer-1.0/libgstalpha.la +lib/gstreamer-1.0/libgstalphacolor.la +lib/gstreamer-1.0/libgstapetag.la +lib/gstreamer-1.0/libgstaudiofx.la +lib/gstreamer-1.0/libgstaudioparsers.la +lib/gstreamer-1.0/libgstauparse.la +lib/gstreamer-1.0/libgstautodetect.la +lib/gstreamer-1.0/libgstavi.la +lib/gstreamer-1.0/libgstcutter.la +lib/gstreamer-1.0/libgstdebug.la +lib/gstreamer-1.0/libgstdeinterlace.la +lib/gstreamer-1.0/libgsteffectv.la +lib/gstreamer-1.0/libgstequalizer.la +lib/gstreamer-1.0/libgstflv.la +lib/gstreamer-1.0/libgstflxdec.la +lib/gstreamer-1.0/libgstgoom.la +lib/gstreamer-1.0/libgstgoom2k1.la +lib/gstreamer-1.0/libgsticydemux.la +lib/gstreamer-1.0/libgstid3demux.la +lib/gstreamer-1.0/libgstimagefreeze.la +lib/gstreamer-1.0/libgstinterleave.la +lib/gstreamer-1.0/libgstisomp4.la +lib/gstreamer-1.0/libgstlevel.la +lib/gstreamer-1.0/libgstmatroska.la +lib/gstreamer-1.0/libgstmulaw.la +lib/gstreamer-1.0/libgstmultifile.la +lib/gstreamer-1.0/libgstmultipart.la +lib/gstreamer-1.0/libgstnavigationtest.la +lib/gstreamer-1.0/libgstreplaygain.la +lib/gstreamer-1.0/libgstrtp.la +lib/gstreamer-1.0/libgstrtpmanager.la +lib/gstreamer-1.0/libgstrtsp.la +lib/gstreamer-1.0/libgstshapewipe.la +lib/gstreamer-1.0/libgstsmpte.la +lib/gstreamer-1.0/libgstspectrum.la +lib/gstreamer-1.0/libgstudp.la +lib/gstreamer-1.0/libgstvideobox.la +lib/gstreamer-1.0/libgstvideocrop.la +lib/gstreamer-1.0/libgstvideofilter.la +lib/gstreamer-1.0/libgstvideomixer.la +lib/gstreamer-1.0/libgstwavenc.la +lib/gstreamer-1.0/libgstwavparse.la +lib/gstreamer-1.0/libgsty4menc.la +share/gstreamer-1.0/presets/GstIirEqualizer10Bands.prs +share/gstreamer-1.0/presets/GstIirEqualizer3Bands.prs +share/locale/af/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/az/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/bg/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/ca/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/cs/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/da/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/de/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/el/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/en_GB/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/eo/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/es/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/eu/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/fi/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/fr/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/gl/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/hu/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/id/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/it/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/ja/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/lt/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/lv/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/mt/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/nb/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/nl/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/or/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/pl/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/pt_BR/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/ro/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/ru/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/sk/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/sl/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/sq/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/sr/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/sv/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/tr/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/uk/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/vi/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/zh_CN/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/zh_HK/LC_MESSAGES/gst-plugins-good-1.0.mo +share/locale/zh_TW/LC_MESSAGES/gst-plugins-good-1.0.mo diff --git a/multimedia/gst-plugins1-good/buildlink3.mk b/multimedia/gst-plugins1-good/buildlink3.mk new file mode 100644 index 00000000000..b03ad32999c --- /dev/null +++ b/multimedia/gst-plugins1-good/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2012/11/29 08:24:42 ryoon Exp $ + +BUILDLINK_TREE+= gst-plugins1-good + +.if !defined(GST_PLUGINS1_GOOD_BUILDLINK3_MK) +GST_PLUGINS1_GOOD_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.gst-plugins1-good+= gst-plugins1-good>=1.0.3 +BUILDLINK_ABI_DEPENDS.gst-plugins1-good+= gst-plugins1-good>=1.0.3 +BUILDLINK_PKGSRCDIR.gst-plugins1-good?= ../../multimedia/gst-plugins1-good + +.include "../../multimedia/gstreamer1/buildlink3.mk" +.include "../../multimedia/gst-plugins1-base/buildlink3.mk" +.endif # GST_PLUGINS1_GOOD_BUILDLINK3_MK + +BUILDLINK_TREE+= -gst-plugins1-good diff --git a/multimedia/gst-plugins1-good/distinfo b/multimedia/gst-plugins1-good/distinfo new file mode 100644 index 00000000000..c6017c27811 --- /dev/null +++ b/multimedia/gst-plugins1-good/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1 2012/11/29 08:24:42 ryoon Exp $ + +SHA1 (gst-plugins-good-1.0.3.tar.xz) = 4b6c8c600842a8c08c9a9cc62a0b80658032db05 +RMD160 (gst-plugins-good-1.0.3.tar.xz) = 20975959b217c71ba14447695c69a6494cbb8d07 +Size (gst-plugins-good-1.0.3.tar.xz) = 2714708 bytes +SHA1 (patch-ab) = 2b2812a6775ce54407a9d00d823a56ad30d7591c +SHA1 (patch-ba) = 00d152b12aa6847b88997dc9c8c7d94760ded6a9 +SHA1 (patch-bb) = 2b448778acd9ce6c4cd6a22a894bcee457cd0360 +SHA1 (patch-sys_v4l2_gstv4l2object.c) = b19a02ff26c49f8ced260f738d7e8973b2201b10 diff --git a/multimedia/gst-plugins1-good/patches/patch-ab b/multimedia/gst-plugins1-good/patches/patch-ab new file mode 100644 index 00000000000..db406788889 --- /dev/null +++ b/multimedia/gst-plugins1-good/patches/patch-ab @@ -0,0 +1,34 @@ +$NetBSD: patch-ab,v 1.1 2012/11/29 08:24:42 ryoon Exp $ + +--- configure.orig 2012-11-20 23:47:00.000000000 +0000 ++++ configure +@@ -23417,6 +23417,9 @@ main () + #error GCC before 3.4 has critical bugs compiling inline assembly + #endif + #endif ++#ifdef __SUNPRO_C ++#error Sun Studio cannot handle assembly in this package ++#endif + __asm__ (""::) + ; + return 0; +@@ -29386,6 +29389,10 @@ $as_echo_n "checking Checking for up to + #ifdef __sun /* Solaris */ + #include <sys/types.h> + #include <sys/videodev2.h> ++#elif defined(__NetBSD__) ++#include <sys/videoio.h> ++#elif defined(__NetBSD__) ++#include <sys/videoio.h> + #else /* Linux */ + #include <linux/types.h> + #define _LINUX_TIME_H +@@ -29459,6 +29466,8 @@ $as_echo_n "checking struct v4l2_buffer + #ifdef __sun /* Solaris */ + #include <sys/types.h> + #include <sys/videodev2.h> ++#elif defined(__NetBSD__) ++#include <sys/videoio.h> + #else /* Linux */ + #include <linux/types.h> + #define _LINUX_TIME_H diff --git a/multimedia/gst-plugins1-good/patches/patch-ba b/multimedia/gst-plugins1-good/patches/patch-ba new file mode 100644 index 00000000000..6809e023211 --- /dev/null +++ b/multimedia/gst-plugins1-good/patches/patch-ba @@ -0,0 +1,23 @@ +$NetBSD: patch-ba,v 1.1 2012/11/29 08:24:42 ryoon Exp $ + +--- sys/v4l2/gstv4l2object.h.orig 2012-10-25 10:55:59.000000000 +0000 ++++ sys/v4l2/gstv4l2object.h +@@ -38,13 +38,17 @@ + */ + #include <sys/ioctl.h> + #include <sys/types.h> +-#ifndef __sun ++#if !defined(__sun) && !defined(__NetBSD__) + #include <linux/types.h> + #define _LINUX_TIME_H + #define __user + #include <linux/videodev2.h> + #else ++#ifdef __sun + #include <sys/videodev2.h> ++#else ++#include <sys/videoio.h> ++#endif + #endif + + #include <gst/gst.h> diff --git a/multimedia/gst-plugins1-good/patches/patch-bb b/multimedia/gst-plugins1-good/patches/patch-bb new file mode 100644 index 00000000000..d372f797c95 --- /dev/null +++ b/multimedia/gst-plugins1-good/patches/patch-bb @@ -0,0 +1,16 @@ +$NetBSD: patch-bb,v 1.1 2012/11/29 08:24:42 ryoon Exp $ + +--- sys/v4l2/v4l2_calls.h.orig 2012-10-25 10:55:59.000000000 +0000 ++++ sys/v4l2/v4l2_calls.h +@@ -30,7 +30,11 @@ + # include <libv4l2.h> + #else + # include <sys/ioctl.h> ++#ifdef __NetBSD__ ++#include <sys/videoio.h> ++#else + # include <linux/videodev2.h> ++#endif + # define v4l2_fd_open(fd, flags) (fd) + # define v4l2_close close + # define v4l2_dup dup diff --git a/multimedia/gst-plugins1-good/patches/patch-sys_v4l2_gstv4l2object.c b/multimedia/gst-plugins1-good/patches/patch-sys_v4l2_gstv4l2object.c new file mode 100644 index 00000000000..8ceb821137f --- /dev/null +++ b/multimedia/gst-plugins1-good/patches/patch-sys_v4l2_gstv4l2object.c @@ -0,0 +1,37 @@ +$NetBSD: patch-sys_v4l2_gstv4l2object.c,v 1.1 2012/11/29 08:24:42 ryoon Exp $ + +* take care some video standard macros added by V4L2 in Linux 2.6.17 + (not in NetBSD) + +--- sys/v4l2/gstv4l2object.c.orig 2012-10-25 10:55:59.000000000 +0000 ++++ sys/v4l2/gstv4l2object.c +@@ -338,8 +338,12 @@ gst_v4l2_tv_norm_get_type (void) + {V4L2_STD_NTSC, "NTSC", "NTSC"}, + {V4L2_STD_NTSC_M, "NTSC-M", "NTSC-M"}, + {V4L2_STD_NTSC_M_JP, "NTSC-M-JP", "NTSC-M-JP"}, ++#ifdef V4L2_STD_NTSC_M_KR + {V4L2_STD_NTSC_M_KR, "NTSC-M-KR", "NTSC-M-KR"}, ++#endif ++#ifdef V4L2_STD_NTSC_443 + {V4L2_STD_NTSC_443, "NTSC-443", "NTSC-443"}, ++#endif + + {V4L2_STD_PAL, "PAL", "PAL"}, + {V4L2_STD_PAL_BG, "PAL-BG", "PAL-BG"}, +@@ -361,12 +365,16 @@ gst_v4l2_tv_norm_get_type (void) + {V4L2_STD_SECAM_B, "SECAM-B", "SECAM-B"}, + {V4L2_STD_SECAM_G, "SECAM-G", "SECAM-G"}, + {V4L2_STD_SECAM_H, "SECAM-H", "SECAM-H"}, ++#ifdef V4L2_STD_SECAM_DK + {V4L2_STD_SECAM_DK, "SECAM-DK", "SECAM-DK"}, ++#endif + {V4L2_STD_SECAM_D, "SECAM-D", "SECAM-D"}, + {V4L2_STD_SECAM_K, "SECAM-K", "SECAM-K"}, + {V4L2_STD_SECAM_K1, "SECAM-K1", "SECAM-K1"}, + {V4L2_STD_SECAM_L, "SECAM-L", "SECAM-L"}, ++#ifdef V4L2_STD_SECAM_LC + {V4L2_STD_SECAM_LC, "SECAM-Lc", "SECAM-Lc"}, ++#endif + + {0, NULL, NULL} + }; |