Overview
faad2.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Mon Nov 11 11:11:11 UTC 2024 - olaf@aepfle.de
4
+
5
+- Update to version 2.11.1
6
+ See included ChangeLog for details
7
+
8
+-------------------------------------------------------------------
9
Thu Oct 5 08:33:32 UTC 2023 - Bjørn Lie <zaitor@opensuse.org>
10
11
- Update to version 2.10.1:
12
faad2.spec
Changed
224
1
2
#
3
4
5
-%define major 2
6
-%define lib libfaad
7
-%define libname %{lib}%{major}
8
-%define _version 2_10_0
9
-%bcond_with xmms
10
-# mpeg4ip is built without gmp4player, it makes no sense to build the plugin
11
-%bcond_with mpeg4ip
12
+%define so_version 2
13
+%define so_name libfaad%so_version
14
+%define so_name_drm libfaad_drm%so_version
15
Name: faad2
16
-Version: 2.10.1
17
+Version: 0
18
Release: 0
19
-Summary: C library and frontend for decoding MPEG2/4 AAC
20
-Summary(de): C Bibliothek und Frontend zum Decodieren von MPEG2/4 AAC
21
+Summary: Freeware Advanced Audio (AAC) Decoder including SBR decoding
22
License: GPL-2.0-or-later
23
-Group: Productivity/Multimedia/Video/Editors and Convertors
24
URL: https://github.com/knik0/faad2
25
-Source0: %{url}/archive/%{_version}/%{name}-%{version}.tar.gz
26
-Patch0: %{name}-visibility.patch
27
-Patch1: faad2-PACKAGE_VERSION.patch
28
-BuildRequires: libtool
29
+Source0: %name-%version.tar
30
+BuildRequires: cmake >= 3.15
31
BuildRequires: pkgconfig
32
-Requires: %{libname} = %{version}
33
-%if %{with mpeg4ip}
34
-BuildRequires: SDL-devel
35
-BuildRequires: libmp4v2-devel
36
-%endif
37
-%if %{with xmms}
38
-BuildRequires: id3lib-devel
39
-BuildRequires: xmms2-devel
40
-%endif
41
-#Obsoletes: faad2-drm
42
-#Provides: faad2-drm
43
+Requires: %so_name = %version-%release
44
45
%description
46
-FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
47
-written from scratch. FAAD 2 is licensed under the GPL.
48
+FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.
49
+FAAD2 includes code for SBR (HE AAC) decoding.
50
51
-%description -l de
52
-FAAD 2 ist ein LC, MAIN und LTP profile, MPEG2 und MPEG-4 AAC Decoder.
53
-
54
-%package -n %{libname}
55
+%package -n %so_name
56
Summary: Shared library part of faad2
57
-Summary(de): Bibliotheken zu faad2
58
-Group: System/Libraries
59
-Provides: %{lib} = %{version}
60
-Provides: lib%{name}_2 = %{version}
61
-Obsoletes: lib%{name}_2 < %{version}
62
-Provides: libfaad-2 = %{version}
63
-Obsoletes: libfaad-2 < %{version}
64
-
65
-%description -n %{libname}
66
-FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
67
-written from scratch. FAAD 2 is licensed under the GPL.
68
-The shared library part of faad2
69
-
70
-%description -n %{libname} -l de
71
-FAAD 2 ist ein LC, MAIN und LTP profile, MPEG2 und MPEG-4 AAC Decoder.
72
-Die Bibliotheken zu faad2
73
-
74
-%package -n %{lib}_drm%{major}
75
+
76
+%description -n %so_name
77
+FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.
78
+FAAD2 includes code for SBR (HE AAC) decoding.
79
+
80
+%package -n %so_name_drm
81
Summary: DRM shared library part of faad2
82
-Group: System/Libraries
83
-Provides: %{lib} = %{version}
84
85
-%description -n %{lib}_drm%{major}
86
-FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
87
-written from scratch. FAAD 2 is licensed under the GPL.
88
+%description -n %so_name_drm
89
+FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.
90
+FAAD2 includes code for SBR (HE AAC) decoding.
91
The shared library part of faad2-drm
92
93
-%package -n %{lib}-devel
94
+%package devel
95
Summary: Development files of the FAAD 2 AAC decoder
96
-Summary(de): Entwicklerdateien des FAAD 2 AAC Dekoders
97
-Group: Development/Libraries/C and C++
98
-Requires: %{libname} = %{version}
99
-Requires: %{lib}_drm%{major} = %{version}
100
-Requires: %{name} = %{version}
101
-Obsoletes: lib%{name}-devel < %{version}
102
-Provides: lib%{name}-devel = %{version}
103
-Obsoletes: %{name}-devel < %{version}
104
-Provides: %{name}-devel = %{version}
105
-Obsoletes: %{name}-drm-devel < %{version}
106
-Provides: %{name}-drm-devel = %{version}
107
-
108
-%description -n %{lib}-devel
109
-FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
110
-written from scratch. FAAD 2 is licensed under the GPL.
111
+Requires: %so_name = %version-%release
112
+Requires: %so_name_drm = %version-%release
113
+Obsoletes: libfaad2-devel < %version-%release
114
+Provides: libfaad2-devel = %version-%release
115
+Obsoletes: libfaad-devel < %version-%release
116
+Provides: libfaad-devel = %version-%release
117
+
118
+%description devel
119
+FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.
120
+FAAD2 includes code for SBR (HE AAC) decoding.
121
Header files and development documentation for libfaad.
122
123
-%description -n %{lib}-devel -l de
124
-FAAD 2 ist ein LC, MAIN und LTP profile, MPEG2 und MPEG-4 AAC Decoder.
125
-Header-Dateien und Entwicklerdokumtation zur libfaad.
126
-
127
-%if %{with xmms}
128
-%package -n xmms-%{name}
129
-Summary: Xmms faad2 input plugin
130
-Summary(de): Xmms faad2 Eingabeplugin
131
-Group: Productivity/Multimedia/Sound/Players
132
-Requires: %{libname} = %{version}
133
-Requires: xmms >= 1.2.8
134
-Obsoletes: %{name}-xmms-plugin < %{version}
135
-Provides: %{name}-xmms-plugin = %{version}
136
-
137
-%description -n xmms-%{name}
138
-The plugin read aac files with and without ID3tag(version 2.x), AAC files
139
-are MPEG2 or MPEG4 files that could be found in MPEG4 audio files (.mp4).
140
-
141
-%description -l de -n xmms-%{name}
142
-Das plugin für xmms liest AAC Dateien mit und ohne ID3-Tags (version 2.x).
143
-AAC Dateien sind MPEG2 oder MPEG4 Dateien, sie finden Verwendung in MPEG4
144
-Audodateien (.mp4).
145
-%endif
146
-
147
%prep
148
-%autosetup -p1 -n %{name}-%{_version}
149
-
150
-sed -i 's/__PACKAGE_VERSION__/%{version}/' include/neaacdec.h
151
+%autosetup -p1
152
153
%build
154
-autoreconf -ifv
155
-export CFLAGS="%{optflags} -fno-strict-aliasing"
156
-%configure \
157
-%if %{with xmms}
158
- --with-xmms \
159
-%endif
160
- --with-pic \
161
- --enable-shared \
162
- --disable-static
163
-%make_build
164
+CFLAGS='%optflags -DBUILD_DATE=\"\"'
165
+%cmake
166
+%cmake_build
167
168
%install
169
-%make_install
170
-find %{buildroot} -type f -name "*.la" -delete -print
171
+%cmake_install
172
173
-%post -n %{libname} -p /sbin/ldconfig
174
-%postun -n %{libname} -p /sbin/ldconfig
175
-%post -n %{lib}_drm%{major} -p /sbin/ldconfig
176
-%postun -n %{lib}_drm%{major} -p /sbin/ldconfig
177
+%ldconfig_scriptlets -n %so_name
178
+%ldconfig_scriptlets -n %so_name_drm
179
180
%files
181
-%doc AUTHORS ChangeLog NEWS README TODO
182
+%doc ChangeLog
183
%license COPYING
184
-%{_bindir}/faad
185
-%{_mandir}/man1/faad.1%{?ext_man}
186
-
187
-%files -n %{libname}
188
-%{_libdir}/libfaad.so.%{major}*
189
-
190
-%files -n %{lib}_drm%{major}
191
-%{_libdir}/libfaad_drm.so.%{major}*
192
-
193
-%files -n %{lib}-devel
194
-%{_includedir}/faad.h
195
-%{_includedir}/neaacdec.h
196
-%{_libdir}/libfaad.so
197
-%{_libdir}/libfaad_drm.so
198
-%{_libdir}/pkgconfig/%{name}.pc
199
-
200
-%if %{with xmms}
201
-%files -n xmms-%{name}
202
-%doc plugins/xmms/README
203
-%{_libdir}/xmms/Input/libmp4*
204
-%endif
205
+%_bindir/faad
206
+%_mandir/man1/faad.1%{?ext_man}
207
+
208
+%files -n %so_name
209
+%_libdir/libfaad.so.%so_version
210
+%_libdir/libfaad.so.%so_version.*
211
+
212
+%files -n %so_name_drm
213
+%_libdir/libfaad_drm.so.%so_version
214
+%_libdir/libfaad_drm.so.%so_version.*
215
+
216
+%files devel
217
+%_includedir/faad.h
218
+%_includedir/neaacdec.h
219
+%_libdir/libfaad.so
220
+%_libdir/libfaad_drm.so
221
+%_libdir/pkgconfig/%name.pc
222
223
%changelog
224
faad2-PACKAGE_VERSION.patch
Deleted
31
1
2
-Index: faad2-2_10_0/frontend/main.c
3
-===================================================================
4
---- faad2-2_10_0.orig/frontend/main.c
5
-+++ faad2-2_10_0/frontend/main.c
6
-@@ -1218,11 +1218,6 @@ static int faad_main(int argc, char *arg
7
- NeAACDecGetVersion(&faad_id_string, &faad_copyright_string);
8
-
9
- faad_fprintf(stderr, " *********** Ahead Software MPEG-4 AAC Decoder V%s ******************\n\n", faad_id_string);
10
--#ifndef BUILD_DATE
11
--#define BUILD_DATE __DATE__
12
--#endif
13
-- faad_fprintf(stderr, " Build: %s\n", BUILD_DATE);
14
--#undef BUILD_DATE
15
- faad_fprintf(stderr, "%s", faad_copyright_string);
16
- if (cap & FIXED_POINT_CAP)
17
- faad_fprintf(stderr, " Fixed point version\n");
18
-Index: faad2-2_10_0/include/neaacdec.h
19
-===================================================================
20
---- faad2-2_10_0.orig/include/neaacdec.h
21
-+++ faad2-2_10_0/include/neaacdec.h
22
-@@ -69,7 +69,7 @@ extern "C" {
23
- #define NEAACDECAPI
24
- #endif
25
-
26
--#define FAAD2_VERSION "unknown"
27
-+#define FAAD2_VERSION "__PACKAGE_VERSION__"
28
-
29
- /* object types for AAC */
30
- #define MAIN 1
31
faad2-visibility.patch
Deleted
83
1
2
-diff -Nur faad2-2_9_1/configure.ac faad2-2_9_1-new/configure.ac
3
---- faad2-2_9_1/configure.ac 2019-11-04 18:22:03.000000000 +0800
4
-+++ faad2-2_9_1-new/configure.ac 2020-02-13 16:49:34.294512000 +0800
5
-@@ -16,7 +16,9 @@
6
- AC_SUBST(LIBTOOL_DEPS)
7
-
8
- dnl Checks for programs.
9
--AC_PROG_CC
10
-+AC_PROG_CC_STDC
11
-+AC_USE_SYSTEM_EXTENSIONS
12
-+AC_SYS_LARGEFILE
13
- AM_PROG_CC_C_O
14
- AC_PROG_CPP
15
- dnl disable for mpeg4ip plugin
16
-@@ -75,46 +77,7 @@
17
- fi
18
- )
19
-
20
--dnl @synopsis AC_C99_FUNC_LRINTF
21
--dnl
22
--dnl Check whether C99's lrintf function is available.
23
--dnl @version 1.3 Feb 12 2002
24
--dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
25
--dnl
26
--dnl Permission to use, copy, modify, distribute, and sell this file for any
27
--dnl purpose is hereby granted without fee, provided that the above copyright
28
--dnl and this permission notice appear in all copies. No representations are
29
--dnl made about the suitability of this software for any purpose. It is
30
--dnl provided "as is" without express or implied warranty.
31
--dnl
32
--AC_DEFUN(AC_C99_FUNC_LRINTF,
33
--AC_CACHE_CHECK(for lrintf,
34
-- ac_cv_c99_lrintf,
35
--
36
--lrintf_save_CFLAGS=$CFLAGS
37
--lrintf_save_LIBS=$LIBS
38
--CFLAGS="-O"
39
--LIBS="-lm"
40
--AC_TRY_LINK(
41
--#define _ISOC9X_SOURCE 1
42
--#define _ISOC99_SOURCE 1
43
--#define __USE_ISOC99 1
44
--#define __USE_ISOC9X 1
45
--
46
--#include <math.h>
47
--, if (!lrintf(3.14159)) lrintf(2.7183);, ac_cv_c99_lrintf=yes, ac_cv_c99_lrintf=no)
48
--
49
--CFLAGS=$lrintf_save_CFLAGS
50
--LIBS=$lrintf_save_LIBS
51
--
52
--)
53
--
54
--if test "$ac_cv_c99_lrintf" = yes; then
55
-- AC_DEFINE(HAVE_LRINTF, 1,
56
-- Define if you have C99's lrintf function.)
57
--fi
58
--)# AC_C99_FUNC_LRINTF
59
--AC_C99_FUNC_LRINTF
60
-+AC_SEARCH_LIBS(lrintf, m, AC_DEFINE(HAVE_LRINTF, 1, Define if you have C99 lrintf function))
61
-
62
- MY_CHECK_TYPEDEF_FROM_INCLUDE(float32_t temp,
63
- #include <sys/types.h>,
64
-diff -Nur faad2-2_9_1/include/neaacdec.h faad2-2_9_1-new/include/neaacdec.h
65
---- faad2-2_9_1/include/neaacdec.h 2019-11-04 18:22:03.000000000 +0800
66
-+++ faad2-2_9_1-new/include/neaacdec.h 2020-02-13 16:50:25.338189000 +0800
67
-@@ -31,6 +31,8 @@
68
- #ifndef __NEAACDEC_H__
69
- #define __NEAACDEC_H__
70
-
71
-+#pragma GCC visibility push(default)
72
-+
73
- #ifdef __cplusplus
74
- extern "C" {
75
- #endif /* __cplusplus */
76
-@@ -257,4 +259,6 @@
77
- }
78
- #endif /* __cplusplus */
79
-
80
-+#pragma GCC visibility pop
81
-+
82
- #endif
83
_service
Added
20
1
2
+<services>
3
+ <service name="obs_scm">
4
+ <param name="filename">faad2</param>
5
+ <param name="revision">abf9b320cac89aaee3beafa12d2bb60253d7112e</param>
6
+ <param name="scm">git</param>
7
+ <param name="submodules">disable</param>
8
+ <param name="url">https://github.com/knik0/faad2.git</param>
9
+ <param name="versionformat">@PARENT_TAG@</param>
10
+ <param name="versionrewrite-pattern">v?(^\++)(.*)</param>
11
+ <param name="versionrewrite-replacement">\1</param>
12
+ </service>
13
+ <service mode="buildtime" name="tar">
14
+ <param name="obsinfo">faad2.obsinfo</param>
15
+ </service>
16
+ <service mode="buildtime" name="set_version">
17
+ <param name="basename">faad2</param>
18
+ </service>
19
+</services>
20
faad2-2.10.1.tar.gz
Deleted
Refresh
Refresh
Login required, please
login
or
signup
in order to comment
Request History
olh created request 2 months ago
abf9b320cac89aaee3beafa12d2bb60253d7112e
olh accepted request 2 months ago