Projects
Multimedia
transcode
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 33
View file
transcode.spec
Changed
@@ -20,36 +20,14 @@ %define _lto_cflags %{nil} %endif %define subver %{nil} -%bcond_without a52 -%if 0%{?suse_version} <= 1600 -%bcond_with imagemagick -%else +%if 0%{?suse_version} >= 1699 %bcond_without imagemagick +%else +%bcond_with imagemagick %endif -%bcond_without libdv -%bcond_without libdvdread -%bcond_without libfame -%bcond_without libjpeg -%bcond_without libquicktime -%bcond_without libxml2 -%bcond_without lzo -%bcond_without mjpegtools -%bcond_without mmx -%bcond_without netstream -%bcond_without ogg -%bcond_without sdl -%bcond_without theora +%bcond_with libfame %bcond_without v4l -%bcond_without vorbis -%bcond_without libpostproc -%bcond_without freetype2 -%bcond_without x264 -%bcond_with pvm3 %bcond_without libmpeg2 -%bcond_without alsa -%bcond_without avifile -%bcond_without ibp -%bcond_without xio Name: transcode Version: 1.1.7 Release: 0 @@ -90,7 +68,9 @@ BuildRequires: libtwolame-devel BuildRequires: lzo-devel BuildRequires: mjpegtools-devel +%if %{with libmpeg2} BuildRequires: libmpeg2-devel +%endif BuildRequires: libnetpbm-devel BuildRequires: libpng-devel BuildRequires: x264-devel >= 0.66 @@ -105,9 +85,11 @@ BuildRequires: pkgconfig(dvdread) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libquicktime) +%if %{with v4l} BuildRequires: pkgconfig(libv4l1) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libv4lconvert) +%endif BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(theora) @@ -164,15 +146,12 @@ test -x "$(type -p gcc)" && export CC="$_" test -x "$(type -p gcc-7)" && export CC="$_" autoreconf -fi -CFLAGS="%{optflags} -Wno-deprecated-declarations -Werror=implicit-function-declaration -Werror=int-conversion -D_GNU_SOURCE" +CFLAGS="%{optflags} -Wno-strict-prototypes -Wno-unused-but-set-variable -Wno-deprecated-declarations -Werror=implicit-function-declaration -Werror=int-conversion -D_GNU_SOURCE -std=gnu99" %configure --enable-experimental \ --enable-deprecated \ --disable-x86-textrels \ --enable-mmx \ --enable-a52 \ -%if %{with a52} - --enable-a52 \ -%endif %if %{with imagemagick} --enable-imagemagick \ %else @@ -180,8 +159,7 @@ %endif --enable-libdv \ --enable-libdvdread \ -%if 1 == 0 -#%%{with libfame} +%if %{with libfame} --with-libfame-libs=%{_libexecdir} \ --enable-libfame \ %endif
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
.