Author: charles                      Date: Sun Aug 17 09:04:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- our libx264 is old (and slow), so updated to latest snap; NOTE: new soname
- BR yasm only
- new subpackage -gui; BR: gettext-devel, gtk+2-devel, pkgconfig

---- Files affected:
SPECS:
   libx264.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/libx264.spec
diff -u SPECS/libx264.spec:1.17 SPECS/libx264.spec:1.18
--- SPECS/libx264.spec:1.17     Sun Nov  4 16:21:44 2007
+++ SPECS/libx264.spec  Sun Aug 17 11:04:49 2008
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define                snap    20071008
+%define                snap    20080816
 %define                snaph   2245
 %define                _rel    1
 Summary:       H264 encoder library
@@ -13,14 +13,13 @@
 #Source0:      http://www.acarlab.com/misc-dnlds/%{name}-%{version}.tar.gz
 # but it's too old, so use snapshots...
 Source0:       
ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{snap}-%{snaph}.tar.bz2
-# Source0-md5: b1747dd3c78e83c0d56832ac2e5b83df
+# Source0-md5: 0a188b8e13c62f6a97eba1c5d4ab3a3f
 Patch0:                %{name}-alpha.patch
 URL:           http://www.videolan.org/developers/x264.html
-%ifarch %{ix86}
-BuildRequires: nasm
-%endif
-BuildRequires: sed >= 4.0
-%ifarch %{x8664}
+BuildRequires: gettext-devel
+BuildRequires: gtk+2-devel
+BuildRequires: pkgconfig
+%ifarch %{ix86} %{x8664}
 BuildRequires: yasm >= 0.6.0
 %endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -58,10 +57,18 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka x264.
 
+%package gui
+Summary:       Encoding GUI for x264
+Group:         X11/Applications/Multimedia
+Requires:      %{name} = %{version}-%{release}
+
+%description gui
+Encoding GUI for x264.
+
 %prep
 %setup -q -n x264-snapshot-%{snap}-%{snaph}
-sed -i 's:-O4::g' configure
 %patch0 -p1
+sed -i 's:-O4::g' configure
 
 %build
 CC="%{__cc}" \
@@ -72,6 +79,8 @@
        --includedir=%{_includedir} \
        --libdir=%{_libdir} \
        --extra-cflags="%{rpmcflags}" \
+       --enable-gtk \
+       --enable-pic \
        --enable-shared
 
 %{__make}
@@ -82,6 +91,8 @@
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang x264_gtk
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -104,12 +115,23 @@
 %defattr(644,root,root,755)
 %{_libdir}/libx264.a
 
+%files gui -f x264_gtk.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/x264_gtk_encode
+%attr(755,root,root) %{_libdir}/libx264gtk.so.*
+%{_datadir}/x264
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2008/08/17 09:04:49  charles
+- our libx264 is old (and slow), so updated to latest snap; NOTE: new soname
+- BR yasm only
+- new subpackage -gui; BR: gettext-devel, gtk+2-devel, pkgconfig
+
 Revision 1.17  2007/11/04 15:21:44  qboosh
 - updated URL
 - some recent SSSE3 code needs yasm >= 0.6.0
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libx264.spec?r1=1.17&r2=1.18&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to