i9cr
Leigh Scott 5 years ago
parent 20277b610b
commit da80cfb7be

@ -0,0 +1,114 @@
--- a/ext/meson.build
+++ b/ext/meson.build
@@ -1,69 +1,9 @@
-subdir('assrender')
-subdir('aom')
-subdir('avtp')
-subdir('bs2b')
-subdir('bz2')
-subdir('chromaprint')
-subdir('closedcaption')
-subdir('colormanagement')
-subdir('curl')
-subdir('dash')
-subdir('dc1394')
-subdir('directfb')
-subdir('dtls')
subdir('dts')
-subdir('faac')
subdir('faad')
-subdir('fdkaac')
-subdir('flite')
-subdir('fluidsynth')
-subdir('gme')
-subdir('gsm')
-subdir('hls')
-subdir('iqa')
-subdir('kate')
-subdir('ladspa')
subdir('libde265')
subdir('libmms')
-subdir('lv2')
-subdir('mdns')
-subdir('modplug')
subdir('mpeg2enc')
subdir('mplex')
-subdir('musepack')
-subdir('neon')
-subdir('ofa')
-subdir('openal')
-subdir('opencv')
-subdir('openexr')
-subdir('openh264')
-subdir('openjpeg')
-subdir('openmpt')
-subdir('openni2')
-subdir('opus')
-subdir('resindvd')
-subdir('rsvg')
subdir('rtmp')
-subdir('sbc')
-subdir('sctp')
-subdir('smoothstreaming')
-subdir('sndfile')
-subdir('soundtouch')
-subdir('spandsp')
-subdir('srt')
-subdir('srtp')
-subdir('svthevcenc')
-subdir('teletextdec')
-subdir('ttml')
-subdir('voaacenc')
subdir('voamrwbenc')
-subdir('vulkan')
-subdir('wayland')
-subdir('webrtc')
-subdir('webrtcdsp')
-subdir('webp')
-subdir('wildmidi')
-subdir('wpe')
subdir('x265')
-subdir('zxing')
-subdir('zbar')
--- a/gst/meson.build
+++ b/gst/meson.build
@@ -1,18 +1,4 @@
-foreach plugin : ['accurip', 'adpcmdec', 'adpcmenc', 'aiff', 'asfmux',
- 'audiobuffersplit', 'audiofxbad', 'audiomixmatrix',
- 'audiolatency', 'audiovisualizers', 'autoconvert', 'bayer',
- 'camerabin2', 'coloreffects', 'debugutils', 'dvbsubenc',
- 'dvbsuboverlay', 'dvdspu', 'faceoverlay', 'festival',
- 'fieldanalysis', 'freeverb', 'frei0r', 'gaudieffects', 'gdp',
- 'geometrictransform', 'id3tag', 'inter', 'interlace',
- 'ivfparse', 'ivtc', 'jp2kdecimator', 'jpegformat', 'librfb',
- 'midi', 'mpegdemux', 'mpegpsmux', 'mpegtsdemux', 'mpegtsmux',
- 'mxf', 'netsim', 'onvif', 'pcapparse', 'pnm', 'proxy',
- 'rawparse', 'removesilence', 'rist', 'rtmp2', 'rtp', 'sdp',
- 'segmentclip', 'siren', 'smooth', 'speed', 'subenc', 'switchbin',
- 'timecode', 'transcode', 'videofilters',
- 'videoframe_audiolevel', 'videoparsers', 'videosignal',
- 'vmnc', 'y4m']
+foreach plugin : ['dvbsuboverlay', 'dvdspu', 'siren']
if not get_option(plugin).disabled()
subdir(plugin)
endif
--- a/meson.build
+++ b/meson.build
@@ -437,14 +437,9 @@
plugins_pkgconfig_install_dir = disabler()
endif
-subdir('gst-libs')
subdir('gst')
-subdir('sys')
subdir('ext')
-subdir('tests')
subdir('data')
-subdir('tools')
-subdir('pkgconfig')
# xgettext is optional (on Windows for instance)
if find_program('xgettext', required : get_option('nls')).found()

