Author: glen Date: Sun Oct 9 14:23:21 2005 GMT Module: SPECS Tag: DEVEL ---- Log message: - configure options revamped (old ones were obsolete) - enable all what possible - use libquicktime for quicktime (quicktime4linux supported afterall?)
---- Files affected: SPECS: transcode.spec (1.77.2.1 -> 1.77.2.2) ---- Diffs: ================================================================ Index: SPECS/transcode.spec diff -u SPECS/transcode.spec:1.77.2.1 SPECS/transcode.spec:1.77.2.2 --- SPECS/transcode.spec:1.77.2.1 Sun Oct 9 14:53:35 2005 +++ SPECS/transcode.spec Sun Oct 9 16:23:15 2005 @@ -1,8 +1,9 @@ # $Revision$, $Date$ # TODO: -# - split plugins into subpackages +# - split plugins into subpackages. (how? splitting criteria? perhaps by external deps, not by functionality (import/export/..?) # - disable building of libraries which exist in system (libdv?,libmpeg2 etc.) # - cmov test is broken, ignores --enable-cmov-extension and tries to read /proc/cpuinfo +# - pvm3 needs recompiled with -fPIC, then it can be used here # # Conditional build: %bcond_without gtk # disable GTK+ dependent stuff @@ -10,13 +11,24 @@ %bcond_without sdl # disable SDL support %bcond_without im # disable imagemagick module %bcond_without libmpeg3 # disable libmpeg3 support -%bcond_without quicktime # disable quicktime support +%bcond_without quicktime # build with quicktime4linux support +%bcond_without jpegmmx # jpeg-mmx +%bcond_without pvm3 # pvm3 + +# no jpeg-mmx there (doesn't compile) +%ifarch amd64 +%undefine with_jpegmmx +%endif +# pvm3 needs recompiled with -fPIC +%ifarch amd64 +%undefine with_pvm3 +%endif # Summary: Video stream converter Summary(pl): Konwerter strumieni video Name: transcode Version: 1.0.1 -Release: 0.1 +Release: 0.3 License: GPL Group: Applications Source0: http://www.jakemsr.com/transcode/%{name}-%{version}.tar.gz @@ -39,6 +51,7 @@ BuildRequires: freetype-devel >= 2.1.2 BuildRequires: glib-devel >= 0.99.7 %{?with_gtk:BuildRequires: gtk+-devel} +%{?with_jpegmmx:BuildRequires: jpeg-mmx} BuildRequires: lame-libs-devel >= 3.89 BuildRequires: libdv-devel >= 0.103 BuildRequires: libdvdread-devel @@ -50,6 +63,7 @@ BuildRequires: libtheora-devel BuildRequires: libtool >= 2:1.5 BuildRequires: libvorbis-devel +BuildRequires: libquicktime-devel BuildRequires: libxml2-devel BuildRequires: lzo-devel BuildRequires: mjpegtools-devel @@ -57,7 +71,7 @@ %ifarch %{ix86} BuildRequires: nasm >= 0.98.34 %endif -%{?with_quicktime:BuildRequires: quicktime4linux-devel >= 1.5.5} +#%{?with_quicktime:BuildRequires: quicktime4linux-devel >= 1.5.5} BuildRequires: xvid-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -92,16 +106,25 @@ #%patch4 -p0 %build +%if 0 %{__libtoolize} %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} +%endif # ac_cv_* to avoid detection of libdivxdecore as divx4linux (leading to errors) # or divx4linux itself (make bcond_with if you want it) %configure \ ac_cv_header_decore_h=no \ ac_cv_header_encore2_h=no \ + --enable-mmx \ + --enable-3dnow \ + --enable-sse \ + --enable-sse2 \ +%ifnarch ppc + --enable-altivec \ +%endif %ifarch ppc --disable-altivec \ %endif @@ -112,44 +135,43 @@ --enable-cmov-extension \ %endif %endif - --with-a52 \ - --with-a52-include=%{_prefix} \ - --with-a52-libs=%{_prefix} \ - --with-avifile-mods \ - --with-avifile-exec-prefix=%{_prefix} \ - --with-dv \ - --with-dv-includes=%{_prefix} \ - --with-dv-libs=%{_prefix} \ - --with-dvdread \ - --with-dvdread-includes=%{_prefix} \ - --with-dvdread-libs=%{_prefix} \ - --with-gtk-prefix=%{_prefix} \ - --with-gtk-exec-prefix=%{_prefix} \ - --with-lame \ - --with-lame-includes=%{_prefix} \ - --with-lame-libs=%{_prefix} \ - --with-libfame-prefix=%{_prefix} \ - --with-libfame-exec-prefix=%{_prefix} \ - --with-libjpeg-mods \ - --with-libmpeg3 \ - --with-libmpeg3-includes=%{_prefix} \ - --with-libmpeg3-libs=%{_prefix} \ - --with-magick-mods \ - --with-magick-exec-prefix=%{_prefix} \ - --with-mod-path=%{_libdir}/transcode \ - --with-ogg \ - --with-ogg-includes=%{_prefix} \ - --with-ogg-libs=%{_prefix} \ - --with-qt \ - --with-qt-includes=%{_prefix} \ - --with-qt-libs=%{_prefix} \ - --with-sdl-prefix=%{_prefix} \ - --with-sdl-exec-prefix=%{_prefix} \ - --with-vorbis \ - --with-vorbis-includes=%{_prefix} \ - --with-vorbis-libs=%{_prefix} \ + --enable-libavcodec \ + --enable-libmpeg2 \ + --enable-statbuffer \ + --enable-netstream \ + --enable-v4l \ + --disable-bktr \ + --disable-sunau \ + --enable-oss \ + --enable-ibp \ + --enable-libpostproc \ + --enable-freetype2 \ + --enable-avifile \ + --enable-lame \ + --enable-ogg \ + --enable-vorbis \ + --enable-theora \ + --enable-libdvdread \ + --%{!?with_pvm3:dis}%{?with_pvm3:en}able-pvm3 \ + --enable-libdv \ + --enable-libquicktime \ + --enable-lzo \ + --enable-a52 \ + --enable-a52-default-decoder \ + --enable-libmpeg3 \ + --enable-libxml2 \ + --enable-mjpegtools \ + --enable-sdl \ + --enable-gtk \ + --enable-libfame \ + --enable-imagemagick \ + --%{!?with_jpegmmx:dis}%{?with_jpegmmx:en}able-libjpegmmx \ + --enable-libjpeg \ + --disable-bsdav \ + --enable-iconv \ + --enable-xio \ --with-x \ - --without-pvm3 + --with-libpostproc-includes=%{_includedir}/postproc %{__make} @@ -160,7 +182,6 @@ DESTDIR=$RPM_BUILD_ROOT install -D avilib/avilib.h $RPM_BUILD_ROOT%{_includedir}/avilib.h -#install -D avilib/libavi.a $RPM_BUILD_ROOT%{_libdir}/libavi.a # duplicate rm -rf $RPM_BUILD_ROOT%{_docdir}/transcode @@ -185,7 +206,6 @@ %defattr(644,root,root,755) %doc avilib/README.avilib %{_includedir}/avilib.h -#%{_libdir}/libavi.a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -193,6 +213,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.77.2.2 2005/10/09 14:23:15 glen +- configure options revamped (old ones were obsolete) +- enable all what possible +- use libquicktime for quicktime (quicktime4linux supported afterall?) + Revision 1.77.2.1 2005/10/09 12:53:35 glen - 1.0.1, not sure about the patches (plz review) ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/transcode.spec?r1=1.77.2.1&r2=1.77.2.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
