From b5c068fbeffdc1d45da1638962e58027b99841f18ab04de9bf45fc990e461e9e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 18 Feb 2016 10:16:47 +0000 Subject: [PATCH] Accepting request 360019 from GNOME:Next - Add gstreamer-plugins-base.appdata.xml so that the codecs can show up in a Software Center. OBS-URL: https://build.opensuse.org/request/show/360019 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=68 --- gstreamer-plugins-base.appdata.xml | 30 ++++++++++++++++++++++++++++++ gstreamer-plugins-base.changes | 6 ++++++ gstreamer-plugins-base.spec | 13 ++++++++++++- 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 gstreamer-plugins-base.appdata.xml diff --git a/gstreamer-plugins-base.appdata.xml b/gstreamer-plugins-base.appdata.xml new file mode 100644 index 0000000..7c0883a --- /dev/null +++ b/gstreamer-plugins-base.appdata.xml @@ -0,0 +1,30 @@ + + + + gstreamer-plugin-base + CC0-1.0 + GStreamer Multimedia Codecs - Base + Multimedia playback for Ogg, Theora and Vorbis + +

+ This addon includes system codecs that are essential for the running system. +

+

+ A codec decodes audio and video for for playback or editing and is also + used for transmission or storage. + Different codecs are used in video-conferencing, streaming media and + video editing applications. +

+
+ + Ogg + Theora + Vorbis + + GNOME + http://gstreamer.freedesktop.org/ + https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer + http://www.gnome.org/friends/ + http://gstreamer.freedesktop.org/documentation/ + +
diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index decb14a..57b51aa 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 17 18:06:31 UTC 2016 - dimstar@opensuse.org + +- Add gstreamer-plugins-base.appdata.xml so that the codecs can + show up in a Software Center. + ------------------------------------------------------------------- Thu Jan 21 21:46:44 UTC 2016 - badshah400@gmail.com diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index b8e2095..2259b43 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -26,7 +26,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: GStreamer Streaming-Media Framework Plug-Ins License: LGPL-2.1+ and GPL-2.0+ Group: Productivity/Multimedia/Other -Source: http://gstreamer.freedesktop.org/src/gst-plugins-base/%{_name}-%{version}.tar.xz +Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/%{_name}-%{version}.tar.xz +Source1: gstreamer-plugins-base.appdata.xml Source2: baselibs.conf Patch0: aarch64-no-neon.patch BuildRequires: cdparanoia-devel @@ -425,6 +426,14 @@ make %{?jobs:-j%jobs} %install %makeinstall +if [ -f %{buildroot}%{_datadir}/appdata/gstreamer-plugins-base.appdata.xml ]; then + echo "Please remove the added gstreamer-plugins-base.appdata.xml file from the sources - the tarball installs it" + false +else + mkdir -p %{buildroot}%{_datadir}/appdata + cp %{S:1} %{buildroot}%{_datadir}/appdata/ +fi + find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + %find_lang %{_name}-%{gst_branch} @@ -481,6 +490,8 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/gst-device-monitor-%{gst_branch} %{_bindir}/gst-discoverer-%{gst_branch} %{_bindir}/gst-play-%{gst_branch} +%dir %{_datadir}/appdata/ +%{_datadir}/appdata/gstreamer-plugins-base.appdata.xml %{_libdir}/gstreamer-%{gst_branch}/libgstadder.so %{_libdir}/gstreamer-%{gst_branch}/libgstalsa.so %{_libdir}/gstreamer-%{gst_branch}/libgstapp.so