sctp: enable sctpdec and sctpenc plugins 40/228040/2 accepted/tizen/unified/20200331.113953 submit/tizen/20200330.071150 submit/tizen/20200331.035513
authorHyunil <hyunil46.park@samsung.com>
Wed, 18 Mar 2020 09:15:55 +0000 (18:15 +0900)
committerHyunil <hyunil46.park@samsung.com>
Thu, 19 Mar 2020 03:55:23 +0000 (12:55 +0900)
Change-Id: Ifcd70387b5d3f36dcc980f5ee5a99f335440dc31
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
gst-libs/gst/Makefile.am
packaging/gst-plugins-bad.spec

index 1594402..c4f02a1 100644 (file)
@@ -7,7 +7,7 @@ OPENCV_DIR=opencv
 endif
 
 if TV_PROFILE
-SUBDIRS = codecparsers mpegts $(WAYLAND_DIR)
+SUBDIRS = codecparsers mpegts sctp webrtc $(WAYLAND_DIR)
 else
 SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc codecparsers \
         insertbin mpegts audio sctp player isoff webrtc $(WAYLAND_DIR) \
@@ -16,22 +16,22 @@ endif
 
 noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
 if TV_PROFILE
-DIST_SUBDIRS = codecparsers mpegts wayland
+DIST_SUBDIRS = codecparsers mpegts wayland sctp webrtc
 else
 DIST_SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc \
        codecparsers insertbin mpegts wayland opencv audio player isoff sctp webrtc
-endif  
+endif
 
 adaptivedemux: uridownloader
 
 if TV_PROFILE
 INDEPENDENT_SUBDIRS = \
-       codecparsers mpegts $(WAYLAND_DIR)
+       codecparsers mpegts sctp webrtc $(WAYLAND_DIR)
 else
 INDEPENDENT_SUBDIRS = \
        interfaces basecamerabinsrc codecparsers insertbin uridownloader \
-       mpegts player isoff sctp $(WAYLAND_DIR) $(OPENCV_DIR)
-endif  
+       mpegts player isoff sctp webrtc $(WAYLAND_DIR) $(OPENCV_DIR)
+endif
 
 .PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
 
index fca68eb..ab33980 100644 (file)
@@ -29,6 +29,7 @@ BuildRequires:  pkgconfig(sndfile) >= 1.0.16
 BuildRequires:  pkgconfig(openal)
 BuildRequires:  pkgconfig(soundtouch) > 1.4
 BuildRequires:  pkgconfig(nice)
+BuildRequires:  pkgconfig(usrsctp)
 %if %{with wayland}
 %if 0%{?enable_gl:1}
 BuildRequires:  pkgconfig(gles20)
@@ -81,6 +82,8 @@ export CFLAGS+=" -Wall -g -fPIC\
   -Wl,-z,relro\
   -D_FORTIFY_SOURCE=2"
 export CXXFLAGS+=" -DTIZEN_FEATURE_PITCH_AUDIO_META"
+# export pthread for checking usrsctp_init at sctp configure
+export LDFLAGS+=" -pthread "
 
 %configure\
        --disable-static\
@@ -237,6 +240,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/gstreamer-%{gst_branch}/libgstproxy.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstwebrtc.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstdtls.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstsctp.so
 %{_libdir}/libgstsctp-%{gst_branch}.so.0*
 %{_libdir}/libgstwebrtc-%{gst_branch}.so.0*
 %{_libdir}/libgstcodecparsers-%{gst_branch}.so.0*