Index: head/audio/atunes/Makefile =================================================================== --- head/audio/atunes/Makefile (revision 478528) +++ head/audio/atunes/Makefile (revision 478529) @@ -1,71 +1,71 @@ # Created by: Lars Engels # $FreeBSD$ PORTNAME= atunes PORTVERSION= 3.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio java MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/aTunes%20${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-bin MAINTAINER= lme@FreeBSD.org COMMENT= Full-featured audio player and manager developed in Java LICENSE= GPLv2 NO_BUILD= yes USE_JAVA= yes JAVA_VERSION= 1.6+ SUB_FILES= atunes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= CDDA2WAV OPTIONS_MULTI= ENCODER ENGINE OPTIONS_MULTI_ENCODER= LAME VORBIS FLAC OPTIONS_MULTI_ENGINE= MPLAYER XINE OPTIONS_DEFAULT= MPLAYER CDDA2WAV LAME VORBIS MPLAYER_DESC= Engine: Use Mplayer XINE_DESC= Engine: Use Xine CDDA2WAV_DESC= Ripper: Enable cdrtools support LAME_DESC= Encoder: Enable lame MP3 encoder VORBIS_DESC= Encoder: Enable vorbis OGG encoder FLAC_DESC= Encoder: Enable FLAC encoder MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer XINE_LIB_DEPENDS= libxine.so:multimedia/libxine CDDA2WAV_RUN_DEPENDS= cdda2wav:sysutils/cdrtools LAME_RUN_DEPENDS= lame:audio/lame VORBIS_RUN_DEPENDS= ogg123:audio/vorbis-tools FLAC_RUN_DEPENDS= flac:audio/flac DESKTOP_ENTRIES="aTunes" \ "Audio player and manager" \ "${PREFIX}/share/pixmaps/atunes.png" \ "atunes" \ "Audio;AudioVideo;Java;" \ true INSTALL_FILES= aTunes.ico aTunes.jar splash.gif changelog.txt PIXMAPS= atunes.png do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DATADIR}/lib ${INSTALL_SCRIPT} ${WRKDIR}/atunes ${STAGEDIR}${PREFIX}/bin .for file in ${INSTALL_FILES} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DATADIR}/${file} .endfor @(cd ${WRKSRC} && ${FIND} lib -type f -name "*.jar" -exec ${INSTALL_DATA} {} \ ${STAGEDIR}${DATADIR}/{} \;) @(cd ${WRKSRC} && ${COPYTREE_SHARE} settings ${STAGEDIR}${DATADIR}/) .for file in ${PIXMAPS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/pixmaps .endfor .include Index: head/devel/efl/Makefile =================================================================== --- head/devel/efl/Makefile (revision 478528) +++ head/devel/efl/Makefile (revision 478529) @@ -1,190 +1,191 @@ # Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= efl DISTVERSION= 1.20.7 +PORTREVISION= 1 CATEGORIES= devel enlightenment MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/ DIST_SUBDIR= enlightenment MAINTAINER= enlightenment@FreeBSD.org COMMENT= Enlightenment Foundation Libraries LICENSE= BSD2CLAUSE LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ libsndfile.so:audio/libsndfile \ libunwind.so:devel/libunwind # lib/libeio.so.1 CONFLICTS_INSTALL= libeio GNU_CONFIGURE= yes USES= autoreconf compiler:c++14-lang gettext-tools gmake iconv jpeg \ libtool pathfix pkgconfig python:2.7,run shared-mime-info \ shebangfix tar:xz SHEBANG_FILES= src/scripts/eina/eina-bench-cmp USE_XORG= x11 xcb xcursor xcomposite xdamage xext xfixes xi xinerama xp \ xrandr xrender xtst xscrnsaver USE_LDCONFIG= yes CONFIGURE_ARGS= --with-profile=release \ --enable-multisense \ --disable-systemd \ --disable-elput \ --disable-cserve \ --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALLS_ICONS= yes PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS PHYSICS PULSEAUDIO SSL WAYLAND WAYLAND_EGL OPTIONS_GROUP= EMOTION INPUT LOADER OPTIONS_GROUP_EMOTION= GSTREAMER LIBXINE V4L VLC OPTIONS_GROUP_INPUT= IBUS SCIM OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF OPTIONS_RADIO= ENGINE OPTIONS_RADIO_ENGINE= OPENGL OPENGLES SDL OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PHYSICS PULSEAUDIO SSL GSTREAMER PDF SVG OPENGL OPTIONS_SUB= yes HARFBUZZ_DESC= OpenType text shaping engine PHYSICS_DESC= Physics effects WAYLAND_DESC= Wayland backend support WAYLAND_EGL_DESC= Wayland-EGL backend support VLC_DESC= Multimedia support by VLC IBUS_DESC= Intelligent Input Bus SCIM_DESC= Smart Common Input Method XCF_DESC= Gimp image format support OPENGLES_DESC= 2D/3D rendering support via OpenGL ES AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= fribidi HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_ENABLE= harfbuzz NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet PHYSICS_CONFIGURE_ENABLE= physics PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio WAYLAND_BROKEN= WAYLAND option is broken: https://phab.enlightenment.org/T7116 WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libxkbcommon.so:x11/libxkbcommon \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WAYLAND_CFLAGS= -I${LOCALBASE}/include/libepoll-shim WAYLAND_LDFLAGS= -lepoll-shim WAYLAND_CONFIGURE_ENABLE= wayland WAYLAND_EGL_LIB_DEPENDS= libwayland-egl.so:graphics/mesa-libs WAYLAND_EGL_CONFIGURE_ENABLE= egl WAYLANG_EGL_USE= GL=egl WAYLAND_EGL_IMPLIES= WAYLAND OPENGLES GSTREAMER_USE= GSTREAMER1=core GSTREAMER_CONFIGURE_ENABLE= gstreamer1 LIBXINE_LIB_DEPENDS= libxine.so:multimedia/libxine LIBXINE_CONFIGURE_ENABLE= xine V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_CONFIGURE_ENABLE= v4l2 VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc VLC_CONFIGURE_WITH= generic_vlc IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim SCIM_CONFIGURE_ENABLE= scim OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 OPENJPEG_CONFIGURE_ENABLE= image-loader-jp2k PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler PDF_CONFIGURE_ENABLE= poppler PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_CONFIGURE_ENABLE= spectre RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_CONFIGURE_ENABLE= libraw SVG_USE= GNOME=cairo GNOME=librsvg2 SVG_CONFIGURE_ENABLE= librsvg WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= image-loader-webp XCF_CONFIGURE_ENABLE= xcf OPENGL_USE= GL=gl OPENGLES_USE= GL=glesv2 OPENGLES_CONFIGURE_ON= --with-opengl=es --enable-egl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= sdl .include .if ${PORT_OPTIONS:MPULSEAUDIO} PLIST_SUB+= AUDIO="" .else CONFIGURE_ARGS+= --disable-pulseaudio PLIST_SUB+= AUDIO="@comment " .endif .if ${PORT_OPTIONS:MSSL} USES+= ssl .else CONFIGURE_ARGS+= --with-crypto=none .endif .if ${PORT_OPTIONS:MIBUS} CONFIGURE_ARGS+= --with-glib=yes .else CONFIGURE_ARGS+= --disable-ibus --with-glib=no .endif .if empty(PORT_OPTIONS:MOPENGL) && empty(PORT_OPTIONS:MOPENGLES) CONFIGURE_ARGS+= --with-opengl=none .endif .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64" USES+= lua CONFIGURE_ARGS+= --enable-lua-old PLIST_SUB+= ELUA="@comment " .else LIB_DEPENDS+= libluajit-5.1.so:lang/luajit PLIST_SUB+= ELUA="" .endif post-install: @${RM} -r ${STAGEDIR}${PREFIX}/share/gdb @for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \ if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \ done # workaround for https://phab.enlightenment.org/T6783 : it leaves an empty directory @if [ -d ${STAGEDIR}${PREFIX}/lib/evas/utils -a -z "$$(ls -A ${STAGEDIR}${PREFIX}/lib/evas/utils)" ]; then \ ${RMDIR} ${STAGEDIR}${PREFIX}/lib/evas/utils; \ fi .include Index: head/graphics/gimageview/Makefile =================================================================== --- head/graphics/gimageview/Makefile (revision 478528) +++ head/graphics/gimageview/Makefile (revision 478529) @@ -1,60 +1,60 @@ # Created by: TATEISHI Katsuyuki # $FreeBSD$ PORTNAME= gimageview PORTVERSION= 0.2.27 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= graphics MASTER_SITES= SF/gtkmmviewer/${PORTNAME}/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Yet another GTK+ based image viewer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= gmake jpeg libtool localbase pkgconfig GNU_CONFIGURE= yes USE_GNOME= gtk20 USE_XORG= ice xinerama CONFIGURE_ARGS= --with-gtk2 INSTALL_TARGET= install-strip OPTIONS_DEFINE= SPLASH NLS LIBMNG LIBWMF LIBRSVG2 LIBEXIF MPLAYER LIBXINE DOCS OPTIONS_DEFAULT=SPLASH LIBMNG LIBWMF LIBRSVG2 LIBEXIF MPLAYER OPTIONS_SUB= yes SPLASH_DESC= Show splash screen on startup SPLASH_CONFIGURE_ENABLE=splash NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext LIBMNG_CONFIGURE_WITH= libmng LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBWMF_CONFIGURE_WITH= libwmf LIBWMF_LIB_DEPENDS= libwmf.so:graphics/libwmf LIBRSVG2_CONFIGURE_WITH=librsvg LIBRSVG2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 LIBEXIF_CONFIGURE_ENABLE=exif # bundled exif is used LIBEXIF_BROKEN_OFF= does not build without libexif support MPLAYER_CONFIGURE_ENABLE=mplayer MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer LIBXINE_CONFIGURE_WITH= xine LIBXINE_LIB_DEPENDS= libxine.so:multimedia/libxine post-patch: @${REINPLACE_CMD} '/^desktopdir =/s|=.*|= ${DESKTOPDIR}|' \ ${WRKSRC}/etc/Makefile.in @${REINPLACE_CMD} '/^gimv_LDADD =/s/=/= -lm/' ${WRKSRC}/src/Makefile.in @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -e 's|= $$(DESTDIR)|= |' -e '/^CPPFLAGS =/s/\\/@CPPFLAGS@ \\/' .include Index: head/graphics/opencv/Makefile =================================================================== --- head/graphics/opencv/Makefile (revision 478528) +++ head/graphics/opencv/Makefile (revision 478529) @@ -1,407 +1,407 @@ # Created by: Marc Abramowitz (http://marc.abramowitz.info) # $FreeBSD$ PORTNAME= opencv PORTVERSION= 3.4.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Open Source Computer Vision library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= sparc64 NOT_FOR_ARCHS_REASON_sparc64= does not compile on sparc64 .if defined(OCV_CORE) BUILD_DEPENDS= protoc:devel/protobuf .else LIB_DEPENDS= libprotobuf.so:devel/protobuf \ libtesseract.so:graphics/tesseract .endif USES= cmake:outsource compiler:c++14-lang localbase:ldflags pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes USE_CXXSTD= c++11 DATADIR= ${PREFIX}/share/OpenCV PLIST_SUB+= SOVERSION=${DISTVERSION:R} VERSION=${DISTVERSION} # 3rd party libs CMAKE_ON= ENABLE_CXX11 CMAKE_OFF= BUILD_ZLIB BUILD_TIFF BUILD_JASPER BUILD_JPEG BUILD_PNG BUILD_OPENEXR BUILD_TBB BUILD_IPP_IW BUILD_ITT BUILD_PROTOBUF # Optional 3rd party components CMAKE_ARGS+= -DWITH_1394:BOOL=OFF \ -DWITH_CAROTENE:BOOL=OFF \ -DWITH_CPUFEATURES:BOOL=OFF \ -DWITH_VTK:BOOL=OFF \ -DWITH_CUDA:BOOL=OFF \ -DWITH_CUFFT:BOOL=OFF \ -DWITH_CUBLAS:BOOL=OFF \ -DWITH_NVCUVID:BOOL=OFF \ -DWITH_EIGEN:BOOL=OFF \ -DWITH_VFW:BOOL=OFF \ -DWITH_FFMPEG:BOOL=OFF \ -DWITH_GSTREAMER:BOOL=OFF \ -DWITH_GSTREAMER_0_10:BOOL=OFF \ -DWITH_GTK:BOOL=OFF \ -DWITH_GTK_2_X:BOOL=ON \ -DWITH_IPP:BOOL=OFF \ -DWITH_IPP_A:BOOL=OFF \ -DWITH_HALIDE:BOOL=OFF \ -DWITH_JASPER:BOOL=OFF \ -DWITH_JPEG:BOOL=OFF \ -DWITH_WEBP:BOOL=OFF \ -DWITH_OPENEXR:BOOL=OFF \ -DWITH_OPENGL:BOOL=OFF \ -DWITH_OPENVX:BOOL=OFF \ -DWITH_OPENNI:BOOL=OFF \ -DWITH_OPENNI2:BOOL=OFF \ -DWITH_PNG:BOOL=OFF \ -DWITH_GDCM:BOOL=OFF \ -DWITH_PVAPI:BOOL=OFF \ -DWITH_GIGEAPI:BOOL=OFF \ -DWITH_ARAVIS:BOOL=OFF \ -DWITH_QT:BOOL=OFF \ -DWITH_WIN32UI:BOOL=OFF \ -DWITH_TBB:BOOL=OFF \ -DWITH_OPENMP:BOOL=OFF \ -DWITH_CSTRIPES:BOOL=ON \ -DWITH_PTHREADS_PF:BOOL=OFF \ -DWITH_TIFF:BOOL=OFF \ -DWITH_UNICAP:BOOL=OFF \ -DWITH_V4L:BOOL=OFF \ -DWITH_LIBV4L:BOOL=OFF \ -DWITH_DSHOW:BOOL=OFF \ -DWITH_MSMF:BOOL=OFF \ -DWITH_XIMEA:BOOL=OFF \ -DWITH_XINE:BOOL=OFF \ -DWITH_CLP:BOOL=OFF \ -DWITH_OPENCL:BOOL=OFF \ -DWITH_OPENCL_SVM:BOOL=OFF \ -DWITH_OPENCLAMDFFT:BOOL=OFF \ -DWITH_OPENCLAMDBLAS:BOOL=OFF \ -DWITH_DIRECTX:BOOL=OFF \ -DWITH_INTELPERC:BOOL=OFF \ -DWITH_MATLAB:BOOL=OFF \ -DWITH_VA:BOOL=OFF \ -DWITH_VA_INTEL:BOOL=OFF \ -DWITH_MFX:BOOL=OFF \ -DWITH_GDAL:BOOL=OFF \ -DWITH_GPHOTO2:BOOL=OFF \ -DWITH_LAPACK:BOOL=OFF \ -DWITH_ITT:BOOL=OFF # OpenCV build components CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \ -DBUILD_opencv_apps:BOOL=ON \ -DBUILD_opencv_js:BOOL=OFF \ -DBUILD_ANDROID_EXAMPLES:BOOL=OFF \ -DBUILD_DOCS:BOOL=OFF \ -DBUILD_EXAMPLES:BOOL=OFF \ -DBUILD_PACKAGE:BOOL=OFF \ -DBUILD_PERF_TESTS:BOOL=OFF \ -DBUILD_TESTS:BOOL=OFF \ -DBUILD_WITH_DEBUG_INFO:BOOL=OFF \ -DBUILD_WITH_DYNAMIC_IPP:BOOL=OFF \ -DBUILD_FAT_JAVA_LIB:BOOL=OFF \ -DBUILD_CUDA_STUBS:BOOL=OFF \ -DBUILD_ANDROID_SERVICE:BOOL=OFF \ -DBUILD_opencv_ts:BOOL=OFF \ -DBUILD_opencv_cnn_3dobj_INIT:BOOL=OFF \ -DBUILD_opencv_world:BOOL=OFF # OpenCV installation options CMAKE_ARGS+= -DINSTALL_CREATE_DISTRIB:BOOL=OFF \ -DINSTALL_C_EXAMPLES:BOOL=OFF \ -DINSTALL_PYTHON_EXAMPLES:BOOL=OFF \ -DINSTALL_TO_MANGLED_PATHS:BOOL=OFF \ -DINSTALL_TESTS:BOOL=OFF # OpenCV build options CMAKE_ARGS+= -DENABLE_CCACHE:BOOL=OFF \ -DENABLE_PRECOMPILED_HEADERS:BOOL=OFF \ -DENABLE_SOLUTION_FOLDERS:BOOL=OFF \ -DENABLE_PROFILING:BOOL=OFF \ -DENABLE_COVERAGE:BOOL=OFF \ -DENABLE_OMIT_FRAME_POINTER:BOOL=ON \ -DENABLE_POWERPC:BOOL=OFF \ -DENABLE_VSX:BOOL=OFF \ -DENABLE_FAST_MATH:BOOL=OFF \ -DENABLE_NEON:BOOL=OFF \ -DENABLE_VFPV3:BOOL=OFF \ -DENABLE_NOISY_WARNINGS:BOOL=OFF \ -DOPENCV_WARNINGS_ARE_ERRORS:BOOL=OFF \ -DENABLE_IMPL_COLLECTION:BOOL=OFF \ -DENABLE_INSTRUMENTATION:BOOL=OFF \ -DENABLE_GNU_STL_DEBUG:BOOL=OFF \ -DENABLE_BUILD_HARDENING:BOOL=OFF \ -DENABLE_LTO:BOOL=OFF \ -DGENERATE_ABI_DESCRIPTOR:BOOL=OFF \ -DCV_ENABLE_INTRINSICS:BOOL=ON \ -DCV_DISABLE_OPTIMIZATION:BOOL=OFF \ -DCV_TRACE:BOOL=OFF \ -DENABLE_PYLINT:BOOL=OFF SUB_FILES= FindOpenCVCore.cmake SUB_LIST= OCV_VERSION=${DISTVERSION} OCV_CORE_MODS= core imgproc OCV_MODS= apps calib3d contrib dnn features2d flann highgui \ imgcodecs ml objdetect photo shape stitching \ superres ts video videoio videostab OCV_JAVA_MODS= java OCV_PYTHON_MODS= python${PYTHON_MAJOR_VER} OPTIONS_DEFINE= EXAMPLES EXTRA_MODULES OPENGL OPTIONS_GROUP= PERFORMANCE IMAGE VIDEO OPTIONS_GROUP_PERFORMANCE= EIGEN3 OPENCL TBB OPTIONS_GROUP_IMAGE= GDAL GDCM JASPER JPEG OPENEXR PNG TIFF WEBP OPTIONS_GROUP_VIDEO= ARAVIS DC1394 FFMPEG GPHOTO2 GSTREAMER V4L XINE OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= GTK2 QT4 # EXTRA_MODULES required for libopencv_dnn which is required by py-opencv OPTIONS_DEFAULT= EIGEN3 EXTRA_MODULES FFMPEG JASPER JPEG PNG TIFF WEBP V4L \ ${MACHINE_CPU:tu} OPTIONS_SUB= yes .if defined(OCV_CORE) OPTIONS_EXCLUDE= ARAVIS DC1394 EXAMPLES EXTRA_MODULES FFMPEG \ GDAL GDCM GPHOTO2 GSTREAMER GTK2 JASPER JPEG \ OPENEXR OPENGL PNG QT4 TIFF WEBP V4L XINE .elif defined(OCV_SLAVE) OPTIONS_EXCLUDE= EXAMPLES .endif DC1394_DESC= IEEE 1394 camera support DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 DC1394_CMAKE_BOOL= WITH_1394 EXAMPLES_CMAKE_BOOL= INSTALL_C_EXAMPLES PERFORMANCE_DESC= Performance enhancing libraries EIGEN3_DESC= Eigen 3 support EIGEN3_BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Eigen:math/eigen3 EIGEN3_CMAKE_BOOL= WITH_EIGEN OPENCL_DESC= OpenCL support OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl OPENCL_RUN_DEPENDS= opencl>=0:devel/opencl OPENCL_CMAKE_BOOL= WITH_OPENCL TBB_DESC= TBB support TBB_LIB_DEPENDS= libtbb.so:devel/tbb TBB_CMAKE_BOOL= WITH_TBB IMAGE_DESC= Image format support JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_CMAKE_BOOL= WITH_JASPER JPEG_USES= jpeg JPEG_CMAKE_BOOL= WITH_JPEG GDAL_DESC= Geospatial Data Abstraction Library GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_CMAKE_BOOL= WITH_GDAL GDCM_DESC= Open source DICOM library GDCM_LIB_DEPENDS= libgdcmMSFF.so:devel/gdcm GDCM_CMAKE_BOOL= WITH_GDCM OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR OPENEXR_CMAKE_BOOL= WITH_OPENEXR PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL= WITH_PNG TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL= WITH_TIFF WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= WITH_WEBP VIDEO_DESC= Video support ARAVIS_DESC= Aravis SDK ARAVIS_LIB_DEPENDS= libaravis-0.6.so:devel/libaravis ARAVIS_CMAKE_BOOL= WITH_ARAVIS FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG GPHOTO2_DESC= Gphoto2 camera support GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO2_CMAKE_BOOL= WITH_GPHOTO2 GSTREAMER_USE= GSTREAMER1=yes GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CMAKE_BOOL= WITH_V4L WITH_LIBV4L V4L_CMAKE_ON= CMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_CMAKE_BOOL= WITH_XINE EXTRA_MODULES_DESC= Extra modules EXTRA_MODULES_GH_ACCOUNT= opencv:DEFAULT \ tiny-dnn:extra_mod_3rdparty_tiny_dnn EXTRA_MODULES_GH_PROJECT= opencv_contrib:extra_mod \ tiny-dnn:extra_mod_3rdparty_tiny_dnn \ opencv_3rdparty:extra_mod_3rdparty_face_landmark_model \ opencv_3rdparty:extra_mod_3rdparty_boost_descr \ opencv_3rdparty:extra_mod_3rdparty_vgg_descr EXTRA_MODULES_GH_TAGNAME= ${PORTVERSION}:extra_mod \ 2a2b50caa437a5964a61e45ffc83e70558e2bc68:extra_mod_3rdparty_tiny_dnn \ 8afa57abc8229d611c4937165d20e2a2d9fc5a12:extra_mod_3rdparty_face_landmark_model \ 34e4206aef44d50e6bbcd0ab06354b52e7466d26:extra_mod_3rdparty_boost_descr \ fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d:extra_mod_3rdparty_vgg_descr EXTRA_MODULES_LIB_DEPENDS= libgflags.so:devel/gflags \ libglog.so:devel/glog \ libhdf5.so:science/hdf5 EXTRA_MODULES_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-modules_dnn__modern_CMakeLists.txt \ ${FILESDIR}/extra-patch-modules_sfm_src__libmv__light_libmv_numeric_numeric.h \ ${FILESDIR}/extra-patch-modules_stereo_src_descriptor.cpp OPENGL_DESC= OpenGL (require QT or GTK2) OPENGL_CMAKE_BOOL= WITH_OPENGL OPENGL_LIB_DEPENDS= ${PORT_OPTIONS:MGTK2:C,.+,libgtkglext-x11-1.0.so:x11-toolkits/gtkglext,} OPENGL_USE= ${PORT_OPTIONS:MQT4:S,$,=opengl,} # GUI GTK2_USE= GNOME=cairo,gdkpixbuf2,gtk20 GTK2_CMAKE_BOOL= WITH_GTK GTK2_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsz.so:science/szip \ libfontconfig.so:x11-fonts/fontconfig \ liblept.so:graphics/leptonica QT4_USES= qt:4 QT4_USE= QT=corelib,gui,moc_build,qmake_build,rcc_build,uic_build,qtestlib QT4_CMAKE_ON= -DWITH_QT:STRING="4" QT4_CMAKE_OFF= -DWITH_QT:BOOL=OFF QT4_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsz.so:science/szip \ liblept.so:graphics/leptonica .if defined(OCV_CORE) . for module in ${OCV_MODS} ${OCV_JAVA_MODS} ${OCV_PYTHON_MODS} CMAKE_ARGS+= -DBUILD_opencv_${module}:BOOL=OFF . endfor .elif defined(OCV_PYTHON) LIB_DEPENDS+= libopencv_core.so:graphics/opencv-core \ libopencv_imgproc.so:graphics/opencv-core \ libopencv_ml.so:graphics/opencv BUILD_DEPENDS+= ${PYNUMPY} RUN_DEPENDS+= ${PYNUMPY} USES+= python:2.7 USE_PYTHON= flavors CMAKE_ARGS+= -DBUILD_opencv_python${PYTHON_MAJOR_VER}:BOOL=ON . for module in apps java stitching superres videostab CMAKE_ARGS+= -DBUILD_opencv_${module}:BOOL=OFF . endfor INSTALL_WRKSRC= ${WRKDIR}/.build/modules/python${PYTHON_MAJOR_VER} .elif defined(OCV_JAVA) BUILD_DEPENDS+= ant:devel/apache-ant LIB_DEPENDS+= libopencv_ml.so:graphics/opencv USES+= python:build USE_JAVA= yes CMAKE_ARGS+= -DBUILD_opencv_java:BOOL=ON . for module in apps python stitching superres videostab CMAKE_ARGS+= -DBUILD_opencv_${module}:BOOL=OFF . endfor CONFIGURE_ENV+= JAVA_HOME="${JAVA_HOME}" INSTALL_WRKSRC= ${WRKDIR}/.build/modules/java .else LIB_DEPENDS+= libopencv_core.so:graphics/opencv-core . for module in ${OCV_JAVA_MODS} ${OCV_PYTHON_MODS} CMAKE_ARGS+= -DBUILD_opencv_${module}:BOOL=OFF . endfor .endif .if !defined(OCV_JAVA) CMAKE_ARGS+= -DBUILD_JAVA:BOOL=OFF .endif post-extract-EXTRA_MODULES-on: @${MV} ${WRKSRC_extra_mod}/doc/tutorials/* ${WRKSRC}/doc/tutorials/ @${MV} ${WRKSRC_extra_mod}/modules/* ${WRKSRC}/modules/ @${CP} -RpP ${WRKSRC_extra_mod}/samples/* ${WRKSRC}/samples/ @${MKDIR} ${CONFIGURE_WRKSRC}/3rdparty/tinydnn/tiny-dnn-1.0.0a3/ @${MV} ${WRKSRC_extra_mod_3rdparty_tiny_dnn}/* ${CONFIGURE_WRKSRC}/3rdparty/tinydnn/tiny-dnn-1.0.0a3/ @${MKDIR} ${CONFIGURE_WRKSRC}/share/OpenCV/testdata/cv/face/ @${MV} ${WRKSRC_extra_mod_3rdparty_face_landmark_model}/* ${CONFIGURE_WRKSRC}/share/OpenCV/testdata/cv/face/ @${MKDIR} ${CONFIGURE_WRKSRC}/downloads/xfeatures2d/ @${MV} ${WRKSRC_extra_mod_3rdparty_boost_descr}/* ${CONFIGURE_WRKSRC}/downloads/xfeatures2d/ @${MV} ${WRKSRC_extra_mod_3rdparty_vgg_descr}/* ${CONFIGURE_WRKSRC}/downloads/xfeatures2d/ post-patch: @${REINPLACE_CMD} -e '/pkgconfig/s|$${OPENCV_LIB_INSTALL_PATH}|libdata|' \ ${WRKSRC}/cmake/OpenCVGenPkgconfig.cmake @${REINPLACE_CMD} -e 's|$${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/1.2|${LOCALBASE}/include/CL|g' \ ${WRKSRC}/cmake/OpenCVDetectOpenCL.cmake @${REINPLACE_CMD} -e 's|share/OpenCV/doc|${DOCSDIR_REL}|g' \ -e 's|share/OpenCV/samples|${EXAMPLESDIR_REL}|g' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/modules/dnn/src/torch/THGeneral.cpp .if defined(OCV_CORE) @${REINPLACE_CMD} -e 's|opencv.pc|opencv-core.pc|g' \ ${WRKSRC}/cmake/OpenCVGenPkgconfig.cmake @${REINPLACE_CMD} -e 's|Name:.*|Name: OpenCV-core|' \ ${WRKSRC}/cmake/templates/opencv-XXX.pc.in .endif .if defined(OCV_SLAVE) @${REINPLACE_CMD} -e 's|add_subdirectory(data)||g' \ ${WRKSRC}/CMakeLists.txt .endif @${FIND} ${WRKSRC} -name '*.bak' -exec ${RM} {} \; pre-build: protoc --proto_path=${WRKSRC}/modules/dnn/src/caffe/ --cpp_out=${WRKSRC}/modules/dnn/misc/caffe/ ${WRKSRC}/modules/dnn/src/caffe/*.proto protoc --proto_path=${WRKSRC}/modules/dnn/src/tensorflow/ --cpp_out=${WRKSRC}/modules/dnn/misc/tensorflow/ ${WRKSRC}/modules/dnn/src/tensorflow/*.proto post-install: .if !defined(OCV_SLAVE) (cd ${STAGEDIR}${PREFIX} && \ ${RM} -r include/opencv2/core include/opencv2/core.hpp include/opencv2/imgproc \ include/opencv2/imgproc.hpp \ include/opencv2/cvconfig.h lib/libopencv_core* lib/libopencv_imgproc*) .endif .if defined(OCV_CORE) ${RM} -r ${STAGEDIR}${PREFIX}/include/opencv ${RM} -r ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/share/cmake/Modules ${INSTALL_DATA} ${WRKDIR}/FindOpenCVCore.cmake ${STAGEDIR}${PREFIX}/share/cmake/Modules .endif .if defined(OCV_PYTHON) (cd ${STAGEDIR}${PREFIX} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S|${PREFIX}/||} && \ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S|${PREFIX}/||}) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples/python && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/python .endif .if defined(OCV_JAVA) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples/java && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/java .endif .include .if !defined(OCV_CORE) .if (${OPSYS} == FreeBSD && ${OSVERSION} < 1200000) EXTRA_PATCHES+= ${FILESDIR}/extra-patch-modules_sfm_src_libmv__light_libmv_numeric_numeric.cc .endif .endif .include Index: head/graphics/osg/Makefile =================================================================== --- head/graphics/osg/Makefile (revision 478528) +++ head/graphics/osg/Makefile (revision 478529) @@ -1,160 +1,160 @@ # Created by: Randall Hopper # $FreeBSD$ PORTNAME= osg PORTVERSION= 3.4.1 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph CONFLICTS= osg-devel-[0-9]* USES= alias cmake:outsource jpeg pkgconfig USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=131 \ OPENTHREADS_VERSION=3.3.0 \ OPENTHREADS_SHLIBVER=20 PORTSCOUT= limitw:1,even OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA INVENTOR \ JASPER LIBLAS LUA NVTT OPENEXR PDF SDL \ SVG VNC XINE XRANDR OPTIONS_RADIO= QT OPTIONS_RADIO_QT=QT4 QT5 OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR GDAL_DESC= GDAL support GTA_DESC= GTA file format support INVENTOR_DESC= SGI OpenInventor support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools QT_DESC= QT toolkit support SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes GSTREAMER_VARS= FORCE_REQUIRE+=GStreamer GSTREAMER_VARS_OFF= FORCE_IGNORE+=GStreamer GSTREAMER_BROKEN= fails when linking gstreamer plugin, with error cannot find -lgstreamer-1.0 GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA INVENTOR_LIB_DEPENDS= libInventor.so:graphics/inventor INVENTOR_VARS= FORCE_REQUIRE+=Inventor INVENTOR_VARS_OFF= FORCE_IGNORE+=Inventor JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= gnome=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib QT4_USES= qt:4 QT4_USE= qt=corelib,gui,moc_build,opengl,qmake_build,rcc_build,uic_build QT4_CMAKE_ON= -DDESIRED_QT_VERSION=4 QT4_VARS= FORCE_REQUIRE+=Qt4 QT4_VARS_OFF= FORCE_IGNORE+=Qt4 QT5_USE= qt:5 QT5_USE= qt=buildtools_build,core,gui,opengl,qmake_build,webkit QT5_CMAKE_ON= -DDESIRED_QT_VERSION=5 QT5_VARS= FORCE_REQUIRE+="Qt5Widgets Qt5WebKitWidgets" QT5_VARS_OFF= FORCE_IGNORE+="Qt5Widgets Qt5WebKitWidgets" SDL_USE= sdl=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 SVG_USE= gnome=cairo SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_VARS= FORCE_REQUIRE+=Xine XINE_VARS_OFF= FORCE_IGNORE+=Xine XRANDR_CMAKE_ON= -DOSGVIEWER_USE_XRANDR:BOOL=ON XRANDR_CMAKE_OFF= -DOSGVIEWER_USE_XRANDR:BOOL=OFF XRANDR_USE= xorg=xrandr # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK GLUT FOX Qt3 wxWidgets OpenAL GtkGl SDL2 # only for examples FORCE_IGNORE+= COLLADA Performer OurDCMTK XUL FBX # not in ports FORCE_IGNORE+= OpenVRML # ports version too old FORCE_IGNORE+= ITK # ports version doesn't build on 10.x FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include .if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DOSG_USE_QT:BOOL=ON PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DOSG_USE_QT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d' \ ${WRKSRC}/CMakeLists.txt .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include Index: head/graphics/osg-devel/Makefile =================================================================== --- head/graphics/osg-devel/Makefile (revision 478528) +++ head/graphics/osg-devel/Makefile (revision 478529) @@ -1,159 +1,159 @@ # Created by: Randall Hopper # $FreeBSD$ PORTNAME= osg PORTVERSION= 3.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= http://trac.openscenegraph.org/downloads/developer_releases/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= -devel DISTNAME= OpenSceneGraph-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff CONFLICTS= osg-[0-9]* USES= alias cmake:outsource jpeg pkgconfig zip USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=141 \ OPENTHREADS_VERSION=3.3.0 \ OPENTHREADS_SHLIBVER=20 PORTSCOUT= limitw:1,odd OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA INVENTOR \ JASPER LIBLAS LUA NVTT OPENEXR PDF SDL \ SVG VNC XINE XRANDR OPTIONS_RADIO= QT OPTIONS_RADIO_QT=QT4 QT5 OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR GDAL_DESC= GDAL support GTA_DESC= GTA file format support INVENTOR_DESC= SGI OpenInventor support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools QT_DESC= QT toolkit support SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes GSTREAMER_VARS= FORCE_REQUIRE+=GStreamer GSTREAMER_VARS_OFF= FORCE_IGNORE+=GStreamer GSTREAMER_BROKEN= fails when linking gstreamer plugin, with error cannot find -lgstreamer-1.0 GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA INVENTOR_LIB_DEPENDS= libInventor.so:graphics/inventor INVENTOR_VARS= FORCE_REQUIRE+=Inventor INVENTOR_VARS_OFF= FORCE_IGNORE+=Inventor JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= gnome=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib QT4_USES= qt:4 QT4_USE= qt=corelib,gui,moc_build,opengl,qmake_build,rcc_build,uic_build QT4_CMAKE_ON= -DDESIRED_QT_VERSION=4 QT4_VARS= FORCE_REQUIRE+=Qt4 QT4_VARS_OFF= FORCE_IGNORE+=Qt4 QT5_USES= qt:5 QT5_USE= qt=buildtools_build,core,gui,opengl,qmake_build,webkit QT5_CMAKE_ON= -DDESIRED_QT_VERSION=5 QT5_VARS= FORCE_REQUIRE+="Qt5Widgets Qt5WebKitWidgets" QT5_VARS_OFF= FORCE_IGNORE+="Qt5Widgets Qt5WebKitWidgets" SDL_USE= sdl=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 SVG_USE= gnome=cairo SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_VARS= FORCE_REQUIRE+=Xine XINE_VARS_OFF= FORCE_IGNORE+=Xine XRANDR_CMAKE_ON= -DOSGVIEWER_USE_XRANDR:BOOL=ON XRANDR_CMAKE_OFF= -DOSGVIEWER_USE_XRANDR:BOOL=OFF XRANDR_USE= xorg=xrandr # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK GLUT FOX Qt3 wxWidgets OpenAL GtkGl SDL2 # only for examples FORCE_IGNORE+= COLLADA Performer OurDCMTK XUL FBX # not in ports FORCE_IGNORE+= OpenVRML # ports version too old FORCE_IGNORE+= ITK # ports version doesn't build on 10.x FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include .if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DOSG_USE_QT:BOOL=ON PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DOSG_USE_QT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d; \ s|-pedantic||' ${WRKSRC}/CMakeLists.txt .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include Index: head/multimedia/gxine/Makefile =================================================================== --- head/multimedia/gxine/Makefile (revision 478528) +++ head/multimedia/gxine/Makefile (revision 478529) @@ -1,66 +1,67 @@ # Created by: Grigori Goronzy # $FreeBSD$ PORTNAME= gxine PORTVERSION= 0.5.910 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF/xine/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Alternative GUI for the Xine media player LICENSE= GPLv2 LIB_DEPENDS= libnspr4.so:devel/nspr \ libmozjs185.so:lang/spidermonkey185 \ libxine.so:multimedia/libxine USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig tar:xz USE_GNOME= gtk30 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-hal --with-libintl-prefix=${LOCALBASE} --with-gtk3 LLD_UNSAFE= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lm OPTIONS_DEFINE= GNOME LIRC WEBPLUGIN OPTIONS_SUB= yes GNOME_BUILD_DEPENDS= gnome-screensaver:x11/gnome-screensaver GNOME_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib GNOME_RUN_DEPENDS= gnome-screensaver:x11/gnome-screensaver GNOME_CONFIGURE_ON= --with-dbus GNOME_CONFIGURE_OFF= --disable-integration-wizard --without-dbus LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_ON= --enable-lirc LIRC_CONFIGURE_OFF= --disable-lirc WEBPLUGIN_DESC= Build and/or install Web browser plugins WEBPLUGIN_USE= xorg=xaw WEBPLUGIN_USES= webplugin:native WEBPLUGIN_CONFIGURE_OFF= --without-browser-plugin .include .if ${PORT_OPTIONS:MWEBPLUGIN} WEBPLUGIN_DIR= ${PREFIX}/lib/gxine WEBPLUGIN_FILES=gxineplugin.so .endif post-patch: @${REINPLACE_CMD} -e \ '/CFLAGS/s|-I/usr/local/include|| ; \ /CFLAGS/s|-L/usr/local/lib|| ; \ /CPPFLAGS/s|-I/usr/local/include|| ; \ s|XINE_LIST=.*|XINE_LIST=|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|@MAKE_PNG_TRUE@|#|' ${WRKSRC}/pixmaps/Makefile.in post-install: ${CP} ${WRKSRC}/pixmaps/logo.mpv ${STAGEDIR}${PREFIX}/share/gxine .if ${PORT_OPTIONS:MWEBPLUGIN} @${STRIP_CMD} ${STAGEDIR}${WEBPLUGIN_DIR}/${WEBPLUGIN_FILES} .endif .include Index: head/multimedia/gxine/pkg-plist =================================================================== --- head/multimedia/gxine/pkg-plist (revision 478528) +++ head/multimedia/gxine/pkg-plist (revision 478529) @@ -1,56 +1,57 @@ bin/gxine bin/gxine_client %%ETCDIR%%/gtk.css %%ETCDIR%%/gtkrc %%ETCDIR%%/keypad.xml %%ETCDIR%%/startup %%ETCDIR%%/toolbar-fullscreen.xml %%ETCDIR%%/toolbar-window.xml man/de/man1/gxine.1.gz man/de/man1/gxine_client.1.gz man/es/man1/gxine.1.gz man/es/man1/gxine_client.1.gz man/man1/gxine.1.gz man/man1/gxine_client.1.gz share/applications/gxine.desktop +%%DATADIR%%/logo.jpg %%DATADIR%%/logo.mpv %%DATADIR%%/mediamarks %%DATADIR%%/pixmaps/gxine-icon.xpm %%DATADIR%%/pixmaps/nospeaker.png %%DATADIR%%/pixmaps/set-brightness.svg %%DATADIR%%/pixmaps/set-channel.svg %%DATADIR%%/pixmaps/set-contrast.svg %%DATADIR%%/pixmaps/set-hue.svg %%DATADIR%%/pixmaps/set-saturation.svg %%DATADIR%%/pixmaps/set-sharpness.svg %%DATADIR%%/pixmaps/set-sync.svg %%DATADIR%%/pixmaps/set-volume.svg %%DATADIR%%/pixmaps/speaker.png %%DATADIR%%/pixmaps/splash.png %%DATADIR%%/pixmaps/subtitle.svg share/icons/hicolor/64x64/apps/gxine.png share/locale/cs/LC_MESSAGES/gxine.mo share/locale/cs/LC_MESSAGES/gxine.theme.mo share/locale/de/LC_MESSAGES/gxine.mo share/locale/de/LC_MESSAGES/gxine.theme.mo share/locale/es/LC_MESSAGES/gxine.mo share/locale/es/LC_MESSAGES/gxine.theme.mo share/locale/fi/LC_MESSAGES/gxine.mo share/locale/fi/LC_MESSAGES/gxine.theme.mo share/locale/fr/LC_MESSAGES/gxine.mo share/locale/fr/LC_MESSAGES/gxine.theme.mo share/locale/it/LC_MESSAGES/gxine.mo share/locale/it/LC_MESSAGES/gxine.theme.mo share/locale/ja/LC_MESSAGES/gxine.mo share/locale/ja/LC_MESSAGES/gxine.theme.mo share/locale/pl/LC_MESSAGES/gxine.mo share/locale/pl/LC_MESSAGES/gxine.theme.mo share/locale/ru/LC_MESSAGES/gxine.mo share/locale/ru/LC_MESSAGES/gxine.theme.mo share/locale/sv/LC_MESSAGES/gxine.mo share/locale/sv/LC_MESSAGES/gxine.theme.mo share/locale/uk/LC_MESSAGES/gxine.mo share/locale/uk/LC_MESSAGES/gxine.theme.mo share/locale/zh_CN/LC_MESSAGES/gxine.mo share/locale/zh_CN/LC_MESSAGES/gxine.theme.mo share/pixmaps/gxine.png Index: head/multimedia/k9copy-kde4/Makefile =================================================================== --- head/multimedia/k9copy-kde4/Makefile (revision 478528) +++ head/multimedia/k9copy-kde4/Makefile (revision 478529) @@ -1,42 +1,42 @@ # Created by: Alexander V. Ribchansky # $FreeBSD$ PORTNAME= k9copy PORTVERSION= 2.3.4 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= multimedia kde MASTER_SITES= LOCAL/rakuco DISTNAME= ${PORTNAME}-${PORTVERSION}-Source MAINTAINER= egoliveira@gmail.com COMMENT= DVD-9 to DVD-5 shrinking application for KDE LICENSE= GPLv2 LIB_DEPENDS= libxine.so:multimedia/libxine \ libmpeg2.so:multimedia/libmpeg2 \ libavcodec0.so:multimedia/ffmpeg0 USES= cmake gettext kde:4 localbase qt:4 USE_KDE= kdelibs automoc4 USE_QT= moc_build qmake_build rcc_build uic_build LLD_UNSAFE= yes OPTIONS_DEFINE= MENCODER MPLAYER DVDAUTHOR MENCODER_DESC= MEncoder support MPLAYER_DESC= MPlayer support DVDAUTHOR_DESC= DVD Author support MENCODER_RUN_DEPENDS= mencoder:multimedia/mencoder MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer DVDAUTHOR_RUN_DEPENDS= dvdauthor:multimedia/dvdauthor post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/cmake/*.cmake @${REINPLACE_CMD} \ -e 's,swscale,swscale0,' \ -e 's,avcodec,avcodec0,' \ -e 's,avformat,avformat0,' \ ${WRKSRC}/CMakeLists.txt .include Index: head/multimedia/libxine/Makefile =================================================================== --- head/multimedia/libxine/Makefile (revision 478528) +++ head/multimedia/libxine/Makefile (revision 478529) @@ -1,163 +1,147 @@ # Created by: alex # $FreeBSD$ PORTNAME= xine -PORTVERSION= 1.2.6 -PORTREVISION= 18 +PORTVERSION= 1.2.9 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 + libvdpau.so:multimedia/libvdpau \ + libvpx.so:multimedia/libvpx \ + libiso9660.so:sysutils/libcdio \ + libogg.so:audio/libogg \ + libdvdnav.so:multimedia/libdvdnav -USES= compiler cpe gmake iconv libtool:keepla \ +USES= compiler cpe gmake gnome iconv libtool:keepla jpeg \ localbase pathfix perl5 pkgconfig tar:xz +LLD_UNSAFE= yes CPE_PRODUCT= xine-lib CPE_VENDOR= xine GNU_CONFIGURE= yes -USE_XORG= x11 xv xinerama xext sm ice +USE_XORG= x11 xcb 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 \ +CONFIGURE_ARGS= --with-libflac \ --disable-real-codecs \ --disable-v4l \ --without-alsa \ - --disable-musepack \ - --enable-dvb + --disable-musepack + MAKE_ENV= V=1 -LLD_UNSAFE= yes +MAKE_ARGS= pkgdatadir="${DATADIR}" \ + datadir="${DATADIR}" \ + libdir="${PREFIX}/lib" +CFLAGS_i386= -fomit-frame-pointer + 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 +PLUGINSDIR= lib/xine/plugins/2.7 PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" -BROKEN_aarch64= Fails to configure: error: no acceptable as found in $PATH +OPTIONS_DEFINE= DOCS NLS CACA DVB DMX_IMAGE ESOUND IPV6 IMAGEMAGICK JACK \ + GNOMEVFS2 PIXBUF PULSEAUDIO XVMC SMB SNDIO AALIB WAVPACK \ + VAAPI LIBBLURAY +OPTIONS_DEFAULT= DVB IMAGEMAGICK VAAPI +OPTIONS_DEFINE_i386= W32DLL +OPTIONS_DEFAULT_i386= W32DLL +OPTIONS_SUB= yes -OPTIONS_DEFINE= NLS CACA ESOUND JACK GNOMEVFS2 PULSEAUDIO XVMC SMB AALIB \ - IMAGEMAGICK PIXBUF WAVPACK VAAPI LIBBLURAY -OPTIONS_DEFAULT=VAAPI -OPTIONS_SUB= yes +DMX_IMAGE_DESC= DMX image plugin +DVB_DESC= DVB plugin +W32DLL_DESC= Win32 codec support -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 +AALIB_LIB_DEPENDS= libaa.so:graphics/aalib +AALIB_CONFIGURE_ENABLE= aalib +CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca +CACA_CONFIGURE_WITH= caca +DVB_CONFIGURE_ENABLE= dvb +ESOUND_USE= GNOME=esound +ESOUND_CONFIGURE_WITH= esound +GNOMEVFS2_USE= GNOME=glib20,gconf2,gnomevfs2 +GNOMEVFS2_CONFIGURE_ENABLE= gnomevfs +IMAGEMAGICK_CONFIGURE_WITH= imagemagick 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 +IMAGEMAGICK_IMPLIES= DMX_IMAGE +IPV6_CONFIGURE_ENABLE= ipv6 +JACK_LIB_DEPENDS= libjack.so:audio/jack +JACK_CONFIGURE_WITH= jack +LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls +PIXBUF_CONFIGURE_ENABLE= gdkpixbuf +PIXBUF_IMPLIES= DMX_IMAGE +PIXBUF_USE= GNOME=gdkpixbuf2,glib20 +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +PULSEAUDIO_CONFIGURE_WITH= pulseaudio +SMB_USES= samba:lib +SMB_CONFIGURE_ENV= LIBSMBCLIENT_LIBS="-L${SAMBALIBS} -lsmbclient" \ + LIBSMBCLIENT_CFLAGS="-I${SAMBAINCLUDES}" +SMB_CONFIGURE_ENABLE= samba +SNDIO_CONFIGURE_ENABLE= sndio +SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio +VAAPI_LIB_DEPENDS= libva.so:multimedia/libva +VAAPI_CONFIGURE_ENABLE= vaapi +W32DLL_CONFIGURE_ENABLE= w32dll +W32DLL_PLIST_FILES= ${PLUGINSDIR}/xineplug_decode_qt.so \ + ${PLUGINSDIR}/xineplug_decode_w32dll.so +WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack +WAVPACK_CONFIGURE_WITH= wavpack -.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="" +.if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1) +XVMC_CONFIGURE_WITH= xvmc-lib=XvMCNVIDIA +XVMC_LIB_DEPENDS= libXvMCNVIDIA.so:x11/nvidia-driver-304 .else -PLIST_SUB+= WITH_DMX_IMAGE="@comment " +XVMC_CONFIGURE_WITH= xvmc-lib=XvMCW +XVMC_LIB_DEPENDS= libXvMC.so:x11/libXvMC .endif +XVMC_CONFIGURE_ENABLE= xvmc -.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}/src/demuxers/demux_qt.c \ ${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/libxine/distinfo =================================================================== --- head/multimedia/libxine/distinfo (revision 478528) +++ head/multimedia/libxine/distinfo (revision 478529) @@ -1,2 +1,3 @@ -SHA256 (xine-lib-1.2.6.tar.xz) = bd041d738817c7c0c6392a3c0e5bda5a664a47e035135b5a449364f8c9b6a005 -SIZE (xine-lib-1.2.6.tar.xz) = 5020964 +TIMESTAMP = 1535162154 +SHA256 (xine-lib-1.2.9.tar.xz) = 32b34e8049feb762d75a551d5d2cdb56c396fdd83e35b9b7de5fd08e498e948d +SIZE (xine-lib-1.2.9.tar.xz) = 5180452 Index: head/multimedia/libxine/files/patch-src-post-deinterlace-plugins-greedy2frame_template_sse2.c =================================================================== --- head/multimedia/libxine/files/patch-src-post-deinterlace-plugins-greedy2frame_template_sse2.c (revision 478528) +++ head/multimedia/libxine/files/patch-src-post-deinterlace-plugins-greedy2frame_template_sse2.c (nonexistent) @@ -1,28 +0,0 @@ ---- src/post/deinterlace/plugins/greedy2frame_template_sse2.c.orig -+++ src/post/deinterlace/plugins/greedy2frame_template_sse2.c -@@ -174,8 +174,8 @@ static void DeinterlaceGreedy2Frame_SSE2 - */ - "movdqa (%2), %%xmm1 \n\t" /* xmm1 = T1 */ - "movdqa (%3), %%xmm0 \n\t" /* xmm0 = T0 */ -- "movdqa (%q4,%2), %%xmm3 \n\t" /* xmm3 = B1 */ -- "movdqa (%q4,%3), %%xmm2 \n\t" /* xmm2 = B0 */ -+ "movdqa (%2,%4), %%xmm3 \n\t" /* xmm3 = B1 */ -+ "movdqa (%3,%4), %%xmm2 \n\t" /* xmm2 = B0 */ - - /* calculate |T1-T0| keep T1 put result in xmm5 */ - "movdqa %%xmm1, %%xmm5 \n\t" -@@ -192,11 +192,11 @@ static void DeinterlaceGreedy2Frame_SSE2 - "pcmpgtb %0, %%xmm5 \n\t" - "pcmpeqd %%xmm7, %%xmm5 \n\t" - -- "prefetcht0 64(%q4,%2) \n\t" -- "prefetcht0 64(%q4,%3) \n\t" -+ "prefetcht0 64(%2,%4) \n\t" -+ "prefetcht0 64(%3,%4) \n\t" - : - : "m" (GreedyTwoFrameThreshold128), -- "m" (*Destc), "r" (T1), "r" (T0), "r" (Pitch) ); -+ "m" (*Destc), "r" (T1), "r" (T0), "r" ((register_t)Pitch) ); - - asm volatile ( - /* calculate |B1-B0| keep B1 put result in xmm4 */ Property changes on: head/multimedia/libxine/files/patch-src-post-deinterlace-plugins-greedy2frame_template_sse2.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/libxine/files/patch-src-combined-ffmpeg-Makefile.in.diff =================================================================== --- head/multimedia/libxine/files/patch-src-combined-ffmpeg-Makefile.in.diff (revision 478528) +++ head/multimedia/libxine/files/patch-src-combined-ffmpeg-Makefile.in.diff (nonexistent) @@ -1,13 +0,0 @@ ---- src/combined/ffmpeg/Makefile.in.orig 2013-09-23 15:58:14.000000000 -0500 -+++ src/combined/ffmpeg/Makefile.in 2013-09-25 03:25:33.000000000 -0500 -@@ -1037,9 +1037,7 @@ avcodec_audio.list: AV_CODECS:=/CODEC_ID - avcodec_video.list: AV_CODECS:=/CODEC_ID_MPEG1VIDEO/,/CODEC_ID_PCM_S16LE/ - - # that weird shell call just yields full path of the avcodec.h file --avcodec_audio.list avcodec_video.list: $(shell \ -- echo '#include "$(srcdir)/ffmpeg_decoder.h"' | $(AV_CPP) -M - |\ -- sed -e '/avcodec\.h/! d; s%^.* \([^ ]*/avcodec\.h\) .*%\1%') -+avcodec_audio.list avcodec_video.list: - $(AM_V_GEN)echo '#include "$(srcdir)/ffmpeg_decoder.h"' | $(AV_CPP) - |\ - sed -e $(AV_CODECS)'! d; s/^[ \t]*//; s/[=,].*//; /^$$/ d' >$@ - Property changes on: head/multimedia/libxine/files/patch-src-combined-ffmpeg-Makefile.in.diff ___________________________________________________________________ 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/libxine/files/patch-ffmpeg3 =================================================================== --- head/multimedia/libxine/files/patch-ffmpeg3 (revision 478528) +++ head/multimedia/libxine/files/patch-ffmpeg3 (nonexistent) @@ -1,57 +0,0 @@ -Index: src/combined/ffmpeg/ff_audio_decoder.c -=================================================================== ---- xine-lib-1.2.6.orig/src/combined/ffmpeg/ff_audio_decoder.c -+++ src/combined/ffmpeg/ff_audio_decoder.c -@@ -590,7 +590,7 @@ static int ff_audio_decode (ff_audio_dec - int got_frame; - float gain = this->class->gain; - if (!this->av_frame) -- this->av_frame = avcodec_alloc_frame (); -+ this->av_frame = av_frame_alloc (); - - consumed = avcodec_decode_audio4 (this->context, this->av_frame, &got_frame, &avpkt); - if ((consumed >= 0) && got_frame) { -@@ -1071,7 +1071,7 @@ static void ff_audio_reset (audio_decode - /* try to reset the wma decoder */ - if( this->decoder_ok ) { - #if AVAUDIO > 3 -- avcodec_free_frame (&this->av_frame); -+ av_frame_free (&this->av_frame); - #endif - pthread_mutex_lock (&ffmpeg_lock); - avcodec_close (this->context); -@@ -1105,7 +1105,7 @@ static void ff_audio_dispose (audio_deco - - if( this->context && this->decoder_ok ) { - #if AVAUDIO > 3 -- avcodec_free_frame (&this->av_frame); -+ av_frame_free (&this->av_frame); - #endif - pthread_mutex_lock (&ffmpeg_lock); - avcodec_close (this->context); -Index: src/combined/ffmpeg/ff_video_decoder.c -=================================================================== ---- xine-lib-1.2.6.orig/src/combined/ffmpeg/ff_video_decoder.c -+++ src/combined/ffmpeg/ff_video_decoder.c -@@ -2523,7 +2523,7 @@ static video_decoder_t *ff_video_open_pl - this->stream = stream; - this->class = (ff_video_class_t *) class_gen; - -- this->av_frame = avcodec_alloc_frame(); -+ this->av_frame = av_frame_alloc(); - this->context = avcodec_alloc_context(); - this->context->opaque = this; - #if AVPALETTE == 1 -Index: src/dxr3/ffmpeg_encoder.c -=================================================================== ---- src/dxr3/ffmpeg_encoder.c.orig 2016-02-17 07:54:31.950881580 +0000 -+++ src/dxr3/ffmpeg_encoder.c 2016-02-17 07:55:42.897237494 +0000 -@@ -161,7 +161,7 @@ - "dxr3_mpeg_encoder: Couldn't start the ffmpeg library\n"); - return 0; - } -- this->picture = avcodec_alloc_frame(); -+ this->picture = av_frame_alloc(); - if (!this->picture) { - xprintf(drv->class->xine, XINE_VERBOSITY_LOG, - "dxr3_mpeg_encoder: Couldn't allocate ffmpeg frame\n"); Property changes on: head/multimedia/libxine/files/patch-ffmpeg3 ___________________________________________________________________ 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/libxine/files/patch-ffmpeg4 =================================================================== --- head/multimedia/libxine/files/patch-ffmpeg4 (revision 478528) +++ head/multimedia/libxine/files/patch-ffmpeg4 (nonexistent) @@ -1,278 +0,0 @@ -https://sourceforge.net/p/xine/xine-lib-1.2/ci/e35492bfce45/ -https://sourceforge.net/p/xine/xine-lib-1.2/ci/abd6e04c7a53/ - ---- src/combined/ffmpeg/ff_audio_decoder.c.orig 2014-06-09 16:08:42 UTC -+++ src/combined/ffmpeg/ff_audio_decoder.c -@@ -137,7 +137,7 @@ static void ff_audio_ensure_buffer_size(ff_audio_decod - xprintf(this->stream->xine, XINE_VERBOSITY_LOG, - _("ffmpeg_audio_dec: increasing buffer to %d to avoid overflow.\n"), - this->bufsize); -- this->buf = realloc16 (this->buf, this->bufsize + FF_INPUT_BUFFER_PADDING_SIZE); -+ this->buf = realloc16 (this->buf, this->bufsize + AV_INPUT_BUFFER_PADDING_SIZE); - } - } - -@@ -148,9 +148,9 @@ static void ff_audio_handle_special_buffer(ff_audio_de - - free (this->context->extradata); - this->context->extradata_size = buf->decoder_info[2]; -- this->context->extradata = malloc (buf->decoder_info[2] + FF_INPUT_BUFFER_PADDING_SIZE); -+ this->context->extradata = malloc (buf->decoder_info[2] + AV_INPUT_BUFFER_PADDING_SIZE); - memcpy (this->context->extradata, buf->decoder_info_ptr[2], buf->decoder_info[2]); -- memset (this->context->extradata + buf->decoder_info[2], 0, FF_INPUT_BUFFER_PADDING_SIZE); -+ memset (this->context->extradata + buf->decoder_info[2], 0, AV_INPUT_BUFFER_PADDING_SIZE); - } - } - -@@ -363,10 +363,10 @@ static void ff_handle_header_buffer(ff_audio_decoder_t - this->ff_channels, this->ff_bits, this->ff_sample_rate, - this->context->block_align); - if (!data_len) break; -- e = malloc (data_len + FF_INPUT_BUFFER_PADDING_SIZE); -+ e = malloc (data_len + AV_INPUT_BUFFER_PADDING_SIZE); - if (!e) break; - xine_fast_memcpy (e, p, data_len); -- memset (e + data_len, 0, FF_INPUT_BUFFER_PADDING_SIZE); -+ memset (e + data_len, 0, AV_INPUT_BUFFER_PADDING_SIZE); - this->context->extradata = e; - this->context->extradata_size = data_len; - break; -@@ -886,7 +886,7 @@ static void ff_audio_decode_data (audio_decoder_t *thi - offset = 0; - - /* pad input data */ -- memset(&this->buf[this->size], 0, FF_INPUT_BUFFER_PADDING_SIZE); -+ memset(&this->buf[this->size], 0, AV_INPUT_BUFFER_PADDING_SIZE); - - while (this->size>=0) { - decode_buffer_size = AVCODEC_MAX_AUDIO_FRAME_SIZE; ---- src/combined/ffmpeg/ff_mpeg_parser.c.orig 2013-09-18 10:04:54 UTC -+++ src/combined/ffmpeg/ff_mpeg_parser.c -@@ -26,6 +26,7 @@ - #define LOG - */ - #include "ff_mpeg_parser.h" -+#include "ffmpeg_compat.h" - - /* mpeg frame rate table from lavc */ - static const int frame_rate_tab[][2] = { -@@ -50,7 +51,7 @@ static const int frame_rate_tab[][2] = { - - void mpeg_parser_init (mpeg_parser_t *parser) - { -- parser->chunk_buffer = malloc(BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE); -+ parser->chunk_buffer = malloc(BUFFER_SIZE + AV_INPUT_BUFFER_PADDING_SIZE); - mpeg_parser_reset(parser); - } - ---- src/combined/ffmpeg/ff_video_decoder.c.orig 2014-06-24 16:21:06 UTC -+++ src/combined/ffmpeg/ff_video_decoder.c -@@ -1,5 +1,5 @@ - /* -- * Copyright (C) 2001-2014 the xine project -+ * Copyright (C) 2001-2015 the xine project - * - * This file is part of xine, a free video player. - * -@@ -722,23 +722,28 @@ static void init_video_codec (ff_video_decoder_t *this - - this->context->width = this->bih.biWidth; - this->context->height = this->bih.biHeight; -- this->context->stream_codec_tag = this->context->codec_tag = -+#ifdef AVCODEC_HAS_STREAM_CODEC_TAG -+ this->context->stream_codec_tag = -+#endif -+ this->context->codec_tag = - _x_stream_info_get(this->stream, XINE_STREAM_INFO_VIDEO_FOURCC); - - - this->stream->video_out->open (this->stream->video_out, this->stream); - - this->edge = 0; -- if(this->codec->capabilities & CODEC_CAP_DR1 && this->class->enable_dri) { -+ if(this->codec->capabilities & AV_CODEC_CAP_DR1 && this->class->enable_dri) { - if (this->stream->video_out->get_capabilities (this->stream->video_out) & VO_CAP_CROP) { - /* We can crop. Fine. Lets allow decoders to paint over the frame edges. - This will be slightly faster. And it is also a workaround for buggy - v54 who likes to ignore EMU_EDGE for wmv2 and xvid. */ -+#ifdef CODEC_FLAG_EMU_EDGE - this->edge = avcodec_get_edge_width (); - } else { - /* Some codecs (eg rv10) copy flags in init so it's necessary to set - * this flag here in case we are going to use direct rendering */ - this->context->flags |= CODEC_FLAG_EMU_EDGE; -+#endif - } - } - -@@ -747,7 +752,7 @@ static void init_video_codec (ff_video_decoder_t *this - this->context->codec_type = this->codec->type; - - if (this->class->choose_speed_over_accuracy) -- this->context->flags2 |= CODEC_FLAG2_FAST; -+ this->context->flags2 |= AV_CODEC_FLAG2_FAST; - - #ifdef DEPRECATED_AVCODEC_THREAD_INIT - if (this->class->thread_count > 1) { -@@ -769,7 +774,7 @@ static void init_video_codec (ff_video_decoder_t *this - /* enable direct rendering by default */ - this->output_format = XINE_IMGFMT_YV12; - #ifdef ENABLE_DIRECT_RENDERING -- if( this->codec->capabilities & CODEC_CAP_DR1 && this->class->enable_dri ) { -+ if( this->codec->capabilities & AV_CODEC_CAP_DR1 && this->class->enable_dri ) { - #ifdef AV_BUFFER - this->context->get_buffer2 = get_buffer; - this->context->thread_safe_callbacks = 1; -@@ -1246,7 +1251,7 @@ static void ff_check_bufsize (ff_video_decoder_t *this - xprintf(this->stream->xine, XINE_VERBOSITY_LOG, - _("ffmpeg_video_dec: increasing buffer to %d to avoid overflow.\n"), - this->bufsize); -- this->buf = realloc(this->buf, this->bufsize + FF_INPUT_BUFFER_PADDING_SIZE ); -+ this->buf = realloc(this->buf, this->bufsize + AV_INPUT_BUFFER_PADDING_SIZE ); - } - } - -@@ -1386,7 +1391,7 @@ static void ff_handle_header_buffer (ff_video_decoder_ - if (this->bih.biSize > sizeof(xine_bmiheader)) { - this->context->extradata_size = this->bih.biSize - sizeof(xine_bmiheader); - this->context->extradata = malloc(this->context->extradata_size + -- FF_INPUT_BUFFER_PADDING_SIZE); -+ AV_INPUT_BUFFER_PADDING_SIZE); - memcpy(this->context->extradata, this->buf + sizeof(xine_bmiheader), - this->context->extradata_size); - } -@@ -1409,7 +1414,7 @@ static void ff_handle_header_buffer (ff_video_decoder_ - if (this->context->extradata_size < 8) { - this->context->extradata_size= 8; - this->context->extradata = malloc(this->context->extradata_size + -- FF_INPUT_BUFFER_PADDING_SIZE); -+ AV_INPUT_BUFFER_PADDING_SIZE); - ((uint32_t *)this->context->extradata)[0] = 0; - if (codec_type == BUF_VIDEO_RV10) - ((uint32_t *)this->context->extradata)[1] = 0x10000000; -@@ -1417,7 +1422,7 @@ static void ff_handle_header_buffer (ff_video_decoder_ - ((uint32_t *)this->context->extradata)[1] = 0x10003001; - } else { - this->context->extradata = malloc(this->context->extradata_size + -- FF_INPUT_BUFFER_PADDING_SIZE); -+ AV_INPUT_BUFFER_PADDING_SIZE); - memcpy(this->context->extradata, this->buf + 26, - this->context->extradata_size); - } -@@ -1451,7 +1456,7 @@ static void ff_handle_special_buffer (ff_video_decoder - lprintf("BUF_SPECIAL_STSD_ATOM\n"); - this->context->extradata_size = buf->decoder_info[2]; - this->context->extradata = malloc(buf->decoder_info[2] + -- FF_INPUT_BUFFER_PADDING_SIZE); -+ AV_INPUT_BUFFER_PADDING_SIZE); - memcpy(this->context->extradata, buf->decoder_info_ptr[2], - buf->decoder_info[2]); - -@@ -1461,7 +1466,7 @@ static void ff_handle_special_buffer (ff_video_decoder - lprintf("BUF_SPECIAL_DECODER_CONFIG\n"); - this->context->extradata_size = buf->decoder_info[2]; - this->context->extradata = malloc(buf->decoder_info[2] + -- FF_INPUT_BUFFER_PADDING_SIZE); -+ AV_INPUT_BUFFER_PADDING_SIZE); - memcpy(this->context->extradata, buf->decoder_info_ptr[2], - buf->decoder_info[2]); - -@@ -1826,7 +1831,7 @@ static void ff_handle_buffer (ff_video_decoder_t *this - /* data accumulation */ - if (buf->size > 0) { - if ((this->size == 0) && -- ((buf->size + FF_INPUT_BUFFER_PADDING_SIZE) < buf->max_size) && -+ ((buf->size + AV_INPUT_BUFFER_PADDING_SIZE) < buf->max_size) && - (buf->decoder_flags & BUF_FLAG_FRAME_END)) { - /* buf contains a complete frame */ - /* no memcpy needed */ -@@ -1859,7 +1864,7 @@ static void ff_handle_buffer (ff_video_decoder_t *this - /* note: bitstream, alt bitstream reader or something will cause - * severe mpeg4 artifacts if padding is less than 32 bits. - */ -- memset(&chunk_buf[this->size], 0, FF_INPUT_BUFFER_PADDING_SIZE); -+ memset(&chunk_buf[this->size], 0, AV_INPUT_BUFFER_PADDING_SIZE); - - while (this->size > 0) { - -@@ -2532,7 +2537,7 @@ static video_decoder_t *ff_video_open_plugin (video_de - - this->decoder_ok = 0; - this->decoder_init_mode = 1; -- this->buf = calloc(1, VIDEOBUFSIZE + FF_INPUT_BUFFER_PADDING_SIZE); -+ this->buf = calloc(1, VIDEOBUFSIZE + AV_INPUT_BUFFER_PADDING_SIZE); - this->bufsize = VIDEOBUFSIZE; - - this->is_mpeg12 = 0; ---- src/combined/ffmpeg/ffmpeg_compat.h.orig 2014-04-30 11:40:50 UTC -+++ src/combined/ffmpeg/ffmpeg_compat.h -@@ -1,5 +1,5 @@ - /* -- * Copyright (C) 2000-2014 the xine project -+ * Copyright (C) 2000-2015 the xine project - * - * This file is part of xine, a unix video player. - * -@@ -58,6 +58,11 @@ - # define AVCODEC_HAS_SUB_ID - #endif - -+/* not 100% sure about this (between 55.19 and 56.56) */ -+#if LIBAVCODEC_VERSION_MAJOR < 56 -+# define AVCODEC_HAS_STREAM_CODEC_TAG -+#endif -+ - /**/ - #if LIBAVCODEC_VERSION_MAJOR > 53 || (LIBAVCODEC_VERSION_MAJOR == 53 && LIBAVCODEC_VERSION_MINOR >= 8) - # define avcodec_init() do {} while(0) -@@ -192,5 +197,16 @@ - #if LIBAVCODEC_VERSION_INT >= ((55<<16)|100) - # define AV_BUFFER 1 - #endif -+ -+#ifndef AV_INPUT_BUFFER_PADDING_SIZE -+# define AV_INPUT_BUFFER_PADDING_SIZE FF_INPUT_BUFFER_PADDING_SIZE -+#endif -+#ifndef AV_CODEC_CAP_DR1 -+# define AV_CODEC_CAP_DR1 CODEC_CAP_DR1 -+#endif -+#ifndef AV_CODEC_FLAG2_FAST -+# define AV_CODEC_FLAG2_FAST CODEC_FLAG2_FAST -+#endif -+ - - #endif /* XINE_AVCODEC_COMPAT_H */ ---- src/dxr3/ffmpeg_encoder.c.orig 2014-03-13 04:06:09 UTC -+++ src/dxr3/ffmpeg_encoder.c -@@ -207,7 +207,9 @@ static int lavc_on_update_format(dxr3_driver_t *drv, d - this->context->height = frame->oheight; - - this->context->gop_size = 0; /*intra frames only */ -+#if defined(LIBAVCODEC_VERSION_MAJOR) && LIBAVCODEC_VERSION_MAJOR < 58 - this->context->me_method = ME_ZERO; /*motion estimation type*/ -+#endif - - this->context->time_base.den = 90000; - if (frame->vo_frame.duration > 90000 / 24) ---- src/video_out/video_out_vaapi.c.orig 2014-06-09 16:08:42 UTC -+++ src/video_out/video_out_vaapi.c -@@ -3119,15 +3119,15 @@ static void vaapi_update_frame_format (vo_driver_t *th - frame->vo_frame.pitches[0] = 8*((width + 7) / 8); - frame->vo_frame.pitches[1] = 8*((width + 15) / 16); - frame->vo_frame.pitches[2] = 8*((width + 15) / 16); -- frame->vo_frame.base[0] = av_mallocz (frame->vo_frame.pitches[0] * height + FF_INPUT_BUFFER_PADDING_SIZE); -- frame->vo_frame.base[1] = av_mallocz (frame->vo_frame.pitches[1] * ((height+1)/2) + FF_INPUT_BUFFER_PADDING_SIZE); -- frame->vo_frame.base[2] = av_mallocz (frame->vo_frame.pitches[2] * ((height+1)/2) + FF_INPUT_BUFFER_PADDING_SIZE); -+ frame->vo_frame.base[0] = av_mallocz (frame->vo_frame.pitches[0] * height + AV_INPUT_BUFFER_PADDING_SIZE); -+ frame->vo_frame.base[1] = av_mallocz (frame->vo_frame.pitches[1] * ((height+1)/2) + AV_INPUT_BUFFER_PADDING_SIZE); -+ frame->vo_frame.base[2] = av_mallocz (frame->vo_frame.pitches[2] * ((height+1)/2) + AV_INPUT_BUFFER_PADDING_SIZE); - frame->vo_frame.proc_duplicate_frame_data = NULL; - frame->vo_frame.proc_provide_standard_frame_data = NULL; - lprintf("XINE_IMGFMT_YV12 width %d height %d\n", width, height); - } else if (format == XINE_IMGFMT_YUY2){ - frame->vo_frame.pitches[0] = 8*((width + 3) / 4); -- frame->vo_frame.base[0] = av_mallocz (frame->vo_frame.pitches[0] * height + FF_INPUT_BUFFER_PADDING_SIZE); -+ frame->vo_frame.base[0] = av_mallocz (frame->vo_frame.pitches[0] * height + AV_INPUT_BUFFER_PADDING_SIZE); - frame->vo_frame.proc_duplicate_frame_data = NULL; - frame->vo_frame.proc_provide_standard_frame_data = NULL; - lprintf("XINE_IMGFMT_YUY2 width %d height %d\n", width, height); Property changes on: head/multimedia/libxine/files/patch-ffmpeg4 ___________________________________________________________________ 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/libxine/files/patch-src-post-planar-eq2.c =================================================================== --- head/multimedia/libxine/files/patch-src-post-planar-eq2.c (revision 478528) +++ head/multimedia/libxine/files/patch-src-post-planar-eq2.c (nonexistent) @@ -1,11 +0,0 @@ ---- src/post/planar/eq2.c.orig -+++ src/post/planar/eq2.c -@@ -129,7 +129,7 @@ void affine_1d_MMX (eq2_param_t *par, un - "movq (%1), %%mm4 \n\t" - "pxor %%mm0, %%mm0 \n\t" - : -- : "g" (brvec), "g" (contvec) -+ : "r" (brvec), "r" (contvec) - ); - - while (h-- > 0) { Property changes on: head/multimedia/libxine/files/patch-src-post-planar-eq2.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/libxine/files/patch-src-audio_dec-xine_lpcm_decoder.c =================================================================== --- head/multimedia/libxine/files/patch-src-audio_dec-xine_lpcm_decoder.c (revision 478528) +++ head/multimedia/libxine/files/patch-src-audio_dec-xine_lpcm_decoder.c (nonexistent) @@ -1,12 +0,0 @@ ---- src/audio_dec/xine_lpcm_decoder.c.orig -+++ src/audio_dec/xine_lpcm_decoder.c -@@ -30,6 +30,9 @@ - #endif - /* avoid compiler warnings */ - #define _BSD_SOURCE 1 -+#ifdef __FreeBSD__ -+#define __BSD_VISIBLE 1 -+#endif - - #ifdef HAVE_CONFIG_H - #include "config.h" Property changes on: head/multimedia/libxine/files/patch-src-audio_dec-xine_lpcm_decoder.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/libxine/files/patch-src-vdr-input_vdr.c =================================================================== --- head/multimedia/libxine/files/patch-src-vdr-input_vdr.c (revision 478528) +++ head/multimedia/libxine/files/patch-src-vdr-input_vdr.c (nonexistent) @@ -1,12 +0,0 @@ ---- src/vdr/input_vdr.c.orig -+++ src/vdr/input_vdr.c -@@ -32,6 +32,9 @@ - #include - #include - -+#ifdef __FreeBSD__ -+#include -+#endif - #include - #include - #include Property changes on: head/multimedia/libxine/files/patch-src-vdr-input_vdr.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/libxine/files/patch-include-xine-xine_internal.h =================================================================== --- head/multimedia/libxine/files/patch-include-xine-xine_internal.h (revision 478528) +++ head/multimedia/libxine/files/patch-include-xine-xine_internal.h (nonexistent) @@ -1,127 +0,0 @@ ---- include/xine/xine_internal.h.orig -+++ include/xine/xine_internal.h -@@ -72,6 +72,124 @@ - # include - #endif - -+#ifndef INT8_MIN -+#define INT8_MIN (-0x7f-1) -+#endif -+ -+#ifndef INT8_MAX -+#define INT8_MAX 0x7f -+#endif -+ -+#ifndef INT16_MAX -+#define INT16_MAX 0x7fff -+#endif -+ -+#ifndef INT16_MIN -+#define INT16_MIN (-0x7fff-1) -+#endif -+ -+#ifndef INT32_MAX -+#define INT32_MAX 0x7fffffff -+#endif -+ -+#ifndef INT32_MIN -+#define INT32_MIN (-0x7fffffff-1) -+#endif -+ -+#ifndef PRIdMAX -+#define PRIdMAX "lld" -+#endif -+ -+#ifndef SCNdMAX -+#define SCNdMAX "lld" -+#endif -+ -+#ifndef PRIiMAX -+#define PRIiMAX "lld" -+typedef long long intmax_t; -+#endif -+ -+ -+#ifndef PRId32 -+#define PRId32 "d" -+#endif -+ -+#ifndef SCNd32 -+#define SCNd32 "d" -+#endif -+ -+#ifndef PRIdFAST16 -+#define PRIdFAST16 "d" -+#endif -+ -+#ifndef PRIdFAST32 -+#define PRIdFAST32 "d" -+#endif -+ -+#ifndef SCNu32 -+#define SCNu32 "u" -+#endif -+ -+ -+#ifndef PRId64 -+#if defined(__alpha__) || defined(__amd64__) || defined(__ia64__) || defined(__sparc64__) -+#define PRId64 "ld" -+#else if defined(__i386__) || defined(__powerpc__) -+#define PRId64 "lld" -+#endif -+#endif -+ -+#ifndef SCNd64 -+#define SCNd64 PRId64 -+#endif -+ -+#ifndef PRIu64 -+#if defined(__alpha__) || defined(__amd64__) || defined(__ia64__) || defined(__sparc64__) -+#define PRIu64 "lu" -+#else if defined(__i386__) || defined(__powerpc__) -+#define PRIu64 "llu" -+#endif -+#endif -+ -+#ifndef SCNu64 -+#define SCNu64 PRIu64 -+#endif -+ -+#ifndef PRIX64 -+#if defined(__alpha__) || defined(__amd64__) || defined(__ia64__) || defined(__sparc64__) -+#define PRIX64 "lX" -+#else if defined(__i386__) || defined(__powerpc__) -+#define PRIX64 "llX" -+#endif -+#endif -+ -+ -+#ifndef PRIx32 -+#define PRIx32 "x" -+#endif -+ -+#ifndef PRIx16 -+#define PRIx16 "x" -+#endif -+ -+#ifndef PRIx8 -+#define PRIx8 "x" -+#endif -+ -+#ifndef PRIXMAX -+#define PRIXMAX "llX" -+#endif -+ -+#ifndef PRIxMAX -+#define PRIxMAX "llx" -+#endif -+ -+#ifndef UINT64_C -+#define UINT64_C(c) (c ## ULL) -+#endif -+ -+ -+ - - #define XINE_MAX_EVENT_LISTENERS 50 - #define XINE_MAX_EVENT_TYPES 100 Property changes on: head/multimedia/libxine/files/patch-include-xine-xine_internal.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/libxine/files/patch-configure =================================================================== --- head/multimedia/libxine/files/patch-configure (revision 478528) +++ head/multimedia/libxine/files/patch-configure (revision 478529) @@ -1,29 +1,29 @@ ---- configure.orig +--- configure.orig 2018-01-11 12:51:16 UTC +++ configure -@@ -20349,7 +20349,7 @@ $as_echo "#define ARCH_SPARC /**/" >>con +@@ -21288,7 +21288,7 @@ $as_echo "#define ARCH_X86_X32 /**/" >>confdefs.h ;; - x86_64-*) + x86_64-*|amd64-*) - arch_x86=64 + arch_x86=64 - $as_echo "#define ARCH_X86_64 /**/" >>confdefs.h -@@ -20685,7 +20685,7 @@ fi +@@ -21752,7 +21752,7 @@ fi + if test "$sarchopt" != "no"; then case "$host_or_hostalias" in - i386-*) archopt_val="i386" ;; -+ i386-*) ;; ++ i386-*) ;; i486-*) archopt_val="i486" ;; i586-*) archopt_val="pentium" ;; pentium-mmx-*) archopt_val="pentium-mmx" ;; -@@ -26280,7 +26280,7 @@ fi +@@ -28089,7 +28089,7 @@ fi if test x"$enable_dvb" != x"no"; then case "$host_os" in - linux*) have_dvb=yes ;; + linux*|freebsd*) have_dvb=yes ;; *) have_dvb=no ;; esac if test x"$hard_enable_dvb" = x"yes" && test x"$have_dvb" != x"yes"; then Index: head/multimedia/libxine/files/patch-include-xine-xineutils.h =================================================================== --- head/multimedia/libxine/files/patch-include-xine-xineutils.h (revision 478528) +++ head/multimedia/libxine/files/patch-include-xine-xineutils.h (revision 478529) @@ -1,11 +1,22 @@ +Unbreak build of phonon-xine + +In file included from xine/plugins.c:23: +In file included from /usr/local/include/xine/input_plugin.h:27: +/usr/local/include/xine/xineutils.h:197:8: error: unknown type name 'inline' +static inline void _x_freep(void *ptr) { + ^ +/usr/local/include/xine/xineutils.h:197:15: error: expected identifier or '(' +static inline void _x_freep(void *ptr) { + ^ + --- include/xine/xineutils.h.orig +++ include/xine/xineutils.h @@ -146,7 +146,7 @@ void *xine_xcalloc(size_t nmemb, size_t * Free allocated memory and set pointer to NULL * @param ptr Pointer to the pointer to the memory block which should be freed. */ -static inline void _x_freep(void *ptr) { +static void _x_freep(void *ptr) { void **p = (void **)ptr; free (*p); *p = NULL; Index: head/multimedia/libxine/files/patch-include_config.h =================================================================== --- head/multimedia/libxine/files/patch-include_config.h (nonexistent) +++ head/multimedia/libxine/files/patch-include_config.h (revision 478529) @@ -0,0 +1,18 @@ +$OpenBSD: patch-include_config_h,v 1.1 2018/02/16 14:27:53 sthen Exp $ + +Index: include/config.h +--- include/config.h.orig ++++ include/config.h +@@ -24,9 +24,11 @@ + /* Ugly build time sanity guard. + * ./configure might mistake X32 mode as plain 64bit, + * but compiler itself sets __ILP32__ when in x32. ++ * Even worse: clang sets this in 32 mode as well, ++ * so also test __i386__ here. + */ + #ifdef ARCH_X86 +-# if defined(__ILP32__) && !defined(ARCH_X86_X32) ++# if defined(__ILP32__) && !defined(__i386) && !defined(__i386__) && !defined(ARCH_X86_X32) + # ifdef ARCH_WARN + # warning "configure did not detect ARCH_X86_X32!" + # endif Property changes on: head/multimedia/libxine/files/patch-include_config.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/libxine/pkg-plist =================================================================== --- head/multimedia/libxine/pkg-plist (revision 478528) +++ head/multimedia/libxine/pkg-plist (revision 478529) @@ -1,233 +1,203 @@ bin/xine-config bin/xine-list-1.2 include/xine.h include/xine/alphablend.h -include/xine/attributes.h include/xine/array.h +include/xine/attributes.h include/xine/audio_decoder.h include/xine/audio_out.h include/xine/broadcaster.h include/xine/buffer.h include/xine/compat.h include/xine/configfile.h include/xine/demux.h include/xine/info_helper.h include/xine/input_plugin.h include/xine/io_helper.h include/xine/list.h include/xine/metronom.h include/xine/os_types.h include/xine/osd.h include/xine/plugin_catalog.h include/xine/pool.h include/xine/post.h include/xine/refcounter.h include/xine/resample.h include/xine/ring_buffer.h include/xine/scratch.h include/xine/sorted_array.h include/xine/spu.h include/xine/spu_decoder.h -include/xine/version.h include/xine/vdr.h +include/xine/version.h include/xine/video_decoder.h include/xine/video_out.h include/xine/video_overlay.h include/xine/vo_scale.h include/xine/xine_buffer.h include/xine/xine_internal.h include/xine/xine_plugin.h include/xine/xineintl.h include/xine/xineutils.h include/xine/xmllexer.h include/xine/xmlparser.h lib/libxine.la +lib/libxine-interface.la lib/libxine.so lib/libxine.so.2 -lib/libxine.so.2.5.0 -lib/libxine-interface.la -share/xine-lib/fonts/cetus-16.xinefont.gz -share/xine-lib/fonts/cetus-20.xinefont.gz -share/xine-lib/fonts/cetus-24.xinefont.gz -share/xine-lib/fonts/cetus-32.xinefont.gz -share/xine-lib/fonts/cetus-48.xinefont.gz -share/xine-lib/fonts/cetus-64.xinefont.gz -share/xine-lib/fonts/cc-16.xinefont.gz -share/xine-lib/fonts/cc-20.xinefont.gz -share/xine-lib/fonts/cc-24.xinefont.gz -share/xine-lib/fonts/cc-32.xinefont.gz -share/xine-lib/fonts/cc-48.xinefont.gz -share/xine-lib/fonts/cc-64.xinefont.gz -share/xine-lib/fonts/cci-16.xinefont.gz -share/xine-lib/fonts/cci-20.xinefont.gz -share/xine-lib/fonts/cci-24.xinefont.gz -share/xine-lib/fonts/cci-32.xinefont.gz -share/xine-lib/fonts/cci-48.xinefont.gz -share/xine-lib/fonts/cci-64.xinefont.gz -share/xine-lib/fonts/mono-16.xinefont.gz -share/xine-lib/fonts/mono-20.xinefont.gz -share/xine-lib/fonts/mono-24.xinefont.gz -share/xine-lib/fonts/mono-32.xinefont.gz -share/xine-lib/fonts/mono-48.xinefont.gz -share/xine-lib/fonts/mono-64.xinefont.gz -share/xine-lib/fonts/sans-16.xinefont.gz -share/xine-lib/fonts/sans-20.xinefont.gz -share/xine-lib/fonts/sans-24.xinefont.gz -share/xine-lib/fonts/sans-32.xinefont.gz -share/xine-lib/fonts/sans-48.xinefont.gz -share/xine-lib/fonts/sans-64.xinefont.gz -share/xine-lib/fonts/serif-16.xinefont.gz -share/xine-lib/fonts/serif-20.xinefont.gz -share/xine-lib/fonts/serif-24.xinefont.gz -share/xine-lib/fonts/serif-32.xinefont.gz -share/xine-lib/fonts/serif-48.xinefont.gz -share/xine-lib/fonts/serif-64.xinefont.gz +lib/libxine.so.2.7.0 %%PLUGINSDIR%%/mime.types %%PLUGINSDIR%%/post/xineplug_post_audio_filters.so %%PLUGINSDIR%%/post/xineplug_post_goom.so %%PLUGINSDIR%%/post/xineplug_post_mosaico.so %%PLUGINSDIR%%/post/xineplug_post_planar.so %%PLUGINSDIR%%/post/xineplug_post_switch.so %%PLUGINSDIR%%/post/xineplug_post_tvtime.so %%PLUGINSDIR%%/post/xineplug_post_visualizations.so %%ESOUND%%%%PLUGINSDIR%%/xineplug_ao_out_esd.so %%JACK%%%%PLUGINSDIR%%/xineplug_ao_out_jack.so -%%PLUGINSDIR%%/xineplug_ao_out_file.so -%%PLUGINSDIR%%/xineplug_ao_out_none.so %%PLUGINSDIR%%/xineplug_ao_out_oss.so %%PULSEAUDIO%%%%PLUGINSDIR%%/xineplug_ao_out_pulseaudio.so +%%SNDIO%%%%PLUGINSDIR%%/xineplug_ao_out_sndio.so %%PLUGINSDIR%%/xineplug_decode_a52.so -%%PLUGINSDIR%%/xineplug_decode_bitplane.so %%PLUGINSDIR%%/xineplug_decode_dts.so %%PLUGINSDIR%%/xineplug_decode_dvaudio.so %%PLUGINSDIR%%/xineplug_decode_faad.so %%PLUGINSDIR%%/xineplug_decode_ff.so %%PIXBUF%%%%PLUGINSDIR%%/xineplug_decode_gdk_pixbuf.so %%PLUGINSDIR%%/xineplug_decode_gsm610.so %%IMAGEMAGICK%%%%PLUGINSDIR%%/xineplug_decode_image.so %%PLUGINSDIR%%/xineplug_decode_libjpeg.so %%PLUGINSDIR%%/xineplug_decode_libvpx.so %%PLUGINSDIR%%/xineplug_decode_lpcm.so %%PLUGINSDIR%%/xineplug_decode_mad.so %%PLUGINSDIR%%/xineplug_decode_mpeg2.so -%%WITH_VIDIX%%%%PLUGINSDIR%%/xineplug_decode_qt.so -%%PLUGINSDIR%%/xineplug_decode_rgb.so +%%PLUGINSDIR%%/xineplug_decode_rawvideo.so %%PLUGINSDIR%%/xineplug_decode_spu.so %%PLUGINSDIR%%/xineplug_decode_spucc.so %%PLUGINSDIR%%/xineplug_decode_spucmml.so %%PLUGINSDIR%%/xineplug_decode_spudvb.so %%PLUGINSDIR%%/xineplug_decode_spuhdmv.so -%%PLUGINSDIR%%/xineplug_decode_vdpau_h264_alter.so -%%PLUGINSDIR%%/xineplug_decode_vdpau_h264.so -%%PLUGINSDIR%%/xineplug_decode_vdpau_mpeg12.so -%%PLUGINSDIR%%/xineplug_decode_vdpau_mpeg4.so -%%PLUGINSDIR%%/xineplug_decode_vdpau_vc1.so -%%WITH_VIDIX%%%%PLUGINSDIR%%/xineplug_decode_w32dll.so -%%PLUGINSDIR%%/xineplug_decode_yuv.so +%%PLUGINSDIR%%/xineplug_decode_vdpau.so %%PLUGINSDIR%%/xineplug_dmx_asf.so %%PLUGINSDIR%%/xineplug_dmx_audio.so -%%PLUGINSDIR%%/xineplug_dmx_avi.so %%PLUGINSDIR%%/xineplug_dmx_fli.so -%%PLUGINSDIR%%/xineplug_dmx_flv.so %%PLUGINSDIR%%/xineplug_dmx_games.so -%%PLUGINSDIR%%/xineplug_dmx_iff.so -%%WITH_DMX_IMAGE%%%%PLUGINSDIR%%/xineplug_dmx_image.so -%%PLUGINSDIR%%/xineplug_dmx_matroska.so +%%DMX_IMAGE%%%%PLUGINSDIR%%/xineplug_dmx_image.so %%PLUGINSDIR%%/xineplug_dmx_mng.so %%PLUGINSDIR%%/xineplug_dmx_modplug.so -%%PLUGINSDIR%%/xineplug_dmx_mpeg.so -%%PLUGINSDIR%%/xineplug_dmx_mpeg_block.so -%%PLUGINSDIR%%/xineplug_dmx_mpeg_elem.so -%%PLUGINSDIR%%/xineplug_dmx_mpeg_pes.so -%%PLUGINSDIR%%/xineplug_dmx_mpeg_ts.so %%PLUGINSDIR%%/xineplug_dmx_nsv.so %%PLUGINSDIR%%/xineplug_dmx_playlist.so %%PLUGINSDIR%%/xineplug_dmx_pva.so -%%PLUGINSDIR%%/xineplug_dmx_qt.so -%%PLUGINSDIR%%/xineplug_dmx_rawdv.so -%%PLUGINSDIR%%/xineplug_dmx_real.so %%PLUGINSDIR%%/xineplug_dmx_slave.so -%%PLUGINSDIR%%/xineplug_dmx_vc1_es.so -%%PLUGINSDIR%%/xineplug_dmx_yuv4mpeg2.so -%%PLUGINSDIR%%/xineplug_dmx_yuv_frames.so +%%PLUGINSDIR%%/xineplug_dmx_video.so %%PLUGINSDIR%%/xineplug_flac.so -%%PLUGINSDIR%%/xineplug_inp_cdda.so %%LIBBLURAY%%%%PLUGINSDIR%%/xineplug_inp_bluray.so -%%PLUGINSDIR%%/xineplug_inp_dvb.so +%%PLUGINSDIR%%/xineplug_inp_cdda.so +%%DVB%%%%PLUGINSDIR%%/xineplug_inp_dvb.so %%PLUGINSDIR%%/xineplug_inp_dvd.so -%%PLUGINSDIR%%/xineplug_inp_file.so %%GNOMEVFS2%%%%PLUGINSDIR%%/xineplug_inp_gnome_vfs.so -%%PLUGINSDIR%%/xineplug_inp_http.so %%PLUGINSDIR%%/xineplug_inp_mms.so -%%PLUGINSDIR%%/xineplug_inp_net.so -%%PLUGINSDIR%%/xineplug_inp_pnm.so +%%PLUGINSDIR%%/xineplug_inp_network.so %%PLUGINSDIR%%/xineplug_inp_rtp.so -%%PLUGINSDIR%%/xineplug_inp_rtsp.so %%SMB%%%%PLUGINSDIR%%/xineplug_inp_smb.so -%%PLUGINSDIR%%/xineplug_inp_stdin_fifo.so -%%PLUGINSDIR%%/xineplug_inp_test.so %%PLUGINSDIR%%/xineplug_inp_vcd.so %%PLUGINSDIR%%/xineplug_inp_vcdo.so %%PLUGINSDIR%%/xineplug_nsf.so %%PLUGINSDIR%%/xineplug_sputext.so %%PLUGINSDIR%%/xineplug_vdr.so %%AALIB%%%%PLUGINSDIR%%/xineplug_vo_out_aa.so %%CACA%%%%PLUGINSDIR%%/xineplug_vo_out_caca.so -%%PLUGINSDIR%%/xineplug_vo_out_none.so %%PLUGINSDIR%%/xineplug_vo_out_opengl.so %%PLUGINSDIR%%/xineplug_vo_out_opengl2.so %%PLUGINSDIR%%/xineplug_vo_out_raw.so %%PLUGINSDIR%%/xineplug_vo_out_sdl.so +%%VAAPI%%%%PLUGINSDIR%%/xineplug_vo_out_vaapi.so %%PLUGINSDIR%%/xineplug_vo_out_vdpau.so %%PLUGINSDIR%%/xineplug_vo_out_xcbshm.so %%PLUGINSDIR%%/xineplug_vo_out_xcbxv.so %%PLUGINSDIR%%/xineplug_vo_out_xshm.so %%PLUGINSDIR%%/xineplug_vo_out_xv.so -%%VAAPI%%%%PLUGINSDIR%%/xineplug_vo_out_vaapi.so %%XVMC%%%%PLUGINSDIR%%/xineplug_vo_out_xvmc.so %%XVMC%%%%PLUGINSDIR%%/xineplug_vo_out_xxmc.so %%WAVPACK%%%%PLUGINSDIR%%/xineplug_wavpack.so %%PLUGINSDIR%%/xineplug_xiph.so libdata/pkgconfig/libxine.pc man/man1/xine-config.1.gz man/man1/xine-list-1.2.1.gz man/man5/xine.5.gz -share/aclocal/xine.m4 -%%DOCSDIR%%/COPYING -%%DOCSDIR%%/CREDITS -%%DOCSDIR%%/ChangeLog -%%DOCSDIR%%/NEWS -%%DOCSDIR%%/README -%%DOCSDIR%%/README.MINGWCROSS -%%DOCSDIR%%/README.WIN32 -%%DOCSDIR%%/README.cetus -%%DOCSDIR%%/README.dvb -%%DOCSDIR%%/README.dxr3 -%%DOCSDIR%%/README.freebsd -%%DOCSDIR%%/README.irix -%%DOCSDIR%%/README.macosx -%%DOCSDIR%%/README.network_dvd -%%DOCSDIR%%/README.opengl -%%DOCSDIR%%/README.solaris -%%DOCSDIR%%/README_xxmc.html -%%DOCSDIR%%/TODO -%%DOCSDIR%%/faq.html -%%DOCSDIR%%/faq.txt -%%DOCSDIR%%/hackersguide/architecture.png -%%DOCSDIR%%/hackersguide/hackersguide.html -%%DOCSDIR%%/hackersguide/library.png -%%DOCSDIR%%/hackersguide/overlays.png -%%DOCSDIR%%/hackersguide/post_frame.png +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.MINGWCROSS +%%PORTDOCS%%%%DOCSDIR%%/README.WIN32 +%%PORTDOCS%%%%DOCSDIR%%/README.cetus +%%PORTDOCS%%%%DOCSDIR%%/README.dvb +%%PORTDOCS%%%%DOCSDIR%%/README.dxr3 +%%PORTDOCS%%%%DOCSDIR%%/README.freebsd +%%PORTDOCS%%%%DOCSDIR%%/README.irix +%%PORTDOCS%%%%DOCSDIR%%/README.macosx +%%PORTDOCS%%%%DOCSDIR%%/README.network_dvd +%%PORTDOCS%%%%DOCSDIR%%/README.opengl +%%PORTDOCS%%%%DOCSDIR%%/README.solaris +%%PORTDOCS%%%%DOCSDIR%%/README_xxmc.html +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/faq.html +%%PORTDOCS%%%%DOCSDIR%%/faq.txt +%%PORTDOCS%%%%DOCSDIR%%/hackersguide/architecture.png +%%PORTDOCS%%%%DOCSDIR%%/hackersguide/hackersguide.html +%%PORTDOCS%%%%DOCSDIR%%/hackersguide/library.png +%%PORTDOCS%%%%DOCSDIR%%/hackersguide/overlays.png +%%PORTDOCS%%%%DOCSDIR%%/hackersguide/post_frame.png %%NLS%%share/locale/cs/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/de/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/en_US/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/eo/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/es/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/eu/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/fr/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/it/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/ja/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/pl/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/sk/LC_MESSAGES/libxine2.mo %%NLS%%share/locale/tr/LC_MESSAGES/libxine2.mo +%%DATADIR%%/aclocal/xine.m4 +%%DATADIR%%/fonts/cc-16.xinefont.gz +%%DATADIR%%/fonts/cc-20.xinefont.gz +%%DATADIR%%/fonts/cc-24.xinefont.gz +%%DATADIR%%/fonts/cc-32.xinefont.gz +%%DATADIR%%/fonts/cc-48.xinefont.gz +%%DATADIR%%/fonts/cc-64.xinefont.gz +%%DATADIR%%/fonts/cci-16.xinefont.gz +%%DATADIR%%/fonts/cci-20.xinefont.gz +%%DATADIR%%/fonts/cci-24.xinefont.gz +%%DATADIR%%/fonts/cci-32.xinefont.gz +%%DATADIR%%/fonts/cci-48.xinefont.gz +%%DATADIR%%/fonts/cci-64.xinefont.gz +%%DATADIR%%/fonts/cetus-16.xinefont.gz +%%DATADIR%%/fonts/cetus-20.xinefont.gz +%%DATADIR%%/fonts/cetus-24.xinefont.gz +%%DATADIR%%/fonts/cetus-32.xinefont.gz +%%DATADIR%%/fonts/cetus-48.xinefont.gz +%%DATADIR%%/fonts/cetus-64.xinefont.gz +%%DATADIR%%/fonts/mono-16.xinefont.gz +%%DATADIR%%/fonts/mono-20.xinefont.gz +%%DATADIR%%/fonts/mono-24.xinefont.gz +%%DATADIR%%/fonts/mono-32.xinefont.gz +%%DATADIR%%/fonts/mono-48.xinefont.gz +%%DATADIR%%/fonts/mono-64.xinefont.gz +%%DATADIR%%/fonts/sans-16.xinefont.gz +%%DATADIR%%/fonts/sans-20.xinefont.gz +%%DATADIR%%/fonts/sans-24.xinefont.gz +%%DATADIR%%/fonts/sans-32.xinefont.gz +%%DATADIR%%/fonts/sans-48.xinefont.gz +%%DATADIR%%/fonts/sans-64.xinefont.gz +%%DATADIR%%/fonts/serif-16.xinefont.gz +%%DATADIR%%/fonts/serif-20.xinefont.gz +%%DATADIR%%/fonts/serif-24.xinefont.gz +%%DATADIR%%/fonts/serif-32.xinefont.gz +%%DATADIR%%/fonts/serif-48.xinefont.gz +%%DATADIR%%/fonts/serif-64.xinefont.gz Index: head/multimedia/phonon-xine/Makefile =================================================================== --- head/multimedia/phonon-xine/Makefile (revision 478528) +++ head/multimedia/phonon-xine/Makefile (revision 478529) @@ -1,29 +1,29 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= phonon PORTVERSION= 4.4.4 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}/src PKGNAMESUFFIX= -xine DISTNAME= ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION} DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= The xine backend for Phonon LIB_DEPENDS= libxine.so:multimedia/libxine USES= cmake kde:4 pkgconfig qt:4 tar:bzip2 USE_KDE= automoc4 USE_QT= corelib dbus gui phonon \ qmake_build moc_build rcc_build uic_build USE_XORG= xcb post-install: ${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend ${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_xine.so \ ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_xine.so .include Index: head/multimedia/phonon-xine/files/patch-xine__kequalizer_plugin.cpp =================================================================== --- head/multimedia/phonon-xine/files/patch-xine__kequalizer_plugin.cpp (revision 478528) +++ head/multimedia/phonon-xine/files/patch-xine__kequalizer_plugin.cpp (revision 478529) @@ -1,21 +1,36 @@ ---- ./xine/kequalizer_plugin.cpp.orig 2011-01-19 20:20:53.000000000 +0100 -+++ ./xine/kequalizer_plugin.cpp 2012-03-12 11:12:12.244132405 +0100 -@@ -48,6 +48,9 @@ +In file included from xine/kequalizer_plugin.cpp:51: +In file included from /usr/local/include/libavutil/mem.h:35: +In file included from /usr/local/include/libavutil/avutil.h:296: +/usr/local/include/libavutil/common.h:30:2: error: missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS +#error missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS + ^ + +--- xine/kequalizer_plugin.cpp.orig 2011-01-19 19:20:53 UTC ++++ xine/kequalizer_plugin.cpp +@@ -37,6 +37,7 @@ + #include + + #define __STDC_FORMAT_MACROS ++#define __STDC_CONSTANT_MACROS + #include + + #include +@@ -48,6 +49,9 @@ extern "C" { #include #undef this +#include + + #define KEQUALIZER_MAX_GAIN 12.0 #define KEQUALIZER_L 2 // Storage for filter taps #define KEQUALIZER_KM 10 // Max number of bands -@@ -281,7 +284,7 @@ +@@ -281,7 +285,7 @@ static post_plugin_t *kequalizer_open_plugin(post_clas Q_UNUSED(video_target); kequalizer_plugin_t *that; //deprecated: kequalizer_plugin_t *that = static_cast(xine_xmalloc(sizeof(kequalizer_plugin_t))); - xine_xmalloc_aligned(2,sizeof(kequalizer_plugin_t),(void**)(&that)); + that = (kequalizer_plugin_t *)av_mallocz(sizeof(kequalizer_plugin_t)); post_in_t *input; post_out_t *output; xine_post_in_t *input_api; Index: head/multimedia/quark/Makefile =================================================================== --- head/multimedia/quark/Makefile (revision 478528) +++ head/multimedia/quark/Makefile (revision 478529) @@ -1,42 +1,42 @@ # Created by: Juan Salaverria # $FreeBSD$ PORTNAME= quark PORTVERSION= 3.24 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= multimedia gnome MASTER_SITES= http://hsgg.github.com/quark/ MAINTAINER= ports@FreeBSD.org COMMENT= Audio player, for geeks, by geeks LICENSE= GPLv2 LIB_DEPENDS= libxine.so:multimedia/libxine USES= pathfix gettext gmake pkgconfig USE_GNOME= gnomeprefix gnomevfs2 GNU_CONFIGURE= yes LLD_UNSAFE= yes CONFLICTS_INSTALL= quark-server PORTDOCS= AUTHORS COPYING INSTALL README GCONF_SCHEMAS= quark.schemas strange-quark.schemas OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e \ 's|CFLAGS="-g |CFLAGS="$$CFLAGS |g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|-D.*_DISABLE_DEPRECATED||g' post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/multimedia/subtitlecomposer-kde4/Makefile =================================================================== --- head/multimedia/subtitlecomposer-kde4/Makefile (revision 478528) +++ head/multimedia/subtitlecomposer-kde4/Makefile (revision 478529) @@ -1,44 +1,44 @@ # $FreeBSD$ PORTNAME= subtitlecomposer PORTVERSION= 0.5.7 DISTVERSIONPREFIX= v -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= multimedia kde MAINTAINER= ports@FreeBSD.org COMMENT= Subtitle editor for KDE DEPRECATED= KDE4 is EOL upstream EXPIRATION_DATE= 2018-12-31 LIB_DEPENDS= libicui18n.so:devel/icu USES= cmake:outsource gettext kde:4 qt:4 shared-mime-info USE_KDE= kdelibs automoc4 USE_QT= qmake_build moc_build rcc_build uic_build phonon USE_CXXSTD= gnu++98 USE_GITHUB= yes GH_ACCOUNT= maxrd2 OPTIONS_GROUP= BACKEND BACKEND_DESC= Additional video backens OPTIONS_GROUP_BACKEND= GSTREAMER MPLAYER XINE MPLAYER_DESC= Install MPlayer MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer XINE_DESC= Build Xine backend XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_CMAKE_OFF= -DWITH_Xine:Bool=Off GSTREAMER_DESC= Build GStreamer 1.x backend GSTREAMER_USE= GSTREAMER1=yes GSTREAMER_CMAKE_OFF= -DWITH_GStreamer:Bool=Off post-patch: ${REINPLACE_CMD} '/GStreamer/s,find_package,macro_optional_find_package,' \ ${WRKSRC}/src/services/CMakeLists.txt .include Index: head/multimedia/vdr-plugin-xineliboutput/Makefile =================================================================== --- head/multimedia/vdr-plugin-xineliboutput/Makefile (revision 478528) +++ head/multimedia/vdr-plugin-xineliboutput/Makefile (revision 478529) @@ -1,68 +1,68 @@ # Created by: Juergen Lock # $FreeBSD$ PORTNAME= vdr-plugin-xineliboutput PORTVERSION= 1.0.90s20120511 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= multimedia MASTER_SITES= SF/xineliboutput/files/xineliboutput/vdr-xineliboutput-${PORTVERSION}/:release \ LOCAL/nox:snapshot DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - xineliboutput plugin/viewer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxine.so:multimedia/libxine \ libavutil.so:multimedia/ffmpeg \ libdbus-glib-1.so:devel/dbus-glib \ libvdpau.so:multimedia/libvdpau BROKEN_FreeBSD_12= does not build with newer clang PATCH_STRIP= -p1 USES= pkgconfig tar:bzip2 USE_XORG= xrandr xrender HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" --cxx="${CXX}" --add-cflags=-I${VDRDIR} USE_GL= gl glu glut WRKSRC= ${WRKDIR}/vdr-${PLUGIN} -XINE_PLUGINSDIR=lib/xine/plugins/2.5 +XINE_PLUGINSDIR=lib/xine/plugins/2.7 PORTDOCS= README HISTORY PORTEXAMPLES= xine PLIST_SUB= XINE_PLUGINSDIR=${XINE_PLUGINSDIR} OPTIONS_DEFINE= LIBBLURAY LIBEXTRACTOR EXAMPLES DOCS LIBEXTRACTOR_LIB_DEPENDS= libextractor.so:textproc/libextractor LIBEXTRACTOR_CONFIGURE_ENABLE= libextractor LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin # clang doesn't know -MG ${TOUCH} -t 200001010000 ${WRKSRC}/nosignal_720x576.c \ ${WRKSRC}/black_720x576.c ${WRKSRC}/vdrlogo_720x576.c pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} ${INSTALL_DATA} ${WRKSRC}/examples/allowed_hosts.conf \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/xine ${INSTALL_DATA} ${FILESDIR}/keymap ${STAGEDIR}${EXAMPLESDIR}/xine post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/multimedia/xine/Makefile =================================================================== --- head/multimedia/xine/Makefile (revision 478528) +++ head/multimedia/xine/Makefile (revision 478529) @@ -1,67 +1,67 @@ # $FreeBSD$ PORTNAME= xine PORTVERSION= 0.99.9 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-ui/${PORTVERSION} DISTNAME= ${PORTNAME}-ui-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= X11 multimedia player LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libxine.so:multimedia/libxine USES= desktop-file-utils gmake iconv jpeg pkgconfig readline \ shared-mime-info tar:xz USE_XORG= x11 xext xinerama xscrnsaver xtst xv xxf86vm GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-vdr-keys \ --disable-nvtvsimple \ --disable-rpath MAKE_ENV= V=1 INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LLD_UNSAFE= yes # lld disallows preemption of protected visibility syms DOCSDIR= ${PREFIX}/share/doc/xine-ui OPTIONS_DEFINE= AALIB CACA CURL DOCS LIRC NLS XFT OPTIONS_DEFAULT= CURL XFT OPTIONS_DEFINE_i386= WIN32_CODECS OPTIONS_SUB= yes AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_WITH= aalib CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_RUN_DEPENDS= ${LOCALBASE}/${XINE_PLUGINSDIR}/xineplug_vo_out_caca.so:multimedia/libxine CACA_CONFIGURE_WITH= caca CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= curl LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_ENV= LIRC_CFLAGS="-I${LOCALBASE}/include" \ LIRC_LIBS="-L${LOCALBASE}/libs -llirc_client" LIRC_CONFIGURE_ENABLE= lirc NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls WIN32_CODECS_DESC= Enable win32 codecs WIN32_CODECS_RUN_DEPENDS=\ win32-codecs>0:multimedia/win32-codecs XFT_USE= XORG=xft XFT_CONFIGURE_ENABLE= xft -XINE_PLUGINSDIR= lib/xine/plugins/2.5 +XINE_PLUGINSDIR= lib/xine/plugins/2.7 post-patch: @${REINPLACE_CMD} -e \ 's|||' ${WRKSRC}/src/aaui/main.c @${REINPLACE_CMD} -e \ 's|<\(readline.h\)>|| ; \ s|<\(history.h\)>||' ${WRKSRC}/src/xitk/network.c .include Index: head/www/npapi-xine/Makefile =================================================================== --- head/www/npapi-xine/Makefile (revision 478528) +++ head/www/npapi-xine/Makefile (revision 478529) @@ -1,27 +1,27 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= xine PORTVERSION= 1.0.2 -PORTREVISION= 11 +PORTREVISION= 12 DISTVERSIONPREFIX= plugin- CATEGORIES= www multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-plugin/${PORTVERSION} PKGNAMEPREFIX= npapi- MAINTAINER= ports@FreeBSD.org COMMENT= Embed Xine player into browser LIB_DEPENDS= libxine.so:multimedia/libxine USES= pkgconfig webplugin:native tar:bzip2 GNU_CONFIGURE= yes WEBPLUGIN_NAME= # WEBPLUGIN_FILES= xineplugin.so PLIST_FILES= ${WEBPLUGIN_DIR}${WEBPLUGIN_FILES} do-install: ${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR} ${INSTALL_LIB} ${WRKSRC}/src/.libs/${WEBPLUGIN_FILES} ${STAGEDIR}${WEBPLUGIN_DIR} .include Index: head/x11/eaglemode/Makefile =================================================================== --- head/x11/eaglemode/Makefile (revision 478528) +++ head/x11/eaglemode/Makefile (revision 478529) @@ -1,96 +1,97 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= eaglemode PORTVERSION= 0.93.2 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Futuristic zoomable user environment LICENSE= GPLv3 LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 USES= compiler:features jpeg perl5 pkgconfig shebangfix tar:bzip2 USE_PERL5= build USE_XORG= x11 xext xxf86vm SUB_FILES= eaglemode.sh LLD_UNSAFE= yes BUILD_ARGS= continue=no .for lib in X11 jpeg png tiff BUILD_ARGS+= ${lib}-inc-dir="${LOCALBASE}/include" \ ${lib}-lib-dir="${LOCALBASE}/lib" .endfor DATADIR= ${PREFIX}/lib/${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDATA= * OPTIONS_DEFINE= XINE RSVG PDF OPTIONS_DEFAULT=XINE RSVG PDF OPTIONS_SUB= yes RSVG_DESC= SVG support through librsvg PDF_DESC= PDF support through poppler-glib XINE_LIB_DEPENDS= libxine.so:multimedia/libxine RSVG_USE= GNOME=librsvg2 PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= GNOME=gtk20 .include .if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 USE_GCC= yes .endif .if ${PORT_OPTIONS:MXINE} BUILD_ARGS+= xine-inc-dir="${LOCALBASE}/include" \ xine-lib-dir="${LOCALBASE}/lib" .endif post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|"-O2"|"${CFLAGS}"|' \ ${WRKSRC}/makers/unicc/plugins/unicc_gnu.pm @${FIND} ${WRKSRC} -name "*.pl" | ${XARGS} \ ${REINPLACE_CMD} -e '1s|/usr/bin/perl|${perl_CMD}|' post-patch-XINE-off: @${RM} ${WRKSRC}/makers/emAv.maker.pm post-patch-RSVG-off: @${RM} ${WRKSRC}/makers/emSvg.maker.pm post-patch-PDF-off: @${RM} ${WRKSRC}/makers/emPdf.maker.pm do-build: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${PERL} make.pl build ${BUILD_ARGS}) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${PERL} make.pl install dir=${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/eaglemode.sh ${STAGEDIR}${PREFIX}/bin/eaglemode @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/bin/* \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/*.so \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emClock/emTimeZonesProc \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emTmpConv/emTmpConvProc do-install-XINE-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emAv/emAvServerProc_xine do-install-RSVG-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emSvg/emSvgServerProc do-install-PDF-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emPdf/emPdfServerProc .include