SHA256
1
0
forked from pool/buzztrax

Accepting request 348952 from home:plater

Fixed i586 build

OBS-URL: https://build.opensuse.org/request/show/348952
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=7
This commit is contained in:
2015-12-15 11:14:35 +00:00
committed by Git OBS Bridge
parent f4e7ba0fa9
commit 6863ea1e6f
4 changed files with 70 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package buzztrax
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,12 @@ Group: Productivity/Multimedia/Sound/Utilities
Url: http://sourceforge.net/projects/buzztard/
Source0: %{name}-%{version}.tar.gz
Source1: COPYING-DOCS
%ifarch i586
# Suppress sse flags for 32 bit build.
Patch0: buzztrax-fixx86build.patch
# Set calling mode to void for 32 bit build.
Patch1: buzztrax-nolibbml_la-bmlw.patch
%endif
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -58,7 +64,6 @@ BuildRequires: pkgconfig(gstreamer-1.0) >= 1.1.0
BuildRequires: pkgconfig(gstreamer-audio-1.0) >= 1.1.0
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.1.0
BuildRequires: pkgconfig(gstreamer-controller-1.0) >= 1.1.0
#BuildRequires: pkgconfig(gstreamer-interfaces-1.0)
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
BuildRequires: pkgconfig(gtk+-x11-2.0)
BuildRequires: pkgconfig(clutter-gtk-1.0)
@@ -179,9 +184,15 @@ This package contains buzztrax plugins
%prep
%setup -q
%ifarch i586
%patch0
%patch1
%endif
cp -v %{S:1} .
#rm -rf src/lib/dllwrapper
#rm src/lib/bml/bmlw.c src/lib/bml/BuzzMachineLoader.dll
%build
%configure --disable-static \
--disable-schemas-compile \
--disable-silent-rules \
@@ -190,6 +201,7 @@ cp -v %{S:1} .
--with-pic \
--enable-man \
--disable-dllwrapper
make %{?_smp_flags}
%install