Change auto features to 'disabled' 30/270530/3
authorGilbok Lee <gilbok.lee@samsung.com>
Fri, 4 Feb 2022 07:11:07 +0000 (16:11 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 4 Feb 2022 07:31:27 +0000 (16:31 +0900)
Change-Id: Ifff14cae99c0718f2e615253c10ba3e5b0712fbb

packaging/gstreamer.spec
subprojects/gst-editing-services/meson_options.txt
subprojects/gst-plugins-bad/meson_options.txt
subprojects/gst-rtsp-server/meson_options.txt

index 4394956..f98a424 100644 (file)
@@ -517,35 +517,46 @@ export CFLAGS="%{optflags} \
 export CXXFLAGS+=" -Wno-error"
 export LDFLAGS+=" -pthread"
 
-meson --prefix=/usr --libdir=%{_libdir} --datadir=%{_datadir} --sysconfdir=%{_hal_sysconfdir} \
-%if "%{plugin}" == "all"
-  -Dtests=disabled \
-  -Dexamples=disabled \
-  -Dnls=disabled \
-  -Ddoc=disabled \
-  -Dgtk_doc=disabled \
-  -Dqt5=disabled \
-  -Dgst-examples=disabled \
-%endif
+meson --auto-features=disabled --prefix=/usr --libdir=%{_libdir} --datadir=%{_datadir} --sysconfdir=%{_hal_sysconfdir} \
+  -D introspection=enabled \
 %if "%{plugin}" == "all" || "%{plugin}" == "core"
-  -D %{_core_opt}bash-completion=disabled \
-  -D %{_core_opt}check=disabled \
-  -D %{_core_opt}doc=disabled \
-  -D %{_core_opt}examples=disabled \
+  -D %{_core_opt}coretracers=enabled \
+  -D %{_core_opt}tools=enabled \
   -D %{_core_opt}introspection=enabled \
-  -D %{_core_opt}nls=disabled \
-  -D %{_core_opt}tests=disabled \
+  -D %{_core_opt}extra-checks=enabled \
   -D %{_core_opt}ptp-helper-permissions=none \
 %endif
 %if "%{plugin}" == "all" || "%{plugin}" == "base"
-  -D %{_base_opt}doc=disabled \
-  -D %{_base_opt}examples=disabled \
-  -D %{_base_opt}gl=disabled \
+  -D %{_base_opt}adder=enabled \
+  -D %{_base_opt}app=enabled \
+  -D %{_base_opt}audioconvert=enabled \
+  -D %{_base_opt}audiomixer=enabled \
+  -D %{_base_opt}audiorate=enabled \
+  -D %{_base_opt}audioresample=enabled \
+  -D %{_base_opt}audiotestsrc=enabled \
+  -D %{_base_opt}compositor=enabled \
+  -D %{_base_opt}encoding=enabled \
+  -D %{_base_opt}gio=enabled \
+  -D %{_base_opt}gio-typefinder=enabled \
+  -D %{_base_opt}overlaycomposition=enabled \
+  -D %{_base_opt}pbtypes=enabled \
+  -D %{_base_opt}playback=enabled \
+  -D %{_base_opt}rawparse=enabled \
+  -D %{_base_opt}subparse=enabled \
+  -D %{_base_opt}tcp=enabled \
+  -D %{_base_opt}typefind=enabled \
+  -D %{_base_opt}videoconvert=enabled \
+  -D %{_base_opt}videorate=enabled \
+  -D %{_base_opt}videoscale=enabled \
+  -D %{_base_opt}videotestsrc=enabled \
+  -D %{_base_opt}volume=enabled \
+  -D %{_base_opt}alsa=enabled \
+  -D %{_base_opt}ogg=enabled \
+  -D %{_base_opt}opus=enabled \
+  -D %{_base_opt}theora=enabled \
+  -D %{_base_opt}vorbis=enabled \
   -D %{_base_opt}introspection=enabled \
-  -D %{_base_opt}nls=disabled \
   -D %{_base_opt}tbm=true \
-  -D %{_base_opt}tests=disabled \
-  -D %{_base_opt}tools=disabled \
   %if "%{tizen_profile_name}" == "tv"
     -D %{_base_opt}tv-profile=true \
   %else
@@ -555,140 +566,108 @@ meson --prefix=/usr --libdir=%{_libdir} --datadir=%{_datadir} --sysconfdir=%{_ha
   %endif # tv
 %endif # base plugin
 %if "%{plugin}" == "all" || "%{plugin}" == "good"
-  %if 0%{?ENABLE_AALIB}
-    -D %{_good_opt}aalib=disabled \
+  %if 0%{?ENABLE_AALIB}
+    -D %{_good_opt}aalib=enabled \
   %endif
-  -D %{_good_opt}alpha=disabled \
-  -D %{_good_opt}auparse=disabled \
-  -D %{_good_opt}cutter=disabled \
-  -D %{_good_opt}dtmf=disabled \
-  -D %{_good_opt}equalizer=disabled \
-  -D %{_good_opt}flx=disabled \
-  -D %{_good_opt}goom=disabled \
-  -D %{_good_opt}goom2k1=disabled \
-  -D %{_good_opt}level=disabled \
-  -D %{_good_opt}monoscope=disabled \
-  -D %{_good_opt}multipart=disabled \
-  -D %{_good_opt}nls=disabled \
-  -D %{_good_opt}oss4=disabled \
-  -D %{_good_opt}oss=disabled \
-  -D %{_good_opt}shapewipe=disabled \
-  -D %{_good_opt}spectrum=disabled \
-  -D %{_good_opt}taglib=disabled \
+  -D %{_good_opt}apetag=enabled \
+  -D %{_good_opt}audiofx=enabled \
+  -D %{_good_opt}audioparsers=enabled \
+  -D %{_good_opt}autodetect=enabled \
+  -D %{_good_opt}avi=enabled \
+  -D %{_good_opt}debugutils=enabled \
+  -D %{_good_opt}deinterlace=enabled \
+  -D %{_good_opt}effectv=enabled \
+  -D %{_good_opt}flv=enabled \
+  -D %{_good_opt}icydemux=enabled \
+  -D %{_good_opt}id3demux=enabled \
+  -D %{_good_opt}imagefreeze=enabled \
+  -D %{_good_opt}interleave=enabled \
+  -D %{_good_opt}isomp4=enabled \
+  -D %{_good_opt}law=enabled \
+  -D %{_good_opt}matroska=enabled \
+  -D %{_good_opt}multifile=enabled \
+  -D %{_good_opt}replaygain=enabled \
+  -D %{_good_opt}rtp=enabled \
+  -D %{_good_opt}rtpmanager=enabled \
+  -D %{_good_opt}rtsp=enabled \
+  -D %{_good_opt}smpte=enabled \
+  -D %{_good_opt}udp=enabled \
+  -D %{_good_opt}videobox=enabled \
+  -D %{_good_opt}videocrop=enabled \
+  -D %{_good_opt}videofilter=enabled \
+  -D %{_good_opt}videomixer=enabled \
+  -D %{_good_opt}wavenc=enabled \
+  -D %{_good_opt}wavparse=enabled \
+  -D %{_good_opt}v4l2=enabled \
+  -D %{_good_opt}cairo=enabled \
+  -D %{_good_opt}jpeg=enabled \
+  -D %{_good_opt}png=enabled \
+  -D %{_good_opt}pulse=enabled \
+  -D %{_good_opt}soup=enabled \
+  -D %{_good_opt}vpx=enabled \
   -D %{_good_opt}tbm=true \
-  -D %{_good_opt}twolame=disabled \
   -D %{_good_opt}v4l2-probe=true \
-  -D %{_good_opt}wavpack=disabled \
-  -D %{_good_opt}y4m=disabled \
-  %if "%{tizen_profile_name}" == "tv"
-    -D %{_good_opt}flv=disabled \
-    -D %{_good_opt}lame=disabled \
-    -D %{_good_opt}videobox=disabled \
-    -D %{_good_opt}videomixer=disabled \
-  %else
+  %if "%{tizen_profile_name}" != "tv"
     -D %{_good_opt}v4l2-libv4l2=enabled \
   %endif # tv
 %endif # plugin
 %if "%{plugin}" == "all" || "%{plugin}" == "bad"
-  -D %{_bad_opt}accurip=disabled \
-  -D %{_bad_opt}adpcmdec=disabled \
-  -D %{_bad_opt}adpcmenc=disabled \
-  -D %{_bad_opt}aiff=disabled \
-  -D %{_bad_opt}asfmux=disabled \
-  -D %{_bad_opt}audiofxbad=disabled \
-  -D %{_bad_opt}audiovisualizers=disabled \
-  -D %{_bad_opt}bayer=disabled \
-  -D %{_bad_opt}bz2=disabled \
-  -D %{_bad_opt}codecalpha=disabled \
-  -D %{_bad_opt}curl=disabled \
-  -D %{_bad_opt}decklink=disabled \
-  -D %{_bad_opt}doc=disabled \
-  -D %{_bad_opt}dtls=enabled \
-  -D %{_bad_opt}dvb=disabled \
-  -D %{_bad_opt}dvbsubenc=disabled \
-  -D %{_bad_opt}dvbsuboverlay=disabled \
-  -D %{_bad_opt}dvdspu=disabled \
-  -D %{_bad_opt}examples=disabled \
-  -D %{_bad_opt}faceoverlay=disabled \
-  -D %{_bad_opt}fbdev=disabled \
-  -D %{_bad_opt}festival=disabled \
-  -D %{_bad_opt}fieldanalysis=disabled \
-  -D %{_bad_opt}freeverb=disabled \
-  -D %{_bad_opt}frei0r=disabled \
-  -D %{_bad_opt}geometrictransform=disabled \
-  -D %{_bad_opt}gl=disabled \
   -D %{_bad_opt}gst_play_tests=false\
-  -D %{_bad_opt}inter=disabled \
-  -D %{_bad_opt}interlace=disabled \
-  -D %{_bad_opt}introspection=enabled \
-  -D %{_bad_opt}ivfparse=disabled \
-  -D %{_bad_opt}ivtc=disabled \
-  -D %{_bad_opt}jp2kdecimator=disabled \
-  -D %{_bad_opt}kms=disabled \
-  -D %{_bad_opt}librfb=disabled \
-  -D %{_bad_opt}mpegpsmux=disabled \
-  -D %{_bad_opt}mxf=disabled \
-  -D %{_bad_opt}nls=disabled \
-  -D %{_bad_opt}nvcodec=disabled \
-  -D %{_bad_opt}onvif=disabled \
+  -D %{_bad_opt}introspection=disabled \
+  -D %{_bad_opt}audiobuffersplit=enabled \
+  -D %{_bad_opt}audiomixmatrix=enabled \
+  -D %{_bad_opt}audiolatency=enabled \
+  -D %{_bad_opt}coloreffects=enabled \
+  -D %{_bad_opt}debugutils=enabled \
+  -D %{_bad_opt}gaudieffects=enabled \
+  -D %{_bad_opt}gdp=enabled \
+  -D %{_bad_opt}midi=enabled \
+  -D %{_bad_opt}mpegtsmux=enabled \
+  -D %{_bad_opt}netsim=enabled \
+  -D %{_bad_opt}proxy=enabled \
+  -D %{_bad_opt}sdp=enabled \
+  -D %{_bad_opt}timecode=enabled \
+  -D %{_bad_opt}videoframe_audiolevel=enabled \
+  -D %{_bad_opt}videoparsers=enabled \
+  -D %{_bad_opt}ipcpipeline=enabled \
+  -D %{_bad_opt}shm=enabled \
+  -D %{_bad_opt}aes=enabled \
+  -D %{_bad_opt}dtls=enabled \
   -D %{_bad_opt}openal=enabled \
-  -D %{_bad_opt}pcapparse=disabled \
-  -D %{_bad_opt}pnm=disabled \
-  -D %{_bad_opt}rawparse=disabled \
-  -D %{_bad_opt}removesilence=disabled \
-  -D %{_bad_opt}rist=disabled \
-  -D %{_bad_opt}rtmp2=disabled \
-  -D %{_bad_opt}segmentclip=disabled \
-  -D %{_bad_opt}siren=disabled \
-  -D %{_bad_opt}smooth=disabled \
-  -D %{_bad_opt}sndfile=disabled \
-  -D %{_bad_opt}speed=disabled \
-  -D %{_bad_opt}subenc=disabled \
-  -D %{_bad_opt}switchbin=disabled \
-  -D %{_bad_opt}transcode=disabled \
-  -D %{_bad_opt}tests=disabled \
-  -D %{_bad_opt}uvch264=disabled \
-  -D %{_bad_opt}videofilters=disabled \
-  -D %{_bad_opt}videosignal=disabled \
-  -D %{_bad_opt}vmnc=disabled \
+  -D %{_bad_opt}opus=enabled \
+  -D %{_bad_opt}sctp=enabled \
+  -D %{_bad_opt}soundtouch=enabled \
+  -D %{_bad_opt}srtp=enabled \
+  -D %{_bad_opt}wayland=enabled \
+  -D %{_bad_opt}webrtc=enabled \
   %if %{with wayland}
     -D %{_bad_opt}wayland=enabled \
   %endif
-  -D %{_bad_opt}y4m=disabled \
   %if "%{tizen_profile_name}" == "tv"
     -D %{_bad_opt}tv-profile=true \
-    -D %{_bad_opt}autoconvert=disabled \
-    -D %{_bad_opt}camerabin2=disabled \
-    -D %{_bad_opt}dash=disabled \
-    -D %{_bad_opt}hls=disabled \
-    -D %{_bad_opt}id3tag=disabled \
-    -D %{_bad_opt}jpegformat=disabled \
-    -D %{_bad_opt}mpegdemux=disabled \
-    -D %{_bad_opt}rtp=disabled \
-    -D %{_bad_opt}smoothstreaming=disabled \
   %else
+    -D %{_bad_opt}autoconvert=enabled \
+    -D %{_bad_opt}id3tag=enabled \
+    -D %{_bad_opt}camerabin2=enabled \
+    -D %{_bad_opt}jpegformat=enabled \
+    -D %{_bad_opt}dash=enabled \
+    -D %{_bad_opt}hls=enabled \
+    -D %{_bad_opt}mpegdemux=enabled \
+    -D %{_bad_opt}mpegtsdemux=enabled \
+    -D %{_bad_opt}rtp=enabled \
+    -D %{_bad_opt}smoothstreaming=enabled \
     %if 0%{?enable_gl:1}
       -D %{_bad_opt}gl=enabled \
     %endif # gl
   %endif # tv
 %endif # plugin
 %if "%{plugin}" == "all" || "%{plugin}" == "ugly"
-  -D %{_ugly_opt}a52dec=disabled \
-  -D %{_ugly_opt}cdio=disabled \
-  -D %{_ugly_opt}doc=disabled \
-  -D %{_ugly_opt}dvdlpcmdec=disabled \
-  -D %{_ugly_opt}dvdread=disabled \
-  -D %{_ugly_opt}dvdsub=disabled \
-  -D %{_ugly_opt}mpeg2dec=disabled \
-  -D %{_ugly_opt}nls=disabled \
-  -D %{_ugly_opt}realmedia=disabled \
-  -D %{_ugly_opt}sidplay=disabled \
-  -D %{_ugly_opt}x264=disabled \
-  -D %{_ugly_opt}xingmux=disabled \
+  -D %{_ugly_opt}amrwbdec=enabled \
   %if "%{tizen_profile_name}" == "tv"
     -D %{_ugly_opt}tv-profile=true \
-    -D %{_ugly_opt}amrnb=disabled \
-    -D %{_ugly_opt}asfdemux=disabled \
+  %else
+  -D %{_ugly_opt}asfdemux=enabled \
+  -D %{_ugly_opt}amrnb=enabled \
   %endif # tv
 %endif # plugin
 %if "%{plugin}" == "all" || "%{plugin}" == "omx"
@@ -709,12 +688,15 @@ meson --prefix=/usr --libdir=%{_libdir} --datadir=%{_datadir} --sysconfdir=%{_ha
     -D %{_libav_opt}tv-profile=true \
   %endif # tv
 %endif # plugin
+%if "%{plugin}" == "all" || "%{plugin}" == "rs"
+  -D %{_rs_opt}rtspclientsink=enabled \
+  -D %{_rs_opt}introspection=disabled \
+%endif
 %if "%{plugin}" == "all" || "%{plugin}" == "es"
-  -D %{_es_opt}doc=disabled \
-  -D %{_es_opt}examples=disabled \
-  -D %{_es_opt}tests=disabled \
-  -D %{_es_opt}bash-completion=disabled \
-  -D %{_es_opt}validate=disabled \
+  -D %{_es_opt}introspection=disabled \
+  -D %{_es_opt}tools=enabled \
+  -D %{_es_opt}xptv=enabled \
+  -D %{_es_opt}python=enabled \
 %endif
   build
 
@@ -919,15 +901,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/gstreamer-sdp*.pc
 %{_libdir}/pkgconfig/gstreamer-tag*.pc
 %{_libdir}/pkgconfig/gstreamer-video*.pc
-%{_datadir}/gir-%{gst_branch}/GstAllocators*.gir
-%{_datadir}/gir-%{gst_branch}/GstApp*.gir
-%{_datadir}/gir-%{gst_branch}/GstAudio*.gir
-%{_datadir}/gir-%{gst_branch}/GstPbutils*.gir
-%{_datadir}/gir-%{gst_branch}/GstRtp*.gir
-%{_datadir}/gir-%{gst_branch}/GstRtsp*.gir
-%{_datadir}/gir-%{gst_branch}/GstSdp*.gir
-%{_datadir}/gir-%{gst_branch}/GstTag*.gir
-%{_datadir}/gir-%{gst_branch}/GstVideo*.gir
+%{_datadir}/gir-%{gst_branch}/GstAllocators-1.0.gir
+%{_datadir}/gir-%{gst_branch}/GstApp-1.0.gir
+%{_datadir}/gir-%{gst_branch}/GstAudio-1.0.gir
+%{_datadir}/gir-%{gst_branch}/GstPbutils-1.0.gir
+%{_datadir}/gir-%{gst_branch}/GstRtp-1.0.gir
+%{_datadir}/gir-%{gst_branch}/GstRtsp-1.0.gir
+%{_datadir}/gir-%{gst_branch}/GstSdp-1.0.gir
+%{_datadir}/gir-%{gst_branch}/GstTag-1.0.gir
+%{_datadir}/gir-%{gst_branch}/GstVideo-1.0.gir
 
 %endif
 
@@ -1069,14 +1051,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libgstwayland-%{gst_branch}.so.0*
 %endif
 %exclude %{_bindir}/gst-transcoder-1.0
-%{_lib_girepository}/GstBadAudio-1.0.typelib
-%{_lib_girepository}/GstCodecs-1.0.typelib
-%{_lib_girepository}/GstInsertBin-1.0.typelib
-%{_lib_girepository}/GstMpegts-1.0.typelib
-%{_lib_girepository}/GstPlay-1.0.typelib
-%{_lib_girepository}/GstPlayer-1.0.typelib
-%{_lib_girepository}/GstTranscoder-1.0.typelib
-%{_lib_girepository}/GstWebRTC-1.0.typelib
 
 %files -n gst-plugins-bad-devel
 %manifest gst-plugins-bad.manifest
@@ -1140,14 +1114,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/gstreamer-wayland-1.0.pc
 %endif
 %{_libdir}/pkgconfig/gstreamer-webrtc-1.0.pc
-%{_datadir}/gir-%{gst_branch}/GstBadAudio*.gir
-%{_datadir}/gir-%{gst_branch}/GstCodecs*.gir
-%{_datadir}/gir-%{gst_branch}/GstInsertBin*.gir
-%{_datadir}/gir-%{gst_branch}/GstMpegts*.gir
-%{_datadir}/gir-%{gst_branch}/GstPlay*.gir
-%{_datadir}/gir-%{gst_branch}/GstPlayer*.gir
-%{_datadir}/gir-%{gst_branch}/GstTranscoder*.gir
-%{_datadir}/gir-%{gst_branch}/GstWebRTC*.gir
 
 %endif
 
@@ -1202,7 +1168,6 @@ rm -rf $RPM_BUILD_ROOT
 %license subprojects/gst-rtsp-server/COPYING
 %{_libdir}/libgstrtspserver*.so.*
 %{_libdir}/gstreamer-1.0/libgstrtspclientsink.so
-%{_libdir}/girepository-1.0/GstRtspServer-1.0.typelib
 
 %files -n gst-rtsp-server-devel
 %defattr(-,root,root,-)
@@ -1210,7 +1175,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/gstreamer-1.0/gst/rtsp-server/rtsp-*.h
 %{_includedir}/gstreamer-1.0/gst/rtsp-server/gstwfd*.h
 %{_libdir}/pkgconfig/gstreamer-rtsp-server-1.0.pc
-%{_datadir}/gir-1.0/GstRtspServer-1.0.gir
 
 %endif
 
@@ -1225,7 +1189,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libges*.so.*
 %{_libdir}/gstreamer-1.0/libgstges.so
 %{_libdir}/gstreamer-1.0/libgstnle.so
-%{_libdir}/girepository-1.0/GES-1.0.typelib
 %exclude %{_libdir}/gst-validate-launcher/python/launcher/apps/geslaunch.py
 %exclude %{_datadir}/gstreamer-%{gst_branch}/validate/scenarios/ges-edit-clip-while-paused.scenario
 %{_bindir}/ges*-%{gst_branch}
@@ -1234,6 +1197,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libges*.so
 %{_includedir}/gstreamer-1.0/ges/*
 %{_libdir}/pkgconfig/gst-editing-services-1.0.pc
-%{_datadir}/gir-1.0/GES-1.0.gir
 
 %endif
index fe25f55..62b2e29 100644 (file)
@@ -3,7 +3,7 @@ option('doc', type : 'feature', value : 'auto', yield: true,
        description: 'Enable documentation.')
 option('examples', type : 'feature', value : 'auto', yield : true,
        description : 'Build examples')
-option('introspection', type : 'feature', value : 'auto', yield : true,
+option('introspection', type : 'feature', value : 'auto', yield : false,
        description : 'Generate gobject-introspection bindings')
 option('tests', type : 'feature', value : 'auto', yield : true,
        description : 'Build and enable unit tests')
index 955efef..513e048 100644 (file)
@@ -198,7 +198,7 @@ option('gpl', type: 'feature', value: 'disabled', yield: true,
 # Common feature options
 option('examples', type : 'feature', value : 'auto', yield : true)
 option('tests', type : 'feature', value : 'auto', yield : true)
-option('introspection', type : 'feature', value : 'auto', yield : true, description : 'Generate gobject-introspection bindings')
+option('introspection', type : 'feature', value : 'auto', yield : false, description : 'Generate gobject-introspection bindings')
 option('nls', type : 'feature', value : 'auto', yield: true, description : 'Enable native language support (translations)')
 option('orc', type : 'feature', value : 'auto', yield : true)
 option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
index 4bd238d..5ff326b 100644 (file)
@@ -6,7 +6,7 @@ option('examples', type : 'feature', value : 'auto', yield : true,
        description : 'Build the examples')
 option('tests', type : 'feature', value : 'auto', yield : true,
        description : 'Build and enable unit tests')
-option('introspection', type : 'feature', value : 'auto', yield : true,
+option('introspection', type : 'feature', value : 'auto', yield : false,
        description : 'Generate gobject-introspection bindings')
 option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
        description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)')