ALT Linux Bugzilla
– Attachment 3438 Details for
Bug 19586
Qt GUI
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
avidemux.spec.patch
avidemux.spec.patch (text/plain), 3.67 KB, created by
Zerg
on 2009-04-12 15:02:52 MSD
(
hide
)
Description:
avidemux.spec.patch
Filename:
MIME Type:
Creator:
Zerg
Created:
2009-04-12 15:02:52 MSD
Size:
3.67 KB
patch
obsolete
>--- avidemux.spec~ 2009-03-21 11:37:56 +0300 >+++ avidemux.spec 2009-04-12 14:58:41 +0400 >@@ -3,7 +3,7 @@ > > Name: avidemux > Version: 2.4.4 >-Release: alt1 >+Release: alt1.0.6 > > Summary: Avidemux is a graphical AVI files editor > Summary(ru_RU.KOI8-R): Avidemux -- ÜÔÏ ÒÅÄÁËÔÏÒ AVI-ÆÁÊÌÏ× Ó ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ >@@ -21,6 +21,8 @@ Source2: %name.desktop > > Patch: %name-2.0.34-test2-alt-gettext.patch > Patch1: avidemux-pld-x264.patch >+Patch2: avidemux_2.4.4-alt-i18n-qm-path.patch >+Patch3: avidemux_2.4.4-alt-libdts.patch > > %define xvid_ver 1.0.2 > %define mjpegtools_ver 1.6.1.90 >@@ -28,6 +30,7 @@ Patch1: avidemux-pld-x264.patch > Obsoletes: avidemux2 > Provides: avidemux2 = %version-%release > >+Requires: %name-qui = %version-%release > Requires: xvid >= %xvid_ver > BuildPreReq: xvid-devel >= %xvid_ver > BuildPreReq: mjpegtools-devel >= %mjpegtools_ver >@@ -35,6 +38,7 @@ BuildPreReq: mjpegtools-devel >= %mjpegt > # manual removed: gcc-java imake xorg-cf-files > # Automatically added by buildreq on Tue Jul 15 2008 > BuildRequires: gcc-c++ libSDL-devel libXt-devel libXv-devel libaften-devel libdca-devel libfaac-devel libfaad-devel libgtk+2-devel liblame-devel libqt4-devel libx264-devel libxml2-devel libxvid-devel >+BuildRequires: cmake libqt4-devel kde-common-devel rpm-macros-alternatives > > #BuildRequires: seamonkey-devel > #BuildRequires: firefox firefox-devel >@@ -54,6 +58,35 @@ Avidemux -- ÜÔÏ ÒÅÄÁËÔÏÒ AVI-ÆÁÊÌÏ× Ó ÇÒ > É ÄÏÂÁ×ÌÑÔØ Ë ÎÉÍ Ú×ÕËÏ×ÕÀ ÄÏÒÏÖËÕ, Á ÚÁÔÅÍ ËÏÄÉÒÏ×ÁÔØ × ÆÁÊÌÙ ÓÖÁÔÙÈ > ÆÏÒÍÁÔÏ×. > >+%package gui-qt >+Group: Video >+Summary: Qt GUI for %name >+PreReq(post,preun): alternatives >= 0.2 >+Requires: %name-common = %version-%release >+Provides: %name-qui = %version-%release >+Conflicts: %name <= 2.4.4-alt1 >+%description gui-qt >+Qt GUI for %name >+ >+%package gui-gtk >+Group: Video >+Summary: GTK GUI for %name >+PreReq(post,preun): alternatives >= 0.2 >+Requires: %name-common = %version-%release >+Provides: %name-qui = %version-%release >+Conflicts: %name <= 2.4.4-alt1 >+%description gui-gtk >+GTK GUI for %name >+ >+%package common >+Group: Video >+Summary: Common files for %name >+PreReq(post,preun): alternatives >= 0.2 >+Provides: %name-qui = %version-%release >+Conflicts: %name <= 2.4.4-alt1 >+%description common >+Common files for %name >+ > %prep > %ifdef pre > %setup -q -n %{name}_%version%pre >@@ -61,24 +94,32 @@ Avidemux -- ÜÔÏ ÒÅÄÁËÔÏÒ AVI-ÆÁÊÌÏ× Ó ÇÒ > %setup -q > %endif > #patch1 -p1 >+%patch2 -p1 >+%patch3 -p1 > > %build >-make -f Makefile.dist >-%configure \ >- --with-jsapi-include=%_includedir/xulrunner/stable/ \ >- --x-libraries="%_x11libdir" \ >- --without-esd --without-arts \ >- --disable-warnings >-# non-SMP build due po dir in hasher >-%make_build || %make >+%K4cmake \ >+ -DUSE_ARTS:BOOL=FALSE \ >+ -DUSE_ESD:BOOL=FALSE >+%K4make > > %install >-%makeinstall_std >+%K4install > > install -pD -m644 %SOURCE1 %buildroot%_pixmapsdir/%name.png > install -pD -m644 %SOURCE2 %buildroot%_desktopdir/%name.desktop > ln -s avidemux2_gtk %buildroot%_bindir/%name > >+mkdir -p %buildroot/%_altdir >+WEIGHT=10 >+for i in cli gtk qt4 >+do >+cat >%buildroot/%_altdir/%{name}_$i<<EOF >+%_bindir/%name %_bindir/%{name}2_$i $WEIGHT >+EOF >+((WEIGHT+=10)) >+done >+ > %find_lang %name > > %post >@@ -87,12 +128,23 @@ ln -s avidemux2_gtk %buildroot%_bindir/% > %postun > %clean_menus > >-%files -f %name.lang >-%_bindir/%name >-%_bindir/avidemux2_cli >+%files >+%_desktopdir/%name.desktop >+ >+%files gui-gtk -f %name.lang > %_bindir/avidemux2_gtk >+%_altdir/avidemux_gtk >+ >+%files gui-qt >+%_bindir/avidemux2_qt4 >+%_altdir/avidemux_qt4 >+%_datadir/qt4/translations/avidemux_*.qm >+ >+%files common >+%ghost %_bindir/%name >+%_bindir/avidemux2_cli >+%_altdir/avidemux_cli > %_pixmapsdir/* >-%_desktopdir/%name.desktop > > %changelog > * Sat Mar 21 2009 Vitaly Lipatov <lav@altlinux.ru> 2.4.4-alt1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19586
: 3438 |
3439
|
3440
|
3441