Accepting request 348964 from home:plater
Fixed plugin in unversioned lib dir OBS-URL: https://build.opensuse.org/request/show/348964 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=8
This commit is contained in:
parent
6863ea1e6f
commit
5babe9e03c
13
buzztrax-songio-dir.patch
Normal file
13
buzztrax-songio-dir.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: Makefile.in
|
||||
===================================================================
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -2066,7 +2066,7 @@ libbuzztrax_core_HEADERS = \
|
||||
|
||||
|
||||
# -- songio plugins
|
||||
-songiodir = ${exec_prefix}/lib/buzztrax-songio
|
||||
+songiodir = ${libdir}/buzztrax-songio
|
||||
songio_LTLIBRARIES = libbtbsl.la
|
||||
libbtbsl_la_LIBADD = \
|
||||
libbuzztrax-core.la \
|
@ -3,6 +3,8 @@ Tue Dec 15 11:10:24 UTC 2015 - davejplater@gmail.com
|
||||
|
||||
- Fixed i586 build with buzztrax-fixx86build.patch and
|
||||
buzztrax-nolibbml_la-bmlw.patch
|
||||
- Created buzztrax-songio-dir.patch to make the plugin install into
|
||||
the versioned lib directory and moved it to plugins package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 14 08:46:22 UTC 2015 - davejplater@gmail.com
|
||||
|
@ -35,11 +35,13 @@ Group: Productivity/Multimedia/Sound/Utilities
|
||||
Url: http://sourceforge.net/projects/buzztard/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: COPYING-DOCS
|
||||
# The buzztrack songio plugin installs in the unversioned _libexecdir.
|
||||
Patch0: buzztrax-songio-dir.patch
|
||||
%ifarch i586
|
||||
# Suppress sse flags for 32 bit build.
|
||||
Patch0: buzztrax-fixx86build.patch
|
||||
Patch1: buzztrax-fixx86build.patch
|
||||
# Set calling mode to void for 32 bit build.
|
||||
Patch1: buzztrax-nolibbml_la-bmlw.patch
|
||||
Patch2: buzztrax-nolibbml_la-bmlw.patch
|
||||
%endif
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: fdupes
|
||||
@ -184,9 +186,10 @@ This package contains buzztrax plugins
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%ifarch i586
|
||||
%patch0
|
||||
%ifarch i586
|
||||
%patch1
|
||||
%patch2
|
||||
%endif
|
||||
cp -v %{S:1} .
|
||||
#rm -rf src/lib/dllwrapper
|
||||
@ -207,7 +210,7 @@ make %{?_smp_flags}
|
||||
%install
|
||||
%make_install
|
||||
# NOTE: There's libraries installed in unversioned libdir must investigate
|
||||
find %{buildroot}%{_libdir} %{buildroot}%{_libexecdir} -name '*.la' -delete
|
||||
find %{buildroot}%{_libdir} -name '*.la' -delete
|
||||
echo %{buildroot}
|
||||
%find_lang %{name}-%{version}
|
||||
#%%find_gconf_schemas
|
||||
@ -241,6 +244,14 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
%icon_theme_cache_postun gnome
|
||||
%icon_theme_cache_postun
|
||||
|
||||
%post plugins
|
||||
%mime_database_post
|
||||
%desktop_database_post
|
||||
|
||||
%postun plugins
|
||||
%desktop_database_postun
|
||||
%mime_database_postun
|
||||
|
||||
%post -n libbuzztrax-ic%{ic_soname} -p /sbin/ldconfig
|
||||
%post -n libbuzztrax-core%{core_soname} -p /sbin/ldconfig
|
||||
%post -n libbuzztrax-gst%{gst_soname} -p /sbin/ldconfig
|
||||
@ -271,14 +282,10 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
%attr(0644,root,root) %ghost %{_datadir}/mime/audio/x-bzt.xml
|
||||
%attr(0644,root,root) %ghost %{_datadir}/mime/audio/x-bzt-xml.xml
|
||||
# NOTE: These files need a proper home and correct handling.
|
||||
%dir %{_libexecdir}/buzztrax-songio
|
||||
%{_libexecdir}/buzztrax-songio/libbtbsl.so
|
||||
%{_datadir}/GConf/gsettings/buzztrax.convert
|
||||
%dir %{_datadir}/appdata
|
||||
%{_datadir}/appdata/buzztrax.appdata.xml
|
||||
%{_datadir}/applications/buzztrax-songio-buzz.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.buzztrax.gschema.xml
|
||||
%{_datadir}/mime/packages/buzztrax-songio-buzz.xml
|
||||
|
||||
%files -n gstreamer-1_0-plugins
|
||||
%defattr(0644,root,root,0755)
|
||||
@ -343,7 +350,10 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
|
||||
%files plugins
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_libdir}/%{name}/
|
||||
|
||||
%{_libdir}/%{name}/*.so
|
||||
%{_datadir}/applications/buzztrax-songio-buzz.desktop
|
||||
%{_datadir}/mime/packages/buzztrax-songio-buzz.xml
|
||||
%dir %{_libdir}/buzztrax-songio
|
||||
%{_libdir}/buzztrax-songio/*.so
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user