Index: head/games/stepmania-devel/Makefile =================================================================== --- head/games/stepmania-devel/Makefile (revision 456183) +++ head/games/stepmania-devel/Makefile (revision 456184) @@ -1,93 +1,93 @@ # Created by: Brad Allen # $FreeBSD$ PORTNAME= stepmania PORTVERSION= 5.0.11 DISTVERSIONPREFIX= v -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= games PKGNAMESUFFIX= -devel MAINTAINER= ports@FreeBSD.org COMMENT= Rhythm game simulator LICENSE= MIT LICENSE_FILE= ${WRKSRC}/Docs/Licenses.txt LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-msse2" USE_GITHUB= yes USES= cmake:outsource iconv jpeg perl5 pkgconfig shebangfix SHEBANG_FILES= Utils/*.pl extern/zlib/zlib2ansi USE_XORG= x11 xrandr xtst USE_GL= glew USE_PERL5= build CMAKE_ARGS= -DHAVE__MKDIR:BOOL=OFF INSTALLS_ICONS= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= ALSA DOCS FFMPEG GTK2 JACK MAD PULSEAUDIO VAAPI VORBIS OPTIONS_DEFAULT= GTK2 MAD VORBIS OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_OFF= -DWITH_ALSA:BOOL=OFF FFMEPG_BUILD_DEPENDS= yasm:devel/yasm FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_ON= -DWITH_SYSTEM_FFMPEG:BOOL=ON FFMPEG_CMAKE_OFF= -DWITH_FFMPEG:BOOL=OFF GTK2_USE= gnome=gtk20 GTK2_CMAKE_ON= -DWITH_GTK2:BOOL=ON JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= -DWITH_JACK:BOOL=OFF MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CMAKE_OFF= -DWITH_MP3:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_OFF= -DWITH_PULSE:BOOL=OFF VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CMAKE_OFF= -DVA_FOUND:BOOL=OFF VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CMAKE_OFF= -DWITH_OGG:BOOL=OFF pre-build: @${MKDIR} ${WRKDIR}/wrappers @${ECHO_CMD} -n \ > ${WRKDIR}/wrappers/stepmania @${ECHO_CMD} '#!${SH}' \ >> ${WRKDIR}/wrappers/stepmania @${ECHO_CMD} 'cd ${PREFIX}/lib/stepmania' \ >> ${WRKDIR}/wrappers/stepmania @${ECHO_CMD} 'exec ./stepmania "$$@"' \ >> ${WRKDIR}/wrappers/stepmania do-install: (cd ${WRKDIR}/wrappers && ${INSTALL_SCRIPT} stepmania \ ${STAGEDIR}${PREFIX}/bin) .for i in Announcers BGAnimations BackgroundEffects BackgroundTransitions \ Characters Courses Data NoteSkins Scripts Songs Themes @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} \ ${STAGEDIR}${PREFIX}/lib/stepmania) .endfor (cd ${WRKSRC} && ${INSTALL_PROGRAM} stepmania \ ${STAGEDIR}${PREFIX}/lib/stepmania) (cd ${WRKSRC} && ${INSTALL_DATA} stepmania.desktop \ ${STAGEDIR}${PREFIX}/share/applications) @(cd ${WRKSRC} && ${COPYTREE_SHARE} icons \ ${STAGEDIR}${PREFIX}/share) post-install-GTK2-on: (cd ${WRKSRC} && ${INSTALL_LIB} GtkModule.so \ ${STAGEDIR}${PREFIX}/lib/stepmania) post-install-DOCS-on: @(cd ${WRKSRC}/Docs && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR} "! -name Licenses.txt") .include Index: head/graphics/gnash/Makefile =================================================================== --- head/graphics/gnash/Makefile (revision 456183) +++ head/graphics/gnash/Makefile (revision 456184) @@ -1,246 +1,246 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= gnash PORTVERSION= 0.8.10 -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= graphics MASTER_SITES= http://git.savannah.gnu.org/cgit/gnash.git/snapshot/ DISTNAME= gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880 MAINTAINER= dinoex@FreeBSD.org COMMENT= GNU Flash movie player LICENSE= GPLv3 LIB_DEPENDS= libltdl.so:devel/libltdl \ libnspr4.so:devel/nspr \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp \ libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig CONFLICTS= gnash-devel-[0-9]* USES= cpe tar:bzip2 compiler:features autoreconf pkgconfig gmake libtool jpeg desktop-file-utils CPE_VENDOR= gnu GNU_CONFIGURE= yes WANT_GSTREAMER= yes USE_GNOME= libxml2 USE_XORG= x11 xau xdmcp xext xi xinerama ice sm xv USE_GL= egl INSTALLS_ICONS= yes SYSCONFIGDIR= ${PREFIX}/etc # jemalloc leads to infinite recursion on FreeBSD CFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \ --with-boost-lib="${LOCALBASE}/lib" \ --with-plugins-install=prefix \ --sysconfdir="${SYSCONFIGDIR}" \ --disable-testsuite \ --disable-kparts3 \ --disable-jemalloc GNASHVER= 0.8.11dev CONFIG_FILES= gnashpluginrc gnashrc WRKSRC= ${WRKDIR}/${DISTNAME} PLIST_SUB+= GNASHVER="${GNASHVER}" USE_LDCONFIG= ${PREFIX}/lib/gnash OPTIONS_DEFINE= PLUGIN CYGNAL VAAPI DOCS OPTIONS_SINGLE= MEDIA GUI RENDERER OPTIONS_SINGLE_MEDIA= FFMPEG GSTREAMER OPTIONS_SINGLE_GUI= GTK2 KDE4 OPTIONS_SINGLE_RENDERER=AGG OPENGL CAIRO OPTIONS_DEFAULT=GTK2 PLUGIN AGG FFMPEG VAAPI NO_OPTIONS_SORT=yes OPTIONS_SUB= yes PLUGIN_DESC= browser plugin CYGNAL_DESC= Cygnal media server AGG_DESC= AGG renderer OPENGL_DESC= OpenGL renderer (experimental) CAIRO_DESC= Cairo renderer FFMPEG_DESC= ffmpeg media handler GSTREAMER_DESC= GStreamer media handler VAAPI_DESC= VAAPI support (requires FFMPEG) KDE4_USES= kde:4 CYGNAL_CONFIGURE_ENABLE= cygnal .include # Cygnal option processing .if ${PORT_OPTIONS:MCYGNAL} CONFIG_FILES+= cygnalrc .endif # NLS option processing (not sure if --disable-nls actually has any effect) .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif # # Plugin configuration # .if ${PORT_OPTIONS:MGTK2} && ${PORT_OPTIONS:MPLUGIN} USES+= webplugin:native WEBPLUGIN_NAME= gnash WEBPLUGIN_FILES= libgnashplugin.so WEBPLUGIN_DIR=${_WEBPLUGIN_LIBDIR:S,^${LOCALBASE}/,${PREFIX}/,}/${WEBPLUGIN_NAME} PLIST_SUB+= NPAPI="" CONFIGURE_ARGS+=--with-npapi-plugindir="${WEBPLUGIN_DIR}" BUILD_DEPENDS+= ${LOCALBASE}/bin/xulrunner:www/libxul RUN_DEPENDS+= ${LOCALBASE}/bin/xulrunner:www/libxul .else PLIST_SUB+= NPAPI="@comment " CONFIGURE_ARGS+= --disable-npapi .endif .if ${PORT_OPTIONS:MKDE4} && ${PORT_OPTIONS:MPLUGIN} PLIST_SUB+= KPARTS4="${KDE_PREFIX}" CONFIGURE_ARGS+= --with-kde4_prefix=${KDE_PREFIX} \ --with-kde-appsdatadir=${KDE_PREFIX}/share/apps/klash .else PLIST_SUB+= KPARTS4="@comment " CONFIGURE_ARGS+= --disable-kparts4 .endif # # GUI options processing # GNASH_GUIS= .if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 pango atk gconf2 GNASH_GUIS+= gtk .endif .if ${PORT_OPTIONS:MKDE4} GNASH_GUIS+= kde4 USE_QT4= moc_build QT_NONSTANDARD= yes USE_KDE= kdelibs CONFIGURE_ARGS+= --without-gconf CONFIGURE_ENV+= KDE4_CONFIG="${KDE_PREFIX}/bin/kde4-config" .if ${PORT_OPTIONS:MNLS} LDFLAGS+= -lintl .endif .endif .if ${GNASH_GUIS} == "" IGNORE= needs at least one GUI enabled. Please rerun 'make config' and enable GTK or KDE4 .endif CONFIGURE_ARGS+=--enable-gui=`${ECHO} ${GNASH_GUIS} | ${TR} ' ' ,` # # Renderer options processing # GNASH_RENDERERS= .if ${PORT_OPTIONS:MAGG} LIB_DEPENDS+= libagg.so:graphics/agg GNASH_RENDERERS+= agg .endif .if ${PORT_OPTIONS:MOPENGL} IGNORE= support for OpenGL is currently broken, use option AGG GNASH_RENDERERS+= ogl .if ${PORT_OPTIONS:MGTK2} LIB_DEPENDS+= libgdkglext-x11-1.0.so:x11-toolkits/gtkglext .endif .endif .if ${PORT_OPTIONS:MCAIRO} .if ${PORT_OPTIONS:MKDE4} IGNORE= doesn't support Cairo renderer with KDE4 gui. Please rerun 'make config' and select different renderer or disable KDE4 GUI .endif LIB_DEPENDS+= libcairo.so:graphics/cairo GNASH_RENDERERS+= cairo .endif .if ${GNASH_RENDERERS} == "" IGNORE= needs at least one renderer enabled. Please rerun 'make config' and enable AGG, OPENGL or CAIRO .endif CONFIGURE_ARGS+= --enable-renderer=${GNASH_RENDERERS:S/^ //W:S/ /,/gW} # # Hardware acceleration options processing # .if ${PORT_OPTIONS:MVAAPI} .if empty(PORT_OPTIONS:MFFMPEG) IGNORE= option VAAPI currently works only with FFMPEG. Please rerun 'make config' and enable FFMPEG .endif LIB_DEPENDS+= libva.so:multimedia/libva CONFIGURE_ARGS+= --enable-device=egl,x11,vaapi .else CONFIGURE_ARGS+= --enable-hwaccel=none # XVideo CONFIGURE_ARGS+= --enable-device=egl,x11 .endif # # Media handler options processing # .if ${PORT_OPTIONS:MFFMPEG} && empty(PORT_OPTIONS:MGSTREAMER) LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg \ libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis CONFIGURE_ARGS+= --enable-media=ffmpeg \ --with-ffmpeg-incl=${LOCALBASE}/include/libavcodec \ --with-ffmpeg-lib=${LOCALBASE}/lib USE_SDL+= sdl MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/ffmpeg" .elif ${PORT_OPTIONS:MGSTREAMER} && empty(PORT_OPTIONS:MFFMPEG) USE_GSTREAMER= ffmpeg mad vorbis CONFIGURE_ARGS+= --enable-media=gst USE_SDL+= sdl .else CONFIGURE_ARGS+= --enable-media=none IGNORE= can't be built with multiple media handlers enabled. Please rerun 'make config' and leave one or none of them (ffmpeg|gstreamer) .endif .include post-patch: ${REINPLACE_CMD} -e 's|lib64|lib|g' -e 's|lib32|lib|g' \ ${WRKSRC}/macros/libslist ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/macros/incllist ${REINPLACE_CMD} -e 's|CODEC_ID_|AV_CODEC_ID_|' \ ${WRKSRC}/libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp post-install: # eglinfo conflicts with mesa-demos ${MV} ${STAGEDIR}/${PREFIX}/bin/eglinfo ${STAGEDIR}/${PREFIX}/bin/eglinfo-gnash .for conf in ${CONFIG_FILES} ${MV} ${STAGEDIR}/${SYSCONFIGDIR}/${conf} ${STAGEDIR}${SYSCONFIGDIR}/${conf}.dist .endfor .if ${PORT_OPTIONS:MPLUGIN} .if ${PORT_OPTIONS:MGTK2} cd ${INSTALL_WRKSRC}/plugin && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-plugin .endif .if ${PORT_OPTIONS:MKDE4} cd ${INSTALL_WRKSRC}/plugin/klash4 && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-plugin .endif .endif .include Index: head/graphics/mesa-dri/Makefile =================================================================== --- head/graphics/mesa-dri/Makefile (revision 456183) +++ head/graphics/mesa-dri/Makefile (revision 456184) @@ -1,86 +1,87 @@ # Created by: Eric Anholt # $FreeBSD$ PORTNAME= mesa-dri PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= OpenGL hardware acceleration drivers for DRI2+ RUN_DEPENDS= ${LOCALBASE}/lib/libtxc_dxtn.so:graphics/s2tc USE_XORG= dri2proto dri3proto glproto presentproto x11 xdamage xext \ xfixes xshmfence xv xvmc OPTIONS_DEFINE= TEXTURE VAAPI VDPAU OPTIONS_DEFAULT=TEXTURE OPTIONS_SUB= yes TEXTURE_DESC= Enable texture-float support (patent encumbered) TEXTURE_CONFIGURE_ENABLE= texture-float VAAPI_CONFIGURE_ENABLE= va VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_USE= XORG=xcb VDPAU_CONFIGURE_ENABLE= vdpau VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" ALL_DRI_DRIVERS= I915 I965 RADEON R200 SWRAST ALL_GALLIUM_DRIVERS= FREEDRENO R300 R600 RADEONSI SVGA SWRAST VC4 DRI_DRIVERS= SWRAST # classic swrast .if "${MESA_LLVM_VER}" != "" GALLIUM_DRIVERS= SWRAST # llvmpipe .else GALLIUM_DRIVERS= "" .endif .if ${ARCH} == amd64 || ${ARCH} == i386 \ || ${ARCH} == powerpc || ${ARCH} == powerpc64 DRI_DRIVERS+= RADEON R200 GALLIUM_DRIVERS+= R300 R600 . if "${MESA_LLVM_VER}" != "" # until PPC gets LLVM in base GALLIUM_DRIVERS+= RADEONSI . endif .endif .if ${ARCH} == amd64 || ${ARCH} == i386 DRI_DRIVERS+= I915 I965 GALLIUM_DRIVERS+= SVGA . if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 EXTRA_PATCHES+= ${PATCHDIR}/extra-src_mesa_drivers_dri_i965_intel__screen.c . endif .elif ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7 GALLIUM_DRIVERS+= FREEDRENO VC4 . if ${ARCH} == armv6 || ${ARCH} == armv7 EXTRA_PATCHES+= ${PATCHDIR}/extra-src_gallium_drivers_vc4_Makefile.in . endif .endif CONFIGURE_ARGS+= --with-dri-drivers="${DRI_DRIVERS:tl}" \ --with-gallium-drivers="${GALLIUM_DRIVERS:tl}" .for _d in ${ALL_DRI_DRIVERS} . if ${DRI_DRIVERS:M${_d}} PLIST_SUB+= ${_d}_DRIVER="" . else PLIST_SUB+= ${_d}_DRIVER="@comment " . endif .endfor .for _gd in ${ALL_GALLIUM_DRIVERS} . if ${GALLIUM_DRIVERS:M${_gd}} PLIST_SUB+= ${_gd}_GDRIVER="" . else PLIST_SUB+= ${_gd}_GDRIVER="@comment " . endif .endfor .include "${MASTERDIR}/Makefile.targets" post-install: @${RM} -r ${STAGEDIR}/etc/OpenCL .include Index: head/multimedia/QtAV/Makefile =================================================================== --- head/multimedia/QtAV/Makefile (revision 456183) +++ head/multimedia/QtAV/Makefile (revision 456184) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= QtAV PORTVERSION= 1.12.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Cross-platform multimedia framwork based on Qt and ffmpeg LICENSE= LGPL21+ LICENSE_FIKE= ${WRKSRC}/lgpl-2.1.txt LIB_DEPENDS= libass.so:multimedia/libass \ libavcodec.so:multimedia/ffmpeg USES= qmake:outsource USE_GL= gl USE_QT5= core gui network opengl qml quick sql widgets \ buildtools_build qmake_build USE_XORG= x11 xext xv OPTIONS_DEFINE= OPENAL UCHARDET VAAPI PULSEAUDIO OPTIONS_DEFAULT= OPENAL UCHARDET VAAPI OPTIONS_SUB= yes OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft OPENAL_QMAKE_OFF= CONFIG+=no-openal PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_QMAKE_OFF= CONFIG+=no-pulseaudio UCHARDET_DESC= Guess subtitle encoding via uchardet UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet UCHARDET_QMAKE_OFF= CONFIG+=no-uchardet VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_QMAKE_OFF= CONFIG+=no-vaapi PLIST_SUB= QT_VERSION="${_QT_VERSION}" USE_GITHUB= yes GH_ACCOUNT= wang-bin # The examples are GLPv3 licencensed and have too generic names, like 'Player', # so don't install them. QMAKE_ARGS= CONFIG+=no-examples .include Index: head/multimedia/avidemux/Makefile =================================================================== --- head/multimedia/avidemux/Makefile (revision 456183) +++ head/multimedia/avidemux/Makefile (revision 456184) @@ -1,50 +1,50 @@ # 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= avidemux PORTVERSION= ${AVIDEMUX_VERSION} -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= multimedia MAINTAINER= multimedia@FreeBSD.org COMMENT= Simple GUI based video editor .include "${.CURDIR}/Makefile.common" .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MQT4} PLIST_FILES+= ${DATADIR}/${PORTNAME}.png .endif .if ${PORT_OPTIONS:MGTK2} PLIST_FILES+= ${DESKTOPDIR}/${PORTNAME}.desktop .endif .if ${PORT_OPTIONS:MQT4} PLIST_FILES+= ${DESKTOPDIR}/${PORTNAME}_qt4.desktop .endif 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" .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}" .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}" .endif .endif .include Index: head/multimedia/avidemux/Makefile.common =================================================================== --- head/multimedia/avidemux/Makefile.common (revision 456183) +++ head/multimedia/avidemux/Makefile.common (revision 456184) @@ -1,285 +1,285 @@ # $FreeBSD$ -PORTREVISION?= 2 +PORTREVISION?= 3 AVIDEMUX_VERSION= 2.6.11 MASTER_SITES= \ SF/avidemux/avidemux/${PORTVERSION} DISTNAME= avidemux_${PORTVERSION} BUILD_DEPENDS+= yasm:devel/yasm \ bash:shells/bash LIB_DEPENDS+= libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libpng.so:graphics/png LICENSE= GPLv2 USE_GNOME= libxml2 USE_QT4= # empty OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME:C/-.*//}/options USES= cmake:outsource,noninja pkgconfig iconv gmake compiler:features sqlite USES+= dos2unix DOS2UNIX_FILES= cmake/admCheckMiscLibs.cmake \ avidemux_core/ADM_coreVideoCodec/include/ADM_coreVideoCodec6_export.h \ avidemux_core/ADM_coreVideoCodec/include/ADM_ffmp43.h CMAKE_ARGS+= -DGNUMAKE_EXECUTABLE=gmake CMAKE_ARGS+= -DAVIDEMUX_PACKAGER=none CMAKE_ARGS+= -DQT5:BOOL=OFF CXXFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes NOPRECIOUSMAKEVARS= yes # ARCH BUILD_DEPENDS+= ${LOCALBASE}/bin/as: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 FRIBIDI OPUS TWOLAME \ FAAD X264 X265 VPX XVID SDL AMR VORBIS NLS LAME VAAPI VDPAU OPTIONS_DEFAULT= QT4 FREETYPE FONTCONFIG OSS XVIDEO VPX XVID \ SDL FAAD VDPAU VORBIS OPTIONS_SUB= yes CLI_DESC= Build CLI tool FRIBIDI_CMAKE_OFF= -DFRIDIBI:BOOL=OFF FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi OPUS_CMAKE_OFF= -DOPUS:BOOL=OFF OPUS_LIB_DEPENDS= libopus.so:audio/opus TWOLAME_CMAKE_OFF= -DTWOLAME:BOOL=OFF TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= LAME FAAC AMR X264 .endif .include .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 # 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 CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=/usr/include CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=-lexecinfo # 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 gtk30 PLIST_SUB+= GTK="" .else CMAKE_ARGS+= -DGTK:BOOL=OFF PLIST_SUB+= GTK="@comment " .endif .if ${PORT_OPTIONS:MQT4} 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:audio/jack PLIST_SUB+= JACK="" .else CMAKE_ARGS+= -DJACK:BOOL=OFF PLIST_SUB+= JACK="@comment " .endif .if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= libpulse.so:audio/pulseaudio PLIST_SUB+= PULSE="" .else CMAKE_ARGS+= -DPULSEAUDIOSIMPLE:BOOL=OFF PLIST_SUB+= PULSE="@comment " .endif .if ${PORT_OPTIONS:MFREETYPE} LIB_DEPENDS+= libfreetype.so:print/freetype2 PLIST_SUB+= FREETYPE="" .else CMAKE_ARGS+= -DFREETYPE2:BOOL=OFF PLIST_SUB+= FREETYPE="@comment " .endif .if ${PORT_OPTIONS:MFONTCONFIG} LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig .else CMAKE_ARGS+= -DFONTCONFIG:BOOL=OFF .endif .if ${PORT_OPTIONS:MXVIDEO} #LIB_DEPENDS+= Xv:x11/libXv USE_XORG+= xv .else CMAKE_ARGS+= -DXVIDEO:BOOL=OFF .endif .if ${PORT_OPTIONS:MFAAC} LIB_DEPENDS+= libfaac.so:audio/faac PLIST_SUB+= FAAC="" .else CMAKE_ARGS+= -DFAAC:BOOL=OFF PLIST_SUB+= FAAC="@comment " .endif .if ${PORT_OPTIONS:MLAME} LIB_DEPENDS+= libmp3lame.so:audio/lame PLIST_SUB+= LAME="" .else CMAKE_ARGS+= -DLAME:BOOL=OFF PLIST_SUB+= LAME="@comment " .endif .if ${PORT_OPTIONS:MFAAD} LIB_DEPENDS+= libfaad.so: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:multimedia/libx264 PLIST_SUB+= X264="" .else CMAKE_ARGS+= -DX264:BOOL=OFF PLIST_SUB+= X264="@comment " .endif .if ${PORT_OPTIONS:MX265} LIB_DEPENDS+= libx265.so:multimedia/x265 PLIST_SUB+= X265="" .else CMAKE_ARGS+= -DX265:BOOL=OFF PLIST_SUB+= X265="@comment " .endif .if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:multimedia/libvpx PLIST_SUB+= VPX="" .else CMAKE_ARGS+= -DVPXDEC:BOOL=OFF PLIST_SUB+= VPX="@comment " .endif .if ${PORT_OPTIONS:MXVID} LIB_DEPENDS+= libxvidcore.so: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:MVAAPI} LIB_DEPENDS+= libva.so:multimedia/libva PLIST_SUB+= VAAPI="" .else CMAKE_ARGS+= -DVAAPI:BOOL=OFF -DLIBVA:BOOL=OFF PLIST_SUB+= VAAPI="@comment " .endif .if ${PORT_OPTIONS:MVDPAU} LIB_DEPENDS+= libvdpau.so:multimedia/libvdpau PLIST_SUB+= VDPAU="" .else CMAKE_ARGS+= -DVDPAU:BOOL=OFF PLIST_SUB+= VDPAU="@comment " .endif .if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbis.so: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: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 .include # 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 .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif post-patch: @${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' Index: head/multimedia/ccextractor/Makefile =================================================================== --- head/multimedia/ccextractor/Makefile (revision 456183) +++ head/multimedia/ccextractor/Makefile (revision 456184) @@ -1,48 +1,49 @@ # $FreeBSD$ PORTNAME= ccextractor DISTVERSIONPREFIX= v DISTVERSION= 0.85 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= oz@nixil.net COMMENT= Closed caption extractor for MPEG and H264 files LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmp.so:math/gmp \ libgnutls.so:security/gnutls \ libogg.so:audio/libogg \ libopencv_core.so:graphics/opencv-core \ libpng.so:graphics/png \ libschroedinger-1.0.so:multimedia/schroedinger \ libtheoraenc.so:multimedia/libtheora \ libv4l2.so:multimedia/libv4l \ libva-x11.so:multimedia/libva \ libvdpau.so:multimedia/libvdpau \ libvorbisenc.so:audio/libvorbis \ libvpx.so:multimedia/libvpx \ libx264.so:multimedia/libx264 \ libx265.so:multimedia/x265 \ libxvidcore.so:multimedia/xvid USES= cmake:outsource iconv localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= CCExtractor USE_XORG= x11 USE_LDCONFIG= yes CMAKE_SOURCE_PATH= ${WRKSRC}/src CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON CMAKE_ARGS+= -DWITH_OCR:BOOL=OFF # fails: CFLAGS get semicolon-separated for some reason CMAKE_ARGS+= -DWITH_SHARING:BOOL=OFF # enable when net/nanomsg is available OPTIONS_DEFINE= FFMPEG OPTIONS_DEFAULT= FFMPEG FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg .include Index: head/multimedia/ffmpeg/Makefile =================================================================== --- head/multimedia/ffmpeg/Makefile (revision 456183) +++ head/multimedia/ffmpeg/Makefile (revision 456184) @@ -1,486 +1,487 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= ffmpeg PORTVERSION= 3.4.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= http://ffmpeg.org/releases/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Realtime audio/video encoder/converter and streaming server LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= nasm:devel/nasm \ ${LOCALBASE}/bin/as:devel/binutils HAS_CONFIGURE= yes USES= compiler:c11 cpe gmake localbase:ldflags perl5 \ pkgconfig shebangfix tar:xz USE_LDCONFIG= yes USE_PERL5= build SHEBANG_FILES= doc/texi2pod.pl NOPRECIOUSMAKEVARS= yes # ARCH PORTSCOUT= limit:^3\. OPTIONS_DEFINE= ALSA AMR_NB AMR_WB ASS BS2B CACA CDIO CELT CHROMAPRINT DC1394 \ DEBUG DOCS DRM FDK_AAC FFSERVER FLITE FONTCONFIG \ FREETYPE FREI0R FRIBIDI GME GSM ICONV ILBC JACK KVAZAAR LADSPA \ LAME LIBBLURAY LIBRSVG2 LIBXML2 MODPLUG MYSOFA OPENAL OPENCL OPENCV OPENGL \ OPENH264 OPENJPEG OPTIMIZED_CFLAGS OPUS PULSEAUDIO \ RUBBERBAND RTCPU SDL SMB SNAPPY SNDIO SOXR SPEEX SSH \ TESSERACT THEORA TWOLAME V4L VAAPI VDPAU VIDSTAB VORBIS \ VO_AMRWBENC VPX WAVPACK WEBP X264 X265 XCB XVID \ XVIDEO ZIMG ZMQ ZVBI OPTIONS_DEFAULT= FFSERVER FONTCONFIG FREETYPE FREI0R GMP GNUTLS ICONV \ OPENCV OPTIMIZED_CFLAGS RTCPU THEORA V4L VAAPI VDPAU \ VORBIS VPX X264 X265 XVID .if !exists(${.CURDIR:H:H}/science/libmysofa) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/2336c76b2246 OPTIONS_EXCLUDE+= MYSOFA .endif OPTIONS_RADIO= RTMP SSL OPTIONS_RADIO_RTMP= GCRYPT GMP LIBRTMP OPTIONS_RADIO_SSL= GNUTLS OPENSSL OPTIONS_GROUP= LICENSE OPTIONS_GROUP_LICENSE= GPL3 NONFREE OPTIONS_DEFINE_amd64= MMX SSE OPTIONS_DEFINE_armv6= VFP NEON OPTIONS_DEFINE_i386= MMX SSE OPTIONS_DEFAULT_amd64= MMX SSE OPTIONS_DEFAULT_i386= MMX SSE ASS_DESC= Subtitles rendering via libass BS2B_DESC= Bauer Stereophonic-to-Binaural filter CHROMAPRINT_DESC= Audio fingerprinting with chromaprint DC1394_DESC= IIDC-1394 grabbing using libdc1394 DRM_DESC= KMS grabbing using libdrm FDK_AAC_DESC= AAC audio encoding via Fraunhofer FDK FFSERVER_DESC= Build and install ffserver FLITE_DESC= Voice synthesis support via libflite GME_DESC= Game Music Emu demuxer GPL3_DESC= Allow (L)GPL version 3 code(cs) ILBC_DESC= Internet Low Bit Rate codec KVAZAAR_DESC= H.265 video codec support via Kvazaar LICENSE_DESC= Licensing options NEON_DESC= Media Processing Engine instructions MYSOFA_DESC= SOFAlizer binaural filter NONFREE_DESC= Allow use of nonfree code OPENH264_DESC= H.264 video codec support via OpenH264 RUBBERBAND_DESC=Time-stretching and pitch-shifting with librubberband RTCPU_DESC= Detect CPU capabilities at runtime RTMP_DESC= RTMP(T)E protocol support LIBRTMP_DESC= ${RTMP_DESC} via librtmp TESSERACT_DESC= Optical Character Recognition via Tesseract VFP_DESC= Vector Floating Point instructions VIDSTAB_DESC= Video stabilization filter XCB_DESC= X11 grabbing using XCB ZIMG_DESC= "z" library video scaling filter ZMQ_DESC= Message passing via libzmq${ZMQ_VERSION} ZVBI_DESC= Teletext support via libzvbi OPTIONS_SUB= yes # alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa # Opencore AMR NB AMR_NB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_NB_CONFIGURE_ENABLE= libopencore-amrnb AMR_NB_IMPLIES= GPL3 # Opencore AMR WB AMR_WB_LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr AMR_WB_CONFIGURE_ENABLE= libopencore-amrwb AMR_WB_IMPLIES= GPL3 # ass ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass # bs2b BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CONFIGURE_ENABLE= libbs2b # caca CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= libcaca # cdio CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ENABLE= libcdio # celt CELT_LIB_DEPENDS= libcelt0.so:audio/celt CELT_CONFIGURE_ENABLE= libcelt # chromaprint CHROMAPRINT_BROKEN= Dependency loop CHROMAPRINT_LIB_DEPENDS= libchromaprint.so:audio/chromaprint CHROMAPRINT_CONFIGURE_ENABLE= chromaprint # dc1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 DC1394_CONFIGURE_ENABLE= libdc1394 # debugging DEBUG_CONFIGURE_ON= --disable-stripping DEBUG_CONFIGURE_OFF= --disable-debug # docs DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_CONFIGURE_ENABLE= htmlpages # drm DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_CONFIGURE_ENABLE= libdrm # fdk_aac FDK_AAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDK_AAC_CONFIGURE_ENABLE= libfdk-aac FDK_AAC_IMPLIES= NONFREE # ffserver FFSERVER_CONFIGURE_ENABLE= ffserver FFSERVER_VARS= USE_RC_SUBR+=ffserver # flite FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CONFIGURE_ENABLE= libflite # fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig # freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= libfreetype # frei0r FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE= frei0r # fribidi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= libfribidi # gcrypt GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CONFIGURE_ENABLE= gcrypt # gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE= gnutls # gme GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= libgme # gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp GMP_CONFIGURE_ENABLE= gmp GMP_IMPLIES= GPL3 # gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ENABLE= libgsm # iconv ICONV_USES= iconv ICONV_CONFIGURE_ENABLE= iconv # ilbc ILBC_LIB_DEPENDS= libilbc.so:net/libilbc ILBC_CONFIGURE_ENABLE= libilbc # jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack # kvazaar KVAZAAR_LIB_DEPENDS= libkvazaar.so:multimedia/kvazaar KVAZAAR_CONFIGURE_ENABLE= libkvazaar # ladspa LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_ENABLE= ladspa # lame LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame # libbluray LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray # librsvg LIBRSVG2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 LIBRSVG2_CONFIGURE_ENABLE= librsvg # libxml LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LIBXML2_CONFIGURE_ENABLE= libxml2 # libv4l V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l2 V4L_CONFIGURE_OFF= --disable-indev=v4l2 \ --disable-outdev=v4l2 # mmx support MMX_CONFIGURE_ENABLE= mmx # modplug MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= libmodplug # mysofa MYSOFA_LIB_DEPENDS= libmysofa.so:science/libmysofa MYSOFA_CONFIGURE_ENABLE= libmysofa # OpenAL OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft OPENAL_CONFIGURE_ENABLE= openal # opencl OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_CONFIGURE_ENABLE= opencl # opencv OPENCV_LIB_DEPENDS= libopencv_imgproc.so:graphics/opencv-core OPENCV_CONFIGURE_ENABLE= libopencv # opengl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl # openh264 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CONFIGURE_ENABLE= libopenh264 # openjpeg OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_ENABLE= libopenjpeg # openssl OPENSSL_USES= ssl OPENSSL_CONFIGURE_ENABLE= openssl OPENSSL_IMPLIES= NONFREE # optimizations OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations # opus OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= libopus # pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= libpulse # rubberband RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CONFIGURE_ENABLE= librubberband # rtcpu RTCPU_CONFIGURE_ENABLE= runtime-cpudetect # rtmp LIBRTMP_LIB_DEPENDS= librtmp.so:multimedia/librtmp LIBRTMP_CONFIGURE_ENABLE= librtmp # sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= sdl2 # smbclient SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= libsmbclient SMB_IMPLIES= GPL3 # snappy SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy SNAPPY_CONFIGURE_ENABLE= libsnappy # sndio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio # soxr SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CONFIGURE_ENABLE= libsoxr # speex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= libspeex # sse support SSE_CONFIGURE_ENABLE= sse SSE_IMPLIES= MMX # ssh SSH_LIB_DEPENDS= libssh.so:security/libssh SSH_CONFIGURE_ENABLE= libssh # tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CONFIGURE_ENABLE= libtesseract # theora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= libtheora # twolame TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= libtwolame # vaapi VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi # vdpau VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau # armv6/armv7 VFP_CONFIGURE_ENABLE= vfp NEON_CONFIGURE_ENABLE= neon .if ! ${CFLAGS:M-march*} NEON_CONFIGURE_ON= --cpu=armv7-a .endif # vo-amrwbenc VO_AMRWBENC_LIB_DEPENDS= libvo-amrwbenc.so:audio/vo-amrwbenc VO_AMRWBENC_CONFIGURE_ENABLE= libvo-amrwbenc VO_AMRWBENC_IMPLIES= GPL3 # vid.stab VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE= libvidstab # vorbis VORBIS_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= libvorbis # vp8 VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx # wavpack WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_ENABLE= libwavpack # webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= libwebp # x264 X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= libx264 # x265 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= libx265 # xcb XCB_USE= XORG=xcb XCB_CONFIGURE_ENABLE= libxcb # xvid XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= libxvid # xv XVIDEO_USE= XORG=xv XVIDEO_CONFIGURE_OFF= --disable-outdev=xv # zimg ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_CONFIGURE_ENABLE= libzimg # zmq ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq${ZMQ_VERSION} ZMQ_CONFIGURE_ENABLE= libzmq ZMQ_VERSION?= 4 # zvbi ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= libzvbi # License knobs GPL3_CONFIGURE_ENABLE= version3 GPL3_VARS= LICENSE="GPLv3+ LGPL3+" LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPLv3 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPLv3 NONFREE_CONFIGURE_ENABLE=nonfree NONFREE_VARS= RESTRICTED="enabling OPENSSL or FDK_AAC restricts redistribution" INSTALL_TARGET= install-progs install-doc install-data \ install-libs install-headers install-examples DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin V=1 CONFIGURE_ARGS+=--prefix="${PREFIX}" \ --mandir="${PREFIX}/man" \ --datadir="${DATADIR}" \ --pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --enable-shared \ --enable-pic \ --enable-gpl \ --enable-postproc \ --enable-avfilter \ --enable-avresample \ --enable-pthreads \ --cc="${CC}" CONFIGURE_ENV_aarch64_clang= ASFLAGS=-no-integrated-as CONFIGURE_ENV_armv6_clang= ASFLAGS=-no-integrated-as CONFIGURE_ENV_armv7_clang= ASFLAGS=-no-integrated-as CONFIGURE_ARGS_FreeBSD_10_armv6=--disable-fast-unaligned DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \ README.md RELEASE_NOTES # under doc subdirectory DOC_DOCFILES= APIchanges *.txt PORTDOCS= * # Custom helpers. FOO_${ARCH} style from bsd.port.mk CONFIGURE_ENV+= ${CONFIGURE_ENV_${ARCH}_${CHOSEN_COMPILER_TYPE}} CONFIGURE_ARGS+=${CONFIGURE_ARGS_${OPSYS}_${OSREL:R}_${ARCH}} post-patch: # {C,LD}FLAGS safeness @${REINPLACE_CMD} -e 's|/etc/ffserver.conf|${PREFIX}/etc/ffserver.conf|' \ ${WRKSRC}/fftools/ffserver.c @${REINPLACE_CMD} -E \ -e 's|require_pkg_config opencv|require_pkg_config opencv-core|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} post-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${DOC_FILES}" ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ "${DOC_DOCFILES}" ${STAGEDIR}${DOCSDIR}) post-install-FFSERVER-on: ${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \ ${STAGEDIR}${PREFIX}/etc/ffserver.conf.sample .include Index: head/multimedia/ffmpeg0/Makefile =================================================================== --- head/multimedia/ffmpeg0/Makefile (revision 456183) +++ head/multimedia/ffmpeg0/Makefile (revision 456184) @@ -1,378 +1,378 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= ffmpeg PORTVERSION= 0.7.17 -PORTREVISION= 10 +PORTREVISION= 11 PORTEPOCH= 1 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= http://ffmpeg.org/releases/ PKGNAMESUFFIX= 0 MAINTAINER= wg@FreeBSD.org COMMENT= Realtime audio/video encoder/converter and streaming server LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPLv2 LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPLv2.1 BUILD_DEPENDS= yasm:devel/yasm \ ${LOCALBASE}/bin/as:devel/binutils \ ${LOCALBASE}/bin/texi2html:textproc/texi2html PORTSCOUT= limit:^0\.7.* USES= cpe gmake perl5 pkgconfig tar:bzip2 shebangfix USE_LDCONFIG= ${PREFIX}/lib/ffmpeg${FFMPEG_SUFFIX} USE_PERL5= build SHEBANG_FILES= doc/texi2pod.pl NOPRECIOUSMAKEVARS= yes # ARCH FFMPEG_SUFFIX= 0 HAS_CONFIGURE= yes CONFIGURE_LOG= config.err CONFIGURE_ENV+= EXESUF="${FFMPEG_SUFFIX}" MAKE_ARGS+= EXESUF="${FFMPEG_SUFFIX}" PLIST_SUB+= SUFF="${FFMPEG_SUFFIX}" PROGS= ffmpeg ffprobe CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin V=1 CONFIGURE_ARGS+=--prefix="${PREFIX}" \ --mandir="${PREFIX}/man" \ --incdir="${PREFIX}/include/ffmpeg${FFMPEG_SUFFIX}" \ --libdir="${PREFIX}/lib/ffmpeg${FFMPEG_SUFFIX}" \ --shlibdir="${PREFIX}/lib/ffmpeg${FFMPEG_SUFFIX}" \ --datadir="${DATADIR}" \ --build-suffix="${FFMPEG_SUFFIX}" \ --enable-shared \ --enable-pic \ --enable-gpl \ --enable-postproc \ --enable-avfilter \ --enable-pthreads \ --enable-runtime-cpudetect \ --cc="${CC}" \ --extra-cflags="${FFMPEG_CFLAGS} -I${LOCALBASE}/include" \ --extra-ldflags="-L${LOCALBASE}/lib ${FFMPEG_LDFLAGS}" \ --extra-libs="-lpthread" SHLIB_VER= 1 PLIST_SUB+= SHLIB_VER=${SHLIB_VER} DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE= AACPLUS ALSA AMR_NB AMR_WB CELT DEBUG DIRAC FAAC \ FFSERVER FREETYPE FREI0R GSM LAME OPENCV OPENJPEG \ OPTIMIZED_CFLAGS RTMP SCHROEDINGER SDL SPEEX THEORA VAAPI \ VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX X11GRAB X264 XVID DOCS OPTIONS_DEFAULT= FFSERVER FREETYPE FREI0R OPENCV SCHROEDINGER \ THEORA VORBIS VPX X264 XVID OPTIONS_SUB= yes FFSERVER_DESC= Build and install ffserver X11GRAB_DESC= Enable x11 grabbing ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-indev=alsa \ --disable-outdev=alsa CELT_LIB_DEPENDS= libcelt0.so:audio/celt CELT_CONFIGURE_ENABLE= libcelt DIRAC_LIB_DEPENDS= libdirac_encoder.so:multimedia/dirac DIRAC_CONFIGURE_ENABLE= libdirac DEBUG_CONFIGURE_ON= --disable-stripping DEBUG_CONFIGURE_OFF= --disable-debug FFSERVER_CONFIGURE_OFF= --disable-ffserver FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= libfreetype FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE= frei0r GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ENABLE= libgsm LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame OPENCV_LIB_DEPENDS= libopencv_imgproc.so:graphics/opencv-core OPENCV_CONFIGURE_ENABLE= libopencv OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 OPENJPEG_CONFIGURE_ENABLE= libopenjpeg RTMP_USES= ssl SCHROEDINGER_LIB_DEPENDS= libschroedinger-1.0.so:multimedia/schroedinger SCHROEDINGER_CONFIGURE_ENABLE= libschroedinger SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= libspeex THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= libtheora X11GRAB_USE= XORG=x11,xext,xfixes X11GRAB_CONFIGURE_ON= --enable-x11grab X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= libx264 XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= libxvid VDPAU_BUILD_DEPENDS= ${LOCALBASE}/include/vdpau/vdpau.h:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx COMPAT_HEADERS=libavcodec/avcodec.h \ libavcodec/opt.h \ libavcodec/vdpau.h \ libavcodec/xvmc.h \ libavdevice/avdevice.h \ libavfilter/avfilter.h \ libavformat/avformat.h \ libavformat/avio.h \ libavutil/adler32.h \ libavutil/avstring.h \ libavutil/avutil.h \ libavutil/base64.h \ libavutil/common.h \ libavutil/crc.h \ libavutil/fifo.h \ libavutil/intfloat_readwrite.h \ libavutil/log.h \ libavutil/lzo.h \ libavutil/mathematics.h \ libavutil/md5.h \ libavutil/mem.h \ libavutil/pixfmt.h \ libavutil/rational.h \ libavutil/sha1.h \ libpostproc/postprocess.h \ libswscale/swscale.h .include .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ENV+= ASFLAGS=-no-integrated-as CFLAGS+= -no-integrated-as .endif DOC_FILES= CREDITS INSTALL LICENSE MAINTAINERS README RELEASE # under doc subdirectory DOC_DOCFILES= APIchanges RELEASE_NOTES TODO *.txt *.html .if ${PORT_OPTIONS:MFFSERVER} USE_RC_SUBR= ffserver${FFMPEG_SUFFIX} PROGS+= ffserver .endif # sse hardware vector support .if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" || ${MACHINE_CPU:Mamd64} == "amd64") _BUILTIN_VECTOR= yes .else CONFIGURE_ARGS+= --disable-sse .endif # mmx support .if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} == "" && ${MACHINE_CPU:Mamd64} == "" CONFIGURE_ARGS+= --disable-mmx _NO_BUILTIN_VECTOR= yes .endif # builtin vector, requires mmx and sse .if !defined(_NO_BUILTIN_VECTOR) && defined(_BUILTIN_VECTOR) CFLAGS+= -msse .endif # optimizations .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -O3 -ffast-math -fno-finite-math-only -fomit-frame-pointer .endif #aacplus .if ${PORT_OPTIONS:MAACPLUS} FFMPEG_NONFREE= yes LIB_DEPENDS+= libaacplus.so:audio/libaacplus CONFIGURE_ARGS+= --enable-libaacplus .else CONFIGURE_ARGS+= --disable-libaacplus .endif # Opencore AMR NB .if ${PORT_OPTIONS:MAMR_NB} FFMPEG_LICENSE_GPL3= yes LIB_DEPENDS+= libopencore-amrnb.so:audio/opencore-amr CONFIGURE_ARGS+= --enable-libopencore-amrnb .else CONFIGURE_ARGS+= --disable-libopencore-amrnb .endif # Opencore AMR WB .if ${PORT_OPTIONS:MAMR_WB} FFMPEG_LICENSE_GPL3= yes LIB_DEPENDS+= libopencore-amrwb.so:audio/opencore-amr CONFIGURE_ARGS+= --enable-libopencore-amrwb .else CONFIGURE_ARGS+= --disable-libopencore-amrwb .endif # faac .if ${PORT_OPTIONS:MFAAC} FFMPEG_NONFREE= yes LIB_DEPENDS+= libfaac.so:audio/faac CONFIGURE_ARGS+= --enable-libfaac .else CONFIGURE_ARGS+= --disable-libfaac .endif # rtmp .if ${PORT_OPTIONS:MRTMP} LIB_DEPENDS+= librtmp.so:multimedia/librtmp CONFIGURE_ARGS+= --enable-librtmp . if ${OPENSSLBASE} != "/usr" FFMPEG_CFLAGS+= -I${OPENSSLINC} FFMPEG_LDFLAGS+= -L${OPENSSLLIB} . endif .else CONFIGURE_ARGS+= --disable-librtmp .endif # sdl .if ${PORT_OPTIONS:MSDL} USE_SDL+= sdl PLIST_FILES+= bin/ffplay${FFMPEG_SUFFIX} man/man1/ffplay${FFMPEG_SUFFIX}.1.gz PROGS+= ffplay .else CONFIGURE_ARGS+= --disable-ffplay .endif # vaapi .if ${PORT_OPTIONS:MVAAPI} FFMPEG_LICENSE_GPL3= yes LIB_DEPENDS+= libva.so:multimedia/libva CONFIGURE_ARGS+= --enable-vaapi .else CONFIGURE_ARGS+= --disable-vaapi .endif # vo-aacenc .if ${PORT_OPTIONS:MVO_AACENC} FFMPEG_LICENSE_GPL3= yes LIB_DEPENDS+= libvo-aacenc.so:audio/vo-aacenc CONFIGURE_ARGS+= --enable-libvo-aacenc .else CONFIGURE_ARGS+= --disable-libvo-aacenc .endif # vo-amrwbenc .if ${PORT_OPTIONS:MVO_AMRWBENC} FFMPEG_LICENSE_GPL3= yes LIB_DEPENDS+= libvo-amrwbenc.so:audio/vo-amrwbenc CONFIGURE_ARGS+= --enable-libvo-amrwbenc .else CONFIGURE_ARGS+= --disable-libvo-amrwbenc .endif # vorbis .if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbisenc.so:audio/libvorbis CONFIGURE_ARGS+= --enable-libvorbis FFMPEG_CFLAGS+= -I${LOCALBASE}/include/vorbis .else CONFIGURE_ARGS+= --disable-libvorbis .endif # License knobs .if defined(FFMPEG_NONFREE) RESTRICTED= linking to libfaac or libaacplus restricts redistribution CONFIGURE_ARGS+= --enable-nonfree .endif .if defined(FFMPEG_LICENSE_GPL3) LICENSE+= GPLv3+ LGPL3+ LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPLv3 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPLv3 CONFIGURE_ARGS+= --enable-version3 .endif post-patch: # {C,LD}FLAGS safeness @${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|$$(DESTDIR)$$(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/subdir.mak @${REINPLACE_CMD} -e 's|/etc/ffserver.conf|${PREFIX}/etc/ffserver${FFMPEG_SUFFIX}.conf|' \ ${WRKSRC}/ffserver.c @${REINPLACE_CMD} -E \ -e "s|(EXTRALIBS[[:space:]]*=)|\1-L${LOCALBASE}/lib |g; \ s|%%LOCALBASE%%|${LOCALBASE}|g; \ s|gsm/gsm.h|gsm.h|g" \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's|-ldl||; s|$$(LIBMAJOR)|${SHLIB_VER}|g;' \ -e 's|opencv opencv/cxcore.h|opencv-core opencv2/core/core_c.h|g' \ -e 's|check_ldflags -Wl,--as-needed||' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .if ${PORT_OPTIONS:MSDL} @${REINPLACE_CMD} -E \ -e 's|sdl-config|${SDL_CONFIG}|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @${FIND} ${WRKSRC} -type f | \ ${XARGS} -n 10 ${REINPLACE_CMD} -E \ -e 's|#include Index: head/multimedia/gstreamer1-vaapi/Makefile =================================================================== --- head/multimedia/gstreamer1-vaapi/Makefile (revision 456183) +++ head/multimedia/gstreamer1-vaapi/Makefile (revision 456184) @@ -1,31 +1,32 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= gstreamer1-vaapi PORTVERSION= 1.12.3 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer-vaapi/ DISTNAME= gstreamer-vaapi-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= GStreamer hardware video decoding via VA-API plug-in LICENSE= LGPL21 LIB_DEPENDS= libva.so:multimedia/libva GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-wayland INSTALL_TARGET= install-strip USES= compiler:c11 gettext-runtime gmake gnome libtool \ pkgconfig tar:xz USE_LDCONFIG= yes USE_GNOME= glib20 USE_GSTREAMER1= bad gl USE_GL= gl USE_XORG= x11 xrandr xrender xproto:build # drm backend needs libudev so disable it for now. CONFIGURE_ARGS+=--disable-drm .include Index: head/multimedia/gstreamer1-vaapi/files/patch-configure =================================================================== --- head/multimedia/gstreamer1-vaapi/files/patch-configure (nonexistent) +++ head/multimedia/gstreamer1-vaapi/files/patch-configure (revision 456184) @@ -0,0 +1,52 @@ +--- configure.orig 2017-09-18 12:23:59 UTC ++++ configure +@@ -18008,12 +18008,12 @@ if test -n "$PKG_CONFIG"; then + pkg_cv_LIBVA_CFLAGS="$LIBVA_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= \$VAAPI_REQ libva < 0.99.0\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "libva >= $VAAPI_REQ libva < 0.99.0") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= \$VAAPI_REQ libva <= 1.0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libva >= $VAAPI_REQ libva <= 1.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_LIBVA_CFLAGS=`$PKG_CONFIG --cflags "libva >= $VAAPI_REQ libva < 0.99.0" 2>/dev/null` ++ pkg_cv_LIBVA_CFLAGS=`$PKG_CONFIG --cflags "libva >= $VAAPI_REQ libva <= 1.0.0" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -18026,12 +18026,12 @@ if test -n "$PKG_CONFIG"; then + pkg_cv_LIBVA_LIBS="$LIBVA_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= \$VAAPI_REQ libva < 0.99.0\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "libva >= $VAAPI_REQ libva < 0.99.0") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= \$VAAPI_REQ libva < 1.00.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libva >= $VAAPI_REQ libva <= 1.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_LIBVA_LIBS=`$PKG_CONFIG --libs "libva >= $VAAPI_REQ libva < 0.99.0" 2>/dev/null` ++ pkg_cv_LIBVA_LIBS=`$PKG_CONFIG --libs "libva >= $VAAPI_REQ libva <= 1.0.0" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -18050,14 +18050,14 @@ else + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- LIBVA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libva >= $VAAPI_REQ libva < 0.99.0"` ++ LIBVA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libva >= $VAAPI_REQ libva <= 1.0.0"` + else +- LIBVA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libva >= $VAAPI_REQ libva < 0.99.0"` ++ LIBVA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libva >= $VAAPI_REQ libva <= 1.0.0"` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBVA_PKG_ERRORS" >&5 + +- as_fn_error $? "Package requirements (libva >= $VAAPI_REQ libva < 0.99.0) were not met: ++ as_fn_error $? "Package requirements (libva >= $VAAPI_REQ libva <= 1.0.0) were not met: + + $LIBVA_PKG_ERRORS + Property changes on: head/multimedia/gstreamer1-vaapi/files/patch-configure ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/gstreamer1-vaapi/files/patch-gst-libs_gst_vaapi_gstvaapiutils.c =================================================================== --- head/multimedia/gstreamer1-vaapi/files/patch-gst-libs_gst_vaapi_gstvaapiutils.c (nonexistent) +++ head/multimedia/gstreamer1-vaapi/files/patch-gst-libs_gst_vaapi_gstvaapiutils.c (revision 456184) @@ -0,0 +1,77 @@ +From 777bba473e3ed1c7b8b7f7f0322892851c70dfd9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= + +Date: Tue, 11 Jul 2017 17:29:13 +0200 +Subject: libs: utils: libva 1.0 changed the logging + +The logging mechanism in libva has changed it's functions +signatures. This patch updates that for libva versions >= 1.0 + +https://bugzilla.gnome.org/show_bug.cgi?id=784398 + +diff --git a/gst-libs/gst/vaapi/gstvaapiutils.c b/gst-libs/gst/vaapi/gstvaapiutils.c +index 0ed1efe..c24bed7 100644 +--- gst-libs/gst/vaapi/gstvaapiutils.c ++++ gst-libs/gst/vaapi/gstvaapiutils.c +@@ -46,15 +46,43 @@ + #define STRCASE(x) case x: return STRINGIFY(x) + + #if VA_CHECK_VERSION (0,40,0) +-static void +-gst_vaapi_log (const char *message) ++static gchar * ++strip_msg (const char *message) + { + gchar *msg; + + msg = g_strdup (message); + if (!msg) ++ return NULL; ++ return g_strstrip (msg); ++} ++ ++#if VA_CHECK_VERSION (1,0,0) ++static void ++gst_vaapi_err (void *data, const char *message) ++{ ++ gchar *msg; ++ ++ msg = strip_msg (message); ++ if (!msg) ++ return; ++ GST_ERROR ("%s", msg); ++ g_free (msg); ++} ++#endif ++ ++static void ++gst_vaapi_log ( ++#if VA_CHECK_VERSION (1,0,0) ++ void *data, ++#endif ++ const char *message) ++{ ++ gchar *msg; ++ ++ msg = strip_msg (message); ++ if (!msg) + return; +- g_strchomp (msg); + GST_INFO ("%s", msg); + g_free (msg); + } +@@ -66,7 +94,10 @@ vaapi_initialize (VADisplay dpy) + gint major_version, minor_version; + VAStatus status; + +-#if VA_CHECK_VERSION (0,40,0) ++#if VA_CHECK_VERSION (1,0,0) ++ vaSetErrorCallback (dpy, gst_vaapi_err, NULL); ++ vaSetInfoCallback (dpy, gst_vaapi_log, NULL); ++#elif VA_CHECK_VERSION (0,40,0) + vaSetInfoCallback (gst_vaapi_log); + #endif + +-- +cgit v0.10.2 + Property changes on: head/multimedia/gstreamer1-vaapi/files/patch-gst-libs_gst_vaapi_gstvaapiutils.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/kodi/Makefile =================================================================== --- head/multimedia/kodi/Makefile (revision 456183) +++ head/multimedia/kodi/Makefile (revision 456184) @@ -1,224 +1,224 @@ # $FreeBSD$ PORTNAME= kodi DISTVERSION= 17.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia java MAINTAINER= mickael.maillot@gmail.com COMMENT= Award winning media center application LICENSE= GPLv2 BUILD_DEPENDS= enca:converters/enca \ gawk:lang/gawk \ gperf:devel/gperf \ cmake:devel/cmake \ zip:archivers/zip \ nasm:devel/nasm \ swig3.0:devel/swig30 LIB_DEPENDS= libass.so:multimedia/libass \ libFLAC.so:audio/flac \ libcdio.so:sysutils/libcdio \ libcrossguid.so:devel/libcrossguid \ libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdcadec.so:multimedia/libdcadec \ libenca.so:converters/enca \ libexpat.so:textproc/expat2\ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgcrypt.so:security/libgcrypt \ libgmp.so:math/gmp \ libgpg-error.so:security/libgpg-error \ libgnutls.so:security/gnutls \ libidn.so:dns/libidn \ libinotify.so:devel/libinotify \ libjasper.so:graphics/jasper \ libltdl.so:devel/libltdl \ liblzo2.so:archivers/lzo2 \ libmodplug.so:audio/libmodplug \ libmpeg2.so:multimedia/libmpeg2 \ libnettle.so:security/nettle \ libogg.so:audio/libogg \ libp11-kit.so:security/p11-kit \ libpcre.so:devel/pcre \ libpng.so:graphics/png \ libsamplerate.so:audio/libsamplerate \ libsqlite3.so:databases/sqlite3 \ libtag.so:audio/taglib \ libtasn1.so:security/libtasn1 \ libtiff.so:graphics/tiff \ libtinyxml.so:textproc/tinyxml \ libtspi.so:security/trousers \ libunistring.so:devel/libunistring \ libuuid.so:misc/e2fsprogs-libuuid \ libvorbis.so:audio/libvorbis \ libxslt.so:textproc/libxslt \ libyajl.so:devel/yajl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 KODI_ARCH_i386= x86 KODI_ARCH_amd64=x86_64 KODI_ARCH_armv6=armv6 KODI_ARCH_armv7=armv7 USES= autoreconf:build compiler:c++11-lib gettext gmake iconv jpeg \ libtool pkgconfig python:-2.7 ssl GNU_CONFIGURE= yes USE_JAVA= yes USE_GNOME= libxml2 USE_LDCONFIG= yes JAVA_BUILD= jre NOPRECIOUSMAKEVARS= yes CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB}" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" KODI_CODENAME= Krypton FFMPEG_VERS= 3.1.6 LIBDVDCSS_TAGNAME= 2f12236 LIBDVDNAV_TAGNAME= 981488f LIBDVDREAD_TAGNAME= 17d99db USE_GITHUB= yes GH_TUPLE= xbmc:xbmc:${PORTVERSION}-${KODI_CODENAME} \ xbmc:FFmpeg:${FFMPEG_VERS}-${KODI_CODENAME}:ffmpeg/tools/depends/target/ffmpeg \ xbmc:libdvdcss:${LIBDVDCSS_TAGNAME}:libdvdcss/tools/depends/target/libdvdcss/native \ xbmc:libdvdnav:${LIBDVDNAV_TAGNAME}:libdvdnav/tools/depends/target/libdvdnav/native \ xbmc:libdvdread:${LIBDVDREAD_TAGNAME}:libdvdread/tools/depends/target/libdvdread/native PLIST_SUB= ARCH=${KODI_ARCH_${ARCH}} OPTIONS_SUB= yes OPTIONS_DEFINE= AIRPLAY AIRTUNES AVAHI CEC DOCS \ LIBBLURAY LIRC MYSQL NFS NONFREE PULSEAUDIO RTMP \ SFTP SNDIO SMB VAAPI VDPAU WEBSERVER OPTIONS_SINGLE= RPI OPTIONS_SINGLE_RPI= RPI1 RPI2 OPTIONS_EXCLUDE_armv6= LIRC VAAPI VDPAU OPTIONS_EXCLUDE_armv7= LIRC VAAPI VDPAU OPTIONS_EXCLUDE_amd64= RPI1 RPI2 OPTIONS_EXCLUDE_i386= RPI1 RPI2 AIRPLAY_DESC= AirPlay support via libplist AIRTUNES_DESC= AirTunes support via libshairplay CEC_DESC= CEC adapter support NONFREE_DESC= Enable non-free components (rar, ccx, ffmpeg) SFTP_DESC= SSH SFTP support via libssh RPI1_DESC= build for RPI1-B (cpu=arm1176jzf-s) RPI2_DESC= build for RPI2 (cpu=cortex-a7, neon enabled) OPTIONS_DEFAULT= AIRPLAY AIRTUNES AVAHI CEC LIBBLURAY LIRC \ MYSQL NFS RTMP SFTP SMB VAAPI VDPAU WEBSERVER OPTIONS_DEFAULT_armv6= RPI1 OPTIONS_DEFAULT_armv7= RPI1 AIRPLAY_LIB_DEPENDS= libplist.so:devel/libplist AIRPLAY_CONFIGURE_ENABLE= airplay AIRTUNES_LIB_DEPENDS= libshairplay.so:audio/shairplay AIRTUNES_CONFIGURE_ENABLE= airtunes AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi CEC_BUILD_DEPENDS= libcec>=3.1.0:multimedia/libcec CEC_LIB_DEPENDS= libcec.so:multimedia/libcec CEC_CONFIGURE_ENABLE= libcec LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray LIRC_RUN_DEPENDS= lircd:comms/lirc MYSQL_USES= mysql MYSQL_CONFIGURE_ENABLE= mysql NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CONFIGURE_ENABLE= nfs NONFREE_CONFIGURE_ENABLE= non-free NONFREE_VARS= NO_CDROM="Restricted binary distribution" \ NO_PACKAGE="Restricted binary distribution" PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse RPI1_CONFIGURE_ON= --with-platform=raspberry-pi RPI2_CONFIGURE_ON= --with-platform=raspberry-pi2 RTMP_LIB_DEPENDS= librtmp.so:multimedia/librtmp RTMP_CONFIGURE_ENABLE= rtmp SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio SNDIO_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-sndio SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= samba VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau WEBSERVER_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd WEBSERVER_CONFIGURE_ENABLE= webserver SFTP_BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:security/libssh SFTP_RUN_DEPENDS= ${LOCALBASE}/lib/libssh.so:security/libssh SFTP_CONFIGURE_ENABLE= ssh CONFIGURE_ARGS+= --disable-debug --disable-alsa --disable-texturepacker .include .if ${ARCH} != armv6 && ${ARCH} != armv7 BUILD_DEPENDS+= gtk-update-icon-cache:x11-toolkits/gtk20 LIB_DEPENDS+= libdrm.so:graphics/libdrm RUN_DEPENDS+= glxinfo:graphics/mesa-demos \ xdpyinfo:x11/xdpyinfo USE_XORG= x11 xcb xext xmu xrandr xt xtst USE_GL= egl gl glu glew USE_SDL= image sdl2 INSTALLS_ICONS= yes PLIST_SUB+= ARM="@comment " PLIST_SUB+= X86="" .else # armv6 || armv7 (rpi1 and rpi2 only) EXTRA_PATCHES= ${FILESDIR}/extra-armv6_hal CONFIGURE_ARGS+= --enable-player=omxplayer LIB_DEPENDS+= libEGL.so:misc/raspberrypi-userland \ libhal.so:sysutils/hal \ libtiff.so:graphics/tiff PLIST_SUB+= ARM="" PLIST_SUB+= X86="@comment " SUB_FILES= pkg-message .endif post-patch: ${REINPLACE_CMD} 's;make;gmake;' \ ${WRKSRC}/bootstrap \ ${WRKSRC}/codegenerator.mk \ ${WRKSRC}/xbmc/Makefile.in ${REINPLACE_CMD} 's;which swig;&3.0;' ${WRKSRC}/codegenerator.mk ${RM} ${WRKSRC}/system/settings/rbp2.xml.orig pre-configure: cd ${WRKSRC} && ${SH} ./bootstrap post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/kodi.bin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 (cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -sf kodi.bin.1.gz kodi.1.gz) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/kodi/kodi.bin ${FIND} ${STAGEDIR}${PREFIX}/lib/kodi -name '*.so' -or -name '*.xbs' -or -name '*.vis' \ | ${XARGS} ${STRIP_CMD} .if ${ARCH} != armv6 && ${ARCH} != armv7 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/kodi/kodi-xrandr .endif .include Index: head/multimedia/libav/Makefile =================================================================== --- head/multimedia/libav/Makefile (revision 456183) +++ head/multimedia/libav/Makefile (revision 456184) @@ -1,236 +1,236 @@ # $FreeBSD$ PORTNAME= libav PORTVERSION= 12.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= http://libav.org/releases/ MAINTAINER= dem.procopiou@gmail.com COMMENT= Realtime audio/video conversion library LICENSE= GPLv2+ BROKEN_armv6= fails to compile: cc: warning: joined argument expects additional value: -mcpu= BUILD_DEPENDS= yasm:devel/yasm LIB_DEPENDS= libopencv_core.so:graphics/opencv-core \ libgmp.so:math/gmp \ libvdpau.so:multimedia/libvdpau \ libhogweed.so:security/nettle USES= cpe gmake perl5 pkgconfig tar:xz USE_XORG= x11 HAS_CONFIGURE= yes USE_PERL5= build USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} NOPRECIOUSMAKEVARS= yes # ARCH CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --prefix="${PREFIX}" \ --libdir="${PREFIX}/lib/${PORTNAME}" \ --shlibdir="${PREFIX}/lib/${PORTNAME}" \ --incdir="${PREFIX}/include/${PORTNAME}" \ --mandir="${PREFIX}/man" \ --datadir="${DATADIR}" \ --extra-ldflags="-L${LOCALBASE}/lib" \ --enable-pthreads \ --enable-shared \ --enable-runtime-cpudetect \ --disable-debug \ --cc="${CC}" OPTIONS_DEFINE= ALSA AMR_NB AMR_WB BZIP2 CDIO FAAC FDK_AAC DC1394 DOCS FREETYPE \ FREI0R GNUTLS GSM ILBC JACK LAME OPENCV OPENJPEG OPENSSL \ OPUS PULSEAUDIO RTMP SCHROEDINGER SDL SPEEX THEORA V4L VAAPI \ VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX WAVPACK WEBP X11GRAB \ X264 XVID ZLIB OPTIONS_DEFAULT=BZIP2 FREETYPE FREI0R GNUTLS OPENCV SCHROEDINGER \ THEORA VAAPI VDPAU VO_AACENC VORBIS VPX X264 XVID ZLIB FDK_AAC_DESC= AAC audio encoding via Fraunhofer FDK ILBC_DESC= iLBC en/decoding via libilbc X11GRAB_DESC= X11 grabbing DC1394_DESC= IIDC-1394 grabbing using libdc1394 OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --enable-indev=alsa --enable-outdev=alsa ALSA_CONFIGURE_OFF= --disable-indev=alsa --disable-outdev=alsa AMR_NB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_NB_CONFIGURE_ENABLE= libopencore-amrnb AMR_WB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_WB_CONFIGURE_ENABLE= libopencore-amrwb BZIP2_CONFIGURE_ENABLE= bzlib CDIO_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ENABLE= libcdio DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 DC1394_CONFIGURE_ENABLE= libdc1394 DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE= frei0r FAAC_LIB_DEPENDS= libfaac.so:audio/faac FAAC_CONFIGURE_ENABLE= libfaac FDK_AAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDK_AAC_CONFIGURE_ENABLE= libfdk-aac FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= libfreetype GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE= gnutls GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ENABLE= libgsm ILBC_BUILD_DEPENDS= ${LOCALBASE}/include/ilbc.h:net/libilbc ILBC_CONFIGURE_ENABLE= libilbc JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ON= --enable-indev=jack JACK_CONFIGURE_OFF= --disable-indev=jack LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame OPENCV_LIB_DEPENDS= libopencv_gpu.so:graphics/opencv OPENCV_CONFIGURE_ENABLE= libopencv OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 OPENJPEG_CONFIGURE_ENABLE= libopenjpeg OPENSSL_CONFIGURE_ENABLE= openssl OPENSSL_USES= ssl OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= libopus PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= libpulse RTMP_LIB_DEPENDS= librtmp.so:multimedia/librtmp RTMP_CONFIGURE_ENABLE= librtmp SCHROEDINGER_LIB_DEPENDS= libschroedinger-1.0.so:multimedia/schroedinger SCHROEDINGER_CONFIGURE_ENABLE= libschroedinger SDL_USE= SDL=sdl SDL_CONFIGURE_ENABLE= avplay SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= libspeex THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= libtheora V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_CONFIGURE_ON= --enable-indev=v4l2 V4L_CONFIGURE_OFF= --disable-indev=v4l2 VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi VDPAU_BUILD_DEPENDS= ${LOCALBASE}/include/vdpau/vdpau.h:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau VO_AACENC_LIB_DEPENDS= libvo-aacenc.so:audio/vo-aacenc VO_AACENC_CONFIGURE_ENABLE= libvo-aacenc VO_AMRWBENC_LIB_DEPENDS= libvo-amrwbenc.so:audio/vo-amrwbenc VO_AMRWBENC_CONFIGURE_ENABLE= libvo-amrwbenc VORBIS_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= libvorbis VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_ENABLE= libwavpack WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= libwebp X11GRAB_USE= XORG=x11,xext,xfixes X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= libx264 XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= libxvid ZLIB_CONFIGURE_ENABLE= zlib .include .if ${ARCH} == "armv6" CONFIGURE_ENV+= ASFLAGS=-no-integrated-as .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --extra-cflags=-m32 .endif # License definitions .if ${PORT_OPTIONS:MFAAC} || ${PORT_OPTIONS:MFDK_AAC} || ${PORT_OPTIONS:MOPENSSL} RESTRICTED= linking to libfaac or libaacplus or using OpenSSL support restricts redistribution CONFIGURE_ARGS+= --enable-nonfree AV_NONFREE= true .endif .if ${PORT_OPTIONS:MCDIO} || ${PORT_OPTIONS:MX264} || ${PORT_OPTIONS:MXVID} || ${PORT_OPTIONS:MX11GRAB} CONFIGURE_ARGS+= --enable-gpl .if !defined(AV_NONFREE) AV_ISGPL= true .endif .endif .if ${PORT_OPTIONS:MAMR_NB} || ${PORT_OPTIONS:MAMR_WB} || ${PORT_OPTIONS:MVO_AACENC} || ${PORT_OPTIONS:MVO_AMRWBENC} CONFIGURE_ARGS+= --enable-version3 .if !defined(AV_NONFREE) .if defined(AV_ISGPL) LICENSE= GPLv3+ .else LICENSE= LGPL3+ .endif .endif .endif .if !defined(AV_NONFREE) && !defined(AV_ISGPL) && !defined(LICENSE) LICENSE= LGPL21+ .endif post-patch: @${REINPLACE_CMD} -e 's|freetype/freetype.h|freetype2/freetype.h|' \ -e 's|-ldc1394 -lraw1394|-ldc1394|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \ ${WRKSRC}/configure \ ${WRKSRC}/libavcodec/libgsmdec.c @${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${STAGEDIR}${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/library.mak post-configure-DOCS-off: @${REINPLACE_CMD} -e 's|CONFIG_TEXI2HTML=yes|!CONFIG_TEXI2HTML=yes|' ${WRKSRC}/config.mak post-install: .for a in bin/avconv bin/avprobe lib/libav/libavcodec.so.57.25.0\ lib/libav/libavdevice.so.56.1.0 lib/libav/libavfilter.so.6.7.0\ lib/libav/libavformat.so.57.7.2 lib/libav/libavresample.so.3.0.0\ lib/libav/libavutil.so.55.20.0 lib/libav/libswscale.so.4.0.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${a} .endfor .include Index: head/multimedia/libva/Makefile =================================================================== --- head/multimedia/libva/Makefile (revision 456183) +++ head/multimedia/libva/Makefile (revision 456184) @@ -1,55 +1,45 @@ # $FreeBSD$ PORTNAME= libva -PORTVERSION= 1.8.3 +PORTVERSION= 2.0.0 CATEGORIES= multimedia MAINTAINER= madpilot@FreeBSD.org COMMENT= VAAPI wrapper and dummy driver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat RUN_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libdrm.so:graphics/libdrm USES= autoreconf gmake libtool localbase pkgconfig tar:bzip2 USE_XORG= glproto pciaccess x11 xext xfixes USE_GL= gl GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=va USE_LDCONFIG= yes +INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= 01org LDFLAGS+= -lpthread # prevent types conflict: videodev2.h vs. drm.h CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES OPTIONS_DEFINE= DEBUG -.include +DEBUG_CFLAGS= -D_DEBUG +DEBUG_CFLAGS_OFF= -DNDEBUG -.if ${PORT_OPTIONS:MDEBUG} -CFLAGS+= -D_DEBUG -.else -CFLAGS+= -DNDEBUG -.endif - -.include - -.if defined(STRIP) && ${STRIP} != "" -INSTALL_TARGET= install-strip -.endif - post-patch: .SILENT ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \ ${WRKSRC}/configure.ac ${REINPLACE_CMD} '/^export VA_HEADER_/d' \ ${WRKSRC}/doc/Makefile.am ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am -.include +.include Index: head/multimedia/libva/distinfo =================================================================== --- head/multimedia/libva/distinfo (revision 456183) +++ head/multimedia/libva/distinfo (revision 456184) @@ -1,3 +1,3 @@ -TIMESTAMP = 1498657745 -SHA256 (01org-libva-1.8.3_GH0.tar.gz) = 5ac4b0156c39cbca78913ebc0ff823b1abd5faa41121204c0707d62c27f07285 -SIZE (01org-libva-1.8.3_GH0.tar.gz) = 186915 +TIMESTAMP = 1508575075 +SHA256 (01org-libva-2.0.0_GH0.tar.gz) = dce5e21ffe6083a230814493e806f9e622d11570d633d48ca2f6bd103f6afe3e +SIZE (01org-libva-2.0.0_GH0.tar.gz) = 191311 Index: head/multimedia/libva/files/patch-va__va.c =================================================================== --- head/multimedia/libva/files/patch-va__va.c (revision 456183) +++ head/multimedia/libva/files/patch-va__va.c (nonexistent) @@ -1,11 +0,0 @@ ---- va/va.c.orig 2014-09-30 01:48:34 UTC -+++ va/va.c -@@ -227,7 +227,7 @@ - strncat( driver_path, DRIVER_EXTENSION, strlen(DRIVER_EXTENSION) ); - - va_infoMessage("Trying to open %s\n", driver_path); --#ifndef ANDROID -+#if !defined(ANDROID) && defined(RTLD_NODELETE) - handle = dlopen( driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE ); - #else - handle = dlopen( driver_path, RTLD_NOW| RTLD_GLOBAL); Property changes on: head/multimedia/libva/files/patch-va__va.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/multimedia/libva/files/patch-va__glx__va_glx_private.h =================================================================== --- head/multimedia/libva/files/patch-va__glx__va_glx_private.h (revision 456183) +++ head/multimedia/libva/files/patch-va__glx__va_glx_private.h (nonexistent) @@ -1,11 +0,0 @@ ---- va/glx/va_glx_private.h.orig 2015-07-01 07:54:24 UTC -+++ va/glx/va_glx_private.h -@@ -38,7 +38,7 @@ typedef void (*PFNGLXBINDTEXIMAGEEXTPROC - typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int); - #endif - --#if GLX_GLXEXT_VERSION < 27 -+#if GLX_GLXEXT_VERSION < 21 - /* XXX: this is not exactly that version but this is the only means to - make sure we have the correct with those signatures */ - typedef GLXPixmap (*PFNGLXCREATEPIXMAPPROC)(Display *, GLXFBConfig, Pixmap, const int *); Property changes on: head/multimedia/libva/files/patch-va__glx__va_glx_private.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/multimedia/libva/files/patch-va_glx_va__glx__private.h =================================================================== --- head/multimedia/libva/files/patch-va_glx_va__glx__private.h (nonexistent) +++ head/multimedia/libva/files/patch-va_glx_va__glx__private.h (revision 456184) @@ -0,0 +1,11 @@ +--- va/glx/va_glx_private.h.orig 2017-10-21 04:49:28 UTC ++++ va/glx/va_glx_private.h +@@ -38,7 +38,7 @@ typedef void (*PFNGLXBINDTEXIMAGEEXTPROC)(Display *, G + typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int); + #endif + +-#if GLX_GLXEXT_VERSION < 27 ++#if GLX_GLXEXT_VERSION < 21 + /* XXX: this is not exactly that version but this is the only means to + make sure we have the correct with those signatures */ + typedef GLXPixmap (*PFNGLXCREATEPIXMAPPROC)(Display *, GLXFBConfig, Pixmap, const int *); Property changes on: head/multimedia/libva/files/patch-va_glx_va__glx__private.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/libva/files/patch-va_va.c =================================================================== --- head/multimedia/libva/files/patch-va_va.c (nonexistent) +++ head/multimedia/libva/files/patch-va_va.c (revision 456184) @@ -0,0 +1,11 @@ +--- va/va.c.orig 2017-10-21 04:49:28 UTC ++++ va/va.c +@@ -350,7 +350,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *dri + strncat( driver_path, DRIVER_EXTENSION, strlen(DRIVER_EXTENSION) ); + + va_infoMessage(dpy, "Trying to open %s\n", driver_path); +-#ifndef ANDROID ++#if !defined(ANDROID) && defined(RTLD_NODELETE) + handle = dlopen( driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE ); + #else + handle = dlopen( driver_path, RTLD_NOW| RTLD_GLOBAL); Property changes on: head/multimedia/libva/files/patch-va_va.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/libva/files/patch-va_va__trace.c =================================================================== --- head/multimedia/libva/files/patch-va_va__trace.c (revision 456183) +++ head/multimedia/libva/files/patch-va_va__trace.c (revision 456184) @@ -1,82 +1,82 @@ ---- va/va_trace.c.orig 2016-06-21 01:29:25 UTC +--- va/va_trace.c.orig 2017-10-21 04:49:28 UTC +++ va/va_trace.c -@@ -48,6 +48,9 @@ +@@ -50,6 +50,9 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#endif #include #include #include -@@ -294,7 +297,13 @@ static void add_trace_config_info( +@@ -291,7 +294,13 @@ static void add_trace_config_info( { struct trace_config_info *pconfig_info; int idx = 0; +#ifdef __FreeBSD__ + pid_t thd_id = pthread_getthreadid_np(); +#elif defined __DragonFly__ + pid_t thd_id = syscall(SYS_lwp_gettid); +#else pid_t thd_id = syscall(__NR_gettid); +#endif LOCK_RESOURCE(pva_trace); -@@ -318,7 +327,13 @@ static void delete_trace_config_info( +@@ -315,7 +324,13 @@ static void delete_trace_config_info( { struct trace_config_info *pconfig_info; int idx = 0; +#ifdef __FreeBSD__ + pid_t thd_id = pthread_getthreadid_np(); +#elif defined __DragonFly__ + pid_t thd_id = syscall(SYS_lwp_gettid); +#else pid_t thd_id = syscall(__NR_gettid); +#endif LOCK_RESOURCE(pva_trace); -@@ -663,7 +678,13 @@ static struct trace_log_file *start_trac +@@ -662,7 +677,13 @@ static struct trace_log_file *start_tracing2log_file( { struct trace_log_files_manager *plog_files_mgr = NULL; struct trace_log_file *plog_file = NULL; +#ifdef __FreeBSD__ + pid_t thd_id = pthread_getthreadid_np(); +#elif defined __DragonFly__ + pid_t thd_id = syscall(SYS_lwp_gettid); +#else pid_t thd_id = syscall(__NR_gettid); +#endif int i = 0; LOCK_RESOURCE(pva_trace); -@@ -702,7 +723,13 @@ static void refresh_log_file( +@@ -701,7 +722,13 @@ static void refresh_log_file( struct trace_context *ptra_ctx) { struct trace_log_file *plog_file = NULL; +#ifdef __FreeBSD__ + pid_t thd_id = pthread_getthreadid_np(); +#elif defined __DragonFly__ + pid_t thd_id = syscall(SYS_lwp_gettid); +#else pid_t thd_id = syscall(__NR_gettid); +#endif int i = 0; plog_file = ptra_ctx->plog_file; -@@ -1226,7 +1253,13 @@ static void internal_TraceUpdateContext +@@ -1224,7 +1251,13 @@ static void internal_TraceUpdateContext ( { struct trace_context *trace_ctx = NULL; int i = 0, delete = 1; +#ifdef __FreeBSD__ + pid_t thd_id = pthread_getthreadid_np(); +#elif defined __DragonFly__ + pid_t thd_id = syscall(SYS_lwp_gettid); +#else pid_t thd_id = syscall(__NR_gettid); +#endif if(tra_ctx_idx >= MAX_TRACE_CTX_NUM) return; Index: head/multimedia/libva/pkg-plist =================================================================== --- head/multimedia/libva/pkg-plist (revision 456183) +++ head/multimedia/libva/pkg-plist (revision 456184) @@ -1,51 +1,44 @@ include/va/va.h include/va/va_backend.h -include/va/va_backend_egl.h include/va/va_backend_glx.h -include/va/va_backend_tpi.h include/va/va_backend_vpp.h include/va/va_compat.h include/va/va_dec_hevc.h include/va/va_dec_jpeg.h include/va/va_dec_vp8.h include/va/va_dec_vp9.h include/va/va_dri2.h include/va/va_dricommon.h include/va/va_drm.h include/va/va_drmcommon.h include/va/va_egl.h include/va/va_enc_h264.h include/va/va_enc_hevc.h include/va/va_enc_jpeg.h include/va/va_enc_mpeg2.h include/va/va_enc_vp8.h include/va/va_enc_vp9.h +include/va/va_fei_h264.h +include/va/va_fei.h include/va/va_glx.h +include/va/va_str.h include/va/va_tpi.h include/va/va_version.h include/va/va_vpp.h include/va/va_x11.h lib/libva-drm.so -lib/libva-drm.so.1 -lib/libva-drm.so.1.4000.0 -lib/libva-egl.so -lib/libva-egl.so.1 -lib/libva-egl.so.1.4000.0 +lib/libva-drm.so.2 +lib/libva-drm.so.2.0.0 lib/libva-glx.so -lib/libva-glx.so.1 -lib/libva-glx.so.1.4000.0 -lib/libva-tpi.so -lib/libva-tpi.so.1 -lib/libva-tpi.so.1.4000.0 +lib/libva-glx.so.2 +lib/libva-glx.so.2.0.0 lib/libva-x11.so -lib/libva-x11.so.1 -lib/libva-x11.so.1.4000.0 +lib/libva-x11.so.2 +lib/libva-x11.so.2.0.0 lib/libva.so -lib/libva.so.1 -lib/libva.so.1.4000.0 +lib/libva.so.2 +lib/libva.so.2.0.0 libdata/pkgconfig/libva-drm.pc -libdata/pkgconfig/libva-egl.pc libdata/pkgconfig/libva-glx.pc -libdata/pkgconfig/libva-tpi.pc libdata/pkgconfig/libva-x11.pc libdata/pkgconfig/libva.pc Index: head/multimedia/libva-intel-driver/Makefile =================================================================== --- head/multimedia/libva-intel-driver/Makefile (revision 456183) +++ head/multimedia/libva-intel-driver/Makefile (revision 456184) @@ -1,42 +1,41 @@ # Created by: Manuel Creach # $FreeBSD$ PORTNAME= libva-intel-driver -PORTVERSION= 1.8.3 -PORTREVISION= 1 +PORTVERSION= 2.0.0 CATEGORIES= multimedia MAINTAINER= madpilot@FreeBSD.org COMMENT= VAAPI intel driver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libva.so:multimedia/libva BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat GNU_CONFIGURE= yes USES= alias autoreconf compiler:c11 gmake libtool localbase \ pkgconfig tar:bzip2 USE_GL= gl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= 01org GH_PROJECT= intel-vaapi-driver PLIST_FILES= lib/va/i915_drv_video.so lib/va/i965_drv_video.so ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Driver for hardware present only on intel i386 and amd64 CPUs post-patch: .SILENT ${REINPLACE_CMD} -e 's/-ldl//' \ ${WRKSRC}/src/Makefile.am ${REINPLACE_CMD} -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \ ${WRKSRC}/configure.ac post-install: ${LN} -sf i965_drv_video.so ${STAGEDIR}${PREFIX}/lib/va/i915_drv_video.so .include Index: head/multimedia/libva-intel-driver/distinfo =================================================================== --- head/multimedia/libva-intel-driver/distinfo (revision 456183) +++ head/multimedia/libva-intel-driver/distinfo (revision 456184) @@ -1,3 +1,3 @@ -TIMESTAMP = 1498657772 -SHA256 (01org-intel-vaapi-driver-1.8.3_GH0.tar.gz) = e837b6c704ce4bffa0e6d530431061d99e42d4e4df990092937af522ca04f000 -SIZE (01org-intel-vaapi-driver-1.8.3_GH0.tar.gz) = 2591242 +TIMESTAMP = 1508576498 +SHA256 (01org-intel-vaapi-driver-2.0.0_GH0.tar.gz) = 19acdace87fb0e167202cecd593028ccf0b90900f48319c3241403abde9fda12 +SIZE (01org-intel-vaapi-driver-2.0.0_GH0.tar.gz) = 2831508 Index: head/multimedia/libva-utils/Makefile =================================================================== --- head/multimedia/libva-utils/Makefile (revision 456183) +++ head/multimedia/libva-utils/Makefile (revision 456184) @@ -1,53 +1,43 @@ # $FreeBSD$ PORTNAME= libva-utils -PORTVERSION= 1.8.3 +PORTVERSION= 2.0.0 CATEGORIES= multimedia MAINTAINER= madpilot@FreeBSD.org COMMENT= Collection of tests and utilities for VAAPI LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libva.so:multimedia/libva USES= autoreconf gmake libtool pkgconfig tar:bzip2 #USE_XORG= glproto pciaccess xext xfixes #USE_GL= gl GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= 01org #LDFLAGS+= -lpthread # prevent types conflict: videodev2.h vs. drm.h #CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES OPTIONS_DEFINE= DEBUG -.include +DEBUG_CFLAGS= -D_DEBUG +DEBUG_CFLAGS_OFF= -DNDEBUG -.if ${PORT_OPTIONS:MDEBUG} -CFLAGS+= -D_DEBUG -.else -CFLAGS+= -DNDEBUG -.endif - -.include - -.if defined(STRIP) && ${STRIP} != "" -INSTALL_TARGET= install-strip -.endif - #post-patch: .SILENT # ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ # -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \ # ${WRKSRC}/configure.ac # ${REINPLACE_CMD} -e 's/va\(info\)/\1/g' -e 's/info\.c/vainfo\.c/' \ # ${WRKSRC}/test/vainfo/Makefile.am # ${REINPLACE_CMD} '/^export VA_HEADER_/d' \ # ${WRKSRC}/doc/Makefile.am # ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am -.include +.include Index: head/multimedia/libva-utils/distinfo =================================================================== --- head/multimedia/libva-utils/distinfo (revision 456183) +++ head/multimedia/libva-utils/distinfo (revision 456184) @@ -1,3 +1,3 @@ -TIMESTAMP = 1498657885 -SHA256 (01org-libva-utils-1.8.3_GH0.tar.gz) = db5df4ae6f6cc572de9ebb2be995f1577226fdd182545793d8de98592c9f7a88 -SIZE (01org-libva-utils-1.8.3_GH0.tar.gz) = 1012261 +TIMESTAMP = 1508576446 +SHA256 (01org-libva-utils-2.0.0_GH0.tar.gz) = 9488ebbcd44decace43696c5e00b37c858ca6376dcccbaf0f255e77d6fefd858 +SIZE (01org-libva-utils-2.0.0_GH0.tar.gz) = 1033292 Index: head/multimedia/libva-utils/pkg-plist =================================================================== --- head/multimedia/libva-utils/pkg-plist (revision 456183) +++ head/multimedia/libva-utils/pkg-plist (revision 456184) @@ -1,8 +1,10 @@ bin/avcenc bin/h264encode -bin/vainfo bin/jpegenc bin/loadjpeg bin/mpeg2vaenc bin/mpeg2vldemo bin/putsurface +bin/vainfo +bin/vavpp +bin/vp9enc Index: head/multimedia/libva-vdpau-driver/Makefile =================================================================== --- head/multimedia/libva-vdpau-driver/Makefile (revision 456183) +++ head/multimedia/libva-vdpau-driver/Makefile (revision 456184) @@ -1,42 +1,38 @@ # $FreeBSD$ PORTNAME= libva-vdpau-driver PORTVERSION= 0.7.4 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= multimedia MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/ MAINTAINER= madpilot@FreeBSD.org COMMENT= VDPAU-based backend for VAAPI LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libvdpau.so:multimedia/libvdpau BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libva.pc:multimedia/libva \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING USES= libtool gmake localbase pkgconfig tar:bzip2 USE_GL= gl GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip PLIST_FILES= lib/va/nvidia_drv_video.so lib/va/s3g_drv_video.so lib/va/vdpau_drv_video.so OPTIONS_DEFINE= DEBUG + DEBUG_CONFIGURE_ENABLE= debug -.include - -.if defined(STRIP) && ${STRIP} != "" -INSTALL_TARGET= install-strip -.endif - post-patch: .SILENT ${REINPLACE_CMD} -e '/LIBS/{ s/-ldl//; s/-lrt//; }' \ -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \ -e '/\^vdpau_version/s|$$CC -E|& ${CPPFLAGS}|' \ ${WRKSRC}/configure -.include +.include Index: head/multimedia/libvdpau-va-gl/Makefile =================================================================== --- head/multimedia/libvdpau-va-gl/Makefile (revision 456183) +++ head/multimedia/libvdpau-va-gl/Makefile (revision 456184) @@ -1,41 +1,41 @@ # $FreeBSD$ PORTNAME= libvdpau-va-gl PORTVERSION= 0.4.2 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= multimedia PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 58a98e8a735f.patch:-p1 MAINTAINER= madpilot@FreeBSD.org COMMENT= VDPAU driver with OpenGL/VAAPI backend LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libva-x11.so:multimedia/libva BROKEN_armv6= fails to configure: CMake Error: Check for working CXX compiler: /nxb-bin/usr/bin/c++ -- broken BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-std=c++11" USE_GITHUB= yes GH_ACCOUNT= i-rinat USES= cmake pkgconfig USE_XORG= x11 USE_GL= gl LDFLAGS+= -Wl,--as-needed # Xext, ICE, SM TEST_TARGET= check PLIST_FILES= lib/vdpau/libvdpau_va_gl.so lib/vdpau/libvdpau_va_gl.so.1 # bug 217825: Convenience symlinks. On AMD prefer VDPAU from Mesa. PLIST_FILES+= lib/vdpau/libvdpau_i915.so.1 lib/vdpau/libvdpau_i965.so.1 post-install: .for f in ${PLIST_FILES:N*va_gl*:M*.so.1} ${LN} -sf libvdpau_va_gl.so.1 ${STAGEDIR}${PREFIX}/$f .endfor .include Index: head/multimedia/libxine/Makefile =================================================================== --- head/multimedia/libxine/Makefile (revision 456183) +++ head/multimedia/libxine/Makefile (revision 456184) @@ -1,162 +1,162 @@ # Created by: alex # $FreeBSD$ PORTNAME= xine PORTVERSION= 1.2.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= multimedia ipv6 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION} PKGNAMEPREFIX= lib DISTNAME= ${PORTNAME}-lib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Libraries for xine multimedia player LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat LIB_DEPENDS= libFLAC.so:audio/flac \ liba52.so:audio/liba52 \ libvorbis.so:audio/libvorbis \ libspeex.so:audio/speex \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libdvdread.so:multimedia/libdvdread \ libfreetype.so:print/freetype2 \ libfame.so:multimedia/libfame \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ libmodplug.so:audio/libmodplug \ libvcdinfo.so:multimedia/vcdimager \ libtheora.so:multimedia/libtheora \ libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libavcodec.so:multimedia/ffmpeg \ libfaad.so:audio/faad \ libvdpau.so:multimedia/libvdpau .if !defined(PACKAGE_BUILDING) # DVDCSS version hardcoded in src/input/input_dvd.c misc/cdda_server.c # and src/input/libdvdnav/dvd_input.c (dlopen'ed) LIB_DEPENDS+= libdvdcss.so.2:multimedia/libdvdcss .endif USES= compiler cpe gmake iconv libtool:keepla \ localbase pathfix perl5 pkgconfig tar:xz CPE_PRODUCT= xine-lib CPE_VENDOR= xine GNU_CONFIGURE= yes USE_XORG= x11 xv xinerama xext sm ice USE_GL= gl glu USE_PERL5= build USE_SDL= sdl USE_LDCONFIG= yes CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 \ --enable-ipv6 \ --with-external-libmad \ --with-external-libdts \ --with-libflac \ --with-external-ffmpeg \ --with-external-libfaad \ --disable-real-codecs \ --disable-v4l \ --without-alsa \ --disable-musepack \ --enable-dvb MAKE_ENV= V=1 DOCSDIR= ${PREFIX}/share/doc/xine-lib # Please sync with XINE_PLUGINSDIR in multimedia/xine # and multimedia/vdr-plugin-xineliboutput PLUGINSDIR= lib/xine/plugins/2.5 PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" BROKEN_aarch64= Fails to configure: error: no acceptable as found in $PATH OPTIONS_DEFINE= NLS CACA ESOUND JACK GNOMEVFS2 PULSEAUDIO XVMC SMB AALIB \ IMAGEMAGICK PIXBUF WAVPACK VAAPI LIBBLURAY OPTIONS_DEFAULT=VAAPI OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_OFF= --without-caca --disable-cacatest ESOUND_USE= GNOME=esound ESOUND_CONFIGURE_OFF= --without-esound JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --without-jack GNOMEVFS2_USE= GNOME=gnomevfs2 GNOMEVFS2_CONFIGURE_OFF=--disable-gnomevfs PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF=--without-pulseaudio .if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1) XVMC_CONFIGURE_ON= --with-xvmc-lib=XvMCNVIDIA XVMC_LIB_DEPENDS= libXvMCNVIDIA.so:x11/nvidia-driver-304 .else XVMC_CONFIGURE_ON= --with-xvmc-lib=XvMCW XVMC_LIB_DEPENDS= libXvMC.so:x11/libXvMC .endif XVMC_CONFIGURE_OFF= --disable-xvmc SMB_USES= samba:lib SMB_CONFIGURE_ENV= LIBSMBCLIENT_LIBS="-L${SAMBALIBS} -lsmbclient" \ LIBSMBCLIENT_CFLAGS="-I${SAMBAINCLUDES}" SMB_CONFIGURE_ENABLE= samba AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_OFF= --disable-aalib --disable-aalibtest IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick IMAGEMAGICK_CONFIGURE_OFF= --without-imagemagick PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_CONFIGURE_OFF= --disable-gdkpixbuf WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_WITH= wavpack VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ON= --enable-vaapi LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray .include .if ${ARCH} == "i386" CFLAGS+= -fomit-frame-pointer .endif .if ${CONFIGURE_ARGS:M*--without-imagemagick*} == "" || ${CONFIGURE_ARGS:M*-disable-gdkpixbuf*} == "" PLIST_SUB+= WITH_DMX_IMAGE="" .else PLIST_SUB+= WITH_DMX_IMAGE="@comment " .endif .if ${ARCH} == "i386" PLIST_SUB+= WITH_VIDIX="" .else PLIST_SUB+= WITH_VIDIX="@comment " CONFIGURE_ARGS+= --disable-vidix .endif .include post-patch: .if ${COMPILER_TYPE} == "clang" @${REINPLACE_CMD} -e 's|-fno-rename-registers||' \ ${WRKSRC}/src/libw32dll/wine/Makefile.in .endif @${REINPLACE_CMD} -e 's|-ldl||' \ ${WRKSRC}/src/video_out/Makefile.in @${REINPLACE_CMD} -e "s|#define _ATOM QT_ATOM('', '', '', '')||" \ ${WRKSRC}/src/demuxers/demux_qt.c @${REINPLACE_CMD} -e \ 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' \ ${WRKSRC}/configure # XXX older nvidia-driver versions don't support opengl 2.0 so this # plugin might not get built: post-install: @if ! [ -e "${STAGEDIR}${PREFIX}/${PLUGINSDIR}/xineplug_vo_out_opengl2.so" ]; then \ ${REINPLACE_CMD} -e '/xineplug_vo_out_opengl2.so/d' \ ${TMPPLIST}; \ fi @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/post/*.so .include Index: head/multimedia/mpv/Makefile =================================================================== --- head/multimedia/mpv/Makefile (revision 456183) +++ head/multimedia/mpv/Makefile (revision 456184) @@ -1,175 +1,175 @@ # Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= mpv PORTVERSION= 0.27.0 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= multimedia audio MAINTAINER= cpm@FreeBSD.org COMMENT= Free and open-source general-purpose video player LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ffmpeg>=3.3,1:multimedia/ffmpeg LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg USES= compiler:c11 desktop-file-utils iconv jpeg localbase:ldflags \ pkgconfig python:build waf USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= mpv-player # Keep in sync with bootstrap.py to avoid regressions GH_TUPLE= waf-project:waf:waf-1.9.8:waf WAF_CMD= ${WRKSRC_waf}/waf-light CONFIGURE_ENV= BIN_PYTHON="${PYTHON_CMD}" CONFIGURE_ARGS= --docdir="${EXAMPLESDIR}" \ --htmldir="${DOCSDIR}/html" \ --mandir="${MANPREFIX}/man" \ --disable-debug-build \ --disable-optimize \ --disable-pdf \ --disable-rubberband \ --disable-vaapi-wayland \ --disable-vapoursynth \ --disable-vapoursynth-lazy \ --enable-libmpv-shared OPTIONS_DEFINE= ARCHIVE ASS DOCS LCMS2 LUAJIT MANPAGES TEST UCHARDET ZSH OPTIONS_DEFAULT= ARCHIVE ASS DVDREAD DVDNAV MANPAGES OPENGL UCHARDET \ V4L VAAPI VDPAU X11 YTDL OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO DVDREAD DVDNAV LIBBLURAY V4L YTDL SMB OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU WAYLAND X11 OPTIONS_GROUP_AO= ALSA JACK PULSEAUDIO SDL SNDIO OPTIONS_SUB= yes ASS_DESC= ASS/SSA subtitle and OSD rendering DVDREAD_DESC= DVD Playback support DVDNAV_DESC= DVD menu navigation LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support UCHARDET_DESC= Guess subtitle encoding via uchardet WAYLAND_DESC= Wayland (graphics) support YTDL_DESC= Install youtube-dl IN_DESC= Input VO_DESC= Video Output AO_DESC= Audio Output ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa ARCHIVE_USES= libarchive ARCHIVE_CONFIGURE_ON= --enable-libarchive ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_OFF= --disable-libass CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_OFF= --disable-caca CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ON= --enable-cdda DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils DOCS_CONFIGURE_ON= --enable-html DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav DVDNAV_CONFIGURE_ON= --enable-dvdnav DVDREAD_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread DVDREAD_CONFIGURE_ON= --enable-dvdread JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_OFF= --disable-lcms2 LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ON= --enable-libbluray LIBBLURAY_CONFIGURE_OFF= --disable-libbluray LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_USES_OFF= lua LUAJIT_CONFIGURE_ON= --lua=luajit LUAJIT_CONFIGURE_OFF= --lua=${LUA_VER_STR}fbsd MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_CONFIGURE_OFF= --disable-manpage OPENGL_USE= GL=egl,gbm,gl OPENGL_CONFIGURE_OFF= --disable-gl OPENGL_IMPLIES= X11 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse SDL_USE= SDL=sdl2 SDL_CONFIGURE_ON= --enable-sdl2 SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ON= --enable-sndio SNDIO_CONFIGURE_OFF= --disable-sndio SMB_USES= samba:lib SMB_CONFIGURE_ON= --enable-libsmbclient TEST_BUILD_DEPENDS= cmocka>=1.1.0:sysutils/cmocka TEST_CONFIGURE_ON= --enable-test TEST_UNITTESTFILES= chmap chmap_sel gl_video UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet UCHARDET_CONFIGURE_OFF= --disable-uchardet V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ON= --enable-tv --enable-dvbin VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_OFF= --disable-vaapi VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_OFF= --disable-vdpau WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_CONFIGURE_OFF= --disable-wayland X11_USE= XORG=x11,xext,xinerama,xineramaproto,xrandr,xscrnsaver,xv,xxf86vm X11_VARS= INSTALLS_ICONS=yes X11_CONFIGURE_OFF= --disable-x11 YTDL_RUN_DEPENDS= youtube-dl:www/youtube_dl ZSH_USES= perl5 ZSH_USE= PERL5=build ZSH_CONFIGURE_ENV= BIN_PERL="${PERL}" ZSH_CONFIGURE_ENABLE= zsh-comp post-patch: @${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \ ${WRKSRC}/wscript_build.py @${REINPLACE_CMD} -e 's|DBL_EPSILON|FLT_EPSILON|'g \ ${WRKSRC}/test/test_helpers.h post-patch-MANPAGES-on: @${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \ -e 's|/usr/local|${PREFIX}|g' pre-install-TEST-on: .for test in ${TEST_UNITTESTFILES} cd ${WRKSRC}/build/test && ./${test} .endfor post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mpv @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpv.so .include Index: head/multimedia/mpv/files/patch-video_vaapi.c =================================================================== --- head/multimedia/mpv/files/patch-video_vaapi.c (nonexistent) +++ head/multimedia/mpv/files/patch-video_vaapi.c (revision 456184) @@ -0,0 +1,88 @@ +From 2ecf240b1cd20875991a5b18efafbe799864ff7f Mon Sep 17 00:00:00 2001 +From: Mark Thompson +Date: Mon, 9 Oct 2017 20:10:26 +0100 +Subject: [PATCH] vaapi: Use libva2 message callbacks + +They are no longer global, so they work vaguely sensibly. +--- + video/vaapi.c | 32 +++++++++++++++++++++++++++++--- + 1 file changed, 29 insertions(+), 3 deletions(-) + +diff --git a/video/vaapi.c b/video/vaapi.c +index 6bedbbaa18..3b1cb9cc41 100644 +--- video/vaapi.c ++++ video/vaapi.c +@@ -40,9 +40,27 @@ int va_get_colorspace_flag(enum mp_csp csp) + return 0; + } + +-// VA message callbacks are global and do not have a context parameter, so it's +-// impossible to know from which VADisplay they originate. Try to route them +-// to existing mpv/libmpv instances within this process. ++#if VA_CHECK_VERSION(1, 0, 0) ++static void va_message_callback(void *context, const char *msg, int mp_level) ++{ ++ struct mp_vaapi_ctx *res = context; ++ mp_msg(res->log, mp_level, "libva: %s", msg); ++} ++ ++static void va_error_callback(void *context, const char *msg) ++{ ++ va_message_callback(context, msg, MSGL_ERR); ++} ++ ++static void va_info_callback(void *context, const char *msg) ++{ ++ va_message_callback(context, msg, MSGL_V); ++} ++#else ++// Pre-libva2 VA message callbacks are global and do not have a context ++// parameter, so it's impossible to know from which VADisplay they ++// originate. Try to route them to existing mpv/libmpv instances within ++// this process. + static pthread_mutex_t va_log_mutex = PTHREAD_MUTEX_INITIALIZER; + static struct mp_vaapi_ctx **va_mpv_clients; + static int num_va_mpv_clients; +@@ -77,6 +95,7 @@ static void va_info_callback(const char *msg) + { + va_message_callback(msg, MSGL_V); + } ++#endif + + static void open_lavu_vaapi_device(struct mp_vaapi_ctx *ctx) + { +@@ -108,6 +127,10 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog, + }, + }; + ++#if VA_CHECK_VERSION(1, 0, 0) ++ vaSetErrorCallback(display, va_error_callback, res); ++ vaSetInfoCallback(display, va_info_callback, res); ++#else + pthread_mutex_lock(&va_log_mutex); + MP_TARRAY_APPEND(NULL, va_mpv_clients, num_va_mpv_clients, res); + pthread_mutex_unlock(&va_log_mutex); +@@ -118,6 +141,7 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog, + vaSetErrorCallback(va_error_callback); + vaSetInfoCallback(va_info_callback); + #endif ++#endif + + int major, minor; + int status = vaInitialize(display, &major, &minor); +@@ -154,6 +178,7 @@ void va_destroy(struct mp_vaapi_ctx *ctx) + if (ctx->destroy_native_ctx) + ctx->destroy_native_ctx(ctx->native_ctx); + ++#if !VA_CHECK_VERSION(1, 0, 0) + pthread_mutex_lock(&va_log_mutex); + for (int n = 0; n < num_va_mpv_clients; n++) { + if (va_mpv_clients[n] == ctx) { +@@ -164,6 +189,7 @@ void va_destroy(struct mp_vaapi_ctx *ctx) + if (num_va_mpv_clients == 0) + TA_FREEP(&va_mpv_clients); // avoid triggering leak detectors + pthread_mutex_unlock(&va_log_mutex); ++#endif + + talloc_free(ctx); + } Property changes on: head/multimedia/mpv/files/patch-video_vaapi.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/mythtv/Makefile =================================================================== --- head/multimedia/mythtv/Makefile (revision 456183) +++ head/multimedia/mythtv/Makefile (revision 456184) @@ -1,134 +1,134 @@ # Created by: Stacey Son , Ari Maniatis # $FreeBSD$ PORTNAME= mythtv PORTVERSION= 0.28.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org COMMENT= MythTV is a homebrew PVR project LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmp3lame.so:audio/lame \ libfreetype.so:print/freetype2 \ libtag.so:audio/taglib \ libxml2.so:textproc/libxml2 \ libudf.so:sysutils/libcdio \ libva.so:multimedia/libva \ libass.so:multimedia/libass \ libfftw3f.so:math/fftw3-float \ libfftw3_threads.so:math/fftw3 \ libjack.so:audio/jack BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat \ yasm:devel/yasm RUN_DEPENDS= tv_check:textproc/p5-xmltv \ wget:ftp/wget CONFLICTS= mythtv-frontend-[0-9]* USE_GITHUB= yes GH_ACCOUNT= MythTV GH_TAGNAME= ad97d24 WRKSRC_SUBDIR= ${PORTNAME} ONLY_FOR_ARCHS= i386 amd64 USE_PERL5= run build NOPRECIOUSMAKEVARS= # don't override $(ARCH) in ffmpeg makefiles USES= gmake iconv libtool perl5 pkgconfig pathfix shebangfix ssl SHEBANG_FILES= programs/scripts/database/mythconverg_backup.pl \ programs/scripts/database/mythconverg_restore.pl USE_QT4= corelib dbus gui sql network script linguist_build l10n sql-mysql_run \ moc_build qmake_build rcc_build uic_build imageformats webkit xml USE_GL= gl USE_XORG= x11 xv xrandr xxf86vm xinerama xext QT_NONSTANDARD= yes HAS_CONFIGURE= yes USE_LDCONFIG= ${PREFIX}/lib/mythtv/filters REINPLACE_ARGS= -i "" USE_RC_SUBR= mythbackend DESTDIRNAME= INSTALL_ROOT USERS= mythtv GROUPS= mythtv MAKE_ENV= QTDIR="${PREFIX}" \ QMAKESPEC="${QMAKESPEC}" CPPFLAGS+= ${QTCPPFLAGS} CONFIGURE_ENV+= QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" \ QTDIR="${PREFIX}" CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig" LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" --cxx="${CXX}" --dvb-path="${LOCALBASE}/include/libdvbv5" \ --libxml2-path="${LOCALBASE}/include/libxml2" --enable-v4l2 --enable-ivtv --enable-xv \ --disable-audio-alsa --disable-indev=alsa --disable-outdev=alsa --disable-mythlogserver QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++ OPTIONS_DEFINE= BINDINGS LIRC MYSQL OPENGL VDPAU OPTIONS_DEFAULT= BINDINGS OPENGL VDPAU OPTIONS_SUB= yes BINDINGS_DESC= Perl and Python bindings LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc MYSQL_USES= mysql:client,server MYSQL_USES_OFF= mysql VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau OPENGL_CONFIGURE_ENABLE= opengl-video OPENGL_USE= QT4=opengl .include SUB_FILES= pkg-message .if ${PORT_OPTIONS:MBINDINGS} CONFIGURE_ARGS+= --python=${PYTHON_CMD} USES+= python:2.7 PYDISTUTILS_PKGNAME=MythTV PYDISTUTILS_PKGVERSION=0.27._1 BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:databases/py-MySQLdb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:www/py-urlgrabber@${PY_FLAVOR} \ p5-HTTP-Request-Params>=0:www/p5-HTTP-Request-Params \ p5-LWP-UserAgent-Determined>=0:www/p5-LWP-UserAgent-Determined \ p5-Net-UPnP>=0:multimedia/p5-Net-UPnP \ p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \ p5-DBI>=0:databases/p5-DBI \ p5-DBD-mysql>0:databases/p5-DBD-mysql RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:databases/py-MySQLdb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:www/py-urlgrabber@${PY_FLAVOR} \ p5-HTTP-Request-Params>=0:www/p5-HTTP-Request-Params \ p5-LWP-UserAgent-Determined>=0:www/p5-LWP-UserAgent-Determined \ p5-Net-UPnP>=0:multimedia/p5-Net-UPnP \ p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \ p5-DBI>=0:databases/p5-DBI \ p5-DBD-mysql>0:databases/p5-DBD-mysql .else CONFIGURE_ARGS+=--without-bindings=perl,python .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/configure \ ${WRKSRC}/libs/libmythtv/libmythtv.pro \ ${WRKSRC}/bindings/perl/MythTV/Recording.pm \ ${WRKSRC}/programs/mythtranscode/replex/Makefile.standalone \ ${WRKSRC}/programs/scripts/database/mythconverg_backup.pl \ ${WRKSRC}/programs/scripts/database/mythconverg_restore.pl \ ${WRKSRC}/programs/mythcommflag/mythcommflag-analyze post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/mythtv/database @${CP} ${WRKSRC}/database/mc.sql ${STAGEDIR}${PREFIX}/share/mythtv/database .include Index: head/multimedia/vdr-plugin-softhddevice/Makefile =================================================================== --- head/multimedia/vdr-plugin-softhddevice/Makefile (revision 456183) +++ head/multimedia/vdr-plugin-softhddevice/Makefile (revision 456184) @@ -1,66 +1,66 @@ # Created by: Juergen Lock # $FreeBSD$ PORTNAME= vdr-plugin-softhddevice PORTVERSION= 0.5.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= multimedia MASTER_SITES= http://projects.vdr-developer.org/attachments/download/1000/ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - softhddevice plugin LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/AGPL-3.0.txt LIB_DEPENDS= libavcodec0.so:multimedia/ffmpeg0 \ libvdpau.so:multimedia/libvdpau \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libasound.so:audio/alsa-lib USES= compiler:features pkgconfig tar:tgz USE_XORG= xv x11 xcb xinerama USE_GL= gl glu PATCH_STRIP= -p1 CONFIG+= -DLOCALBASE=\\\"${LOCALBASE}\\\" CONFIG+= -DUSE_VDPAU CONFIG+= -DUSE_OSS MAKE_ARGS= CONFIG="${CONFIG}" WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION} PORTDOCS= ChangeLog README.txt OPTIONS_DEFINE= VAAPI DOCS NLS VAAPI_DESC= Enable vaapi support (experimental) VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_VARS= CONFIG+=-DUSE_VAAPI .include "${.CURDIR}/../vdr/Makefile.plugins" .include .if ${CHOSEN_COMPILER_TYPE} != clang USE_GCC= yes .endif post-patch: post-patch-plugin @${REINPLACE_CMD} \ -e 's,libavcodec,libavcodec0,g' \ ${WRKSRC}/Makefile @${CP} ${FILESDIR}/iatomic.h ${WRKSRC} @${REINPLACE_CMD} \ -e 's,,"iatomic.h",' \ ${WRKSRC}/*.c ${WRKSRC}/*.cpp pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/multimedia/vlc/Makefile =================================================================== --- head/multimedia/vlc/Makefile (revision 456183) +++ head/multimedia/vlc/Makefile (revision 456184) @@ -1,384 +1,384 @@ # Created by: Brian Somers # $FreeBSD$ PORTNAME= vlc DISTVERSION= 2.2.6 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 4 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ http://ftp.snt.utwente.nl/pub/software/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ ftp://ftp.crans.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ MAINTAINER= multimedia@FreeBSD.org COMMENT?= Qt based multimedia player and streaming server LICENSE= GPLv2 LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libdvbpsi.so:multimedia/libdvbpsi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libidn.so:dns/libidn BUILD_DEPENDS= ffmpeg>=2.0:multimedia/ffmpeg \ yasm:devel/yasm RUN_DEPENDS= ffmpeg>=2.0:multimedia/ffmpeg # VLC git (post 2.2.4) requires C++11 support and passes the appropriate flag # to the compiler. Until the port is updated, we explicitly pass -std=c++11 to # the compiler because Qt 5.7+ requires C++11 support, and FreeBSD 10.3's clang # does not default to C++11 mode. USE_CXXSTD= c++11 USES= compiler:c++11-lib desktop-file-utils gmake iconv libtool pathfix \ pkgconfig tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip CONFLICTS?= vlc-qt4-* GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-avcodec --enable-avformat --enable-dvbpsi \ --enable-fontconfig --enable-freetype --enable-libgcrypt \ --enable-libxml2 --enable-oss --enable-postproc \ --enable-swscale --enable-vlc \ --disable-alsa --disable-chromaprint --disable-crystalhd \ --disable-dc1394 --disable-decklink --disable-directfb \ --disable-dv1394 --disable-egl --disable-fdkaac \ --disable-gles1 --disable-gles2 --disable-kai --disable-kva \ --disable-libvnc --disable-opencv --disable-projectm \ --disable-quicksync --disable-telx \ --disable-tiger --disable-tremor --disable-udev \ --disable-update-check --disable-vcdx --disable-vsxu \ --disable-wasapi --disable-x26410b \ --with-kde-solid=${PREFIX}/share/apps/solid/actions \ ac_cv_search_pthread_rwlock_init=-pthread .if defined(WITH_DEBUG) CONFIGURE_ARGS+=--enable-debug .endif CPPFLAGS+= -I${LOCALBASE}/include CFLAGS_i386= -fomit-frame-pointer LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= A52 AALIB ASS AVAHI CACA DBUS DCA DIRAC DOCS DVDREAD \ DVDNAV FAAD FLAC FLUID FRIBIDI GME GNOMEVFS2 GNUTLS \ GOOM HTTPD JACK KATE LIBBLURAY LIBRSVG2 LIBSSH2 LIRC \ LIVEMEDIA LUA MAD MATROSKA MODPLUG \ MPEG2 MTP MUSEPACK NCURSES NLS NOTIFY OGG OPTIMIZED_CFLAGS \ OPUS PNG PULSEAUDIO QT4 QT5 REALRTSP RUNROOT SAMPLERATE \ SCHROEDINGER SDL SHOUTCAST SKINS SMB SNDIO STREAM SPEEX \ TAGLIB THEORA TWOLAME UPNP V4L VAAPI VCD VDPAU VORBIS \ X11 X264 X265 ZVBI OPTIONS_DEFAULT=A52 AVAHI DBUS DCA DVDREAD DVDNAV FAAD FLAC GNUTLS \ HTTPD LIVEMEDIA LUA MAD MATROSKA MPEG2 OGG OPTIMIZED_CFLAGS \ OPUS PNG QT5 SAMPLERATE STREAM SPEEX TAGLIB THEORA TWOLAME V4L \ VAAPI VCD VDPAU VORBIS X11 OPTIONS_SUB= yes ASS_DESC= ASS/SSA subtitle rendering DVDREAD_DESC= DVD Playback support DVDNAV_DESC= DVD menu navigation FLUID_DESC= Fluidsynth MIDI support FREERDP_DESC= RDP support GME_DESC= Game Music Emu (libgme) support GOOM_DESC= Goom visualisation plugin KATE_DESC= Kate codec support LIBSSH2_DESC= SCP/SFTP support via libssh2 REALRTSP_DESC= Real RTSP access module RUNROOT_DESC= Enable running as root SIDPLAY_DESC= C64 sid demux support SKINS_DESC= Skins interface module STREAM_DESC= stream output TAGLIB_DESC= ID3 tag and Ogg comment support VCD_DESC= Audio/Video CD support ZVBI_DESC= VBI decoding support A52_CONFIGURE_ENABLE= a52 A52_CONFIGURE_ON= --with-a52=${LOCALBASE} A52_LIB_DEPENDS= liba52.so:audio/liba52 AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_ENABLE= aa ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass AVAHI_LIB_DEPENDS= libavahi-common.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= bonjour CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= caca DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus DCA_LIB_DEPENDS= libdca.so:multimedia/libdca DCA_CONFIGURE_ENABLE= dca DIRAC_LIB_DEPENDS= libdirac_decoder.so:multimedia/dirac DIRAC_CONFIGURE_ENABLE= dirac DVDREAD_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread DVDREAD_CONFIGURE_ENABLE= dvdread DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav DVDNAV_CONFIGURE_ENABLE=dvdnav FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CONFIGURE_ENABLE= faad FAAD_CONFIGURE_ENV= CPPFLAGS_faad="-I${LOCALBASE}/include" \ LIBS_faad="-L${LOCALBASE}/lib" FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_ENABLE= flac FLUID_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUID_CONFIGURE_ENABLE= fluidsynth # XXX vlc doesn't seem to like the freerdp version in ports #FREERDP_LIB_DEPENDS= libfreerdp-core.so:net/freerdp #FREERDP_CONFIGURE_ENABLE= libfreerdp CONFIGURE_ARGS+= -disable-freerdp FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= fribidi GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= gme GME_CONFIGURE_ENV= LIBS_gme="-L${LOCALBASE}/lib -lgme" GNOMEVFS2_USE= GNOME=gnomevfs2 GNOMEVFS2_CONFIGURE_ENABLE= gnomevfs GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE=gnutls GOOM_LIB_DEPENDS= libgoom2.so:graphics/goom GOOM_CONFIGURE_ENABLE= goom HTTPD_CONFIGURE_ENABLE= httpd JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack KATE_LIB_DEPENDS= libkate.so:multimedia/libkate KATE_CONFIGURE_ENABLE= kate LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_CONFIGURE_ENABLE= svg LIBSSH2_LIB_DEPENDS= libssh2.so:security/libssh2 LIBSSH2_CONFIGURE_ENABLE= sftp LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_ENABLE= lirc LIRC_CONFIGURE_ENV= LIBS_lirc="-L${LOCALBASE}/lib -llirc_client" LIVEMEDIA_LIB_DEPENDS= libliveMedia.so:net/liveMedia LIVEMEDIA_CONFIGURE_ENABLE= live555 LIVEMEDIA_CONFIGURE_ENV= \ LIVE555_CFLAGS="-I${LOCALBASE}/include/liveMedia \ -I${LOCALBASE}/include/UsageEnvironment \ -I${LOCALBASE}/include/groupsock \ -I${LOCALBASE}/include/BasicUsageEnvironment" \ LIVE555_LIBS="-L${LOCALBASE}/lib -lliveMedia \ -lgroupsock -lBasicUsageEnvironment \ -lUsageEnvironment" LUA_USES= lua LUA_CONFIGURE_ENABLE= lua LUA_CONFIGURE_ON= LUAC=${LUAC_CMD} LUA_CFLAGS="-I${LUA_INCDIR}" \ LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CONFIGURE_ENABLE= mad MAD_CONFIGURE_ON= --with-mad=${LOCALBASE} MATROSKA_LIB_DEPENDS= libmatroska.so:multimedia/libmatroska MATROSKA_CONFIGURE_ENABLE= mkv MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= mod MPEG2_LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2 MPEG2_CONFIGURE_ENABLE= libmpeg2 MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_CONFIGURE_ENABLE= mtp MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack MUSEPACK_CONFIGURE_ENABLE= mpc MUSEPACK_CONFIGURE_ENV= LIBS_mpc="-L${LOCALBASE}/lib -lmpcdec" NCURSES_USES= ncurses NCURSES_CONFIGURE_ENV= NCURSES_CFLAGS="-I${NCURSESINC}" \ NCURSES_LIBS="-L${NCURSESLIB} -lncursesw" NCURSES_CONFIGURE_ENABLE= ncurses NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_USE= GNOME=gtk20 NOTIFY_CONFIGURE_ENABLE=notify OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CONFIGURE_ENABLE= ogg OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= opus PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ENABLE= png PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse QT4_USE= QT4=gui,corelib,moc_build,rcc_build,uic_build # QT_CFLAGS: pkg-config --cflags "QtCore QtGui >= 4.6.0" # QT_LIBS: pkg-config --libs "QtCore QtGui >= 4.6.0" QT4_CONFIGURE_ENV= QT_CFLAGS="-I${QT_INCDIR}/QtGui -DQT_SHARED -I${QT_INCDIR} -I${QT_INCDIR}/QtCore" \ QT_LIBS="-lQtGui -L${QT_LIBDIR} -lQtCore" QT5_USE= QT5=gui,core,widgets,x11extras,buildtools_build REALRTSP_CONFIGURE_ENABLE= realrtsp RUNROOT_CONFIGURE_ENABLE= run-as-root SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE= samplerate SCHROEDINGER_LIB_DEPENDS= libschroedinger-1.0.so:multimedia/schroedinger SCHROEDINGER_CONFIGURE_ENABLE= schroedinger SDL_USE= SDL=image SDL_CONFIGURE_ENABLE= sdl sdl-image # libsidplay build broken with: # /usr/bin/ld: /usr/local/lib/sidplay/builders/libresid-builder.a(resid-builder.o): relocation R_X86_64_32S against `_ZTV12ReSIDBuilder' can not be used when making a shared object; recompile with -fPIC #SIDPLAY_LIB_DEPENDS= libsidplay2.so:audio/libsidplay2 #SIDPLAY_LDFLAGS= -L${LOCALBASE}/lib/sidplay/builders #SIDPLAY_CONFIGURE_ENABLE= sid CONFIGURE_ARGS+= --disable-sid SHOUTCAST_LIB_DEPENDS= libshout.so:audio/libshout SHOUTCAST_CONFIGURE_ENABLE= shout SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= smbclient STREAM_CONFIGURE_ENABLE=sout SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= speex TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib TAGLIB_CONFIGURE_ENABLE=taglib THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE=theora TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= twolame UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_ENABLE= upnp V4L_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= v4l2 VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= libva VCD_LIB_DEPENDS= libcddb.so:audio/libcddb VCD_CONFIGURE_ENABLE= vcd libcddb VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE=vorbis X11_USE= GL=gl XORG=xcb,xproto X11_LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms X11_CONFIGURE_ENABLE= glx xcb xvideo X11_CONFIGURE_WITH= x X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= x264 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= x265 ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= zvbi PORTDATA= * PORTDOCS= * WITH_CDROM_DEVICE?=/dev/cd0 WITH_DVD_DEVICE?=/dev/cd0 .include .if ${PORT_OPTIONS:MX11} INSTALLS_ICONS= yes .endif .if ${PORT_OPTIONS:MQT5} || ${PORT_OPTIONS:MQT4} CONFIGURE_ARGS+= --enable-qt .else CONFIGURE_ARGS+= --disable-qt .endif .if ${PORT_OPTIONS:MQT5} && ${PORT_OPTIONS:MQT4} IGNORE= please choose one of QT4 or QT5 .endif .if ${PORT_OPTIONS:MSKINS} .if ${PORT_OPTIONS:MQT5} || ${PORT_OPTIONS:MQT4} LIB_DEPENDS+= libminizip.so:archivers/minizip \ libtar.so:devel/libtar USE_XORG+= xext xinerama xpm CONFIGURE_ARGS+=--enable-skins2 --enable-libtar .else IGNORE= SKINS option requires QT4 or QT5 option .endif .else CONFIGURE_ARGS+=--disable-skins2 --disable-libtar .endif post-patch: @${REINPLACE_CMD} \ -e '\|LIBS|s|-lrt||' \ -e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \ -e 's|/dev/dvd|${WITH_DVD_DEVICE}|g' \ ${WRKSRC}/src/libvlc-module.c @${RM} -r ${WRKSRC}/modules/access/v4l2/linux # XXX FreeBSD doesn't have strerror_l() - use the android version of error.c @${CP} ${WRKSRC}/src/android/error.c ${WRKSRC}/src/posix .if ${PORT_OPTIONS:MQT4} # XXX no sane way to tell configure not to pick up Qt5X11Extras with qt4 @${REINPLACE_CMD} s/Qt5X11Extras/Qt5X11Extras-not/ \ ${WRKSRC}/configure .endif post-install: @(cd ${STAGEDIR}${PREFIX} && ${FIND} -s lib/vlc -not -name '*.la' \ -type f -o -type l >> ${TMPPLIST}) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/vlc/plugins/*/*.so .include Index: head/net/libvncserver/Makefile =================================================================== --- head/net/libvncserver/Makefile (revision 456183) +++ head/net/libvncserver/Makefile (revision 456184) @@ -1,58 +1,58 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= libvncserver PORTVERSION= 0.9.11 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= LibVNCServer- CATEGORIES= net devel MAINTAINER= araujo@FreeBSD.org COMMENT= Provide an easy API to a custom vnc server LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= LibVNC USES= autoreconf jpeg libtool pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip OPTIONS_DEFINE= GCRYPT IPV6 VAAPI OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= GNUTLS OPENSSL OPTIONS_DEFAULT= OPENSSL GCRYPT_DESC= libgcrypt support GNUTLS_IMPLIES= GCRYPT GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls OPENSSL_CONFIGURE_WITH= crypto ssl OPENSSL_USES= ssl GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error GCRYPT_CONFIGURE_WITH= gcrypt IPV6_CONFIGURE_WITH= ipv6 VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_WITH= libva post-install: ${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb .include .if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel} BROKEN= Does not build with openssl-devel .endif .include