Projects
Essentials
faad2
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 18
View file
faad2.spec
Changed
@@ -7,11 +7,7 @@ %define lib libfaad %define libname %{lib}%{major} -%if 0%{?suse_version} > 1120 %bcond_with xmms -%else -%bcond_with xmms -%endif # mpeg4ip is built without gmp4player, it makes no sense to build the plugin %bcond_with mpeg4ip @@ -25,6 +21,7 @@ Group: Productivity/Multimedia/Video/Editors and Convertors Source0: http://downloads.sourceforge.net/project/faac/%{name}-src/%{name}-%{version}/%{name}-%{version}.tar.gz Patch0: %{name}-visibility.patch +Patch1: faad2-PACKAGE_VERSION.patch Requires: %{libname} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with mpeg4ip} @@ -32,11 +29,7 @@ BuildRequires: SDL-devel %endif %if %{with xmms} -%if 0%{?suse_version} > 1230 BuildRequires: xmms2-devel -%else -BuildRequires: xmms-devel -%endif BuildRequires: id3lib-devel %endif BuildRequires: libtool @@ -123,10 +116,11 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build autoreconf -ifv -export CFLAGS="%{optflags} -fPIC -fno-strict-aliasing" +export CFLAGS="%{optflags} -fPIC -fno-strict-aliasing -Wno-unused-function -Wno-unused-variable" %configure \ %if %{with xmms} --with-xmms \
View file
faad2-PACKAGE_VERSION.patch
Added
@@ -0,0 +1,11 @@ +--- a/include/neaacdec.h ++++ b/include/neaacdec.h +@@ -75,7 +75,7 @@ extern "C" { + #endif + #endif + +-#define FAAD2_VERSION "unknown" ++#define FAAD2_VERSION PACKAGE_VERSION + + /* object types for AAC */ + #define MAIN 1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.