forked from pool/farstream
Accepting request 294204 from home:fcrozat:branches:GNOME:Factory
- Add farstream-plugin-path.patch: use library policy compliant path name for plugin. OBS-URL: https://build.opensuse.org/request/show/294204 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/farstream?expand=0&rev=28
This commit is contained in:
parent
0c855106f2
commit
626174d99c
14
farstream-plugin-path.patch
Normal file
14
farstream-plugin-path.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: farstream-0.2.7/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- farstream-0.2.7.orig/configure.ac
|
||||||
|
+++ farstream-0.2.7/configure.ac
|
||||||
|
@@ -177,7 +177,8 @@ AC_SUBST(NICE_LIBS)
|
||||||
|
AC_SUBST(FS_TRANSMITTER_PLUGINS_SELECTED)
|
||||||
|
|
||||||
|
dnl set the plugindir where plugins should be installed
|
||||||
|
-AS_AC_EXPAND(FS_PLUGIN_PATH, ${libdir}/farstream-$FS_APIVERSION)
|
||||||
|
+AS_VAR_ARITH(FS_MAJOR, $FS_CURRENT-$FS_AGE)
|
||||||
|
+AS_AC_EXPAND(FS_PLUGIN_PATH, ${libdir}/farstream-$FS_APIVERSION-$FS_MAJOR)
|
||||||
|
AC_SUBST(FS_PLUGIN_PATH)
|
||||||
|
AC_DEFINE_UNQUOTED(FS_PLUGIN_PATH, "${FS_PLUGIN_PATH}", [The path were plugins are installed and search by default])
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 1 14:35:42 UTC 2015 - fcrozat@suse.com
|
||||||
|
|
||||||
|
- Add farstream-plugin-path.patch: use library policy compliant
|
||||||
|
path name for plugin.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 29 22:38:32 UTC 2015 - zaitor@opensuse.org
|
Thu Jan 29 22:38:32 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -28,6 +28,11 @@ Group: Productivity/Multimedia/Other
|
|||||||
Url: http://farsight.freedesktop.org/
|
Url: http://farsight.freedesktop.org/
|
||||||
Source: http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
|
Source: http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
# PATCH-FEATURE-OPENSUSE farstream-plugin-path.patch fcrozat@suse.com -- Use library policy compliant path for plugin
|
||||||
|
Patch0: farstream-plugin-path.patch
|
||||||
|
#needed by patch0
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: glib2-devel >= 2.32
|
BuildRequires: glib2-devel >= 2.32
|
||||||
BuildRequires: gobject-introspection-devel >= 0.10.1
|
BuildRequires: gobject-introspection-devel >= 0.10.1
|
||||||
@ -108,8 +113,12 @@ videoconferencing.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
#needed by patch0
|
||||||
|
autoreconf -f
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static
|
--disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -127,11 +136,11 @@ find %{buildroot} -name '*.la' -delete -print
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||||
%{_libdir}/libfarstream-0.2.so.*
|
%{_libdir}/libfarstream-0.2.so.*
|
||||||
%dir %{_libdir}/farstream-0.2/
|
%dir %{_libdir}/farstream-0.2-5/
|
||||||
%{_libdir}/farstream-0.2/libmulticast-transmitter.so
|
%{_libdir}/farstream-0.2-5/libmulticast-transmitter.so
|
||||||
%{_libdir}/farstream-0.2/libnice-transmitter.so
|
%{_libdir}/farstream-0.2-5/libnice-transmitter.so
|
||||||
%{_libdir}/farstream-0.2/librawudp-transmitter.so
|
%{_libdir}/farstream-0.2-5/librawudp-transmitter.so
|
||||||
%{_libdir}/farstream-0.2/libshm-transmitter.so
|
%{_libdir}/farstream-0.2-5/libshm-transmitter.so
|
||||||
|
|
||||||
%files -n typelib-1_0-Farstream-0_2
|
%files -n typelib-1_0-Farstream-0_2
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user