File x42-plugins.spec of Package x42-plugins

# norootforbuild

%define _prefix	/usr

Name:			x42-plugins
Summary:		A set of audio and MIDI plugins
Version:		20150702
Release:		1
Group:			Productivity/Multimedia/Sound/Utilities
License:		GPL-2.0+
Source:			%{name}-%{version}.tar.xz
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
%if %{defined fedora}
BuildRequires:  jack-audio-connection-kit-devel
BuildRequires:	pixman-devel
BuildRequires:	libGLU-devel
BuildRequires:	gnu-free-sans-fonts
BuildRequires:	libjack-devel
BuildRequires:	libpixman-1-0-devel
BuildRequires:	gcc-c++
BuildRequires:	pkg-config
BuildRequires:	ftgl-devel
BuildRequires:	gtk2-devel
BuildRequires:	glib2-devel
BuildRequires:	lv2-devel >= 1.4.0
BuildRequires:	zita-convolver-devel
BuildRequires:	libsndfile-devel
BuildRequires:	libsamplerate-devel
BuildRequires:	fftw3-devel
BuildRequires:	cairo-devel
BuildRequires:	libltc-devel

%if %{defined fedora}
Requires:       jack-audio-connection-kit
Requires:	    jack

This is a collection of LV2 plugins, and currently consists of:

        balance.lv2       - Stereo Balance Control
        convoLV2          - a LV2 convolution plugin
        fil4.lv2          - a 4 Band Parametric with additional High/Low shelfs and Hi/Lo Pass and graphical display
        meters.lv2        - a collection of LV2 plugins for audio-level metering
        midifilter.lv2    - a collection of MIDI filters in LV2 plugin format
        mixtri.lv2        - a matrix mixer and trigger processor intended to be used with sisco.lv2
        nodelay.lv2       - an audio delay line with latency reporting -- LV2 test & instrumentation tool
        onsettrigger.lv2  - an audio to midi converter currently intended for Bass/Kick-drums
        sisco.lv2         - a simple audio oscilloscope with variable time scale
        tuna.lv2          - a musical instrument tuner with strobe characteristics
        xfade.lv2         - a stereo DJ X-fade plugin

AUTHOR: Robin Gareus

%setup -q -n %{name}-%{version}

	make %{?jobs:-j%{jobs}} pkglibdir=%{_libdir}/%{name} FONTFILE=/usr/share/fonts/gnu-free/FreeSansBold.ttf

#export FONTFILE=/usr/share/fonts/truetype/DroidSans.ttf
make PREFIX=%_prefix DESTDIR=%{buildroot} install

[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"

%dir %_prefix/lib/lv2
openSUSE Build Service is sponsored by