diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-10-04 16:12:45 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-10-04 16:12:45 +0800 |
commit | fabc9638f754b13f62de9e87ce056ee458235945 (patch) | |
tree | ce05b49890b857d60ef4204c485d72730fcca41e /multimedia/gstreamer1-plugins-good | |
parent | d71d55b950029a5b5bd8f71cba7d3645c9fd485c (diff) | |
download | marcuscom-ports-fabc9638f754b13f62de9e87ce056ee458235945.tar.gz marcuscom-ports-fabc9638f754b13f62de9e87ce056ee458235945.tar.zst marcuscom-ports-fabc9638f754b13f62de9e87ce056ee458235945.zip |
Add first start of Gstreamer 1.0 ports. bsd.gstreamer.mk needs more work to
support his version. If I have broken 0.10 support please let me know.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17089 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer1-plugins-good')
5 files changed, 247 insertions, 0 deletions
diff --git a/multimedia/gstreamer1-plugins-good/Makefile b/multimedia/gstreamer1-plugins-good/Makefile new file mode 100644 index 000000000..df24e3e3e --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/Makefile @@ -0,0 +1,37 @@ +# Created by: Michael Johnson <ahze@FreeBSD.org> +# $FreeBSD$ +# $MCom$ + +PORTREVISION= 0 +CATEGORIES= multimedia + +COMMENT= Good gstreamer-plugins + +GST_PLUGIN= good +GST_PLUGIN_SUFFIX= -good + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +BUILD_DEPENDS+= gstreamer1-plugins>=${GST10_VERSION}${GST10_MINOR_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins +RUN_DEPENDS+= gstreamer1-plugins>=${GST10_VERSION}${GST10_MINOR_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins + +DIST= good +GOOD_GST_DIRS= gst sys po + +PLIST= ${.CURDIR}/pkg-plist +FILESDIR=${.CURDIR}/files +PATCHDIR=${.CURDIR}/files +NO_GSTREAMER_COMMON= yes + +do-build: +.for dir in ${GOOD_GST_DIRS} + @(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) +.endfor + +do-install: +.for dir in ${GOOD_GST_DIRS} + @(cd ${INSTALL_WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) + +.endfor + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-good/files/patch-configure b/multimedia/gstreamer1-plugins-good/files/patch-configure new file mode 100644 index 000000000..d893a20c2 --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig 2010-12-01 19:16:00.000000000 +0100 ++++ configure 2010-12-02 15:39:17.000000000 +0100 +@@ -24955,7 +24955,7 @@ if test "${with_default_audiosink+set}" + + else + +- DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK" ++ DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER" + + fi + +@@ -27516,6 +27516,8 @@ $as_echo_n "checking Checking for up to + #ifdef __sun /* Solaris */ + #include <sys/types.h> + #include <sys/videodev2.h> ++#elif __FreeBSD__ ++#include <linux/videodev2.h> + #else /* Linux */ + #include <linux/types.h> + #define _LINUX_TIME_H +@@ -27589,6 +27591,8 @@ $as_echo_n "checking struct v4l2_buffer + #ifdef __sun /* Solaris */ + #include <sys/types.h> + #include <sys/videodev2.h> ++#elif __FreeBSD__ ++#include <linux/videodev2.h> + #else /* Linux */ + #include <linux/types.h> + #define _LINUX_TIME_H diff --git a/multimedia/gstreamer1-plugins-good/files/patch-sys_oss_gstosshelper.c b/multimedia/gstreamer1-plugins-good/files/patch-sys_oss_gstosshelper.c new file mode 100644 index 000000000..34fdd3119 --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/files/patch-sys_oss_gstosshelper.c @@ -0,0 +1,20 @@ +--- sys/oss/gstosshelper.c.orig Sun Apr 2 03:23:53 2006 ++++ sys/oss/gstosshelper.c Sun Apr 2 03:25:44 2006 +@@ -343,13 +344,17 @@ gst_oss_helper_rate_check_rate (GstOssPr + int format; + int n_channels; + int ret; ++ int rst; + + rate = irate; + format = probe->format; + n_channels = probe->n_channels; ++ rst = 4000; /* XXX Lowest supported rate for FreeBSD. */ + + GST_LOG ("checking format %d, channels %d, rate %d", + format, n_channels, rate); ++ /* Reset rate to lowest supported rate. */ ++ ioctl (probe->fd, SNDCTL_DSP_SPEED, &rst); + ret = ioctl (probe->fd, SNDCTL_DSP_SETFMT, &format); + if (ret < 0) + return -1; diff --git a/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.h b/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.h new file mode 100644 index 000000000..af186ea7f --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.h @@ -0,0 +1,21 @@ +--- sys/v4l2/gstv4l2object.h.orig 2010-02-11 17:52:41.000000000 +0100 ++++ sys/v4l2/gstv4l2object.h 2010-02-11 17:57:50.000000000 +0100 +@@ -38,13 +38,15 @@ + */ + #include <sys/ioctl.h> + #include <sys/types.h> +-#ifndef __sun ++#ifdef __sun ++#include <sys/videodev2.h> ++#elif defined(__FreeBSD__) ++#include <linux/videodev2.h> ++#else /* linux */ + #include <linux/types.h> + #define _LINUX_TIME_H + #define __user + #include <linux/videodev2.h> +-#else +-#include <sys/videodev2.h> + #endif + + #include <gst/gst.h> diff --git a/multimedia/gstreamer1-plugins-good/pkg-plist b/multimedia/gstreamer1-plugins-good/pkg-plist new file mode 100644 index 000000000..dfe6500bd --- /dev/null +++ b/multimedia/gstreamer1-plugins-good/pkg-plist @@ -0,0 +1,140 @@ +lib/gstreamer-%%VERSION%%/libgstalaw.la +lib/gstreamer-%%VERSION%%/libgstalaw.so +lib/gstreamer-%%VERSION%%/libgstalpha.la +lib/gstreamer-%%VERSION%%/libgstalpha.so +lib/gstreamer-%%VERSION%%/libgstalphacolor.la +lib/gstreamer-%%VERSION%%/libgstalphacolor.so +lib/gstreamer-%%VERSION%%/libgstapetag.la +lib/gstreamer-%%VERSION%%/libgstapetag.so +lib/gstreamer-%%VERSION%%/libgstaudiofx.la +lib/gstreamer-%%VERSION%%/libgstaudiofx.so +lib/gstreamer-%%VERSION%%/libgstaudioparsers.la +lib/gstreamer-%%VERSION%%/libgstaudioparsers.so +lib/gstreamer-%%VERSION%%/libgstauparse.la +lib/gstreamer-%%VERSION%%/libgstauparse.so +lib/gstreamer-%%VERSION%%/libgstautodetect.la +lib/gstreamer-%%VERSION%%/libgstautodetect.so +lib/gstreamer-%%VERSION%%/libgstavi.la +lib/gstreamer-%%VERSION%%/libgstavi.so +lib/gstreamer-%%VERSION%%/libgstcutter.la +lib/gstreamer-%%VERSION%%/libgstcutter.so +lib/gstreamer-%%VERSION%%/libgstdebug.la +lib/gstreamer-%%VERSION%%/libgstdebug.so +lib/gstreamer-%%VERSION%%/libgstdeinterlace.la +lib/gstreamer-%%VERSION%%/libgstdeinterlace.so +lib/gstreamer-%%VERSION%%/libgsteffectv.la +lib/gstreamer-%%VERSION%%/libgsteffectv.so +lib/gstreamer-%%VERSION%%/libgstequalizer.la +lib/gstreamer-%%VERSION%%/libgstequalizer.so +lib/gstreamer-%%VERSION%%/libgstflv.la +lib/gstreamer-%%VERSION%%/libgstflv.so +lib/gstreamer-%%VERSION%%/libgstflxdec.la +lib/gstreamer-%%VERSION%%/libgstflxdec.so +lib/gstreamer-%%VERSION%%/libgstgoom.la +lib/gstreamer-%%VERSION%%/libgstgoom.so +lib/gstreamer-%%VERSION%%/libgstgoom2k1.la +lib/gstreamer-%%VERSION%%/libgstgoom2k1.so +lib/gstreamer-%%VERSION%%/libgsticydemux.la +lib/gstreamer-%%VERSION%%/libgsticydemux.so +lib/gstreamer-%%VERSION%%/libgstid3demux.la +lib/gstreamer-%%VERSION%%/libgstid3demux.so +lib/gstreamer-%%VERSION%%/libgstimagefreeze.la +lib/gstreamer-%%VERSION%%/libgstimagefreeze.so +lib/gstreamer-%%VERSION%%/libgstinterleave.la +lib/gstreamer-%%VERSION%%/libgstinterleave.so +lib/gstreamer-%%VERSION%%/libgstlevel.la +lib/gstreamer-%%VERSION%%/libgstlevel.so +lib/gstreamer-%%VERSION%%/libgstmatroska.la +lib/gstreamer-%%VERSION%%/libgstmatroska.so +lib/gstreamer-%%VERSION%%/libgstmulaw.la +lib/gstreamer-%%VERSION%%/libgstmulaw.so +lib/gstreamer-%%VERSION%%/libgstmultifile.la +lib/gstreamer-%%VERSION%%/libgstmultifile.so +lib/gstreamer-%%VERSION%%/libgstmultipart.la +lib/gstreamer-%%VERSION%%/libgstmultipart.so +lib/gstreamer-%%VERSION%%/libgstnavigationtest.la +lib/gstreamer-%%VERSION%%/libgstnavigationtest.so +lib/gstreamer-%%VERSION%%/libgstoss4audio.la +lib/gstreamer-%%VERSION%%/libgstoss4audio.so +lib/gstreamer-%%VERSION%%/libgstossaudio.la +lib/gstreamer-%%VERSION%%/libgstossaudio.so +lib/gstreamer-%%VERSION%%/libgstisomp4.la +lib/gstreamer-%%VERSION%%/libgstisomp4.so +lib/gstreamer-%%VERSION%%/libgstreplaygain.la +lib/gstreamer-%%VERSION%%/libgstreplaygain.so +lib/gstreamer-%%VERSION%%/libgstrtp.la +lib/gstreamer-%%VERSION%%/libgstrtp.so +lib/gstreamer-%%VERSION%%/libgstrtpmanager.la +lib/gstreamer-%%VERSION%%/libgstrtpmanager.so +lib/gstreamer-%%VERSION%%/libgstrtsp.la +lib/gstreamer-%%VERSION%%/libgstrtsp.so +lib/gstreamer-%%VERSION%%/libgstshapewipe.la +lib/gstreamer-%%VERSION%%/libgstshapewipe.so +lib/gstreamer-%%VERSION%%/libgstsmpte.la +lib/gstreamer-%%VERSION%%/libgstsmpte.so +lib/gstreamer-%%VERSION%%/libgstspectrum.la +lib/gstreamer-%%VERSION%%/libgstspectrum.so +lib/gstreamer-%%VERSION%%/libgstudp.la +lib/gstreamer-%%VERSION%%/libgstudp.so +lib/gstreamer-%%VERSION%%/libgstvideobox.la +lib/gstreamer-%%VERSION%%/libgstvideobox.so +lib/gstreamer-%%VERSION%%/libgstvideocrop.la +lib/gstreamer-%%VERSION%%/libgstvideocrop.so +lib/gstreamer-%%VERSION%%/libgstvideofilter.la +lib/gstreamer-%%VERSION%%/libgstvideofilter.so +lib/gstreamer-%%VERSION%%/libgstvideomixer.la +lib/gstreamer-%%VERSION%%/libgstvideomixer.so +lib/gstreamer-%%VERSION%%/libgstwavenc.la +lib/gstreamer-%%VERSION%%/libgstwavenc.so +lib/gstreamer-%%VERSION%%/libgstwavparse.la +lib/gstreamer-%%VERSION%%/libgstwavparse.so +lib/gstreamer-%%VERSION%%/libgstximagesrc.la +lib/gstreamer-%%VERSION%%/libgstximagesrc.so +lib/gstreamer-%%VERSION%%/libgsty4menc.la +lib/gstreamer-%%VERSION%%/libgsty4menc.so +share/gstreamer-%%VERSION%%/presets/GstIirEqualizer10Bands.prs +share/gstreamer-%%VERSION%%/presets/GstIirEqualizer3Bands.prs +share/locale/af/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/bg/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/da/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/el/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/eo/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/es/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/eu/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/fi/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/gl/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/hu/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/id/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/ja/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/lt/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/lv/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/mt/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/or/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/pl/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/pt_BR/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/ro/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sk/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sl/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/zh_CN/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/zh_HK/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +share/locale/zh_TW/LC_MESSAGES/gst-plugins-good-%%VERSION%%.mo +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/gstreamer-%%VERSION%%/presets +@dirrmtry share/gstreamer-%%VERSION%% |