diff options
author | Martin Matuska <mm@FreeBSD.org> | 2012-07-22 08:46:59 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2012-07-22 08:46:59 +0000 |
commit | f0b1bac694b16aba1e508e72ba7eda2db9001612 (patch) | |
tree | fceed1d9c88db9a6b7ae0ef7cb549d1668496812 /multimedia/gmerlin | |
parent | 1c43feef109b2f695671632d8c4cf07154937c9b (diff) | |
download | ports-f0b1bac694b16aba1e508e72ba7eda2db9001612.tar.gz ports-f0b1bac694b16aba1e508e72ba7eda2db9001612.zip |
Notes
Diffstat (limited to 'multimedia/gmerlin')
-rw-r--r-- | multimedia/gmerlin/Makefile | 150 | ||||
-rw-r--r-- | multimedia/gmerlin/distinfo | 4 | ||||
-rw-r--r-- | multimedia/gmerlin/files/patch-plugins-png_ir_png.c | 10 | ||||
-rw-r--r-- | multimedia/gmerlin/pkg-plist | 50 |
4 files changed, 88 insertions, 126 deletions
diff --git a/multimedia/gmerlin/Makefile b/multimedia/gmerlin/Makefile index 3ecda24979f2..6a73de5a8ac0 100644 --- a/multimedia/gmerlin/Makefile +++ b/multimedia/gmerlin/Makefile @@ -6,43 +6,33 @@ # PORTNAME= gmerlin -PORTVERSION= 1.0.0 -PORTREVISION= 4 +PORTVERSION= 1.2.0 CATEGORIES= multimedia MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Multimedia framework -LIB_DEPENDS= gavl.1:${PORTSDIR}/multimedia/gavl - -OPTIONS= PULSEAUDIO "Enable PulseAudio support" on \ - QUICKTIME "Enable QuickTime support" on \ - VISUAL "Enable libvisual support" on \ - CDIO "Enable libcdio support" on \ - CDDB "Enable CDDB support" on \ - ESOUND "Enable ESounD support" off \ - JACK "Enable Jack support" on \ - JPEG "Enable JPEG support" on \ - PNG "Enable PNG support" on \ - TIFF "Enable TIFF support" on \ - PLUGINCFG "Build plugin configurator" on \ - PLAYER "Build player" on \ - KBD "Build keyboard daemon" on \ - TRANSCODER "Build transcoder" on \ - RECORDER "Build recorder" on \ - VISUALIZER "Build visualizer" on \ - THUMBNAILER "Build thumbnailer" on \ - OPTIMIZED_CFLAGS "Additional optimizations" on +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ + gavl.1:${PORTSDIR}/multimedia/gavl + +OPTIONS_DEFINE= ALSA CDDB CDIO ESOUND JACK JPEG LIBVISUAL \ + OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME \ + TIFF +OPTIONS_DEFAULT= CDDB CDIO JACK JPEG LIBVISUAL \ + OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME \ + TIFF -USE_GNOME= gnomehack gtk20 libxml2 -USE_XORG= ice x11 xinerama xv -USE_GL= gl USE_GETTEXT= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-alsa --disable-v4l --disable-v4l2 \ - --disable-camelot --disable-alsamixer --disable-v4lconvert \ - --without-doxygen --without-cpuflags --disable-musicbrainz +CONFIGURE_ARGS= --disable-v4l --disable-v4l2 --disable-v4lconvert \ + --without-doxygen --with-cpuflags=none --disable-musicbrainz +USE_GNOME= gnomehack gtk20 libxml2 +USE_XORG= x11 xext xfixes xinerama xv +USE_GL= gl USE_LDCONFIG= yes INSTALL_ICONS= yes @@ -50,11 +40,24 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INFO= gmerlin -MAN1= gmerlin_play.1 +MAN1= gmerlin.1 \ + gmerlin_play.1 \ + gmerlin_remote.1 \ + gmerlin_transcoder.1 \ + gmerlin_transcoder_remote.1 \ + gmerlin-record.1 .include <bsd.port.pre.mk> -.if !defined(WITHOUT_PULSEAUDIO) +.if ${PORT_OPTIONS:MALSA} +LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib +PLIST_SUB+= ALSA="" +.else +CONFIGURE_ARGS+=--disable-alsa +PLIST_SUB+= ALSA="@comment " +.endif + +.if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio PLIST_SUB+= PULSEAUDIO="" .else @@ -62,7 +65,7 @@ CONFIGURE_ARGS+=--disable-pulseaudio PLIST_SUB+= PULSEAUDIO="@comment " .endif -.if !defined(WITHOUT_QUICKTIME) +.if ${PORT_OPTIONS:MQUICKTIME} LIB_DEPENDS+= quicktime.0:${PORTSDIR}/multimedia/libquicktime PLIST_SUB+= QUICKTIME="" .else @@ -70,13 +73,13 @@ CONFIGURE_ARGS+=--disable-lqt PLIST_SUB+= QUICKTIME="@comment " .endif -.if !defined(WITHOUT_VISUAL) +.if ${PORT_OPTIONS:MLIBVISUAL} LIB_DEPENDS+= visual-0.4:${PORTSDIR}/graphics/libvisual04 .else CONFIGURE_ARGS+=--disable-libvisual .endif -.if !defined(WITHOUT_CDIO) +.if ${PORT_OPTIONS:MCDIO} LIB_DEPENDS+= cdio.13:${PORTSDIR}/sysutils/libcdio PLIST_SUB+= CDIO="" .else @@ -84,13 +87,13 @@ CONFIGURE_ARGS+=--disable-libcdio PLIST_SUB+= CDIO="@comment " .endif -.if !defined(WITHOUT_CDDB) +.if ${PORT_OPTIONS:MCDDB} LIB_DEPENDS+= cddb.4:${PORTSDIR}/audio/libcddb .else CONFIGURE_ARGS+=--disable-cddb .endif -.if defined(WITH_ESOUND) +.if ${PORT_OPTIONS:MESOUND} LIB_DEPENDS+= esd.2:${PORTSDIR}/audio/esound PLIST_SUB+= ESOUND="" .else @@ -98,7 +101,7 @@ CONFIGURE_ARGS+=--disable-esd PLIST_SUB+= ESOUND="@comment " .endif -.if defined(WITH_JACK) +.if ${PORT_OPTIONS:MJACK} LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack PLIST_SUB+= JACK="" .else @@ -106,7 +109,7 @@ CONFIGURE_ARGS+=--disable-jack PLIST_SUB+= JACK="@comment " .endif -.if !defined(WITHOUT_JPEG) +.if ${PORT_OPTIONS:MJPEG} LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg PLIST_SUB+= JPEG="" .else @@ -114,7 +117,7 @@ CONFIGURE_ARGS+=--disable-libjpeg PLIST_SUB+= JPEG="@comment " .endif -.if !defined(WITHOUT_PNG) +.if ${PORT_OPTIONS:MPNG} LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png PLIST_SUB+= PNG="" .else @@ -122,7 +125,7 @@ CONFIGURE_ARGS+=--disable-libpng PLIST_SUB+= PNG="@comment " .endif -.if !defined(WITHOUT_TIFF) +.if ${PORT_OPTIONS:MTIFF} LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff PLIST_SUB+= TIFF="" .else @@ -131,59 +134,15 @@ PLIST_SUB+= TIFF="@comment " .endif # applications -.if !defined(WITHOUT_PLUGINCFG) -PLIST_SUB+= PLUGINCFG="" -.else -CONFIGURE_ARGS+=--disable-plugincfg -PLIST_SUB+= PLUGINCFG="@comment " -.endif - -.if !defined(WITHOUT_PLAYER) -MAN1+= gmerlin.1 gmerlin_remote.1 -PLIST_SUB+= PLAYER="" -.else -CONFIGURE_ARGS+=--disable-player -PLIST_SUB+= PLAYER="@comment " -.endif - -.if !defined(WITHOUT_KBD) -PLIST_SUB+= KBD="" -.else -CONFIGURE_ARGS+=--disable-kbd -PLIST_SUB+= KBD="@comment " -.endif - -.if !defined(WITHOUT_TRANSCODER) -MAN1+= gmerlin_transcoder.1 gmerlin_transcoder_remote.1 -PLIST_SUB+= TRANSCODER="" -.else -CONFIGURE_ARGS+=--disable-transcoder -PLIST_SUB+= TRANSCODER="@comment " -.endif - -.if !defined(WITHOUT_RECORDER) -PLIST_SUB+= RECORDER="" -.else -CONFIGURE_ARGS+=--disable-recorder -PLIST_SUB+= RECORDER="@comment " -.endif - -.if !defined(WITHOUT_VISUALIZER) -PLIST_SUB+= VISUALIZER="" -.else -CONFIGURE_ARGS+=--disable-visualizer -PLIST_SUB+= VISUALIZER="@comment " -.endif - -.if !defined(WITHOUT_THUMBNAILER) -PLIST_SUB+= THUMBNAILER="" +.if ${PORT_OPTIONS:MALSA} +PLIST_SUB+= ALSAMIXER="" .else -CONFIGURE_ARGS+=--disable-thumbnailer -PLIST_SUB+= THUMBNAILER="@comment " +CONFIGURE_ARGS+=--disable-alsamixer +PLIST_SUB+= ALSAMIXER="@comment " .endif # vendor ocflags from configure -.if !defined(WITHOUT_OPTIMIZED_CFLAGS) +.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math CXXFLAGS+= -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math .endif @@ -194,21 +153,18 @@ post-patch: s|-DGTK_DISABLE_DEPRECATED||g ; \ /LIBS/ s|-ldl||g ; \ s|^LDFLAGS="|&$${LDFLAGS} |g' ${WRKSRC}/configure -.for file in apps/cmdlineplayer/Makefile.in apps/kbd/Makefile.in \ - apps/player/Makefile.in apps/transcoder/Makefile.in \ - apps/thumbnailer/Makefile.in lib/Makefile.in tests/Makefile.in @${REINPLACE_CMD} -e \ 's|-ldl||g ; \ s|-lpthread|${PTHREAD_LIBS}|g ; \ - /^LIBS = / s|$$| @LIBINTL@ ${PTHREAD_LIBS}|g' ${WRKSRC}/${file} -.endfor -.for file in doc/Makefile.in + /^LIBS = / s|$$| @LIBINTL@ ${PTHREAD_LIBS}|g' \ + ${WRKSRC}/lib/Makefile.am ${WRKSRC}/lib/Makefile.in \ + ${WRKSRC}/tests/Makefile.am ${WRKSRC}/tests/Makefile.in \ + ${WRKSRC}/apps/*/Makefile.am ${WRKSRC}/apps/*/Makefile.in @${REINPLACE_CMD} -e \ - 's|^texinfo_|#texinfo_|g' ${WRKSRC}/${file} -.endfor + 's|^texinfo_|#texinfo_|g' ${WRKSRC}/doc/Makefile.in post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif diff --git a/multimedia/gmerlin/distinfo b/multimedia/gmerlin/distinfo index 591328f381f2..8896ad471b72 100644 --- a/multimedia/gmerlin/distinfo +++ b/multimedia/gmerlin/distinfo @@ -1,2 +1,2 @@ -SHA256 (gmerlin-1.0.0.tar.gz) = a94bfd08869aa575982f4713a103bb0af314591414c02be6634239b70d7a9b14 -SIZE (gmerlin-1.0.0.tar.gz) = 2450041 +SHA256 (gmerlin-1.2.0.tar.gz) = 80a217c417b197562961cfd55bf5d356d7eb5278601f6f5e05636455822e3d62 +SIZE (gmerlin-1.2.0.tar.gz) = 3119224 diff --git a/multimedia/gmerlin/files/patch-plugins-png_ir_png.c b/multimedia/gmerlin/files/patch-plugins-png_ir_png.c deleted file mode 100644 index 8b6ed3b80508..000000000000 --- a/multimedia/gmerlin/files/patch-plugins-png_ir_png.c +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/png/ir_png.c.orig 2011-11-17 15:55:16.000000000 +0100 -+++ plugins/png/ir_png.c 2011-11-17 15:55:29.000000000 +0100 -@@ -133,7 +133,6 @@ - png_set_expand_gray_1_2_4_to_8(png->png_ptr); - #endif - -- png_set_gray_1_2_4_to_8(png->png_ptr); - if (png_get_valid(png->png_ptr, png->info_ptr, PNG_INFO_tRNS)) - { - png_set_tRNS_to_alpha(png->png_ptr); diff --git a/multimedia/gmerlin/pkg-plist b/multimedia/gmerlin/pkg-plist index f2ba81affd88..c12023577235 100644 --- a/multimedia/gmerlin/pkg-plist +++ b/multimedia/gmerlin/pkg-plist @@ -1,21 +1,25 @@ -%%PLAYER%%bin/gmerlin -%%THUMBNAILER%%bin/gmerlin-video-thumbnailer +bin/album2m3u +bin/album2pls +bin/gmerlin +bin/gmerlin-video-thumbnailer +%%ALSAMIXER%%bin/gmerlin_alsamixer bin/gmerlin_imgconvert bin/gmerlin_imgdiff -%%KBD%%bin/gmerlin_kbd -%%KBD%%bin/gmerlin_kbd_config -%%PLAYER%%bin/gmerlin_launcher +bin/gmerlin_kbd +bin/gmerlin_kbd_config +bin/gmerlin_launcher bin/gmerlin_play -%%PLUGINCFG%%bin/gmerlin_plugincfg +bin/gmerlin_plugincfg bin/gmerlin_psnr -%%RECORDER%%bin/gmerlin_recorder -%%PLAYER%%bin/gmerlin_remote +bin/gmerlin-record +bin/gmerlin_recorder +bin/gmerlin_remote bin/gmerlin_ssim -%%TRANSCODER%%bin/gmerlin_transcoder -%%TRANSCODER%%bin/gmerlin_transcoder_remote +bin/gmerlin_transcoder +bin/gmerlin_transcoder_remote bin/gmerlin_vanalyze bin/gmerlin_visualize -%%VISUALIZER%%bin/gmerlin_visualizer +bin/gmerlin_visualizer bin/gmerlin_visualizer_slave bin/gmerlin_vpsnr include/gmerlin/accelerator.h @@ -59,8 +63,11 @@ include/gmerlin/gui_gtk/urlselect.h include/gmerlin/keycodes.h include/gmerlin/lcdproc.h include/gmerlin/log.h +include/gmerlin/mediafiledevice.h include/gmerlin/msgqueue.h +include/gmerlin/ocr.h include/gmerlin/osd.h +include/gmerlin/ov.h include/gmerlin/parameter.h include/gmerlin/player.h include/gmerlin/playermsg.h @@ -130,16 +137,22 @@ lib/gmerlin/plugins/fv_oldcolor.la lib/gmerlin/plugins/fv_oldcolor.so lib/gmerlin/plugins/fv_pixelformat.la lib/gmerlin/plugins/fv_pixelformat.so +lib/gmerlin/plugins/fv_swapfields.la +lib/gmerlin/plugins/fv_swapfields.so lib/gmerlin/plugins/fv_tcdisplay.la lib/gmerlin/plugins/fv_tcdisplay.so lib/gmerlin/plugins/fv_tctweak.la lib/gmerlin/plugins/fv_tctweak.so +lib/gmerlin/plugins/fv_textlogo.la +lib/gmerlin/plugins/fv_textlogo.so lib/gmerlin/plugins/fv_tlp.la lib/gmerlin/plugins/fv_tlp.so lib/gmerlin/plugins/fv_transform.la lib/gmerlin/plugins/fv_transform.so lib/gmerlin/plugins/fv_zoom.la lib/gmerlin/plugins/fv_zoom.so +%%ALSA%%lib/gmerlin/plugins/i_alsa.la +%%ALSA%%lib/gmerlin/plugins/i_alsa.so %%CDIO%%lib/gmerlin/plugins/i_cdaudio.la %%CDIO%%lib/gmerlin/plugins/i_cdaudio.so lib/gmerlin/plugins/i_edl.la @@ -186,6 +199,8 @@ lib/gmerlin/plugins/iw_tga.la lib/gmerlin/plugins/iw_tga.so %%TIFF%%lib/gmerlin/plugins/iw_tiff.la %%TIFF%%lib/gmerlin/plugins/iw_tiff.so +%%ALSA%%lib/gmerlin/plugins/oa_alsa.la +%%ALSA%%lib/gmerlin/plugins/oa_alsa.so %%ESOUND%%lib/gmerlin/plugins/oa_esd.la %%ESOUND%%lib/gmerlin/plugins/oa_esd.so %%JACK%%lib/gmerlin/plugins/oa_jack.la @@ -206,12 +221,13 @@ lib/libgmerlin_gtk.so lib/libgmerlin_gtk.so.0 libdata/pkgconfig/gmerlin-gtk.pc libdata/pkgconfig/gmerlin.pc -%%KBD%%share/applications/gmerlin-kbd.desktop -%%PLAYER%%share/applications/gmerlin-player.desktop -%%PLUGINCFG%%share/applications/gmerlin-plugincfg.desktop -%%RECORDER%%share/applications/gmerlin-recorder.desktop -%%TRANSCODER%%share/applications/gmerlin-transcoder.desktop -%%VISUALIZER%%share/applications/gmerlin-visualizer.desktop +%%ALSAMIXER%%share/applications/gmerlin-alsamixer.desktop +share/applications/gmerlin-kbd.desktop +share/applications/gmerlin-player.desktop +share/applications/gmerlin-plugincfg.desktop +share/applications/gmerlin-recorder.desktop +share/applications/gmerlin-transcoder.desktop +share/applications/gmerlin-visualizer.desktop %%PORTDOCS%%%%DOCSDIR%%/README %%DATADIR%%/icons/about_16.png %%DATADIR%%/icons/add_16.png |