diff options
author | Juergen Lock <nox@FreeBSD.org> | 2014-04-02 01:27:31 +0800 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2014-04-02 01:27:31 +0800 |
commit | cb4d0836d6047e43c601ee47bb1654aa1ead1064 (patch) | |
tree | cf80ee1defa74e74851f4ca634f497babfc384a0 /multimedia | |
parent | c35f26d77a55b26936fb8f84f14bb511c6788912 (diff) | |
download | freebsd-ports-gnome-cb4d0836d6047e43c601ee47bb1654aa1ead1064.tar.gz freebsd-ports-gnome-cb4d0836d6047e43c601ee47bb1654aa1ead1064.tar.zst freebsd-ports-gnome-cb4d0836d6047e43c601ee47bb1654aa1ead1064.zip |
- Finally import avidemux 2.6.8 as new ports multimedia/avidemux26*,
repocopied from the 2.5.6 ports multimedia/avidemux2 (left in
the tree for now for people that want a gtk ui etc.)
- Set CONFLICTS as only one avidemux version can be installed at a time.
- Don't import the 2.6.8 gtk ui as it crashes at startup and apparently
is abandoned upstream. (In the unlikely case that someone wants to fix
it, it is available at my redports tree.)
- As with the old version start by installing multimedia/avidemux26-plugins,
it is needed and depends on the other ports.
- (portlint is still not happy but I guess it cannot know everything...)
Submitted by: frogs <4721@hushmail.com> (initial port)
Diffstat (limited to 'multimedia')
20 files changed, 1098 insertions, 1 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 8708c2185b94..7d0e172f7e56 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -18,6 +18,11 @@ SUBDIR += avbin SUBDIR += avidemux2 SUBDIR += avidemux2-plugins + SUBDIR += avidemux26 + SUBDIR += avidemux26-cli + SUBDIR += avidemux26-gtk + SUBDIR += avidemux26-plugins + SUBDIR += avidemux26-qt4 SUBDIR += avinfo SUBDIR += bangarang SUBDIR += banshee diff --git a/multimedia/avidemux2/Makefile.common b/multimedia/avidemux2/Makefile.common index 4773286f03ca..5107f4846170 100644 --- a/multimedia/avidemux2/Makefile.common +++ b/multimedia/avidemux2/Makefile.common @@ -17,7 +17,7 @@ LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad \ LICENSE= GPLv2 -CONFLICTS= avidemux2-2.[0-46-9].* +CONFLICTS= avidemux2-2.[0-46-9].* avidemux26-* USE_GNOME= libxml2 USE_QT4= # empty diff --git a/multimedia/avidemux26-cli/Makefile b/multimedia/avidemux26-cli/Makefile new file mode 100644 index 000000000000..e075759226d5 --- /dev/null +++ b/multimedia/avidemux26-cli/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= avidemux26 +PORTVERSION= ${AVIDEMUX2_VERSION} +PORTREVISION= 0 +CATEGORIES= multimedia +PKGNAMESUFFIX= -cli + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Simple GUI based video editor (cli) + +LIB_DEPENDS= libADM6avutil.so.52:${PORTSDIR}/multimedia/avidemux26 + +MASTERDIR= ${.CURDIR}/../avidemux26 +PLIST= ${.CURDIR}/pkg-plist + +.include "${MASTERDIR}/Makefile.common" + +CMAKE_SOURCE_PATH= ${WRKSRC}/avidemux/cli + +CMAKE_ARGS+= -DAVIDEMUX_SOURCE_DIR=${WRKSRC} -DAVIDEMUX_INSTALL_PREFIX:PATH="${PREFIX}" + +post-configure: post-configure-common + +.include <bsd.port.post.mk> diff --git a/multimedia/avidemux26-cli/pkg-plist b/multimedia/avidemux26-cli/pkg-plist new file mode 100644 index 000000000000..7c48e69205b5 --- /dev/null +++ b/multimedia/avidemux26-cli/pkg-plist @@ -0,0 +1,5 @@ +bin/avidemux3_cli +include/avidemux/2.6/cli/config.h +lib/libADM_UI_Cli6.so +lib/libADM_render6_cli.so +@dirrm include/avidemux/2.6/cli diff --git a/multimedia/avidemux26-plugins/Makefile b/multimedia/avidemux26-plugins/Makefile new file mode 100644 index 000000000000..a0bb1ebba963 --- /dev/null +++ b/multimedia/avidemux26-plugins/Makefile @@ -0,0 +1,43 @@ +# Created by: Anish Mistry (with help from mean) +# $FreeBSD$ + +PORTNAME= avidemux26 +PORTVERSION= ${AVIDEMUX2_VERSION} +PORTREVISION= 0 +CATEGORIES= multimedia +PKGNAMESUFFIX= -plugins + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Simple GUI based video editor (Plugins) + +LIB_DEPENDS= libADM6avutil.so.52:${PORTSDIR}/multimedia/avidemux26 + +MASTERDIR= ${.CURDIR}/../avidemux26 +PLIST= ${.CURDIR}/pkg-plist + +.include "${MASTERDIR}/Makefile.common" + +CMAKE_SOURCE_PATH= ${WRKSRC}/avidemux_plugins + +#CMAKE_ARGS+= -DAVIDEMUX_SOURCE_DIR=${WRKSRC} -DAVIDEMUX_INSTALL_PREFIX:PATH="${PREFIX}" -DAVIDEMUX_CORECONFIG_DIR=${CONFIGURE_WRKSRC}/config +CMAKE_ARGS+= -DAVIDEMUX_SOURCE_DIR=${WRKSRC} -DAVIDEMUX_INSTALL_PREFIX:PATH="${PREFIX}" +CMAKE_ARGS+= -DPLUGIN_UI=ALL + +.if ${PORT_OPTIONS:MCLI} +BUILD_DEPENDS+= ${LOCALBASE}/include/avidemux/2.6/cli/config.h:${PORTSDIR}/multimedia/avidemux26-cli +RUN_DEPENDS+= ${LOCALBASE}/include/avidemux/2.6/cli/config.h:${PORTSDIR}/multimedia/avidemux26-cli +.endif + +.if ${PORT_OPTIONS:MQT4} +BUILD_DEPENDS+= ${LOCALBASE}/include/avidemux/2.6/qt4/config.h:${PORTSDIR}/multimedia/avidemux26-qt4 +RUN_DEPENDS+= ${LOCALBASE}/include/avidemux/2.6/qt4/config.h:${PORTSDIR}/multimedia/avidemux26-qt4 +.endif + +.if ${PORT_OPTIONS:MGTK3} +BUILD_DEPENDS+= ${LOCALBASE}/include/avidemux/2.6/gtk/config.h:${PORTSDIR}/multimedia/avidemux26-gtk +RUN_DEPENDS+= ${LOCALBASE}/include/avidemux/2.6/gtk/config.h:${PORTSDIR}/multimedia/avidemux26-gtk +.endif + +post-configure: post-configure-common + +.include <bsd.port.post.mk> diff --git a/multimedia/avidemux26-plugins/pkg-plist b/multimedia/avidemux26-plugins/pkg-plist new file mode 100644 index 000000000000..b9b1df85be95 --- /dev/null +++ b/multimedia/avidemux26-plugins/pkg-plist @@ -0,0 +1,471 @@ +lib/ADM_plugins6/audioDecoder/libADM_ad_Mad.so +lib/ADM_plugins6/audioDecoder/libADM_ad_a52.so +lib/ADM_plugins6/audioDecoder/libADM_ad_dca.so +lib/ADM_plugins6/audioDecoder/libADM_ad_lav.so +lib/ADM_plugins6/audioDecoder/libADM_ad_ulaw.so +lib/ADM_plugins6/audioDecoder/libADM_ad_ms_adpcm.so +lib/ADM_plugins6/audioDecoder/libADM_ad_ima_adpcm.so +%%VORBIS%%lib/ADM_plugins6/audioDecoder/libADM_ad_vorbis.so +lib/ADM_plugins6/audioDevices/libADM_av_oss.so +%%LAME%%lib/ADM_plugins6/audioEncoders/libADM_ae_lame.so +lib/ADM_plugins6/audioEncoders/libADM_ae_lav_ac3.so +lib/ADM_plugins6/audioEncoders/libADM_ae_lav_mp2.so +lib/ADM_plugins6/audioEncoders/libADM_ae_lav_aac.so +lib/ADM_plugins6/audioEncoders/libADM_ae_pcm.so +lib/ADM_plugins6/videoEncoders/libADM_ve_yv12.so +lib/ADM_plugins6/videoEncoders/libADM_ve_png.so +lib/ADM_plugins6/videoEncoders/libADM_ve_jpeg.so +lib/ADM_plugins6/videoEncoders/libADM_ve_huff.so +lib/ADM_plugins6/videoEncoders/libADM_ve_ffDv.so +lib/ADM_plugins6/videoEncoders/libADM_ve_ffMpeg4.so +lib/ADM_plugins6/videoEncoders/libADM_ve_ffMpeg2.so +lib/ADM_plugins6/videoEncoders/libADM_ve_ffFlv1.so +lib/ADM_plugins6/videoEncoders/libADM_ve_null.so +lib/ADM_plugins6/videoFilters/libADM_vf_addBorders.so +lib/ADM_plugins6/videoFilters/libADM_vf_avsfilter.so +lib/ADM_plugins6/videoFilters/libADM_vf_blackenBorders.so +lib/ADM_plugins6/videoFilters/libADM_vf_changeFps.so +lib/ADM_plugins6/videoFilters/libADM_vf_colorYuv.so +lib/ADM_plugins6/videoFilters/libADM_vf_decimate.so +lib/ADM_plugins6/videoFilters/libADM_vf_DgBob.so +lib/ADM_plugins6/videoFilters/libADM_vf_dummy.so +lib/ADM_plugins6/videoFilters/libADM_vf_fadeToBlack.so +lib/ADM_plugins6/videoFilters/libADM_vf_mean.so +lib/ADM_plugins6/videoFilters/libADM_vf_gauss.so +lib/ADM_plugins6/videoFilters/libADM_vf_median.so +lib/ADM_plugins6/videoFilters/libADM_vf_sharpen.so +lib/ADM_plugins6/videoFilters/libADM_vf_separateField.so +lib/ADM_plugins6/videoFilters/libADM_vf_mergeField.so +lib/ADM_plugins6/videoFilters/libADM_vf_FluxSmooth.so +lib/ADM_plugins6/videoFilters/libADM_hf_hflip.so +lib/ADM_plugins6/videoFilters/libADM_vf_kernelDeint.so +lib/ADM_plugins6/videoFilters/libADM_vf_largeMedian.so +lib/ADM_plugins6/videoFilters/libADM_vf_lavDeint.so +lib/ADM_plugins6/videoFilters/libADM_vf_logo.so +lib/ADM_plugins6/videoFilters/libADM_vf_lumaOnly.so +lib/ADM_plugins6/videoFilters/libADM_vf_denoise3dhq.so +lib/ADM_plugins6/videoFilters/libADM_vf_denoise3d.so +lib/ADM_plugins6/videoFilters/libADM_vf_msharpen.so +lib/ADM_plugins6/videoFilters/libADM_vf_printInfo.so +lib/ADM_plugins6/videoFilters/libADM_vf_removePlane.so +lib/ADM_plugins6/videoFilters/libADM_vf_resampleFps.so +lib/ADM_plugins6/videoFilters/libADM_vf_rotate.so +lib/ADM_plugins6/videoFilters/libADM_vf_stackField.so +lib/ADM_plugins6/videoFilters/libADM_vf_unstackField.so +lib/ADM_plugins6/videoFilters/libADM_vf_hzstackField.so +lib/ADM_plugins6/videoFilters/libADM_vf_swapUV.so +lib/ADM_plugins6/videoFilters/libADM_vf_telecide.so +lib/ADM_plugins6/videoFilters/libADM_vf_yadif.so +lib/ADM_plugins6/videoFilters/libADM_vf_vflip.so +lib/ADM_plugins6/scriptEngines/libADM_script_spiderMonkey.so +lib/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so +lib/ADM_plugins6/demuxers/libADM_dm_flv.so +lib/ADM_plugins6/demuxers/libADM_dm_pic.so +lib/ADM_plugins6/demuxers/libADM_dm_mp4.so +lib/ADM_plugins6/demuxers/libADM_dm_matroska.so +lib/ADM_plugins6/demuxers/libADM_dm_opendml.so +lib/ADM_plugins6/demuxers/libADM_dm_ps.so +lib/ADM_plugins6/demuxers/libADM_dm_ts.so +lib/ADM_plugins6/demuxers/libADM_dm_asf.so +lib/ADM_plugins6/demuxers/libADM_dm_avsproxy.so +lib/ADM_plugins6/demuxers/libADM_dm_mxf.so +lib/ADM_plugins6/muxers/libADM_mx_dummy.so +lib/ADM_plugins6/muxers/libADM_mx_mp4v2.so +lib/ADM_plugins6/muxers/libADM_mx_avi.so +lib/ADM_plugins6/muxers/libADM_mx_raw.so +lib/ADM_plugins6/muxers/libADM_mx_flv.so +lib/ADM_plugins6/muxers/libADM_mx_mp4.so +lib/ADM_plugins6/muxers/libADM_mx_Mkv.so +lib/ADM_plugins6/muxers/libADM_mx_ffPS.so +lib/ADM_plugins6/muxers/libADM_mx_ffTS.so +lib/ADM_plugins6/autoScripts/720p.py +lib/ADM_plugins6/autoScripts/PSP.py +lib/ADM_plugins6/autoScripts/check24fps.py +lib/ADM_plugins6/autoScripts/svcd.py +lib/ADM_plugins6/autoScripts/vcd.py +lib/ADM_plugins6/autoScripts/dvd.py +lib/ADM_plugins6/autoScripts/lib/ADM_imageInfo.py +lib/ADM_plugins6/autoScripts/lib/ADM_image.py +%%VPX%%lib/ADM_plugins6/videoDecoders/libADM_vd_vpx.so +%%ESD%%lib/ADM_plugins6/audioDevices/libADM_av_esd.so +%%FAAC%%lib/ADM_plugins6/audioEncoders/libADM_ae_faac.so +%%FAAD%%lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so +%%JACK%%lib/ADM_plugins6/audioDevices/libADM_av_jack.so +%%PULSE%%lib/ADM_plugins6/audioDevices/libADM_av_pulseAudioSimple.so +%%XVID%%lib/ADM_plugins6/videoEncoders/libADM_ve_xvid4.so +%%VORBIS%%lib/ADM_plugins6/audioEncoders/libADM_ae_vorbis.so +%%AMRNB%%lib/ADM_plugins6/audioDecoder/libADM_ad_opencore_amrnb.so +%%AMRWB%%lib/ADM_plugins6/audioDecoder/libADM_ad_opencore_amrwb.so +%%QT4%%lib/ADM_plugins6/scriptEngines/libADM_script_qt.so +%%VDPAU%%lib/ADM_plugins6/videoFilters/libADM_vf_vdpauFilter.so +%%VDPAU%%lib/ADM_plugins6/videoFilters/libADM_vf_vdpauFilterDeint.so +%%QT4%%%%X264%%lib/ADM_plugins6/videoEncoders/libADM_ve_x264_qt4.so +%%CLI%%%%X264%%lib/ADM_plugins6/videoEncoders/libADM_ve_x264_other.so +%%CLI%%lib/ADM_plugins6/videoFilters/libADM_vf_CropCli.so +%%CLI%%lib/ADM_plugins6/videoFilters/libADM_vf_chromaShiftCli.so +%%CLI%%lib/ADM_plugins6/videoFilters/libADM_vf_contrastCli.so +%%CLI%%lib/ADM_plugins6/videoFilters/libADM_vf_eq2Cli.so +%%CLI%%lib/ADM_plugins6/videoFilters/libADM_vf_mpdelogoCli.so +%%CLI%%lib/ADM_plugins6/videoFilters/libADM_vf_swscaleResize_cli.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_HueQt4.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_asharpQt4.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_chromaShiftQt4.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_contrastQt4.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_cropQt4.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_eq2Qt4.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_mpdelogoQt4.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_swscaleResize_qt4.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_glBenchmark.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_glResize.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_rotateGlFrag2.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_sampleGlFrag2.so +%%QT4%%lib/ADM_plugins6/videoFilters/libADM_vf_sampleGlVertex.so +%%QT4%%share/avidemux6/help/QtScript/Dialog.jpg +%%QT4%%share/avidemux6/help/QtScript/_dialog_8admjs-example.html +%%QT4%%share/avidemux6/help/QtScript/_transcode_directory_8admjs-example.html +%%QT4%%share/avidemux6/help/QtScript/annotated.html +%%QT4%%share/avidemux6/help/QtScript/avidemux_icon_small.png +%%QT4%%share/avidemux6/help/QtScript/bc_s.png +%%QT4%%share/avidemux6/help/QtScript/bdwn.png +%%QT4%%share/avidemux6/help/QtScript/class_audio_encoder-members.html +%%QT4%%share/avidemux6/help/QtScript/class_audio_encoder.html +%%QT4%%share/avidemux6/help/QtScript/class_audio_output-members.html +%%QT4%%share/avidemux6/help/QtScript/class_audio_output.html +%%QT4%%share/avidemux6/help/QtScript/class_audio_output_collection-members.html +%%QT4%%share/avidemux6/help/QtScript/class_audio_output_collection.html +%%QT4%%share/avidemux6/help/QtScript/class_audio_properties-members.html +%%QT4%%share/avidemux6/help/QtScript/class_audio_properties.html +%%QT4%%share/avidemux6/help/QtScript/class_check_box_control-members.html +%%QT4%%share/avidemux6/help/QtScript/class_check_box_control.html +%%QT4%%share/avidemux6/help/QtScript/class_check_box_control.png +%%QT4%%share/avidemux6/help/QtScript/class_combo_box_control-members.html +%%QT4%%share/avidemux6/help/QtScript/class_combo_box_control.html +%%QT4%%share/avidemux6/help/QtScript/class_combo_box_control.png +%%QT4%%share/avidemux6/help/QtScript/class_combo_box_item-members.html +%%QT4%%share/avidemux6/help/QtScript/class_combo_box_item.html +%%QT4%%share/avidemux6/help/QtScript/class_combo_box_item_collection-members.html +%%QT4%%share/avidemux6/help/QtScript/class_combo_box_item_collection.html +%%QT4%%share/avidemux6/help/QtScript/class_control.html +%%QT4%%share/avidemux6/help/QtScript/class_control.png +%%QT4%%share/avidemux6/help/QtScript/class_control_collection-members.html +%%QT4%%share/avidemux6/help/QtScript/class_control_collection.html +%%QT4%%share/avidemux6/help/QtScript/class_dialog-members.html +%%QT4%%share/avidemux6/help/QtScript/class_dialog.html +%%QT4%%share/avidemux6/help/QtScript/class_directory-members.html +%%QT4%%share/avidemux6/help/QtScript/class_directory.html +%%QT4%%share/avidemux6/help/QtScript/class_double_spin_box_control-members.html +%%QT4%%share/avidemux6/help/QtScript/class_double_spin_box_control.html +%%QT4%%share/avidemux6/help/QtScript/class_double_spin_box_control.png +%%QT4%%share/avidemux6/help/QtScript/class_editor-members.html +%%QT4%%share/avidemux6/help/QtScript/class_editor.html +%%QT4%%share/avidemux6/help/QtScript/class_file-members.html +%%QT4%%share/avidemux6/help/QtScript/class_file.html +%%QT4%%share/avidemux6/help/QtScript/class_file_information-members.html +%%QT4%%share/avidemux6/help/QtScript/class_file_information.html +%%QT4%%share/avidemux6/help/QtScript/class_frame_properties-members.html +%%QT4%%share/avidemux6/help/QtScript/class_frame_properties.html +%%QT4%%share/avidemux6/help/QtScript/class_line_edit_control-members.html +%%QT4%%share/avidemux6/help/QtScript/class_line_edit_control.html +%%QT4%%share/avidemux6/help/QtScript/class_line_edit_control.png +%%QT4%%share/avidemux6/help/QtScript/class_muxer-members.html +%%QT4%%share/avidemux6/help/QtScript/class_muxer.html +%%QT4%%share/avidemux6/help/QtScript/class_segment-members.html +%%QT4%%share/avidemux6/help/QtScript/class_segment.html +%%QT4%%share/avidemux6/help/QtScript/class_segment_collection-members.html +%%QT4%%share/avidemux6/help/QtScript/class_segment_collection.html +%%QT4%%share/avidemux6/help/QtScript/class_slider_control-members.html +%%QT4%%share/avidemux6/help/QtScript/class_slider_control.html +%%QT4%%share/avidemux6/help/QtScript/class_slider_control.png +%%QT4%%share/avidemux6/help/QtScript/class_spin_box_control-members.html +%%QT4%%share/avidemux6/help/QtScript/class_spin_box_control.html +%%QT4%%share/avidemux6/help/QtScript/class_spin_box_control.png +%%QT4%%share/avidemux6/help/QtScript/class_video_decoder-members.html +%%QT4%%share/avidemux6/help/QtScript/class_video_decoder.html +%%QT4%%share/avidemux6/help/QtScript/class_video_encoder-members.html +%%QT4%%share/avidemux6/help/QtScript/class_video_encoder.html +%%QT4%%share/avidemux6/help/QtScript/class_video_file_properties-members.html +%%QT4%%share/avidemux6/help/QtScript/class_video_file_properties.html +%%QT4%%share/avidemux6/help/QtScript/class_video_filter-members.html +%%QT4%%share/avidemux6/help/QtScript/class_video_filter.html +%%QT4%%share/avidemux6/help/QtScript/class_video_filter_collection-members.html +%%QT4%%share/avidemux6/help/QtScript/class_video_filter_collection.html +%%QT4%%share/avidemux6/help/QtScript/class_video_output-members.html +%%QT4%%share/avidemux6/help/QtScript/class_video_output.html +%%QT4%%share/avidemux6/help/QtScript/classes.html +%%QT4%%share/avidemux6/help/QtScript/closed.png +%%QT4%%share/avidemux6/help/QtScript/doxygen.css +%%QT4%%share/avidemux6/help/QtScript/dynsections.js +%%QT4%%share/avidemux6/help/QtScript/examples.html +%%QT4%%share/avidemux6/help/QtScript/ftv2blank.png +%%QT4%%share/avidemux6/help/QtScript/ftv2cl.png +%%QT4%%share/avidemux6/help/QtScript/ftv2doc.png +%%QT4%%share/avidemux6/help/QtScript/ftv2folderclosed.png +%%QT4%%share/avidemux6/help/QtScript/ftv2folderopen.png +%%QT4%%share/avidemux6/help/QtScript/ftv2lastnode.png +%%QT4%%share/avidemux6/help/QtScript/ftv2link.png +%%QT4%%share/avidemux6/help/QtScript/ftv2mlastnode.png +%%QT4%%share/avidemux6/help/QtScript/ftv2mnode.png +%%QT4%%share/avidemux6/help/QtScript/ftv2mo.png +%%QT4%%share/avidemux6/help/QtScript/ftv2node.png +%%QT4%%share/avidemux6/help/QtScript/ftv2ns.png +%%QT4%%share/avidemux6/help/QtScript/ftv2plastnode.png +%%QT4%%share/avidemux6/help/QtScript/ftv2pnode.png +%%QT4%%share/avidemux6/help/QtScript/ftv2splitbar.png +%%QT4%%share/avidemux6/help/QtScript/ftv2vertline.png +%%QT4%%share/avidemux6/help/QtScript/functions.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x62.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x63.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x64.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x65.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x66.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x67.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x68.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x69.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x6a.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x6c.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x6d.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x6e.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x6f.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x70.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x71.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x72.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x73.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x74.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x75.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x76.html +%%QT4%%share/avidemux6/help/QtScript/functions_0x77.html +%%QT4%%share/avidemux6/help/QtScript/functions_enum.html +%%QT4%%share/avidemux6/help/QtScript/functions_eval.html +%%QT4%%share/avidemux6/help/QtScript/functions_func.html +%%QT4%%share/avidemux6/help/QtScript/functions_prop.html +%%QT4%%share/avidemux6/help/QtScript/group__global_functions.html +%%QT4%%share/avidemux6/help/QtScript/hierarchy.html +%%QT4%%share/avidemux6/help/QtScript/jquery.js +%%QT4%%share/avidemux6/help/QtScript/modules.html +%%QT4%%share/avidemux6/help/QtScript/nav_f.png +%%QT4%%share/avidemux6/help/QtScript/nav_g.png +%%QT4%%share/avidemux6/help/QtScript/nav_h.png +%%QT4%%share/avidemux6/help/QtScript/open.png +%%QT4%%share/avidemux6/help/QtScript/search/all_61.html +%%QT4%%share/avidemux6/help/QtScript/search/all_61.js +%%QT4%%share/avidemux6/help/QtScript/search/all_62.html +%%QT4%%share/avidemux6/help/QtScript/search/all_62.js +%%QT4%%share/avidemux6/help/QtScript/search/all_63.html +%%QT4%%share/avidemux6/help/QtScript/search/all_63.js +%%QT4%%share/avidemux6/help/QtScript/search/all_64.html +%%QT4%%share/avidemux6/help/QtScript/search/all_64.js +%%QT4%%share/avidemux6/help/QtScript/search/all_65.html +%%QT4%%share/avidemux6/help/QtScript/search/all_65.js +%%QT4%%share/avidemux6/help/QtScript/search/all_66.html +%%QT4%%share/avidemux6/help/QtScript/search/all_66.js +%%QT4%%share/avidemux6/help/QtScript/search/all_67.html +%%QT4%%share/avidemux6/help/QtScript/search/all_67.js +%%QT4%%share/avidemux6/help/QtScript/search/all_68.html +%%QT4%%share/avidemux6/help/QtScript/search/all_68.js +%%QT4%%share/avidemux6/help/QtScript/search/all_69.html +%%QT4%%share/avidemux6/help/QtScript/search/all_69.js +%%QT4%%share/avidemux6/help/QtScript/search/all_6a.html +%%QT4%%share/avidemux6/help/QtScript/search/all_6a.js +%%QT4%%share/avidemux6/help/QtScript/search/all_6c.html +%%QT4%%share/avidemux6/help/QtScript/search/all_6c.js +%%QT4%%share/avidemux6/help/QtScript/search/all_6d.html +%%QT4%%share/avidemux6/help/QtScript/search/all_6d.js +%%QT4%%share/avidemux6/help/QtScript/search/all_6e.html +%%QT4%%share/avidemux6/help/QtScript/search/all_6e.js +%%QT4%%share/avidemux6/help/QtScript/search/all_6f.html +%%QT4%%share/avidemux6/help/QtScript/search/all_6f.js +%%QT4%%share/avidemux6/help/QtScript/search/all_70.html +%%QT4%%share/avidemux6/help/QtScript/search/all_70.js +%%QT4%%share/avidemux6/help/QtScript/search/all_71.html +%%QT4%%share/avidemux6/help/QtScript/search/all_71.js +%%QT4%%share/avidemux6/help/QtScript/search/all_72.html +%%QT4%%share/avidemux6/help/QtScript/search/all_72.js +%%QT4%%share/avidemux6/help/QtScript/search/all_73.html +%%QT4%%share/avidemux6/help/QtScript/search/all_73.js +%%QT4%%share/avidemux6/help/QtScript/search/all_74.html +%%QT4%%share/avidemux6/help/QtScript/search/all_74.js +%%QT4%%share/avidemux6/help/QtScript/search/all_75.html +%%QT4%%share/avidemux6/help/QtScript/search/all_75.js +%%QT4%%share/avidemux6/help/QtScript/search/all_76.html +%%QT4%%share/avidemux6/help/QtScript/search/all_76.js +%%QT4%%share/avidemux6/help/QtScript/search/all_77.html +%%QT4%%share/avidemux6/help/QtScript/search/all_77.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_61.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_61.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_63.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_63.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_64.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_64.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_65.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_65.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_66.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_66.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_6c.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_6c.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_6d.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_6d.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_73.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_73.js +%%QT4%%share/avidemux6/help/QtScript/search/classes_76.html +%%QT4%%share/avidemux6/help/QtScript/search/classes_76.js +%%QT4%%share/avidemux6/help/QtScript/search/close.png +%%QT4%%share/avidemux6/help/QtScript/search/enums_61.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_61.js +%%QT4%%share/avidemux6/help/QtScript/search/enums_63.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_63.js +%%QT4%%share/avidemux6/help/QtScript/search/enums_66.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_66.js +%%QT4%%share/avidemux6/help/QtScript/search/enums_67.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_67.js +%%QT4%%share/avidemux6/help/QtScript/search/enums_69.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_69.js +%%QT4%%share/avidemux6/help/QtScript/search/enums_6d.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_6d.js +%%QT4%%share/avidemux6/help/QtScript/search/enums_6f.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_6f.js +%%QT4%%share/avidemux6/help/QtScript/search/enums_70.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_70.js +%%QT4%%share/avidemux6/help/QtScript/search/enums_73.html +%%QT4%%share/avidemux6/help/QtScript/search/enums_73.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_61.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_61.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_62.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_62.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_63.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_63.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_64.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_64.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_65.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_65.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_66.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_66.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_68.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_68.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_69.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_69.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6a.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6a.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6c.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6c.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6d.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6d.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6e.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6e.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6f.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_6f.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_70.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_70.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_72.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_72.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_73.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_73.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_74.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_74.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_75.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_75.js +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_77.html +%%QT4%%share/avidemux6/help/QtScript/search/enumvalues_77.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_61.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_61.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_63.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_63.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_64.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_64.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_65.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_65.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_66.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_66.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_69.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_69.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_6c.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_6c.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_6d.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_6d.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_6f.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_6f.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_70.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_70.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_72.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_72.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_73.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_73.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_74.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_74.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_75.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_75.js +%%QT4%%share/avidemux6/help/QtScript/search/functions_77.html +%%QT4%%share/avidemux6/help/QtScript/search/functions_77.js +%%QT4%%share/avidemux6/help/QtScript/search/groups_67.html +%%QT4%%share/avidemux6/help/QtScript/search/groups_67.js +%%QT4%%share/avidemux6/help/QtScript/search/mag_sel.png +%%QT4%%share/avidemux6/help/QtScript/search/nomatches.html +%%QT4%%share/avidemux6/help/QtScript/search/pages_61.html +%%QT4%%share/avidemux6/help/QtScript/search/pages_61.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_61.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_61.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_62.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_62.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_63.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_63.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_64.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_64.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_65.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_65.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_66.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_66.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_67.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_67.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_68.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_68.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_69.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_69.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_6c.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_6c.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_6d.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_6d.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_6e.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_6e.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_6f.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_6f.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_70.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_70.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_71.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_71.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_72.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_72.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_73.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_73.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_74.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_74.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_76.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_76.js +%%QT4%%share/avidemux6/help/QtScript/search/properties_77.html +%%QT4%%share/avidemux6/help/QtScript/search/properties_77.js +%%QT4%%share/avidemux6/help/QtScript/search/search.css +%%QT4%%share/avidemux6/help/QtScript/search/search.js +%%QT4%%share/avidemux6/help/QtScript/search/search_l.png +%%QT4%%share/avidemux6/help/QtScript/search/search_m.png +%%QT4%%share/avidemux6/help/QtScript/search/search_r.png +%%QT4%%share/avidemux6/help/QtScript/sync_off.png +%%QT4%%share/avidemux6/help/QtScript/sync_on.png +%%QT4%%share/avidemux6/help/QtScript/tab_a.png +%%QT4%%share/avidemux6/help/QtScript/tab_b.png +%%QT4%%share/avidemux6/help/QtScript/tab_h.png +%%QT4%%share/avidemux6/help/QtScript/tab_s.png +%%QT4%%share/avidemux6/help/QtScript/tabs.css +%%QT4%%@dirrm share/avidemux6/help/QtScript/search +%%QT4%%@dirrm share/avidemux6/help/QtScript +%%QT4%%@dirrm share/avidemux6/help +%%QT4%%@dirrm share/avidemux6 +@dirrm lib/ADM_plugins6/audioDecoder +@dirrm lib/ADM_plugins6/audioDevices +@dirrm lib/ADM_plugins6/demuxers +@dirrm lib/ADM_plugins6/muxers +@dirrm lib/ADM_plugins6/autoScripts/lib +@dirrm lib/ADM_plugins6/autoScripts +@dirrm lib/ADM_plugins6/videoDecoders +@dirrm lib/ADM_plugins6/videoEncoders +@dirrm lib/ADM_plugins6/videoFilters +@dirrm lib/ADM_plugins6/scriptEngines +@dirrm lib/ADM_plugins6/audioEncoders +@dirrm lib/ADM_plugins6 diff --git a/multimedia/avidemux26-qt4/Makefile b/multimedia/avidemux26-qt4/Makefile new file mode 100644 index 000000000000..8d8852d45acd --- /dev/null +++ b/multimedia/avidemux26-qt4/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= avidemux26 +PORTVERSION= ${AVIDEMUX2_VERSION} +PORTREVISION= 0 +CATEGORIES= multimedia +PKGNAMESUFFIX= -qt4 + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Simple GUI based video editor (QT4 UI) + +LIB_DEPENDS= libADM6avutil.so.52:${PORTSDIR}/multimedia/avidemux26 + +MASTERDIR= ${.CURDIR}/../avidemux26 +PLIST= ${.CURDIR}/pkg-plist + +.include "${MASTERDIR}/Makefile.common" + +CMAKE_SOURCE_PATH= ${WRKSRC}/avidemux/qt4 + +CMAKE_ARGS+= -DAVIDEMUX_SOURCE_DIR=${WRKSRC} -DAVIDEMUX_INSTALL_PREFIX:PATH="${PREFIX}" + +post-configure: post-configure-common + +.include <bsd.port.post.mk> diff --git a/multimedia/avidemux26-qt4/pkg-plist b/multimedia/avidemux26-qt4/pkg-plist new file mode 100644 index 000000000000..ddf57f77fbc5 --- /dev/null +++ b/multimedia/avidemux26-qt4/pkg-plist @@ -0,0 +1,32 @@ +bin/avidemux3_jobs +bin/avidemux3_qt4 +include/avidemux/2.6/qt4/config.h +lib/libADM_UIQT46.so +lib/libADM_render6_qt4.so +share/avidemux6/i18n/avidemux_ca.qm +share/avidemux6/i18n/avidemux_cs.qm +share/avidemux6/i18n/avidemux_de.qm +share/avidemux6/i18n/avidemux_el.qm +share/avidemux6/i18n/avidemux_en.qm +share/avidemux6/i18n/avidemux_es.qm +share/avidemux6/i18n/avidemux_eu.qm +share/avidemux6/i18n/avidemux_fr.qm +share/avidemux6/i18n/avidemux_it.qm +share/avidemux6/i18n/avidemux_ja.qm +share/avidemux6/i18n/avidemux_pl.qm +share/avidemux6/i18n/avidemux_pt_BR.qm +share/avidemux6/i18n/avidemux_ru.qm +share/avidemux6/i18n/avidemux_sr.qm +share/avidemux6/i18n/avidemux_sr@latin.qm +share/avidemux6/i18n/avidemux_tr.qm +share/avidemux6/i18n/avidemux_zh_TW.qm +share/avidemux6/i18n/qt_ca.qm +share/avidemux6/i18n/qt_cs.qm +share/avidemux6/i18n/qt_de.qm +share/avidemux6/i18n/qt_eu.qm +share/avidemux6/i18n/qt_fr.qm +share/avidemux6/i18n/qt_it.qm +share/avidemux6/i18n/qt_zh_TW.qm +@dirrm share/avidemux6/i18n +@dirrm share/avidemux6 +@dirrm include/avidemux/2.6/qt4 diff --git a/multimedia/avidemux26/Makefile b/multimedia/avidemux26/Makefile new file mode 100644 index 000000000000..d249c55b8e29 --- /dev/null +++ b/multimedia/avidemux26/Makefile @@ -0,0 +1,44 @@ +# Created by: Anish Mistry (with help from mean) +# $FreeBSD$ +# assuming freebsd always has 16 byte aligned malloc as macos does. is this true? +# nls files not getting installed with nls=on. are they getting built? +# sync port options with current software options + +PORTNAME= avidemux26 +PORTVERSION= ${AVIDEMUX2_VERSION} +CATEGORIES= multimedia + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Simple GUI based video editor + +.include "${.CURDIR}/Makefile.common" + +CMAKE_SOURCE_PATH= ${WRKSRC}/avidemux_core + +post-configure: post-configure-common + +post-install: +.if ${PORT_OPTIONS:MGTK3} || ${PORT_OPTIONS:MQT4} + @${MKDIR} "${STAGEDIR}${DATADIR}" + ${INSTALL_DATA} "${WRKSRC}/avidemux_icon.png" "${STAGEDIR}${DATADIR}/${PORTNAME}.png" + @${ECHO_CMD} "${DATADIR_REL}/${PORTNAME}.png" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${RMDIR} %D/${DATADIR_REL} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@cwd ${DESKTOPDIR}" >> ${TMPPLIST} +.if ${PORT_OPTIONS:MGTK3} + @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%DATADIR%%|${DATADIR}|g" \ + -e "s|%%NAME%%|${PORTNAME}|g" -e "s|%%API%%|gtk|g" \ + < ${FILESDIR}/avidemux2.desktop.in > ${WRKDIR}/${PORTNAME}.desktop + ${INSTALL_DATA} "${WRKDIR}/${PORTNAME}.desktop" "${STAGEDIR}${DESKTOPDIR}" + @${ECHO_CMD} "${PORTNAME}.desktop" >> ${TMPPLIST} +.endif +.if ${PORT_OPTIONS:MQT4} + @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%DATADIR%%|${DATADIR}|g" \ + -e "s|%%NAME%%|${PORTNAME}|g" -e "s|%%API%%|qt4|g" \ + < ${FILESDIR}/avidemux2.desktop.in > ${WRKDIR}/${PORTNAME}_qt4.desktop + ${INSTALL_DATA} "${WRKDIR}/${PORTNAME}_qt4.desktop" "${STAGEDIR}${DESKTOPDIR}" + @${ECHO_CMD} "${PORTNAME}_qt4.desktop" >> ${TMPPLIST} +.endif + @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST} +.endif + +.include <bsd.port.post.mk> diff --git a/multimedia/avidemux26/Makefile.common b/multimedia/avidemux26/Makefile.common new file mode 100644 index 000000000000..4cd5cb62e960 --- /dev/null +++ b/multimedia/avidemux26/Makefile.common @@ -0,0 +1,268 @@ +# $FreeBSD$ + +AVIDEMUX2_VERSION= 2.6.8 +PORTREVISION= 0 +MASTER_SITES= \ + SF/avidemux/avidemux/${PORTVERSION} +DISTNAME= avidemux_${PORTVERSION} + +BUILD_DEPENDS+= yasm:${PORTSDIR}/devel/yasm \ + bash:${PORTSDIR}/shells/bash +LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad \ + libdca.so:${PORTSDIR}/multimedia/libdca \ + libpng15.so:${PORTSDIR}/graphics/png + +LICENSE= GPLv2 + +CONFLICTS= avidemux2-* + +USE_GNOME= libxml2 +USE_QT4= # empty + +OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME:C/-.*//}/options + +USE_SQLITE= yes +WANT_SDL= yes +USES= cmake:outsource pkgconfig iconv gmake compiler:features +USES+= dos2unix +DOS2UNIX_FILES= cmake/admCheckMiscLibs.cmake po/CMakeLists.txt +CMAKE_ARGS+= -DGNUMAKE_EXECUTABLE=gmake +CMAKE_ARGS+= -DAVIDEMUX_PACKAGER=none +CXXFLAGS+= -I${LOCALBASE}/include +MAKE_JOBS_UNSAFE= yes + +BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils +CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin +MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin + +OPTIONS_DEFINE= QT4 CLI FREETYPE FONTCONFIG OSS ESOUND JACK \ + PULSEAUDIO XVIDEO FAAC \ + FAAD X264 VPX XVID SDL AMR VORBIS NLS LAME VDPAU +OPTIONS_DEFAULT= QT4 FREETYPE FONTCONFIG OSS XVIDEO VPX XVID \ + SDL FAAD VORBIS +CLI_DESC= Build CLI tool + +.if !defined(PACKAGE_BUILDING) +OPTIONS_DEFAULT+= LAME FAAC AMR X264 +.endif + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +USES+= gettext +PLIST_SUB+= NLS="" +. if ${PORT_OPTIONS:MQT4} +PLIST_SUB+= QT_NLS="" +. else +PLIST_SUB+= QT_NLS="@comment " +. endif +.else +CMAKE_ARGS+= -DNO_NLS:BOOL=ON +PLIST_SUB+= NLS="@comment " QT_NLS="@comment " +.endif + +.include <bsd.port.pre.mk> + +# is this kosher? the result seems to run tho... (see ports/185997) +.if $(COMPILER_FEATURES:Mlibc++) +LDFLAGS+= -lc++ +.endif + +#.if ${COMPILER_TYPE} == clang +USE_GCC= yes +#.endif + +# for libexecinfo: (so that __builtin_frame_address() finds the top +# of the stack) +.if ${ARCH} == "amd64" +CFLAGS+= -fno-omit-frame-pointer +#MAKE_ENV+= ARCH=x86_64 +#CONFIGURE_ENV+= ARCH=x86_64 +.endif +.if ${OSVERSION} < 1000000 +LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo +CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=${LOCALBASE}/include +CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=${LOCALBASE}/lib/libexecinfo.so +.else +CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=/usr/include +CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=-lexecinfo +.endif + +# We haven't ALSA(Never) & Aften(Yet) on FreeBSD +CMAKE_ARGS+= -DARTS:BOOL=OFF -DALSA:BOOL=OFF -DAFTEN:BOOL=OFF + +.if empty(PORT_OPTIONS:MGTK3) && empty(PORT_OPTIONS:MQT4) +CMAKE_ARGS+= -DX11:BOOL=OFF +.else +USE_GNOME+= libxslt +.endif + +.if ${PORT_OPTIONS:MGTK3} +USE_GNOME+= gnomeprefix gnomehack gtk30 +PLIST_SUB+= GTK="" +.else +CMAKE_ARGS+= -DGTK:BOOL=OFF +PLIST_SUB+= GTK="@comment " +.endif + +.if ${PORT_OPTIONS:MQT4} +CMAKE_ARGS+= -DLRELEASE_EXECUTABLE=${LOCALBASE}/bin/lrelease-qt4 +USE_QT4= qmake_build moc_build rcc_build uic_build linguist_build gui +PLIST_SUB+= QT4="" +.else +CMAKE_ARGS+= -DQT4:BOOL=OFF +PLIST_SUB+= QT4="@comment " +.endif + +.if ${PORT_OPTIONS:MCLI} +PLIST_SUB+= CLI="" +.else +PLIST_SUB+= CLI="@comment " +.endif + +.if ${PORT_OPTIONS:MOSS} +CMAKE_ARGS+= -DOSS_SUPPORT:BOOL=ON +.else +CMAKE_ARGS+= -DOSS_SUPPORT:BOOL=OFF +.endif + +.if ${PORT_OPTIONS:MESOUND} +USE_GNOME+= esound +PLIST_SUB+= ESD="" +.else +CMAKE_ARGS+= -DESD:BOOL=OFF +PLIST_SUB+= ESD="@comment " +.endif + +.if ${PORT_OPTIONS:MJACK} +LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack +PLIST_SUB+= JACK="" +.else +CMAKE_ARGS+= -DJACK:BOOL=OFF +PLIST_SUB+= JACK="@comment " +.endif + +.if ${PORT_OPTIONS:MPULSEAUDIO} +LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio +PLIST_SUB+= PULSE="" +.else +CMAKE_ARGS+= -DPULSEAUDIOSIMPLE:BOOL=OFF +PLIST_SUB+= PULSE="@comment " +.endif + +.if ${PORT_OPTIONS:MFREETYPE} +LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 +PLIST_SUB+= FREETYPE="" +.else +CMAKE_ARGS+= -DFREETYPE2:BOOL=OFF +PLIST_SUB+= FREETYPE="@comment " +.endif + +.if ${PORT_OPTIONS:MFONTCONFIG} +LIB_DEPENDS+= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig +.else +CMAKE_ARGS+= -DFONTCONFIG:BOOL=OFF +.endif + +.if ${PORT_OPTIONS:MXVIDEO} +#LIB_DEPENDS+= Xv:${PORTSDIR}/x11/libXv +USE_XORG+= xv +.else +CMAKE_ARGS+= -DXVIDEO:BOOL=OFF +.endif + +.if ${PORT_OPTIONS:MFAAC} +LIB_DEPENDS+= libfaac.so:${PORTSDIR}/audio/faac +PLIST_SUB+= FAAC="" +.else +CMAKE_ARGS+= -DFAAC:BOOL=OFF +PLIST_SUB+= FAAC="@comment " +.endif + +.if ${PORT_OPTIONS:MLAME} +LIB_DEPENDS+= libmp3lame.so:${PORTSDIR}/audio/lame +PLIST_SUB+= LAME="" +.else +CMAKE_ARGS+= -DLAME:BOOL=OFF +PLIST_SUB+= LAME="@comment " +.endif + +.if ${PORT_OPTIONS:MFAAD} +LIB_DEPENDS+= libfaad.so:${PORTSDIR}/audio/faad +PLIST_SUB+= FAAD="" +.else +CMAKE_ARGS+= -DFAAD:BOOL=OFF -DNeAAC:BOOL=OFF +PLIST_SUB+= FAAD="@comment " +.endif + +.if ${PORT_OPTIONS:MX264} +LIB_DEPENDS+= libx264.so:${PORTSDIR}/multimedia/x264 +PLIST_SUB+= X264="" +.else +CMAKE_ARGS+= -DX264:BOOL=OFF +PLIST_SUB+= X264="@comment " +.endif + +.if ${PORT_OPTIONS:MVPX} +LIB_DEPENDS+= libvpx.so:${PORTSDIR}/multimedia/libvpx +PLIST_SUB+= VPX="" +.else +CMAKE_ARGS+= -DVPXDEC:BOOL=OFF +PLIST_SUB+= VPX="@comment " +.endif + +.if ${PORT_OPTIONS:MXVID} +LIB_DEPENDS+= libxvidcore.so:${PORTSDIR}/multimedia/xvid +PLIST_SUB+= XVID="" +.else +CMAKE_ARGS+= -DXVID:BOOL=OFF +PLIST_SUB+= XVID="@comment " +.endif + +.if ${PORT_OPTIONS:MSDL} +USE_SDL= sdl +PLIST_SUB+= SDL="" +.else +CMAKE_ARGS+= -DSDL:BOOL=OFF +PLIST_SUB+= SDL="@comment " +.endif + +.if ${PORT_OPTIONS:MVDPAU} +LIB_DEPENDS+= libvdpau.so:${PORTSDIR}/multimedia/libvdpau +PLIST_SUB+= VDPAU="" +.else +CMAKE_ARGS+= -DVDPAU:BOOL=OFF +PLIST_SUB+= VDPAU="@comment " +.endif + +.if ${PORT_OPTIONS:MVORBIS} +LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis +PLIST_SUB+= VORBIS="" +.else +CMAKE_ARGS+= -DLIBVORBIS:BOOL=OFF -DVORBIS:BOOL=OFF +PLIST_SUB+= VORBIS="@comment " +.endif + +.if ${PORT_OPTIONS:MAMR} +LIB_DEPENDS+= libopencore-amrnb.so:${PORTSDIR}/audio/opencore-amr +PLIST_SUB+= AMRNB="" +PLIST_SUB+= AMRWB="" +.else +CMAKE_ARGS+= -DOPENCORE_AMRNB:BOOL=OFF +PLIST_SUB+= AMRNB="@comment " +CMAKE_ARGS+= -DOPENCORE_AMRWB:BOOL=OFF +PLIST_SUB+= AMRWB="@comment " +.endif + +.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" +BROKEN= Does not compile on ia64, powerpc, or sparc64 +.endif + +post-patch: + @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/*/*/Makefile + @${MKDIR} ${CONFIGURE_WRKSRC}/config + @${LN} -s ${LOCALBASE}/include/iconv.h ${CONFIGURE_WRKSRC}/config + @${REINPLACE_CMD} 's|-ldl||' ${WRKSRC}/avidemux_core/CMakeLists.txt + +post-configure-common: + @${FIND} ${CONFIGURE_WRKSRC} -name link.txt -print0 |${XARGS} -0 ${REINPLACE_CMD} 's|-ldl||g' diff --git a/multimedia/avidemux26/distinfo b/multimedia/avidemux26/distinfo new file mode 100644 index 000000000000..27d881fd747d --- /dev/null +++ b/multimedia/avidemux26/distinfo @@ -0,0 +1,2 @@ +SHA256 (avidemux_2.6.8.tar.gz) = 02998c235a89894d184d745c94cac37b78bc20e9eb44b318ee2bb83f2507e682 +SIZE (avidemux_2.6.8.tar.gz) = 17380534 diff --git a/multimedia/avidemux26/files/avidemux2.desktop.in b/multimedia/avidemux26/files/avidemux2.desktop.in new file mode 100644 index 000000000000..d827f766c695 --- /dev/null +++ b/multimedia/avidemux26/files/avidemux2.desktop.in @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=%%NAME%%-%%API%% +GenericName[ru]=Видеоредактор +Comment=Video Editor +Comment[ru]=Видеоредактор +Exec=%%PREFIX%%/bin/%%NAME%%_%%API%% +MimeType=video/mpeg;video/quicktime;video/x-msvideo;video/x-anim;audio/x-mp3;audio/x-mp2; +Icon=%%DATADIR%%/%%NAME%%.png +Terminal=false +Type=Application +Categories=Application;AudioVideo;AudioVideoEditing; diff --git a/multimedia/avidemux26/files/patch-avidemux_core-ffmpeg_package-patches-Makefile.patch b/multimedia/avidemux26/files/patch-avidemux_core-ffmpeg_package-patches-Makefile.patch new file mode 100644 index 000000000000..50af201b28b3 --- /dev/null +++ b/multimedia/avidemux26/files/patch-avidemux_core-ffmpeg_package-patches-Makefile.patch @@ -0,0 +1,14 @@ +--- /dev/null ++++ avidemux_core/ffmpeg_package/patches/Makefile.patch +@@ -0,0 +1,11 @@ ++--- Makefile.orig +++++ Makefile ++@@ -79,7 +79,7 @@ ++ $(foreach V,$(SUBDIR_VARS),$(eval $(call RESET,$(V)))) ++ SUBDIR := $(1)/ ++ include $(SRC_PATH)/$(1)/Makefile ++--include $(SRC_PATH)/$(1)/$(ARCH)/Makefile +++-include $(SRC_PATH)/$(1)/$(FFMPEG_ARCH)/Makefile ++ include $(SRC_PATH)/library.mak ++ endef ++ diff --git a/multimedia/avidemux26/files/patch-avidemux_core-ffmpeg_package-patches-configure.patch b/multimedia/avidemux26/files/patch-avidemux_core-ffmpeg_package-patches-configure.patch new file mode 100644 index 000000000000..f92423e6023e --- /dev/null +++ b/multimedia/avidemux26/files/patch-avidemux_core-ffmpeg_package-patches-configure.patch @@ -0,0 +1,14 @@ +--- /dev/null ++++ avidemux_core/ffmpeg_package/patches/configure.patch +@@ -0,0 +1,11 @@ ++--- configure.orig +++++ configure ++@@ -4387,7 +4387,7 @@ ifndef MAIN_MAKEFILE ++ SRC_PATH:=\$(SRC_PATH:.%=..%) ++ endif ++ CC_IDENT=$cc_ident ++-ARCH=$arch +++FFMPEG_ARCH=$arch ++ CC=$cc ++ CXX=$cxx ++ AS=$as diff --git a/multimedia/avidemux26/files/patch-avidemux_core_ADM_core_src_ADM_memsupport.cpp b/multimedia/avidemux26/files/patch-avidemux_core_ADM_core_src_ADM_memsupport.cpp new file mode 100644 index 000000000000..ef9111df4f4b --- /dev/null +++ b/multimedia/avidemux26/files/patch-avidemux_core_ADM_core_src_ADM_memsupport.cpp @@ -0,0 +1,20 @@ +--- avidemux_core/ADM_core/src/ADM_memsupport.cpp.orig ++++ avidemux_core/ADM_core/src/ADM_memsupport.cpp +@@ -23,7 +23,7 @@ + * (at your option) any later version. * + * * + ***************************************************************************/ +-#ifndef __APPLE__ ++#if !defined(__APPLE__) && !defined(__FreeBSD__) + #include <malloc.h> + #endif + #include "ADM_default.h" +@@ -79,7 +79,7 @@ void ADM_dezalloc(void *ptr) + + ADM_aligned_free(ptr); + } +-#ifdef __APPLE__ ++#if defined(__APPLE__) || defined(__FreeBSD__) + void *ADM_aligned_alloc(size_t size) + { + return malloc(size); diff --git a/multimedia/avidemux26/files/patch-config.mak.diff b/multimedia/avidemux26/files/patch-config.mak.diff new file mode 100644 index 000000000000..2b19a78191f4 --- /dev/null +++ b/multimedia/avidemux26/files/patch-config.mak.diff @@ -0,0 +1,14 @@ +--- avidemux_core/ffmpeg_package/patches/config.mak.diff.orig ++++ avidemux_core/ffmpeg_package/patches/config.mak.diff +@@ -1,6 +1,8 @@ +---- config.mak 2011-09-29 06:10:57.072423557 +0000 +-+++ config.mak 2011-09-29 06:11:44.896423943 +0000 +-@@ -59,7 +59,7 @@ ++--- config.mak.orig +++++ config.mak ++@@ -93,7 +93,7 @@ ++ EXEOBJS= ++ INSTALL=install + LIBTARGET= + -SLIBNAME=$(SLIBPREF)$(FULLNAME)$(SLIBSUF) + +SLIBNAME=$(SLIBPREF)ADM6$(FULLNAME)$(SLIBSUF) diff --git a/multimedia/avidemux26/files/patch-libexecinfo b/multimedia/avidemux26/files/patch-libexecinfo new file mode 100644 index 000000000000..0c664b3a6f08 --- /dev/null +++ b/multimedia/avidemux26/files/patch-libexecinfo @@ -0,0 +1,11 @@ +--- cmake/admCheckMiscLibs.cmake.orig ++++ cmake/admCheckMiscLibs.cmake +@@ -67,7 +67,7 @@ + MESSAGE(STATUS "Checking for execinfo") + MESSAGE(STATUS "*********************") + +-FIND_HEADER_AND_LIB(execinfo execinfo.h execinfo backtrace_symbols) ++FIND_HEADER_AND_LIB(EXECINFO execinfo.h execinfo backtrace_symbols) + PRINT_LIBRARY_INFO("execinfo" EXECINFO_FOUND "${LIBEXECINFO_INCLUDE_DIR}" "${LIBEXECINFO_LIBRARY_DIR}") + + IF (LIBEXECINFO_INCLUDE_DIR) diff --git a/multimedia/avidemux26/files/patch-po__CMakeLists.txt b/multimedia/avidemux26/files/patch-po__CMakeLists.txt new file mode 100644 index 000000000000..3710beabeb07 --- /dev/null +++ b/multimedia/avidemux26/files/patch-po__CMakeLists.txt @@ -0,0 +1,15 @@ +--- ./po/CMakeLists.txt.orig 2007-10-08 15:57:48.000000000 +0200 ++++ ./po/CMakeLists.txt 2008-07-11 02:23:10.000000000 +0200 +@@ -1,3 +1,4 @@ ++IF (NOT DEFINED NO_NLS) + IF (HAVE_GETTEXT) + INCLUDE(Po) + COMPILE_PO_FILES(${CMAKE_SOURCE_DIR}/po MO_FILES) +@@ -10,4 +11,5 @@ + COMPILE_TS_FILES(${CMAKE_SOURCE_DIR}/po QM_FILES) + + ADD_CUSTOM_TARGET(qmfiles ALL DEPENDS ${QM_FILES}) +-ENDIF (QT4_FOUND) +\ No newline at end of file ++ENDIF (QT4_FOUND) ++ENDIF (NOT DEFINED NO_NLS) diff --git a/multimedia/avidemux26/pkg-descr b/multimedia/avidemux26/pkg-descr new file mode 100644 index 000000000000..2c3aa4b16ba4 --- /dev/null +++ b/multimedia/avidemux26/pkg-descr @@ -0,0 +1,8 @@ +A video editor that allows editing of AVI, OGM, and MPEG videos. The MPEG +support provides the ability to convert to DVD compliat PS streams. It +contains various filters for deinterlacing, cropping, resizing, etc. Allows +for cutting without re-encoding. Has the ability to re-encode and re-sample. +Utilizes ECMAScript (aka. Javascript) to provide batch scripting and +processing support. + +WWW: http://avidemux.org/ diff --git a/multimedia/avidemux26/pkg-plist b/multimedia/avidemux26/pkg-plist new file mode 100644 index 000000000000..9234963618cd --- /dev/null +++ b/multimedia/avidemux26/pkg-plist @@ -0,0 +1,69 @@ +lib/libADM6avcodec.so.54 +lib/libADM6avformat.so.54 +lib/libADM6avutil.so.52 +lib/libADM6postproc.so.52 +lib/libADM6swscale.so.2 +lib/libADM_core6.so +lib/libADM_coreAudio6.so +lib/libADM_coreImage6.so +lib/libADM_coreUI6.so +lib/libADM_audioParser6.so +lib/libADM_coreAudioDevice6.so +lib/libADM_coreAudioEncoder6.so +lib/libADM_coreAudioFilterAPI6.so +lib/libADM_coreDemuxer6.so +lib/libADM_coreDemuxerMpeg6.so +lib/libADM_coreImageLoader6.so +lib/libADM_coreJobs.so +lib/libADM_coreMuxer6.so +lib/libADM_coreScript.so +lib/libADM_coreSocket6.so +lib/libADM_coreSqlLight3.so +lib/libADM_coreSubtitle.so +lib/libADM_coreUtils6.so +%%VDPAU%%lib/libADM_coreVDPAU6.so +lib/libADM_coreVideoCodec6.so +lib/libADM_coreVideoEncoder6.so +lib/libADM_coreVideoFilter6.so +include/avidemux/2.6/libavutil/avconfig.h +include/avidemux/2.6/libavutil/attributes.h +include/avidemux/2.6/libavutil/avutil.h +include/avidemux/2.6/libavutil/bswap.h +include/avidemux/2.6/libavutil/common.h +include/avidemux/2.6/libavutil/cpu.h +include/avidemux/2.6/libavutil/intfloat_readwrite.h +include/avidemux/2.6/libavutil/log.h +include/avidemux/2.6/libavutil/mathematics.h +include/avidemux/2.6/libavutil/mem.h +include/avidemux/2.6/libavutil/pixfmt.h +include/avidemux/2.6/libavutil/old_pix_fmts.h +include/avidemux/2.6/libavutil/channel_layout.h +include/avidemux/2.6/libavutil/error.h +include/avidemux/2.6/libavutil/dict.h +include/avidemux/2.6/libavutil/version.h +include/avidemux/2.6/libavutil/time.h +include/avidemux/2.6/libavutil/intfloat.h +include/avidemux/2.6/libavutil/samplefmt.h +include/avidemux/2.6/libavutil/audioconvert.h +include/avidemux/2.6/libavutil/rational.h +include/avidemux/2.6/libavcodec/avcodec.h +include/avidemux/2.6/libavcodec/vdpau.h +include/avidemux/2.6/libavcodec/version.h +include/avidemux/2.6/libavcodec/old_codec_ids.h +include/avidemux/2.6/libavformat/avformat.h +include/avidemux/2.6/libavformat/avio.h +include/avidemux/2.6/libavformat/version.h +include/avidemux/2.6/libavformat/flv.h +include/avidemux/2.6/libpostproc/postprocess.h +include/avidemux/2.6/libpostproc/version.h +include/avidemux/2.6/libswscale/swscale.h +include/avidemux/2.6/libswscale/version.h +include/avidemux/2.6/ADM_coreConfig.h +include/avidemux/2.6/ADM_coreConfig.cmake +@dirrm include/avidemux/2.6/libavutil +@dirrm include/avidemux/2.6/libavcodec +@dirrm include/avidemux/2.6/libavformat +@dirrm include/avidemux/2.6/libpostproc +@dirrm include/avidemux/2.6/libswscale +@dirrm include/avidemux/2.6 +@dirrm include/avidemux |