Projects
Multimedia
transcode
transcode.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File transcode.spec of Package transcode (Revision 17)
Currently displaying revision
17
,
Show latest
# # spec file for package transcode # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define subver %{nil} %bcond_without a52 %bcond_without imagemagick %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_without v4l %bcond_without vorbis %bcond_without libpostproc %bcond_without freetype2 %bcond_without xvid %bcond_without x264 %bcond_with pvm3 %bcond_without libmpeg2 %bcond_without alsa %bcond_without avifile %bcond_without ibp %bcond_without libmpeg3 %bcond_without xio Name: transcode Version: 1.1.7 Release: 0 Summary: A linux video stream processing utility Summary(de): Das Schweizer Taschenmesser der Videobearbeitung License: GPL-2.0+ Group: Productivity/Multimedia/Other Url: https://bitbucket.org/france/transcode-tcforge/overview Source: %{name}-%{version}.tar.bz2 Source2: export_dvraw.c # Fix 64 bit portability issue in export_ffmpeg.c Patch1: transcode-fix-64bit-portability.patch # http://article.gmane.org/gmane.comp.video.transcode.user/18434 # http://article.gmane.org/gmane.comp.video.transcode.user/18381 # http://article.gmane.org/gmane.comp.video.transcode.user/18446 # Gentoo Patch0: transcode-export_ffmpeg.patch Patch10: transcode-1.1.7-ffmpeg.patch Patch11: transcode-1.1.7-ffmpeg-0.10.patch Patch12: transcode-1.1.7-ffmpeg-0.11.patch Patch13: transcode-1.1.7-preset-free.patch Patch14: transcode-1.1.7-libav-9.patch Patch15: transcode-1.1.7-preset-force.patch Patch16: transcode-1.1.7-ffmpeg2.patch Patch17: transcode-1.1.7-freetype251.patch # ALTLinux patches Patch18: transcode-1.1.7-libav-10.patch Patch98: transcode-1.1.5-textrel.patch BuildRequires: libtool BuildRequires: faac-devel BuildRequires: glibc-devel BuildRequires: imake BuildRequires: ImageMagick-devel BuildRequires: alsa-devel BuildRequires: liba52-devel BuildRequires: libjpeg-devel BuildRequires: libmp3lame-devel BuildRequires: libtwolame-devel BuildRequires: lzo-devel BuildRequires: mjpegtools-devel BuildRequires: libmpeg2-devel BuildRequires: libnetpbm-devel BuildRequires: libpng-devel BuildRequires: pkgconfig(libpostproc) = 53.3.100 BuildRequires: x264-devel >= 0.66 BuildRequires: xvid-devel BuildRequires: xorg-cf-files BuildRequires: pkgconfig(libavcodec) = 56.60.100 BuildRequires: pkgconfig(libavformat) = 56.40.101 BuildRequires: pkgconfig(libavresample) = 2.1.0 BuildRequires: pkgconfig(libpostproc) = 53.3.100 BuildRequires: pkgconfig(libswscale) = 3.1.101 BuildRequires: pkgconfig(libdv) BuildRequires: pkgconfig(dvdread) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libquicktime) BuildRequires: pkgconfig(libv4l1) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libv4lconvert) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(theoradec) BuildRequires: pkgconfig(theoraenc) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbisenc) BuildRequires: pkgconfig(vorbisfile) BuildRequires: pkgconfig(xaw6) BuildRequires: pkgconfig(xaw7) BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(xv) %description transcode is a linux text-console utility for video stream processing. Decoding and encoding is done by loading modules that are responsible for feeding transcode with raw video/audio streams (import modules) and encoding the frames (export modules). It supports elementary video and audio frame transformations, including de-interlacing or fast resizing of video frames and loading of external filters. A number of modules are included to enable import of DVDs on-the-fly, MPEG elementary (ES) or program streams (VOB), MPEG video, Digital Video (DV), YUV4MPEG streams, NuppelVideo file format and raw or compressed (pass-through) video frames and export modules for writing DivX;-), OpenDivX, DivX 4.xx or uncompressed AVI files with MPEG, AC3 (pass-through) or PCM audio. Additional export modules to write single frames (PPM) or YUV4MPEG streams are available, as well as an interface import module to the avifile library. It's modular concept is intended to provide flexibility and easy user extensibility to include other video/audio codecs or filetypes. A set of tools is included to demux (tcdemux), extract (tcextract) and decode (tcdecode) the sources into raw video/audio streams for import, probing (tcprobe) and scanning (tcscan) your sources and to enable post-processing of AVI files, fixing AVI file header information (avifix), merging multiple files (avimerge) or splitting large AVI files (avisplit) to fit on a CD. %description -l de Videokonverter mit sehr vielen input/output und filter plugins, kann auch zum encodieren von dvd's genutzt werden. %prep %setup -q -n %{name}-%{version}%{subver} # install -m644 %{SOURCE2} filter/ %patch0 %patch10 %patch11 %patch12 %patch13 %patch14 %patch15 %patch16 -p1 %patch17 -p1 # %patch18 -p1 %patch98 -p2 # %patch1 #%%autoreconf %build autoreconf -fi export CFLAGS="%{optflags} -Wno-implicit-function-declaration" %define optflags $CFLAGS %configure --enable-experimental \ --enable-deprecated \ --disable-x86-textrels \ --enable-mmx \ --enable-a52 \ %if %{with a52} --enable-a52 \ %endif --enable-avifile \ --enable-imagemagick \ --enable-libdv \ --enable-libdvdread \ %if 1 == 0 #%%{with libfame} --with-libfame-libs=%{_libexecdir} \ --enable-libfame \ %endif --enable-libjpeg \ --enable-lame \ --enable-libquicktime \ --enable-libxml2 \ --enable-lzo \ --enable-mjpegtools \ --enable-ffmpeg \ --enable-ogg \ --enable-sdl \ --enable-theora \ %if %{with v4l} --enable-v4l \ --enable-libv4l2 \ --enable-libv4lconvert \ %endif --enable-vorbis \ --enable-libpostproc \ --enable-alsa \ --enable-xvid \ --enable-x264 \ %ifarch %ix86 x86_64 --enable-nuv \ %endif %if %{with libmpeg2} --enable-libmpeg2 \ --enable-libmpeg2convert \ %endif --enable-freetype2 \ --enable-faac # make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print rm -rf %{buildroot}%{_datadir}/doc/%{name} rm -rf %{buildroot}%{_docdir}/%{name}/man docs/man rm -f %{buildroot}%{_bindir}/pvmgs find docs/ -name 'Makefile*' -print -delete rm -f docs/tcmkmodhelp.py rm -f docs/make-filter-man.sh rm -f docs/make-import-man.sh find docs/ -name tcindent.sh -print -exec chmod 0644 {} \; %files %defattr(-,root,root) %{_bindir}/avifix %{_bindir}/aviindex %{_bindir}/avimerge %{_bindir}/avisplit %{_bindir}/avisync %{_bindir}/tccat %{_bindir}/tcdecode %{_bindir}/tcdemux %{_bindir}/tcexport %{_bindir}/tcextract %{_bindir}/tcmodchain %{_bindir}/tcmodinfo %{_bindir}/tcmp3cut %{_bindir}/tcprobe %{_bindir}/tcrequant %{_bindir}/tcscan %{_bindir}/tcxmlcheck %{_bindir}/tcxpm2rgb %{_bindir}/tcyait %{_bindir}/transcode %{_libdir}/%{name}/ %{_mandir}/man1/* %{_datadir}/%{name}/ %doc AUTHORS COPYING ChangeLog README TODO docs/* %changelog
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
.