Projects
Essentials
libx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 14
View file
libx264.spec
Changed
@@ -16,6 +16,8 @@ # +%bcond_without gpac +%bcond_without ffms2 %define soname 148 %define svn 20161219 Name: libx264 @@ -28,11 +30,15 @@ Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{svn}-2245-stable.tar.bz2 Source1: baselibs.conf Patch0: x264-use-shared-library.patch -BuildRequires: libffms2-devel +%if %{with gpac} BuildRequires: libgpac-devel +%endif BuildRequires: nasm BuildRequires: pkgconfig BuildRequires: yasm >= 1.2.0 +%if %{with ffms2} +BuildRequires: pkgconfig(ffms2) +%endif BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) @@ -117,6 +123,14 @@ %build %configure \ +%if %{without ffms2} + --disable-ffms \ +%endif +%if %{without gpac} + --disable-gpac \ +%endif + --disable-lsmash \ + --disable-opencl \ --enable-shared \ --enable-pic make %{?_smp_mflags}
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
.