@ -1,21 +1,17 @@
# which plugins to actually build and install
%global gstdirs gst/dvbsuboverlay gst/dvdspu gst/siren
%global extdirs ext/dts ext/faad ext/libde265 ext/libmms ext/mpeg2enc ext/mplex ext/rtmp ext/voamrwbenc ext/x265
Summary: GStreamer 1.0 streaming media framework "bad" plug-ins Summary: GStreamer 1.0 streaming media framework "bad" plug-ins
Name: gstreamer1-plugins-bad-freeworld Name: gstreamer1-plugins-bad-freeworld
Version: 1.16.2 Version: 1.17.1
Release: 6%{?dist} Release: 1%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: https://gstreamer.freedesktop.org/ URL: https://gstreamer.freedesktop.org/
Source0: %{url}/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz Source0: %{url}/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
Patch0: build_what_we_need_only.patch
BuildRequires: gcc BuildRequires: gcc-objc++
BuildRequires: gcc-c++ BuildRequires: meson
BuildRequires: gstreamer1-devel >= %{version} BuildRequires: gstreamer1-devel >= %{version}
BuildRequires: gstreamer1-plugins-base-devel >= %{version} BuildRequires: gstreamer1-plugins-base-devel >= %{version}
BuildRequires: check BuildRequires: check
BuildRequires: gettext-devel
BuildRequires: libXt-devel BuildRequires: libXt-devel
BuildRequires: orc-devel BuildRequires: orc-devel
BuildRequires: libdca-devel BuildRequires: libdca-devel
@ -38,40 +34,26 @@ well enough, or the code is not of good enough quality.
%prep %prep
%autosetup -n gst-plugins-bad-%{version} %autosetup -p1 -n gst-plugins-bad-%{version}
%build %build
# Note we don't bother with disabling everything which is in Fedora, that # Note we don't bother with disabling everything which is in Fedora, that
# is unmaintainable, instead we selectively run make in subdirs # is unmaintainable, instead we selectively run make in subdirs
%configure \ %meson \
--disable-silent-rules --disable-fatal-warnings \ -D package-name='gst-libav 1.0 rpmfusion rpm' \
--disable-static \ -D package-origin='http://rpmfusion.org/' \
--disable-gtk-doc \ -D doc=disabled \
--with-package-name="gst-plugins-bad 1.0 rpmfusion rpm" \ -D introspection=disabled \
--with-package-origin="http://rpmfusion.org/" \ -D examples=disabled \
--enable-debug \ -D nls=disabled
--enable-experimental
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
for i in %{gstdirs} %{extdirs}; do
pushd $i
%make_build V=2
popd
done
%install %meson_build
for i in %{gstdirs} %{extdirs}; do
pushd $i
%make_install V=2
popd
done
rm -fv %{buildroot}%{_libdir}/gstreamer-1.0/*.la
%install
%meson_install
%files %files
@ -99,6 +81,9 @@ rm -fv %{buildroot}%{_libdir}/gstreamer-1.0/*.la
%changelog %changelog
* Mon Jun 22 2020 Leigh Scott <leigh123linux@gmail.com> - 1.17.1-1
- 1.17.1
* Sun May 31 2020 Leigh Scott <leigh123linux@gmail.com> - 1.16.2-6 * Sun May 31 2020 Leigh Scott <leigh123linux@gmail.com> - 1.16.2-6
- Rebuild for new x265 version - Rebuild for new x265 version

@ -1 +1 @@
SHA512 (gst-plugins-bad-1.16.2.tar.xz) = aeaf3388156fe7317e193a3f940d391a6d8a1187f93e6925cee4cb02c4e78d9b456c22c27c318f0f9b2212ca68887c5cdcc256adaf068bfab8ec5c091a1e8805 SHA512 (gst-plugins-bad-1.17.1.tar.xz) = 8825c0e35cb8fc1c1c006bdbee0ed538e493d29ddb97011ea649a385cba669e49dc3fc6b902dbbcc343dcaa4afcf950295423a90852ca21df106e94659ee0cf0

Loading…
Cancel
Save