SHA256
1
0
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:
Dominique Leuenberger 2015-04-03 12:08:17 +00:00 committed by Git OBS Bridge
parent 0c855106f2
commit 626174d99c
3 changed files with 34 additions and 5 deletions

View 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])

View File

@ -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

View File

@ -28,6 +28,11 @@ Group: Productivity/Multimedia/Other
Url: http://farsight.freedesktop.org/
Source: http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
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: glib2-devel >= 2.32
BuildRequires: gobject-introspection-devel >= 0.10.1
@ -108,8 +113,12 @@ videoconferencing.
%prep
%setup -q
%patch0 -p1
%build
#needed by patch0
autoreconf -f
%configure \
--disable-static
make %{?_smp_mflags}
@ -127,11 +136,11 @@ find %{buildroot} -name '*.la' -delete -print
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/libfarstream-0.2.so.*
%dir %{_libdir}/farstream-0.2/
%{_libdir}/farstream-0.2/libmulticast-transmitter.so
%{_libdir}/farstream-0.2/libnice-transmitter.so
%{_libdir}/farstream-0.2/librawudp-transmitter.so
%{_libdir}/farstream-0.2/libshm-transmitter.so
%dir %{_libdir}/farstream-0.2-5/
%{_libdir}/farstream-0.2-5/libmulticast-transmitter.so
%{_libdir}/farstream-0.2-5/libnice-transmitter.so
%{_libdir}/farstream-0.2-5/librawudp-transmitter.so
%{_libdir}/farstream-0.2-5/libshm-transmitter.so
%files -n typelib-1_0-Farstream-0_2
%defattr(-, root, root)