forked from pool/libbluray
Accepting request 212590 from home:elvigia:branches:multimedia:libs
- Select the C standard to be used with autoconf macros instead of passing std=c99. - Correct CPPFLAGS and CFLAGS - Ensure config.h is always included, in 32 bit OS the library was using both fopen() and fopen64() this will cause problems with largefiles due to _FILE_OFFSET_BITS=64 beign used inconsistenly. - Patch name : libbluray-autotools.patch OBS-URL: https://build.opensuse.org/request/show/212590 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
7a3fa90d63
commit
4f8311a15a
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libbluray
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -28,7 +28,9 @@ Source: ftp://ftp.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%
|
||||
# PATCH-FIX-UPSTREAM use-recommended-freetype-include.patch -- Freetype upstream recommends using their macros together with
|
||||
# ft2build include. Positive sideeffect is that this patch makes it build with both freetype2 2.5.1, and older versions
|
||||
Patch0: use-recommended-freetype-include.patch
|
||||
Patch1: libbluray-autotools.patch
|
||||
Source99: baselibs.conf
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6
|
||||
@@ -70,8 +72,9 @@ MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%patch1 -p1
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
Reference in New Issue
Block a user