forked from pool/buzztrax
Accepting request 352473 from home:plater
Update to 0.10.2 and fix various issues in collaboration with upstream OBS-URL: https://build.opensuse.org/request/show/352473 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=11
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
%define gir gobject-introspection-1.0
|
||||
%define gstreamer_pluginsdir %(pkg-config --variable=pluginsdir gstreamer-1.0)
|
||||
%define girdir %{_datadir}/gir
|
||||
%define girdir %{_datadir}/gir-1.0
|
||||
%define typelibdir %(pkg-config --variable=typelibdir %{gir})
|
||||
%define core_soname 1
|
||||
%define ic_soname 1
|
||||
@@ -26,32 +26,28 @@
|
||||
%define gst_soname 1
|
||||
%define bml_soname 1
|
||||
|
||||
%define glib_version 2.32.0
|
||||
%define gst_version 1.2.0
|
||||
|
||||
Name: buzztrax
|
||||
Version: 0.9.0
|
||||
Version: 0.10.2
|
||||
Release: 0
|
||||
Summary: A music studio inspired by Buzz
|
||||
License: LGPL-2.0
|
||||
Group: Productivity/Multimedia/Sound/Utilities
|
||||
Url: http://sourceforge.net/projects/buzztard/
|
||||
Url: http://buzztrax.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: COPYING-DOCS
|
||||
# NOTE: The issues fixed by the three patches have been reported upstream
|
||||
# via email to the developer concerned. version 0.10.1 is already released
|
||||
# but it doesn't build, I've sent the failed x86_64 build log upstream as well
|
||||
# so don't expect a fix until after 0.10.1
|
||||
# The buzztrack songio plugin installs in the unversioned _libexecdir.
|
||||
Patch0: buzztrax-songio-dir.patch
|
||||
%if 1 == 1
|
||||
%ifarch i586
|
||||
# Suppress sse flags for 32 bit build.
|
||||
Patch1: buzztrax-fixx86build.patch
|
||||
# Set calling mode to void for 32 bit build.
|
||||
Patch2: buzztrax-nolibbml_la-bmlw.patch
|
||||
%endif
|
||||
%endif
|
||||
Source1: autogen.sh
|
||||
Source2: COPYING-DOCS
|
||||
# Combined patch of cherry picked build fixes applies after 0.10.2
|
||||
Patch0: buzztrax-build.patch
|
||||
|
||||
BuildRequires: automake >= 1.14
|
||||
BuildRequires: libtool
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: intltool
|
||||
BuildRequires: pkg-config
|
||||
@@ -62,27 +58,27 @@ BuildRequires: pkgconfig(%{gir})
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(fluidsynth)
|
||||
BuildRequires: pkgconfig(gconf-2.0) >= 2.2.0
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(gdk-x11-2.0)
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.10.0
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.10.0
|
||||
BuildRequires: pkgconfig(gmodule-2.0) >= 2.10.0
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.10.0
|
||||
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.4.3
|
||||
BuildRequires: pkgconfig(gstreamer-audio-1.0) >= 1.4.3
|
||||
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.4.3
|
||||
BuildRequires: pkgconfig(gstreamer-controller-1.0) >= 1.4.3
|
||||
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-x11-2.0)
|
||||
BuildRequires: pkgconfig(gdk-x11-3.0)
|
||||
BuildRequires: pkgconfig(gio-2.0) >= %{glib_version}
|
||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
|
||||
BuildRequires: pkgconfig(gmodule-2.0) >= %{glib_version}
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= %{glib_version}
|
||||
BuildRequires: pkgconfig(gstreamer-1.0) >= %{gst_version}
|
||||
BuildRequires: pkgconfig(gstreamer-audio-1.0) >= %{gst_version}
|
||||
BuildRequires: pkgconfig(gstreamer-base-1.0) >= %{gst_version}
|
||||
BuildRequires: pkgconfig(gstreamer-controller-1.0) >= %{gst_version}
|
||||
BuildRequires: pkgconfig(gstreamer-pbutils-1.0) >= %{gst_version}
|
||||
BuildRequires: pkgconfig(gtk+-x11-3.0)
|
||||
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(libgnomecanvas-2.0)
|
||||
BuildRequires: pkgconfig(libgsf-1)
|
||||
#BuildRequires: pkgconfig(libgstbuzztard) >= 0.6.0
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0
|
||||
BuildRequires: pkgconfig(orc-0.4)
|
||||
BuildRequires: pkgconfig(pango)
|
||||
Provides: buzztard = %{version}
|
||||
Obsoletes: buzztard < %{version}
|
||||
Requires: gstreamer-1_0-plugins-buzztrax = %{version}
|
||||
Requires: %{name}-plugins = %{version}
|
||||
%gconf_schemas_requires
|
||||
|
||||
%description
|
||||
@@ -102,9 +98,10 @@ patterns in the sequencer.
|
||||
|
||||
%package -n gstreamer-1_0-plugins-buzztrax
|
||||
Summary: Buzztrax GStreamer plugin
|
||||
Group: Productivity/Multimedia/Other
|
||||
Group: Productivity/Multimedia/Othhttps://groups.google.com/forum/#!topic/pgdbf/kUxJ0-1Yh7ker
|
||||
Provides: gstreamer-0_10-plugins-buzztard = %{version}
|
||||
Obsoletes: gstreamer-0_10-plugins-buzztard < %{version}
|
||||
Requires: buzztrax = %{version}
|
||||
|
||||
%description -n gstreamer-1_0-plugins-buzztrax
|
||||
Plugin to play Buzztrax songs from any GStreamer compatible app.
|
||||
@@ -122,7 +119,7 @@ Group: System/Libraries
|
||||
|
||||
%description -n libbuzztrax-core%{core_soname}
|
||||
This package provides core support classes for buzztrax based applications.
|
||||
|
||||
Hotel Seminar Kraftquelle Schlossblick, Embach 1 - A 6320 Angerberg
|
||||
%package -n libbuzztrax-gst%{gst_soname}
|
||||
Summary: Core support classes for buzztrax based applications
|
||||
Group: System/Libraries
|
||||
@@ -190,25 +187,24 @@ This package provides the development files for libbml.
|
||||
%package plugins
|
||||
Summary: Buzztrax plugins
|
||||
Group: Productivity/Multimedia/Other
|
||||
Requires: buzztrax = %{version}
|
||||
|
||||
%description plugins
|
||||
This package contains buzztrax plugins
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%ifarch i586
|
||||
%patch1
|
||||
%patch2
|
||||
%endif
|
||||
%patch0 -p1
|
||||
# Rpmlint complains that COPYING-DOCS is outdated
|
||||
cp -v %{S:2} .
|
||||
cp -v %{S:1} .
|
||||
#rm -rf src/lib/dllwrapper
|
||||
#rm src/lib/bml/bmlw.c src/lib/bml/BuzzMachineLoader.dll
|
||||
/bin/sh ./autogen.sh --noconfigure
|
||||
%build
|
||||
#export CFLAGS="-Wno-error=implicit-function-declaration %%{optflags}"
|
||||
#export CFLAGS="-Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=int-to-pointer-cast %%{optflags}"
|
||||
%configure --disable-static \
|
||||
--disable-schemas-compile \
|
||||
--disable-silent-rules \
|
||||
--enable-deprecated \
|
||||
--enable-debug \
|
||||
--disable-rpath \
|
||||
--with-pic \
|
||||
@@ -242,6 +238,7 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
%endif
|
||||
|
||||
%post
|
||||
%glib2_gsettings_schema_post
|
||||
%icon_theme_cache_post
|
||||
%icon_theme_cache_post gnome
|
||||
%mime_database_post
|
||||
@@ -252,6 +249,7 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
%mime_database_postun
|
||||
%icon_theme_cache_postun gnome
|
||||
%icon_theme_cache_postun
|
||||
%glib2_gsettings_schema_postun
|
||||
|
||||
%post plugins
|
||||
%mime_database_post
|
||||
@@ -299,6 +297,9 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
%files -n gstreamer-1_0-plugins-buzztrax
|
||||
%defattr(0644,root,root,0755)
|
||||
%{gstreamer_pluginsdir}/lib*.so
|
||||
%dir %{_datadir}/gstreamer-1.0/presets
|
||||
%{_datadir}/gstreamer-1.0/presets/GstBtEBeats.prs
|
||||
%{_datadir}/gstreamer-1.0/presets/GstBtSimSyn.prs
|
||||
|
||||
%files -n libbuzztrax-ic%{ic_soname}
|
||||
%defattr(0644,root,root,0755)
|
||||
|
Reference in New Issue
Block a user