Update to 2.10.1

el9 imports/e9/faad2-2.10.1-1.el9
Leigh Scott 2 years ago
parent 751fa20cc0
commit e08afc74af

@ -1,12 +0,0 @@
--- a/common/mp4ff/Makefile.am
+++ b/common/mp4ff/Makefile.am
@@ -1,7 +1,7 @@
noinst_LIBRARIES = libmp4ff.a
noinst_HEADERS = mp4ff.h mp4ffint.h
-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
+libmp4ff_a_CFLAGS = -DUSE_TAGGING=1 -DPIC -fPIC
libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
mp4tagupdate.c mp4ff.h mp4ffint.h

@ -1,38 +1,19 @@
%if 0%{?fc34} || 0%{?el7}
%ifnarch i686
%global _with_xmms 1
%global xmmsinputplugindir %(xmms-config --input-plugin-dir 2>/dev/null)
%endif
%endif
%global _version 2_10_0
Summary: Library and frontend for decoding MPEG2/4 AAC Summary: Library and frontend for decoding MPEG2/4 AAC
Name: faad2 Name: faad2
Epoch: 1 Epoch: 1
Version: 2.10.0 Version: 2.10.1
Release: 4%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
URL: http://www.audiocoding.com/faad2.html URL: http://www.audiocoding.com/faad2.html
Source: https://github.com/knik0/faad2/archive/%{_version}/%{name}-%{_version}.tar.gz Source: https://github.com/knik0/faad2/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: https://github.com/knik0/faad2/commit/5530ffdfa6e9d89f5956b8a0901b5d168ce7d46b.patch#/readd_files_xmms.patch
# fix non-PIC objects in libmp4ff.a
Patch1: %{name}-pic.patch
Patch2: fix_undefined_version.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libsysfs-devel BuildRequires: libsysfs-devel
%{?_with_xmms:
BuildRequires: id3lib-devel
BuildRequires: xmms-devel
}
BuildRequires: zlib-devel
%{!?_with_xmms:
Obsoletes: %{name}-xmms < %{version}-%{release} Obsoletes: %{name}-xmms < %{version}-%{release}
}
%description %description
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
@ -58,31 +39,13 @@ written from scratch.
This package contains development files and documentation for libfaad. This package contains development files and documentation for libfaad.
%{?_with_xmms:
%package -n xmms-%{name}
Summary: AAC XMMS Input Plugin
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
Provides: xmms-aac%{?_isa} = %{version}-%{release}
Obsoletes: xmms-aac < 2.6.1
%description -n xmms-%{name}
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
written from scratch.
This package contains an input plugin for xmms.
}
%prep %prep
%setup -q -n %{name}-%{_version} %autosetup -p1
%patch0 -R -p1
%patch1 -p1
%patch2 -p1
./bootstrap ./bootstrap
%build %build
%configure \ %configure \
--disable-static \ --disable-static
%{?_with_xmms:--with-xmms}
# remove rpath from libtool # remove rpath from libtool
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -116,13 +79,10 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
%{_libdir}/pkgconfig/faad2.pc %{_libdir}/pkgconfig/faad2.pc
%{_libdir}/libfaad*.so %{_libdir}/libfaad*.so
%{?_with_xmms:
%files -n xmms-%{name}
%doc plugins/xmms/{AUTHORS,NEWS,ChangeLog,README,TODO}
%{xmmsinputplugindir}/libmp4.so
}
%changelog %changelog
* Fri Oct 21 2022 Leigh Scott <leigh123linux@gmail.com> - 1:2.10.1-1
- Update to 2.10.1
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 1:2.10.0-4 * Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 1:2.10.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1 5.1

@ -1,12 +0,0 @@
--- a/include/neaacdec.h
+++ b/include/neaacdec.h
@@ -67,7 +67,7 @@
#define NEAACDECAPI
#endif
-#define FAAD2_VERSION "unknown"
+#define FAAD2_VERSION "2.9.1"
/* object types for AAC */
#define MAIN 1

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
SHA512 (faad2-2_10_0.tar.gz) = 92c8b5e79f85b7a7caac9e7954959c26d74ef148a658dcb37e2c1b303fc2fcc5a0d12f21e7bd476870498109bdd03916a56c13f578186a69d6eceb103222e771 SHA512 (faad2-2.10.1.tar.gz) = 8df69278350c68dd770c4bc482e42bc95eb04cd784eeea3f3fc58d615833c8b07dc3c72029bb7e5bfed612b7c1b8daefc9cb57be9789befb587120ef115e55b3

Loading…
Cancel
Save