From b441d15c46a6784ff0e031400e74d115aadf9ac0 Mon Sep 17 00:00:00 2001 From: lesibel Date: Fri, 13 Nov 2009 18:52:54 +0100 Subject: Ajout de avidemux#2.5.1-1 --- extra/avidemux/.footprint | 59 ++++++++++++++++++++++++++++++++++ extra/avidemux/.md5sum | 2 ++ extra/avidemux/Pkgfile | 24 ++++++++++++++ extra/avidemux/avidemux-2.5-i18n.patch | 40 +++++++++++++++++++++++ 4 files changed, 125 insertions(+) create mode 100644 extra/avidemux/.footprint create mode 100644 extra/avidemux/.md5sum create mode 100644 extra/avidemux/Pkgfile create mode 100644 extra/avidemux/avidemux-2.5-i18n.patch diff --git a/extra/avidemux/.footprint b/extra/avidemux/.footprint new file mode 100644 index 000000000..23a3237ca --- /dev/null +++ b/extra/avidemux/.footprint @@ -0,0 +1,59 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/avidemux2_cli +-rwxr-xr-x root/root usr/bin/avidemux2_gtk +-rwxr-xr-x root/root usr/bin/avidemux2_qt4 +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libADM5avcodec.so.52 +-rw-r--r-- root/root usr/lib/libADM5avformat.so.52 +-rw-r--r-- root/root usr/lib/libADM5avutil.so.50 +-rw-r--r-- root/root usr/lib/libADM5postproc.so.51 +-rw-r--r-- root/root usr/lib/libADM5swscale.so.0 +-rwxr-xr-x root/root usr/lib/libADM_UICli.so +-rwxr-xr-x root/root usr/lib/libADM_UIGtk.so +-rwxr-xr-x root/root usr/lib/libADM_UIQT4.so +-rwxr-xr-x root/root usr/lib/libADM_core.so +-rwxr-xr-x root/root usr/lib/libADM_coreAudio.so +-rwxr-xr-x root/root usr/lib/libADM_coreImage.so +-rwxr-xr-x root/root usr/lib/libADM_coreUI.so +-rwxr-xr-x root/root usr/lib/libADM_render_cli.so +-rwxr-xr-x root/root usr/lib/libADM_render_gtk.so +-rwxr-xr-x root/root usr/lib/libADM_render_qt4.so +-rwxr-xr-x root/root usr/lib/libADM_smjs.so +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/ADM_scripts/ +drwxr-xr-x root/root usr/share/ADM_scripts/auto/ +drwxr-xr-x root/root usr/share/ADM_scripts/auto/Apple/ +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Apple/Apple iPhone.js +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Apple/Apple iPod 5.5G.js +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Apple/Apple iPod.js +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Microsoft Zune.js +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Sony PlayStation Portable.js +drwxr-xr-x root/root usr/share/ADM_scripts/video/ +-rw-r--r-- root/root usr/share/ADM_scripts/video/autoWizard.js +-rw-r--r-- root/root usr/share/ADM_scripts/video/filter.js +-rw-r--r-- root/root usr/share/ADM_scripts/video/functions.js +drwxr-xr-x root/root usr/share/avidemux/ +drwxr-xr-x root/root usr/share/avidemux/i18n/ +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_ca.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_cs.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_de.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_el.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_es.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_fr.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_it.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_ja.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_pt_BR.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_ru.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_sr.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_sr@latin.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_tr.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_zh_TW.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/qt_cs.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/qt_fr.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/qt_it.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/qt_zh_TW.qm +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/avidemux.mo diff --git a/extra/avidemux/.md5sum b/extra/avidemux/.md5sum new file mode 100644 index 000000000..e8c25c39e --- /dev/null +++ b/extra/avidemux/.md5sum @@ -0,0 +1,2 @@ +0adb7cee81e06bfc454baf1d8fbcdd64 avidemux-2.5-i18n.patch +081db3af87f1f93c7b4e5d5975e07e40 avidemux_2.5.1.tar.gz diff --git a/extra/avidemux/Pkgfile b/extra/avidemux/Pkgfile new file mode 100644 index 000000000..2b7b93c21 --- /dev/null +++ b/extra/avidemux/Pkgfile @@ -0,0 +1,24 @@ +# Description: Editeur Video +# URL: http://fixounet.free.fr/avidemux/ +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: faac, lame, libsdl, libvorbis, libxvid, libxv, libxml2, sdl + +name=avidemux +version=2.5.1 +release=1 +source=(http://download.berlios.de/avidemux/avidemux_$version.tar.gz avidemux-2.5-i18n.patch) + +build() +{ + cd ${name}_${version} + patch -p1 < ../avidemux-2.5-i18n.patch + mkdir build + cd build + cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D NO_GTK=0 -D NO_QT4=0 .. + make + make DESTDIR=$PKG install +} + + + diff --git a/extra/avidemux/avidemux-2.5-i18n.patch b/extra/avidemux/avidemux-2.5-i18n.patch new file mode 100644 index 000000000..b36d484fc --- /dev/null +++ b/extra/avidemux/avidemux-2.5-i18n.patch @@ -0,0 +1,40 @@ +diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp +--- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2009-07-11 21:12:49.000000000 -0400 ++++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2009-07-11 21:14:03.000000000 -0400 +@@ -73,7 +73,7 @@ + #ifdef __APPLE__ + QString appdir = QCoreApplication::applicationDirPath() + "/../Resources/locale/"; + #else +- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/"; ++ QString appdir = "/usr/share/avidemux/i18n/"; + #endif + + loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name()); +@@ -164,4 +164,4 @@ + } + + return "Qt"; +-} +\ No newline at end of file ++} +diff -Naur avidemux_2.5.0.orig/cmake/Ts.cmake avidemux_2.5.0/cmake/Ts.cmake +--- avidemux_2.5.0.orig/cmake/Ts.cmake 2009-07-11 21:12:51.000000000 -0400 ++++ avidemux_2.5.0/cmake/Ts.cmake 2009-07-11 21:22:34.000000000 -0400 +@@ -64,7 +64,7 @@ + + SET(qm_files ${qm_files} ${_outXml} ${_out}) + +- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n") ++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n") + ENDFOREACH(ts_input ${ts_files}) + + SET(${_sources} ${${_sources}} ${qm_files}) +@@ -95,7 +95,7 @@ + + SET(qm_files ${qm_files} ${_out}) + +- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n") ++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n") + ENDFOREACH(ts_input ${ts_files}) + + SET(${_sources} ${${_sources}} ${qm_files}) -- cgit v1.2.3-70-g09d2