File gmerlin-encoders.spec of Package gmerlin-encoders

# spec file for package gmerlin-encoders
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2005-2010 oc2pus
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define _prefix /usr
%define rev     4256
%define pkg_name gmerlin_encoders
Name:           gmerlin-encoders
Version:        1.2.0rsvn%{rev}
Release:        0
Summary:        Various encoder plugins for gmerlin
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Utilities
# svn co
Source0:        %{name}-%{rev}.tar.gz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  libfaac-devel
BuildRequires:  libmp3lame-devel
BuildRequires:  pkgconfig >= 0.9
BuildRequires:  pkgconfig(flac) >= 1.1.0
BuildRequires:  pkgconfig(fontconfig)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(gmerlin) >= 1.2.0
BuildRequires:  pkgconfig(libavcodec) = 56.60.100
BuildRequires:  pkgconfig(libavformat) = 56.40.101
BuildRequires:  pkgconfig(libcdio)
BuildRequires:  pkgconfig(libpostproc) = 53.3.100
BuildRequires:  pkgconfig(libswscale) = 3.1.101
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(mjpegtools) > 1.9
BuildRequires:  pkgconfig(ogg) >= 1.1
BuildRequires:  pkgconfig(opus)
BuildRequires:  pkgconfig(schroedinger-1.0)
BuildRequires:  pkgconfig(shout)
BuildRequires:  pkgconfig(speex) >= 1.0.4
BuildRequires:  pkgconfig(theoradec)
BuildRequires:  pkgconfig(theoraenc)
BuildRequires:  pkgconfig(vorbis) >= 1.0
BuildRequires:  pkgconfig(x264)
Requires:       gmerlin >= 0.4.2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Various encoder plugins for package gmerlin.


%setup -q -n %{pkg_name}

%ifarch %{ix86} x86_64
%ifarch aarch64
%configure $params


make DESTDIR=%{buildroot} install %{?_smp_mflags}

%find_lang %{name}

find %{buildroot} -type f -name "*.la" -delete -print

%files lang -f %{name}.lang

%dir %{_libdir}/gmerlin
%dir %{_libdir}/gmerlin/plugins