Merge branch 'tizen' into tizen_gst_1.19.2
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 19 Jan 2022 06:54:43 +0000 (15:54 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Wed, 19 Jan 2022 06:56:45 +0000 (15:56 +0900)
Change-Id: I3806ab340e71edb091ae34d7b2f9016d636454cb

packaging/gst-editing-services.manifest [new file with mode: 0644]
packaging/gst-editing-services.spec [new file with mode: 0644]
tools/meson.build

diff --git a/packaging/gst-editing-services.manifest b/packaging/gst-editing-services.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/gst-editing-services.spec b/packaging/gst-editing-services.spec
new file mode 100644 (file)
index 0000000..956cb9c
--- /dev/null
@@ -0,0 +1,92 @@
+%define gst_branch 1.0
+%define _lib_gstreamer_dir %{_libdir}/gstreamer-%{gst_branch}
+%define _libdebug_dir %{_libdir}/debug/usr/lib
+
+Name:           gst-editing-services
+Version:        1.19.2
+Release:        0
+License:        LGPL-2.0+
+Summary:        GStreamer Editing Service Plug-Ins
+Url:            http://gstreamer.freedesktop.org/
+Group:          Multimedia/Framework
+Source:         http://gstreamer.freedesktop.org/src/gst-editing-services/gst-editing-services-%{version}.tar.xz
+Source1001:     gst-editing-services.manifest
+
+BuildRequires:  gstreamer-devel >= %{version}
+BuildRequires:  gst-plugins-base-devel >= %{version}
+BuildRequires:  pkgconfig(libxml-2.0)
+#BuildRequires:  autoconf automake libtool
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  gtk-doc
+BuildRequires:  flex
+BuildRequires:  meson >= 0.48.0
+
+Requires:       gstreamer >= 1.0.0
+Supplements:    gstreamer
+
+%description
+This is a high-level library for facilitating the creation of audio/video
+non-linear editors.
+
+%package devel
+Summary: Development files for gst-editing-services
+License: GPLv2+ and LGPLv2+
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains libraries and header files for
+developing applications that use %{name}
+
+%prep
+%setup -q -n gst-editing-services-%{version}
+cp %{SOURCE1001} .
+
+%build
+mkdir -p build
+
+export CFLAGS="%{optflags} -fno-strict-aliasing\
+ -fstack-protector-strong\
+ -Wl,-z,relro\
+ -D_FORTIFY_SOURCE=2\
+ "
+
+meson --auto-feature=auto --prefix=/usr --libdir=%{_libdir} --datadir=%{_datadir} \
+  -D doc=disabled \
+  -D examples=disabled \
+  -D tests=disabled \
+  -D bash-completion=disabled \
+  -D validate=disabled \
+  build
+
+ninja -C build all %{?_smp_mflags}
+find . -name '.gitignore' | xargs rm -f
+
+%install
+rm -rf %{buildroot}
+
+export DESTDIR=%{buildroot}
+ninja -C build install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%license COPYING
+
+%{_libdir}/*.so.*
+%{_lib_gstreamer_dir}/*.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}/*-%{gst_branch}
+
+%files devel
+%{_libdir}/*.so
+%{_includedir}/gstreamer-1.0/ges/
+%{_libdir}/pkgconfig/gst-editing-services-1.0.pc
+%{_datadir}/gir-1.0/GES-1.0.gir
index f0726ab..a3c7a29 100644 (file)
@@ -13,7 +13,7 @@ ges_launch = executable('ges-launch-@0@'.format(apiversion),
     install: true
 )
 
-install_man('ges-launch-1.0.1')
+#install_man('ges-launch-1.0.1')
 
 # bash completion
 bashcomp_option = get_option('bash-completion')