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
This commit is contained in:
Takashi Iwai 2016-02-18 10:16:47 +00:00 committed by Git OBS Bridge
parent 181518b78c
commit b5c068fbef
3 changed files with 48 additions and 1 deletions

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2013 Richard Hughes <richard@hughsie.com> -->
<component type="codec">
<id>gstreamer-plugin-base</id>
<metadata_license>CC0-1.0</metadata_license>
<name>GStreamer Multimedia Codecs - Base</name>
<summary>Multimedia playback for Ogg, Theora and Vorbis</summary>
<description>
<p>
This addon includes system codecs that are essential for the running system.
</p>
<p>
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.
</p>
</description>
<keywords>
<keyword>Ogg</keyword>
<keyword>Theora</keyword>
<keyword>Vorbis</keyword>
</keywords>
<compulsory_for_desktop>GNOME</compulsory_for_desktop>
<url type="homepage">http://gstreamer.freedesktop.org/</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</url>
<url type="donation">http://www.gnome.org/friends/</url>
<url type="help">http://gstreamer.freedesktop.org/documentation/</url>
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
</component>

View File

@ -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 Thu Jan 21 21:46:44 UTC 2016 - badshah400@gmail.com

View File

@ -26,7 +26,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: GStreamer Streaming-Media Framework Plug-Ins Summary: GStreamer Streaming-Media Framework Plug-Ins
License: LGPL-2.1+ and GPL-2.0+ License: LGPL-2.1+ and GPL-2.0+
Group: Productivity/Multimedia/Other 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 Source2: baselibs.conf
Patch0: aarch64-no-neon.patch Patch0: aarch64-no-neon.patch
BuildRequires: cdparanoia-devel BuildRequires: cdparanoia-devel
@ -425,6 +426,14 @@ make %{?jobs:-j%jobs}
%install %install
%makeinstall %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 %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
%find_lang %{_name}-%{gst_branch} %find_lang %{_name}-%{gst_branch}
@ -481,6 +490,8 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/gst-device-monitor-%{gst_branch} %{_bindir}/gst-device-monitor-%{gst_branch}
%{_bindir}/gst-discoverer-%{gst_branch} %{_bindir}/gst-discoverer-%{gst_branch}
%{_bindir}/gst-play-%{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}/libgstadder.so
%{_libdir}/gstreamer-%{gst_branch}/libgstalsa.so %{_libdir}/gstreamer-%{gst_branch}/libgstalsa.so
%{_libdir}/gstreamer-%{gst_branch}/libgstapp.so %{_libdir}/gstreamer-%{gst_branch}/libgstapp.so