SPECS: avidemux.spec - qt4-based interface is ready
sls
sls at pld-linux.org
Mon Mar 31 05:35:06 CEST 2008
Author: sls Date: Mon Mar 31 03:35:06 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- qt4-based interface is ready
---- Files affected:
SPECS:
avidemux.spec (1.61 -> 1.62)
---- Diffs:
================================================================
Index: SPECS/avidemux.spec
diff -u SPECS/avidemux.spec:1.61 SPECS/avidemux.spec:1.62
--- SPECS/avidemux.spec:1.61 Mon Mar 31 05:03:41 2008
+++ SPECS/avidemux.spec Mon Mar 31 05:35:01 2008
@@ -1,10 +1,10 @@
# $Revision$, $Date$
# TODO:
-# - build qt4 interface
# - create aften.spec (aften.sf.net) and use it
#
# Conditional build:
%bcond_with amr # enable 3GPP Adaptive Multi Rate (AMR) speech codec support
+%bcond_with qt # build qt4-base interface
#
Summary: A small audio/video editing software for Linux
Summary(pl.UTF-8): Mały edytor audio/wideo dla Linuksa
@@ -39,10 +39,13 @@
BuildRequires: libmad-devel
BuildRequires: libmpeg3-devel
BuildRequires: libstdc++-devel
+BuildRequires: libtool
BuildRequires: libvorbis-devel
BuildRequires: libx264-devel
BuildRequires: libxml2-devel
BuildRequires: pkgconfig
+%{?with_qt:BuildRequires: QtGui-devel}
+%{?with_qt:BuildRequires: qt4-build}
BuildRequires: sed >= 4.0
BuildRequires: xorg-lib-libXv-devel
BuildRequires: xvid-devel >= 1:1.0
@@ -67,17 +70,22 @@
export kde_htmldir=%{_kdedocdir}
export kde_libs_htmldir=%{_kdedocdir}
%{__make} -f admin/Makefile.common cvs
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__automake}
+%{__autoconf}
%configure \
%{!?with_amr:ac_cv_header_amrnb_interf_dec_h=no} \
--disable-static \
%ifarch ppc
--enable-altivec \
%endif
- --with-jsapi-include=%{_includedir}/js
-# moc-qt4 expected
-# --with-qt-dir=%{_prefix} \
-# --with-qt-include=%{_includedir}/qt4 \
-# --with-qt-lib=%{_libdir}
+ --with-jsapi-include=%{_includedir}/js \
+%if %{with qt}
+ --with-qt-dir=%{_prefix} \
+ --with-qt-include=%{_includedir}/qt4 \
+ --with-qt-lib=%{_libdir}
+%endif
%{__make} -j1 -C po
%{__make}
@@ -102,6 +110,7 @@
%doc AUTHORS History
%attr(755,root,root) %{_bindir}/avidemux2_cli
%attr(755,root,root) %{_bindir}/avidemux2_gtk
+%{?with_qt:%attr(755,root,root) %{_bindir}/avidemux2_qt4}
%{_desktopdir}/*.desktop
%{_pixmapsdir}/*.png
@@ -111,6 +120,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.62 2008-03-31 03:35:01 sls
+- qt4-based interface is ready
+
Revision 1.61 2008-03-31 03:03:41 sls
- rel. 1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/avidemux.spec?r1=1.61&r2=1.62&f=u
More information about the pld-cvs-commit
mailing list