-
Notifications
You must be signed in to change notification settings - Fork 0
/
fdk-aac-free.deprecated
70 lines (54 loc) · 1.86 KB
/
fdk-aac-free.deprecated
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Name: fdk-aac-free
Version: 2.0.0
Release: 3%{?dist}
Summary: Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library for Android
License: FDK-AAC
URL: https://cgit.freedesktop.org/~wtay/fdk-aac/log/?h=fedora
Source0: https://github.com/clearfraction/fdk-aac/releases/download/0.0.1/fdk-aac-free-2.0.0.tar.gz
BuildRequires: gcc
BuildRequires: automake libtool
%description
The Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library
for Android is software that implements part of the MPEG Advanced Audio Coding
("AAC") encoding and decoding scheme for digital audio.
%package dev
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description dev
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup
autoreconf -vif
%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FCFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 "
%configure --disable-silent-rules --disable-static
%make_build
%install
%make_install INSTALL="install"
find %{buildroot} -name '*.la' -print -delete
%post -p /usr/bin/ldconfig
%postun -p /usr/bin/ldconfig
%files
%doc ChangeLog README.fedora
%license NOTICE
%{_libdir}/*.so.*
%files dev
%doc documentation/*.pdf
%dir %{_includedir}/fdk-aac
%{_includedir}/fdk-aac/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/fdk-aac.pc
%changelog
# based on https://koji.fedoraproject.org/koji/packageinfo?packageID=27608