DISTS/FEDORA: Build against libfaad2
This commit is contained in:
parent
ef3b591b28
commit
1aa5608de6
2 changed files with 12 additions and 4 deletions
|
@ -17,6 +17,7 @@ Url : http://www.scummvm.org
|
||||||
|
|
||||||
Source : %{name}-%{version}.tar.bz2
|
Source : %{name}-%{version}.tar.bz2
|
||||||
Source1 : libmad-0.15.1b.tar.bz2
|
Source1 : libmad-0.15.1b.tar.bz2
|
||||||
|
Source2 : faad2-2.7.tar.bz2
|
||||||
BuildRoot : %{_tmppath}/%{name}-%{version}-root
|
BuildRoot : %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
@ -44,12 +45,13 @@ games) and many more. See http://www.scummvm.org for a full compatibility list.
|
||||||
# install scripts
|
# install scripts
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1 -n scummvm-%{version}
|
%setup -q -a 1 -a 2 -n scummvm-%{version}
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
|
|
||||||
%build
|
%build
|
||||||
(cd libmad-0.15.1b; ./configure --enable-static --disable-shared --prefix=%{_builddir}/scummvm-%{version}/tmp; make; make install)
|
(cd libmad-0.15.1b; ./configure --enable-static --disable-shared --prefix=%{_builddir}/scummvm-%{version}/tmp; make; make install)
|
||||||
./configure --with-mad-prefix=%{_builddir}/scummvm-%{version}/tmp --prefix=%{_prefix} --enable-release
|
(cd faad2-2.7; ./configure --enable-static --disable-shared --prefix=%{_builddir}/scummvm-%{version}/tmp; make; make install)
|
||||||
|
./configure --with-mad-prefix=%{_builddir}/scummvm-%{version}/tmp --with-faad-prefix=%{_builddir}/scummvm-%{version}/tmp --prefix=%{_prefix} --enable-release
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -115,6 +117,8 @@ fi
|
||||||
# Change Log
|
# Change Log
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 29 2011 (1.4.0-2)
|
||||||
|
- include libfaad2
|
||||||
* Fri Sep 17 2010 (1.2.0)
|
* Fri Sep 17 2010 (1.2.0)
|
||||||
- include png/svg icons
|
- include png/svg icons
|
||||||
- remove libmpeg2
|
- remove libmpeg2
|
||||||
|
|
|
@ -17,6 +17,7 @@ Url : http://www.scummvm.org
|
||||||
|
|
||||||
Source : %{name}-%{version}.tar.bz2
|
Source : %{name}-%{version}.tar.bz2
|
||||||
Source1 : libmad-0.15.1b.tar.bz2
|
Source1 : libmad-0.15.1b.tar.bz2
|
||||||
|
Source2 : faad2-2.7.tar.bz2
|
||||||
BuildRoot : %{_tmppath}/%{name}-%{version}-root
|
BuildRoot : %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
@ -44,12 +45,13 @@ games) and many more. See http://www.scummvm.org for a full compatibility list.
|
||||||
# install scripts
|
# install scripts
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1 -n scummvm-%{version}
|
%setup -q -a 1 -a 2 -n scummvm-%{version}
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
|
|
||||||
%build
|
%build
|
||||||
(cd libmad-0.15.1b; ./configure --enable-static --disable-shared --prefix=%{_builddir}/scummvm-%{version}/tmp; make; make install)
|
(cd libmad-0.15.1b; ./configure --enable-static --disable-shared --prefix=%{_builddir}/scummvm-%{version}/tmp; make; make install)
|
||||||
./configure --with-mad-prefix=%{_builddir}/scummvm-%{version}/tmp --prefix=%{_prefix} --enable-release
|
(cd faad2-2.7; ./configure --enable-static --disable-shared --prefix=%{_builddir}/scummvm-%{version}/tmp; make; make install)
|
||||||
|
./configure --with-mad-prefix=%{_builddir}/scummvm-%{version}/tmp --with-faad-prefix=%{_builddir}/scummvm-%{version}/tmp --prefix=%{_prefix} --enable-release
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -115,6 +117,8 @@ fi
|
||||||
# Change Log
|
# Change Log
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 29 2011 (1.4.0-2)
|
||||||
|
- include libfaad2
|
||||||
* Fri Sep 17 2010 (1.2.0)
|
* Fri Sep 17 2010 (1.2.0)
|
||||||
- include png/svg icons
|
- include png/svg icons
|
||||||
- remove libmpeg2
|
- remove libmpeg2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue