Mageia Bugzilla – Attachment 7010 Details for
Bug 16760
k3b and dvdrip fail to rip DVD with a transcode error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
modified spec file for the non tainted version
transcode.spec (text/x-rpm-spec), 4.50 KB, created by
Bruno Cornec
on 2015-09-15 23:28:03 CEST
(
hide
)
Description:
modified spec file for the non tainted version
Filename:
MIME Type:
Creator:
Bruno Cornec
Created:
2015-09-15 23:28:03 CEST
Size:
4.50 KB
patch
obsolete
>%define build_plf 0 >%{?_with_plf: %{expand: %%global build_plf 1}} >%if %build_plf >%define distsuffix plf >%endif >%if "%distro_section" == "tainted" >%global build_plf 1 >%endif >%define build_pvm 0 >%{?_without_pvm: %{expand: %%global build_pvm 0}} >%{?_with_pvm: %{expand: %%global build_pvm 1}} >%define build_dv 1 >%define build_freetype 1 >%define build_quicktime 1 >%define build_theora 1 >%define build_faac 0 > >Name: transcode >Version: 1.1.7 >Release: %mkrel 13 >Summary: A linux video stream processing utility >License: GPLv2+ >Group: Video/Editors and Converters >Url: http://tcforge.berlios.de/ >Source: https://bitbucket.org/france/transcode-tcforge/downloads/%{name}-%{version}.tar.bz2 >Patch0: transcode-1.1.7-ffmpeg.patch >Patch1: transcode-1.1.7-ffmpeg-0.10.patch >Patch2: transcode-1.1.7-ffmpeg-0.11.patch >Patch3: transcode-1.1.7-preset-free.patch >Patch4: transcode-1.1.7-libav-9.patch >Patch5: transcode-1.1.7-preset-force.patch >Patch6: transcode-1.1.7-ffmpeg2.patch >Patch7: transcode-1.1.7-freetype.patch >Patch8: transcode-1.1.7-ffmpeg2.4.patch >Patch9: transcode-1.1.7-ffmpeg3.patch >BuildRequires: ImageMagick-devel >BuildRequires: SDL-devel >BuildRequires: libx11-devel >BuildRequires: libxaw-devel >BuildRequires: libxext-devel >BuildRequires: libxt-devel >BuildRequires: libxv-devel >BuildRequires: libxpm-devel >BuildRequires: alsa-lib-devel >BuildRequires: ffmpeg-devel >= 0.4.9 >%if %build_dv >BuildRequires: libdv-devel >= 0.99 >%endif >BuildRequires: libdvdread-devel >%if %build_freetype >BuildRequires: freetype2-devel >%endif >BuildRequires: libv4l-devel >BuildRequires: xvid-devel >BuildRequires: x264-devel >BuildRequires: liblame-devel >BuildRequires: libmjpegtools-devel >BuildRequires: liba52dec-devel >BuildRequires: liblzo-devel >BuildRequires: libnetpbm-devel >BuildRequires: libvorbis-devel >BuildRequires: libxml2-devel >BuildRequires: xpm-devel >BuildRequires: libmpeg2dec-devel >%if %build_faac >BuildRequires: libfaac-devel >%endif >%if %build_quicktime >BuildRequires: libquicktime-devel >= 0.9.3 >%endif >%if %build_theora >BuildRequires: libtheora-devel >%endif >%if %build_pvm >BuildRequires: libpvm-devel >= 3.4 >%endif >#gw these are requirements of the plf version of libMagick-devel >BuildRequires: libjasper-devel >BuildRequires: libjbig-devel > >%description >transcode is a text-console video stream processing >tool. Decoding and encoding is done by loading shared library modules >that are responsible for feeding transcode with raw RGB/PCM streams >(import module) and encoding the frames (export module). It supports >elementary video and audio frame transformations. >Some example modules are included to enable import >of MPEG program streams (VOB), Digital Video (DV), or YUV video >and export modules for writing DivX;-), OpenDivX, or uncompressed AVI files. >A set of tools is available to extract and decode the sources into >raw video/audio streams for import and to enable post-processing of AVI files. > >This package is in tainted as it could violate some patents. > >%prep >%setup -q >%apply_patches > >%build >%ifarch %ix86 >export CPPFLAGS="$CPPFLAGS -mmmx" >%endif >%configure2_5x \ >--enable-libmpeg2 \ >--enable-libmpeg2convert \ >--enable-a52-default-decoder \ >--with-default-xvid=xvid4 \ >%if %build_dv >--enable-libdv \ >%endif >%if %build_pvm >--with-pvm3-lib=/usr/share/pvm3/lib/LINUX/ \ >%else > --disable-pvm3 \ >%endif >--enable-imagemagick \ >--enable-mjpegtools \ >--enable-netstream \ >--enable-ogg --enable-vorbis \ >%if %build_theora > --enable-theora \ >%endif >%if %build_quicktime >--enable-libquicktime \ >%endif >--enable-lzo --with-lzo-includes=%_includedir/lzo \ >--enable-libxml2 \ >--enable-a52 \ >--enable-sdl \ >--enable-v4l \ >--enable-libv4l2 \ >--enable-libv4lconvert \ >--enable-libfame \ >--enable-oss \ >--enable-alsa \ >--enable-libpostproc \ >%if %{build_faac} >--enable-faac \ >%endif >--enable-deprecated \ >%if %build_freetype >--enable-freetype2 \ >%else >--disable-freetype2 \ >%endif >--enable-xvid \ >--enable-x264 \ > > >%make > >%install >%makeinstall transform="" >for file in `find %{buildroot} -name "*.la"`; do > perl -pi -e 's|'%{buildroot}'/%{name}-%{version}/||g' $file >done >mv %{buildroot}%{_datadir}/doc/transcode installed-docs > >%files >%doc installed-docs/* >%{_bindir}/transcode >%{_bindir}/tccat >%{_bindir}/aviindex >%{_bindir}/avimerge >%{_bindir}/avisplit >%{_bindir}/tcdemux >%{_bindir}/tcprobe >%{_bindir}/avifix >%{_bindir}/tcscan >%{_bindir}/tcextract >%{_bindir}/avisync >%{_bindir}/tcdecode >%{_bindir}/tcmodinfo >%{_bindir}/tcxmlcheck >%{_bindir}/tcxpm2rgb >%{_bindir}/tcmp3cut >%{_bindir}/tcrequant >%if %build_pvm >%{_bindir}/tcpvmexportd >%endif >%{_bindir}/tcyait >%{_libdir}/%{name} >%{_mandir}/man1/*
%define build_plf 0 %{?_with_plf: %{expand: %%global build_plf 1}} %if %build_plf %define distsuffix plf %endif %if "%distro_section" == "tainted" %global build_plf 1 %endif %define build_pvm 0 %{?_without_pvm: %{expand: %%global build_pvm 0}} %{?_with_pvm: %{expand: %%global build_pvm 1}} %define build_dv 1 %define build_freetype 1 %define build_quicktime 1 %define build_theora 1 %define build_faac 0 Name: transcode Version: 1.1.7 Release: %mkrel 13 Summary: A linux video stream processing utility License: GPLv2+ Group: Video/Editors and Converters Url: http://tcforge.berlios.de/ Source: https://bitbucket.org/france/transcode-tcforge/downloads/%{name}-%{version}.tar.bz2 Patch0: transcode-1.1.7-ffmpeg.patch Patch1: transcode-1.1.7-ffmpeg-0.10.patch Patch2: transcode-1.1.7-ffmpeg-0.11.patch Patch3: transcode-1.1.7-preset-free.patch Patch4: transcode-1.1.7-libav-9.patch Patch5: transcode-1.1.7-preset-force.patch Patch6: transcode-1.1.7-ffmpeg2.patch Patch7: transcode-1.1.7-freetype.patch Patch8: transcode-1.1.7-ffmpeg2.4.patch Patch9: transcode-1.1.7-ffmpeg3.patch BuildRequires: ImageMagick-devel BuildRequires: SDL-devel BuildRequires: libx11-devel BuildRequires: libxaw-devel BuildRequires: libxext-devel BuildRequires: libxt-devel BuildRequires: libxv-devel BuildRequires: libxpm-devel BuildRequires: alsa-lib-devel BuildRequires: ffmpeg-devel >= 0.4.9 %if %build_dv BuildRequires: libdv-devel >= 0.99 %endif BuildRequires: libdvdread-devel %if %build_freetype BuildRequires: freetype2-devel %endif BuildRequires: libv4l-devel BuildRequires: xvid-devel BuildRequires: x264-devel BuildRequires: liblame-devel BuildRequires: libmjpegtools-devel BuildRequires: liba52dec-devel BuildRequires: liblzo-devel BuildRequires: libnetpbm-devel BuildRequires: libvorbis-devel BuildRequires: libxml2-devel BuildRequires: xpm-devel BuildRequires: libmpeg2dec-devel %if %build_faac BuildRequires: libfaac-devel %endif %if %build_quicktime BuildRequires: libquicktime-devel >= 0.9.3 %endif %if %build_theora BuildRequires: libtheora-devel %endif %if %build_pvm BuildRequires: libpvm-devel >= 3.4 %endif #gw these are requirements of the plf version of libMagick-devel BuildRequires: libjasper-devel BuildRequires: libjbig-devel %description transcode is a text-console video stream processing tool. Decoding and encoding is done by loading shared library modules that are responsible for feeding transcode with raw RGB/PCM streams (import module) and encoding the frames (export module). It supports elementary video and audio frame transformations. Some example modules are included to enable import of MPEG program streams (VOB), Digital Video (DV), or YUV video and export modules for writing DivX;-), OpenDivX, or uncompressed AVI files. A set of tools is available to extract and decode the sources into raw video/audio streams for import and to enable post-processing of AVI files. This package is in tainted as it could violate some patents. %prep %setup -q %apply_patches %build %ifarch %ix86 export CPPFLAGS="$CPPFLAGS -mmmx" %endif %configure2_5x \ --enable-libmpeg2 \ --enable-libmpeg2convert \ --enable-a52-default-decoder \ --with-default-xvid=xvid4 \ %if %build_dv --enable-libdv \ %endif %if %build_pvm --with-pvm3-lib=/usr/share/pvm3/lib/LINUX/ \ %else --disable-pvm3 \ %endif --enable-imagemagick \ --enable-mjpegtools \ --enable-netstream \ --enable-ogg --enable-vorbis \ %if %build_theora --enable-theora \ %endif %if %build_quicktime --enable-libquicktime \ %endif --enable-lzo --with-lzo-includes=%_includedir/lzo \ --enable-libxml2 \ --enable-a52 \ --enable-sdl \ --enable-v4l \ --enable-libv4l2 \ --enable-libv4lconvert \ --enable-libfame \ --enable-oss \ --enable-alsa \ --enable-libpostproc \ %if %{build_faac} --enable-faac \ %endif --enable-deprecated \ %if %build_freetype --enable-freetype2 \ %else --disable-freetype2 \ %endif --enable-xvid \ --enable-x264 \ %make %install %makeinstall transform="" for file in `find %{buildroot} -name "*.la"`; do perl -pi -e 's|'%{buildroot}'/%{name}-%{version}/||g' $file done mv %{buildroot}%{_datadir}/doc/transcode installed-docs %files %doc installed-docs/* %{_bindir}/transcode %{_bindir}/tccat %{_bindir}/aviindex %{_bindir}/avimerge %{_bindir}/avisplit %{_bindir}/tcdemux %{_bindir}/tcprobe %{_bindir}/avifix %{_bindir}/tcscan %{_bindir}/tcextract %{_bindir}/avisync %{_bindir}/tcdecode %{_bindir}/tcmodinfo %{_bindir}/tcxmlcheck %{_bindir}/tcxpm2rgb %{_bindir}/tcmp3cut %{_bindir}/tcrequant %if %build_pvm %{_bindir}/tcpvmexportd %endif %{_bindir}/tcyait %{_libdir}/%{name} %{_mandir}/man1/*
View Attachment As Raw
Actions:
View
Attachments on
bug 16760
:
7007
|
7008
|
7009
| 7010 |
7011