diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-07-28 19:16:54 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-07-28 19:16:54 +0000 |
commit | 14400fc139ace350b026db0266c00a765222101e (patch) | |
tree | af4f8371f99f04471f065be4d8293b41f4d14627 /multimedia/smile | |
parent | 2f3639dae6435454074bdf9b1920afaead311f37 (diff) | |
download | ports-14400fc139ace350b026db0266c00a765222101e.tar.gz ports-14400fc139ace350b026db0266c00a765222101e.zip |
Notes
Diffstat (limited to 'multimedia/smile')
-rw-r--r-- | multimedia/smile/Makefile | 54 | ||||
-rw-r--r-- | multimedia/smile/distinfo | 3 | ||||
-rw-r--r-- | multimedia/smile/files/patch-mainfrm.cpp | 14 | ||||
-rw-r--r-- | multimedia/smile/files/smile.sh.in | 4 | ||||
-rw-r--r-- | multimedia/smile/pkg-descr | 3 | ||||
-rw-r--r-- | multimedia/smile/pkg-plist | 137 |
6 files changed, 215 insertions, 0 deletions
diff --git a/multimedia/smile/Makefile b/multimedia/smile/Makefile new file mode 100644 index 000000000000..03a18a99fa8b --- /dev/null +++ b/multimedia/smile/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: smile +# Date created: Mer 06 Jul 2008 23:44:00 CET +# Whom: Diego Depaoli <trebestie@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= smile +PORTVERSION= 0.3.2 +CATEGORIES= multimedia kde +MASTER_SITES= http://www.mandrivalinux-online.eu/smile/ \ + http://www.amdmi3.ru/distfiles/ \ + ${MASTER_SITE_LOCAL:S|%SUBDIR%|amdmi3|} + +MAINTAINER= trebestie@gmail.com +COMMENT= Slideshow Maker in Linux Environment + +RUN_DEPENDS= sox>=14.0:${PORTSDIR}/audio/sox \ + mencoder:${PORTSDIR}/multimedia/mencoder \ + mplayer:${PORTSDIR}/multimedia/mplayer + +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build gui corelib rcc_build moc_build uic_build \ + opengl + +MAKE_ENV+= QTDIR=${QT_PREFIX} +WRKSRC= ${WRKDIR}/${PORTNAME} + +SUB_FILES= smile.sh + +DESKTOP_ENTRIES="Smile" \ + "Slideshow Maker in Linux environment" \ + "smile.png" \ + "smile" \ + "Application;AudioVideo;" \ + false + +post-patch: + @${REINPLACE_CMD} -e 's|bash|sh|g' ${WRKSRC}/mainfrm.cpp + @${RM} -f ${WRKSRC}/ui_*.h ${WRKSRC}/moc_*.cpp ${WRKSRC}/qrc_*.cpp + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC} smile.pro + +do-install: + ${MKDIR} ${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "BIB_ManSlide Interface" ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/*.qm ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/Interface/Theme/smile.png ${PREFIX}/share/pixmaps/smile.png + ${INSTALL_PROGRAM} ${WRKSRC}/smile ${DATADIR}/ + ${LN} -fs smile_en.qm ${DATADIR}/smile.qm + ${INSTALL_SCRIPT} ${WRKDIR}/smile.sh ${PREFIX}/bin/smile + +.include <bsd.port.mk> diff --git a/multimedia/smile/distinfo b/multimedia/smile/distinfo new file mode 100644 index 000000000000..5f9d8fc1a78c --- /dev/null +++ b/multimedia/smile/distinfo @@ -0,0 +1,3 @@ +MD5 (smile-0.3.2.tar.gz) = a9a9ed749b55b30550abb883aad9d264 +SHA256 (smile-0.3.2.tar.gz) = 4c40ae67c54b6b10dc04ff754b669f6e2d02e184a90bfe5a61eade3433639349 +SIZE (smile-0.3.2.tar.gz) = 3187837 diff --git a/multimedia/smile/files/patch-mainfrm.cpp b/multimedia/smile/files/patch-mainfrm.cpp new file mode 100644 index 000000000000..b04bb5932aa4 --- /dev/null +++ b/multimedia/smile/files/patch-mainfrm.cpp @@ -0,0 +1,14 @@ +--- mainfrm.cpp 2008-07-06 23:36:59.000000000 +0200 ++++ mainfrm.cpp.new 2008-07-06 23:38:27.000000000 +0200 +@@ -815,9 +815,9 @@ + QString program = "cp"; + QStringList arguments; + ispreview = 4; +- arguments << "-r"; ++ arguments << "-R"; + arguments << "-f"; +- arguments << QApplication::applicationDirPath() + "/BIB_ManSlide/"; ++ arguments << QApplication::applicationDirPath() + "/BIB_ManSlide"; + arguments << tempfolder->text(); + myprocess_9.start( program, arguments ); + // diff --git a/multimedia/smile/files/smile.sh.in b/multimedia/smile/files/smile.sh.in new file mode 100644 index 000000000000..93e5a8d0ee45 --- /dev/null +++ b/multimedia/smile/files/smile.sh.in @@ -0,0 +1,4 @@ +#!/bin/sh + +cd %%DATADIR%% || exit 1 +exec ./smile diff --git a/multimedia/smile/pkg-descr b/multimedia/smile/pkg-descr new file mode 100644 index 000000000000..31d387d74585 --- /dev/null +++ b/multimedia/smile/pkg-descr @@ -0,0 +1,3 @@ +Smile - Slideshow Maker in Linux Environment + +WWW: http://www.kde-apps.org/content/show.php/SMILE?content=83276 diff --git a/multimedia/smile/pkg-plist b/multimedia/smile/pkg-plist new file mode 100644 index 000000000000..e6941d53cd82 --- /dev/null +++ b/multimedia/smile/pkg-plist @@ -0,0 +1,137 @@ +bin/smile +share/pixmaps/smile.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Recouvrement_haut.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Recouvrement_droite.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Zigzag_001.png +%%DATADIR%%/BIB_ManSlide/Luma/Spirale_001.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Spirale_001.png +%%DATADIR%%/BIB_ManSlide/Luma/Recouvrement_bandes_horizontales.png +%%DATADIR%%/BIB_ManSlide/Luma/Recouvrement_bas.png +%%DATADIR%%/BIB_ManSlide/Luma/Etoile_002.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Rond_001.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Recouvrement_bandes_horizontales.png +%%DATADIR%%/BIB_ManSlide/Luma/Zigzag_002.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Etoile_001.png +%%DATADIR%%/BIB_ManSlide/Luma/Rond_002.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Recouvrement_bas.png +%%DATADIR%%/BIB_ManSlide/Luma/Points_001.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Recouvrement_gauche.png +%%DATADIR%%/BIB_ManSlide/Luma/Rond_001.png +%%DATADIR%%/BIB_ManSlide/Luma/Recouvrement_gauche.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Etoile_002.png +%%DATADIR%%/BIB_ManSlide/Luma/Etoile_001.png +%%DATADIR%%/BIB_ManSlide/Luma/Spirale_002.png +%%DATADIR%%/BIB_ManSlide/Luma/Recouvrement_haut.png +%%DATADIR%%/BIB_ManSlide/Luma/Recouvrement_droite.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Points_001.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Rond_002.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Zigzag_002.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Spirale_002.png +%%DATADIR%%/BIB_ManSlide/Luma/Zigzag_001.png +%%DATADIR%%/BIB_ManSlide/Eff_sup/bulle_002.mng +%%DATADIR%%/BIB_ManSlide/Eff_sup/felix.gif +%%DATADIR%%/BIB_ManSlide/Eff_sup/bulle_001.mng +%%DATADIR%%/BIB_ManSlide/Luma/Damier_003.png +%%DATADIR%%/BIB_ManSlide/Luma/Damier_002.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Damier_001.png +%%DATADIR%%/BIB_ManSlide/Luma/Damier_001.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Damier_002.png +%%DATADIR%%/BIB_ManSlide/Luma/MINI_Damier_003.png +%%DATADIR%%/Interface/Theme/1leftarrow.png +%%DATADIR%%/Interface/Theme/mini_p_v.png +%%DATADIR%%/Interface/Theme/player_stop.png +%%DATADIR%%/Interface/Theme/mini_cube.png +%%DATADIR%%/Interface/Theme/mask_close.png +%%DATADIR%%/Interface/Theme/format_text_italic.png +%%DATADIR%%/Interface/Theme/mini_f_s.png +%%DATADIR%%/Interface/Theme/contrast.png +%%DATADIR%%/Interface/Theme/eraser.png +%%DATADIR%%/Interface/Theme/zoom_in.png +%%DATADIR%%/Interface/Theme/player_mask_play.png +%%DATADIR%%/Interface/Theme/mini_window.png +%%DATADIR%%/Interface/Theme/crossfade.png +%%DATADIR%%/Interface/Theme/insert_text.png +%%DATADIR%%/Interface/Theme/trash_empty.png +%%DATADIR%%/Interface/Theme/frame_image.png +%%DATADIR%%/Interface/Theme/fonts.png +%%DATADIR%%/Interface/Theme/bookmark.png +%%DATADIR%%/Interface/Theme/2downarrow.png +%%DATADIR%%/Interface/Theme/mini_f_a.png +%%DATADIR%%/Interface/Theme/audio_screen.png +%%DATADIR%%/Interface/Theme/flag_green.png +%%DATADIR%%/Interface/Theme/player_play.png +%%DATADIR%%/Interface/Theme/underconstruction.png +%%DATADIR%%/Interface/Theme/color_M.png +%%DATADIR%%/Interface/Theme/preferences_other.png +%%DATADIR%%/Interface/Theme/camera_photo.png +%%DATADIR%%/Interface/Theme/signature.png +%%DATADIR%%/Interface/Theme/document_new.png +%%DATADIR%%/Interface/Theme/selection.png +%%DATADIR%%/Interface/Theme/frame_edit.png +%%DATADIR%%/Interface/Theme/window_close.png +%%DATADIR%%/Interface/Theme/flag_red.png +%%DATADIR%%/Interface/Theme/editpaste.png +%%DATADIR%%/Interface/Theme/1rightarrow.png +%%DATADIR%%/Interface/Theme/diapositive.png +%%DATADIR%%/Interface/Theme/format_stroke_color.png +%%DATADIR%%/Interface/Theme/transform_move.png +%%DATADIR%%/Interface/Theme/run.png +%%DATADIR%%/Interface/Theme/color_B.png +%%DATADIR%%/Interface/Theme/document_save.png +%%DATADIR%%/Interface/Theme/color_J.png +%%DATADIR%%/Interface/Theme/color_R.png +%%DATADIR%%/Interface/Theme/player_start.png +%%DATADIR%%/Interface/Theme/rotateY.png +%%DATADIR%%/Interface/Theme/colorwheel.png +%%DATADIR%%/Interface/Theme/image.png +%%DATADIR%%/Interface/Theme/smile_splash.png +%%DATADIR%%/Interface/Theme/document_open.png +%%DATADIR%%/Interface/Theme/rotate.png +%%DATADIR%%/Interface/Theme/insertion.gif +%%DATADIR%%/Interface/Theme/preferences_system.png +%%DATADIR%%/Interface/Theme/filesaveas.png +%%DATADIR%%/Interface/Theme/zoom_out.png +%%DATADIR%%/Interface/Theme/copy.png +%%DATADIR%%/Interface/Theme/color_C.png +%%DATADIR%%/Interface/Theme/mini_p_h.png +%%DATADIR%%/Interface/Theme/reload.png +%%DATADIR%%/Interface/Theme/applications_graphics.png +%%DATADIR%%/Interface/Theme/text_speak.png +%%DATADIR%%/Interface/Theme/player_end.png +%%DATADIR%%/Interface/Theme/rotateX.png +%%DATADIR%%/Interface/Theme/comment.png +%%DATADIR%%/Interface/Theme/mini_book.png +%%DATADIR%%/Interface/Theme/color_V.png +%%DATADIR%%/Interface/Theme/lightbulb.png +%%DATADIR%%/Interface/Theme/fileimport.png +%%DATADIR%%/Interface/Theme/chronometer.png +%%DATADIR%%/Interface/Theme/mini_plaque.png +%%DATADIR%%/Interface/Theme/folder.png +%%DATADIR%%/Interface/Theme/smile.png +%%DATADIR%%/Interface/Theme/button_ok.png +%%DATADIR%%/Interface/Theme/format_text_bold.png +%%DATADIR%%/Interface/Theme/rotateZ.png +%%DATADIR%%/Interface/Theme/tip.png +%%DATADIR%%/Interface/Theme/plasmagik.png +%%DATADIR%%/Interface/Theme/coeur.png +%%DATADIR%%/Interface/Theme/fleur.png +%%DATADIR%%/Interface/Theme/forme_thum.png +%%DATADIR%%/Interface/Theme/lune.png +%%DATADIR%%/Interface/Theme/mask_thum.png +%%DATADIR%%/Interface/Theme/stock-tool-paintbrush-16.png +%%DATADIR%%/Interface/Theme/stock-tool-eraser-22.png +%%DATADIR%%/Interface/Theme/nuage.png +%%DATADIR%%/Interface/Theme/nullpixmap.png +%%DATADIR%%/Interface/Theme/puzzle.png +%%DATADIR%%/Interface/Theme/soleil.png +%%DATADIR%%/Interface/Theme/star.png +%%DATADIR%%/smile +%%DATADIR%%/smile.qm +%%DATADIR%%/smile_en.qm +%%DATADIR%%/smile_it.qm +@dirrm %%DATADIR%%/BIB_ManSlide/Eff_sup +@dirrm %%DATADIR%%/BIB_ManSlide/Luma +@dirrm %%DATADIR%%/BIB_ManSlide/ +@dirrm %%DATADIR%%/Interface/Theme +@dirrm %%DATADIR%%/Interface +@dirrm %%DATADIR%% |