Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[gstreamer] Add policy configuration file for gst-launch-1.0
  • Loading branch information
Mohammed Hassan committed Oct 30, 2014
1 parent c1d5f5b commit 708ef78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpm/gstreamer.spec
Expand Up @@ -10,7 +10,7 @@ Group: Applications/Multimedia
License: LGPL
URL: http://gstreamer.freedesktop.org/
Source: http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz

Source1: gstreamer1.0.conf
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: bison
Expand Down Expand Up @@ -90,6 +90,7 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%make_install
install -m 644 -D %SOURCE1 $RPM_BUILD_ROOT/%{_sysconfdir}/pulse/xpolicy.conf.d/gstreamer1.0.conf

# Clean out files that should not be part of the rpm.
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
Expand Down Expand Up @@ -149,3 +150,4 @@ rm -fr $RPM_BUILD_ROOT/%{_mandir}
%{_bindir}/gst-inspect-%{majorminor}
%{_bindir}/gst-launch-%{majorminor}
%{_bindir}/gst-typefind-%{majorminor}
%{_sysconfdir}/pulse/xpolicy.conf.d/gstreamer1.0.conf
3 changes: 3 additions & 0 deletions rpm/gstreamer1.0.conf
@@ -0,0 +1,3 @@
[stream]
exe = gst-launch-1.0
group = player

0 comments on commit 708ef78

Please sign in to comment.