Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:mingw:win64:sdr
mingw64-libmad
mingw64-libmad.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-libmad.spec of Package mingw64-libmad
# # spec file for package mingw64-libmad # # Copyright (c) 2023, Martin Hauke <mardnh@gmx.de> # # 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 http://bugs.opensuse.org/ # Name: mingw64-libmad Version: 0.15.1b Release: 0 Summary: An MPEG audio decoder library License: GPL-2.0-or-later Group: Productivity/Multimedia/Other URL: http://www.underbit.com/products/mad/ Source: https://sourceforge.net/projects/mad/files/libmad/%{version}/libmad-%{version}.tar.gz Patch0: libmad-0.15.1b-automake.patch Patch1: libmad-0.15.1b-pkgconfig.patch Patch2: libmad-0.15.1b-gcc43.patch Patch3: Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff Patch4: libmad.thumb.diff Patch5: libmad-0.15.1b-ppc.patch Patch6: length-check.patch Patch7: no-undefined.mingw.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem #!BuildIgnore: post-build-checks %_mingw64_package_header_debug BuildArch: noarch %description MAD is a MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are implemented. MAD supports 24-bit PCM output. MAD computes using 100%% fixed-point (integer) computation, so you can run it without a floating point unit. %package -n mingw64-libmad0 Summary: An MPEG audio decoder library Group: System/Libraries %description -n mingw64-libmad0 MAD is a MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are implemented. MAD supports 24-bit PCM output. MAD computes using 100%% fixed-point (integer) computation, so you can run it without a floating point unit. %package -n mingw64-libmad-devel Summary: MinGW development package for libmad, an MP3 decoding library Group: Development/Libraries/C and C++ Requires: mingw64-libmad0 = %{version} %description -n mingw64-libmad-devel MAD is a MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are implemented. MAD supports 24-bit PCM output. MAD computes using 100%% fixed-point (integer) computation, so you can run it without a floating point unit. This package contains development tools and libraries for use when cross-compiling Windows software. %_mingw64_debug_package %prep %setup -q -n libmad-%{version} %patch -P 0 %patch -P 1 -p1 %patch -P 2 -p1 %patch -P 3 -p1 %patch -P 4 -p1 %patch -P 5 -p1 %patch -P 6 -p1 %patch -P 7 -p1 # new autoconf does not support deprecated declare (10 years in deprecation) sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac %build autoreconf -fiv %{_mingw64_configure} \ %if 0%{?__isa_bits} == 64 --enable-fpm=64bit \ %endif --enable-shared \ --disable-static \ --enable-accuracy %{_mingw64_make} %{?_smp_mflags} %install %{_mingw64_make_install} %files -n mingw64-libmad0 %license COPYING %doc CHANGES COPYRIGHT CREDITS README TODO VERSION %{_mingw64_bindir}/libmad-0.dll %files -n mingw64-libmad-devel %{_mingw64_includedir}/mad.h %{_mingw64_libdir}/libmad.dll.a %{_mingw64_libdir}/pkgconfig/mad.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor