[-]
[+]
|
Changed |
mpeg4ip.spec
|
|
[-]
[+]
|
Added |
mpeg4ip-1.5.0.1-gcc42.patch
^
|
@@ -0,0 +1,18 @@
+--- mpeg4ip-1.5.0.1/common/video/iso-mpeg4/src/type_basic.cpp.orig 2005-05-04 21:56:00.000000000 +0200
++++ mpeg4ip-1.5.0.1/common/video/iso-mpeg4/src/type_basic.cpp 2007-08-03 16:32:14.000000000 +0200
+@@ -317,13 +317,13 @@
+ iHalfY = m_vctTrueHalfPel.y - iMVY * 2;
+ }
+
+-Void CMotionVector::setToZero (Void)
++Void CMotionVector::setToZero ()
+ {
+ memset (this, 0, sizeof (*this));
+ }
+
+ // RRV insertion
+-Void CMotionVector::scaleup (Void)
++Void CMotionVector::scaleup ()
+ {
+ if(m_vctTrueHalfPel.x == 0){
+ m_vctTrueHalfPel_x2.x = 0;
|
[-]
[+]
|
Added |
mpeg4ip.spec.orig
^
|
@@ -0,0 +1,109 @@
+Name: mpeg4ip
+Version: 1.5.0.1
+Release: 4
+Summary: Set of linux video stream processing utilities
+License: MPL
+Group: Video
+Url: http://www.mpeg4ip.net
+Source: http://dl.sourceforge.net/sourceforge/mpeg4ip/%name-%version.tar.gz
+Patch0: mpeg4ip-1.3_configure.patch
+Patch1: mpeg4ip-1.4.1-gcc41.patch
+Patch2: mpeg4ip-1.4.1-x264r48.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: gcc-c++ id3lib-devel nasm pkgconfig SDL-devel mad-devel a52dec libmpeg2 libmpeg2-devel xvid-devel lame libx264-devel >= 0.0svn20060728 esound-devel libvorbis-devel glib2-devel gtk2-devel
+%if %suse_version < 1000
+BuildRequires: slang-devel
+%endif
+
+%if %suse_version < 1000 && %suse_version > 910
+BuildRequires: xorg-x11-devel
+%endif
+
+%if %suse_version <= 910
+BuildRequires: XFree86-libs XFree86-devel
+%endif
+
+%description
+The MPEG4IP project provides a standarts-based system
+for encoding, streaming and playing encoded auido and video.
+This package contains libraries of the MPEG4IP project.
+
+%package -n libmp4v2
+Group: System/Libraries
+Summary: MPEG4v2 library
+
+%description -n libmp4v2
+MPEG4v2 library
+
+%package -n libmp4v2-devel
+Group: System/Libraries
+Summary: Files needed for development with libmp4v2
+Requires: libmp4v2 = %{version} SDL-devel
+
+%description -n libmp4v2-devel
+Files needed for development with libmp4v2
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./bootstrap \
+ --prefix=%_prefix \
+ --libdir=%_libdir \
+ --mandir=%_mandir \
+ --disable-player
+
+make
+
+%install
+make DESTDIR="%{buildroot}" install
+
+%files
+%defattr(-, root, root)
+# utilitys
+%_bindir/mp4creator
+%_bindir/mp4info
+%_bindir/mp4dump
+%_bindir/mp4trackdump
+%_bindir/mp4tags
+%_bindir/mp4art
+%_bindir/mp4videoinfo
+# encoding tools
+%_bindir/lboxcrop
+%_bindir/rgb2yuv
+%_bindir/avi2raw
+# debugging tools
+%_bindir/avidump
+%_bindir/mpeg4vol
+%_bindir/mpeg2video_parse
+%_bindir/h264_parse
+# unknown
+%_bindir/mp4extract
+%_bindir/mpeg_ps_extract
+%_bindir/mpeg_ps_info
+# server
+%_bindir/mp4live
+%_mandir/man1/
+
+%files -n libmp4v2
+%defattr(-, root, root)
+%_libdir/*.so.*
+
+%files -n libmp4v2-devel
+%defattr(-, root, root)
+%_mandir/man3/*
+%_mandir/manm/*
+%_libdir/*.la
+%_bindir/mpeg4ip-config
+%_libdir/*.so
+%_includedir/*
+%_libdir/*.a
+
+%changelog
+* Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com>
+- import for SLE_10 build
+
|