Initial packaging on 1.16 for Tizen 23/258723/2
authorHaesu Gwon <haesu.gwon@samsung.com>
Tue, 25 May 2021 02:13:26 +0000 (11:13 +0900)
committerHaesu Gwon <haesu.gwon@samsung.com>
Tue, 25 May 2021 04:18:59 +0000 (13:18 +0900)
Change-Id: I92ddf01dda34f86873d1760194042b4f6671a43a

Makefile.am
configure.ac
gst-editing-services.manifest [new file with mode: 0644]
packaging/common.tar.gz [new file with mode: 0644]
packaging/gst-editing-services.spec [new file with mode: 0644]
tools/Makefile.am

index a25008b..c19529e 100644 (file)
@@ -1,4 +1,4 @@
-DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --with-bash-completion-dir=no
+DISTCHECK_CONFIGURE_FLAGS=--disable-gtk-doc --with-bash-completion-dir=no
 
 if BUILD_EXAMPLES
 EXAMPLES_SUBDIRS= examples
index 1e3f615..1a7558a 100644 (file)
@@ -149,9 +149,9 @@ AC_DEFINE_UNQUOTED(GST_DATADIR, "$GST_DATADIR", [system wide data directory])
 dnl check for bash completion
 AC_ARG_WITH([bash-completion-dir],
     AS_HELP_STRING([--with-bash-completion-dir[=PATH]],
-        [Install the bash auto-completion script in this directory. @<:@default=yes@:>@]),
+        [Install the bash auto-completion script in this directory. @<:@default=no@:>@]),
     [],
-    [with_bash_completion_dir=yes])
+    [with_bash_completion_dir=no])
 
 if test "x$with_bash_completion_dir" = "xyes"; then
     PKG_CHECK_MODULES([BASH_COMPLETION], [bash-completion >= 2.0],
diff --git a/gst-editing-services.manifest b/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/common.tar.gz b/packaging/common.tar.gz
new file mode 100644 (file)
index 0000000..63b758d
Binary files /dev/null and b/packaging/common.tar.gz differ
diff --git a/packaging/gst-editing-services.spec b/packaging/gst-editing-services.spec
new file mode 100644 (file)
index 0000000..43cd0d2
--- /dev/null
@@ -0,0 +1,85 @@
+%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.16.2
+Release:        1
+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
+Source100:      common.tar.gz
+
+BuildRequires:  pkgconfig(gstreamer-1.0)
+BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  autoconf automake libtool
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  gtk-doc
+BuildRequires:  flex
+
+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}
+%setup -q -T -D -a 100
+
+%build
+./autogen.sh
+export CFLAGS="%{optflags} -fno-strict-aliasing\
+ -fstack-protector-strong\
+ -Wl,-z,relro\
+ -D_FORTIFY_SOURCE=2\
+ "
+
+%configure\
+        --disable-static\
+        --disable-maintainer-mode\
+        --disable-gtk-doc\
+        --disable-docbook\
+        --disable-examples\
+        --enable-tbm
+make %{?_smp_mflags} V=1
+find . -name '.gitignore' | xargs rm -f
+
+%install
+rm -rf %{buildroot}
+
+%make_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
+
+%{_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 88bbed3..4a5dc07 100644 (file)
@@ -7,6 +7,6 @@ noinst_HEADERS = ges-validate.h ges-launcher.h utils.h
 
 ges_launch_@GST_API_VERSION@_SOURCES = ges-validate.c ges-launch.c ges-launcher.c utils.c
 
-man_MANS = ges-launch-1.0.1
+#man_MANS = ges-launch-1.0.1
 
 EXTRA_DIST = ges-launch-1.0.1