aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-08-22 19:04:12 +0000
committerRene Ladan <rene@FreeBSD.org>2023-08-22 19:04:12 +0000
commit635ccfbf59522ddd44cd9283b321e2d9b3bc9876 (patch)
treea4ef4d6bf60ce070d18fd5f3a3a2802a5d432af4
parent888531aec072774b78483b6e0020bced9bc91731 (diff)
downloadports-635ccfbf59522ddd44cd9283b321e2d9b3bc9876.tar.gz
ports-635ccfbf59522ddd44cd9283b321e2d9b3bc9876.zip
multimedia/QtAV: Remove expired port
2023-08-17 multimedia/QtAV: Abandoned project and broken with FFmpeg 6
-rw-r--r--MOVED1
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/QtAV/Makefile57
-rw-r--r--multimedia/QtAV/distinfo5
-rw-r--r--multimedia/QtAV/files/patch-deploy.pri45
-rw-r--r--multimedia/QtAV/files/patch-src_QtAV_FilterContext.h10
-rw-r--r--multimedia/QtAV/files/patch-src_codec_video_SurfaceInteropCUDA.cpp20
-rw-r--r--multimedia/QtAV/files/patch-src_libQtAV.pro11
-rw-r--r--multimedia/QtAV/pkg-descr3
-rw-r--r--multimedia/QtAV/pkg-plist108
10 files changed, 1 insertions, 260 deletions
diff --git a/MOVED b/MOVED
index 272a9bc10e6c..59124876192f 100644
--- a/MOVED
+++ b/MOVED
@@ -7794,3 +7794,4 @@ benchmarks/dbs||2023-08-22|Has expired: Broken on all supported releases for mor
databases/virtuoso||2023-08-22|Has expired: Broken on all supported FreeBSD releases for more than an year
sysutils/muse||2023-08-22|Has expired: Broken on all supported FreeBSD releases for more than an year
devel/py-pytest-freezegun|devel/py-pytest-freezer|2023-08-22|Has expired: Use devel/py-pytest-freezer as upstream is unmaintained
+multimedia/QtAV||2023-08-22|Has expired: Abandoned project and broken with FFmpeg 6
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 580bdb4c2ed0..4b9e628c7cf8 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -1,7 +1,6 @@
COMMENT = Multimedia software
SUBDIR += Bento4
- SUBDIR += QtAV
SUBDIR += ab-av1
SUBDIR += ab25
SUBDIR += acidrip
diff --git a/multimedia/QtAV/Makefile b/multimedia/QtAV/Makefile
deleted file mode 100644
index 37b84518e48b..000000000000
--- a/multimedia/QtAV/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-PORTNAME= QtAV
-DISTVERSIONPREFIX= v
-DISTVERSION= 1.13.0
-PORTREVISION= 6
-CATEGORIES= multimedia
-DIST_SUBDIR= KDE
-
-PATCH_SITES= https://github.com/wang-bin/QtAV/commit/
-PATCHFILES= 5abba7f0505e75fceabd4dd8992a7e02bb149d64.patch:-p1
-
-MAINTAINER= kde@FreeBSD.org
-COMMENT= Cross-platform multimedia framwork based on Qt and ffmpeg
-WWW= https://github.com/wang-bin/QtAV
-
-LICENSE= LGPL21+
-LICENSE_FILE= ${WRKSRC}/lgpl-2.1.txt
-
-DEPRECATED= Abandoned project and broken with FFmpeg 6
-EXPIRATION_DATE= 2023-08-17
-BROKEN= fails to build with FFmpeg 6 (PR 270213)
-
-LIB_DEPENDS= libass.so:multimedia/libass \
- libavcodec.so:multimedia/ffmpeg
-
-USES= compiler:c++11-lang gl qmake:outsource qt:5 xorg
-USE_GL= gl
-USE_QT= core declarative gui network opengl sql widgets \
- buildtools:build qmake:build
-USE_XORG= x11 xext xv
-
-OPTIONS_DEFINE= OPENAL UCHARDET VAAPI PULSEAUDIO
-OPTIONS_DEFAULT= OPENAL UCHARDET VAAPI
-OPTIONS_SUB= yes
-
-OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft
-OPENAL_QMAKE_OFF= CONFIG+=no-openal
-
-PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
-PULSEAUDIO_QMAKE_OFF= CONFIG+=no-pulseaudio
-
-UCHARDET_DESC= Guess subtitle encoding via uchardet
-UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet
-UCHARDET_QMAKE_OFF= CONFIG+=no-uchardet
-
-VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
-VAAPI_QMAKE_OFF= CONFIG+=no-vaapi
-
-PLIST_SUB= QT_VERSION="${_QT_VERSION}"
-
-USE_GITHUB= yes
-GH_ACCOUNT= wang-bin
-
-# The examples are GLPv3 licencensed and have too generic names, like 'Player',
-# so don't install them.
-QMAKE_ARGS= CONFIG+=no-examples
-
-.include <bsd.port.mk>
diff --git a/multimedia/QtAV/distinfo b/multimedia/QtAV/distinfo
deleted file mode 100644
index a3f2e094788c..000000000000
--- a/multimedia/QtAV/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1584858326
-SHA256 (KDE/wang-bin-QtAV-v1.13.0_GH0.tar.gz) = a493d54d105b32c526f05188e4d7a8cf3508ecac697aae088721ffad20982288
-SIZE (KDE/wang-bin-QtAV-v1.13.0_GH0.tar.gz) = 2213489
-SHA256 (KDE/5abba7f0505e75fceabd4dd8992a7e02bb149d64.patch) = cf6e80e5102356e4a72706f1f7a13396a3911954afe900a957112c56f5c280d5
-SIZE (KDE/5abba7f0505e75fceabd4dd8992a7e02bb149d64.patch) = 616
diff --git a/multimedia/QtAV/files/patch-deploy.pri b/multimedia/QtAV/files/patch-deploy.pri
deleted file mode 100644
index 9b25d334bdec..000000000000
--- a/multimedia/QtAV/files/patch-deploy.pri
+++ /dev/null
@@ -1,45 +0,0 @@
---- deploy.pri.orig 2017-04-06 20:22:41 UTC
-+++ deploy.pri
-@@ -4,7 +4,7 @@ INSTALL_PREFIX = /usr/local
- share.files = $$PROJECTROOT/qtc_packaging/common/changelog \
- $$PROJECTROOT/qtc_packaging/common/copyright \
- $$PROJECTROOT/qtc_packaging/common/README
--share.path = /usr/share/doc/$${TARGET}
-+share.path = $$[QT_INSTALL_PREFIX]/share/doc/$${TARGET}
-
- isEqual(TEMPLATE, app) {
- unix:!symbian {
-@@ -25,9 +25,9 @@ isEqual(TEMPLATE, app) {
- #debian.files = $$PROJECTROOT/qtc_packaging/fremantle/control
- } else {
- desktopfile.files = $$PROJECTROOT/qtc_packaging/debian_generic/$${TARGET}.desktop
-- desktopfile.path = /usr/share/applications
-+ desktopfile.path = $$[QT_INSTALL_PREFIX]/share/applications
- icon.files = $$PROJECTROOT/qtc_packaging/debian_generic/$${TARGET}.png
-- icon.path = /usr/share/icons/hicolor/64x64/apps
-+ icon.path = $$[QT_INSTALL_PREFIX]/share/icons/hicolor/64x64/apps
- #debian.files = $$PROJECTROOT/qtc_packaging/generic/control
- }
- INSTALLS += desktopfile icon
-@@ -41,9 +41,9 @@ isEqual(TEMPLATE, app) {
- isEmpty(SDK_HEADERS) {
- sdkheaders.files = $$HEADERS
- }
-- sdkheaders.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME
-- sdkheaders_private.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$MODULE_VERSION/$$MODULE_INCNAME/private
-- !plugin: target.path = $$[QT_INSTALL_LIBS]
-+ sdkheaders.path = $$[QT_INSTALL_PREFIX]/include/$$MODULE_INCNAME
-+ sdkheaders_private.path = $$[QT_INSTALL_PREFIX]/include/$$MODULE_INCNAME/$$MODULE_VERSION/$$MODULE_INCNAME/private
-+ !plugin: target.path = $$[QT_INSTALL_PREFIX]/lib
- INSTALLS += sdkheaders sdkheaders_private
- }
- }
-@@ -51,7 +51,7 @@ isEqual(TEMPLATE, app) {
- INSTALLS *= target share
-
- for(bin, BIN_INSTALLS) {
-- eval($${bin}.path = $${INSTALL_PREFIX}/bin)
-+ eval($${bin}.path = $$[QT_INSTALL_PREFIX]/bin)
- message("adding $$bin to bin install targets...")
- INSTALLS += $$bin
- }
diff --git a/multimedia/QtAV/files/patch-src_QtAV_FilterContext.h b/multimedia/QtAV/files/patch-src_QtAV_FilterContext.h
deleted file mode 100644
index 8c68a24d493b..000000000000
--- a/multimedia/QtAV/files/patch-src_QtAV_FilterContext.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/QtAV/FilterContext.h.orig 2020-05-21 11:58:15 UTC
-+++ src/QtAV/FilterContext.h
-@@ -26,6 +26,7 @@
- #include <QtCore/QByteArray>
- #include <QtCore/QRect>
- #include <QtGui/QPainter>
-+#include <QtGui/QPainterPath>
- /*
- * QPainterFilterContext, D2DFilterContext, ...
- */
diff --git a/multimedia/QtAV/files/patch-src_codec_video_SurfaceInteropCUDA.cpp b/multimedia/QtAV/files/patch-src_codec_video_SurfaceInteropCUDA.cpp
deleted file mode 100644
index 738ea50c67a8..000000000000
--- a/multimedia/QtAV/files/patch-src_codec_video_SurfaceInteropCUDA.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/codec/video/SurfaceInteropCUDA.cpp.orig 2020-08-26 17:34:29 UTC
-+++ src/codec/video/SurfaceInteropCUDA.cpp
-@@ -132,7 +132,7 @@ bool HostInteropResource::map(int picIndex, const CUVI
- if (!ensureResource(pitch, H)) //copy height is coded height
- return false;
- // the same thread (context) as cuMemAllocHost, so no ccontext switch is needed
-- CUDA_ENSURE(cuMemcpyDtoH(host_mem.data, devptr, pitch*H*3/2), NULL);
-+ CUDA_ENSURE(cuMemcpyDtoH(host_mem.data, devptr, pitch*H*3/2), false);
- host_mem.index = picIndex;
- }
- // map to texture
-@@ -173,7 +173,7 @@ bool HostInteropResource::ensureResource(int pitch, in
- if (!share_ctx) // cuMemFreeHost will be called in dtor which is not the current thread.
- CUDA_WARN(cuCtxPushCurrent(ctx));
- // NV12
-- CUDA_ENSURE(cuMemAllocHost((void**)&host_mem.data, pitch*height*3/2), NULL);
-+ CUDA_ENSURE(cuMemAllocHost((void**)&host_mem.data, pitch*height*3/2), false);
- if (!share_ctx)
- CUDA_WARN(cuCtxPopCurrent(NULL)); //can be null or &ctx
- return true;
diff --git a/multimedia/QtAV/files/patch-src_libQtAV.pro b/multimedia/QtAV/files/patch-src_libQtAV.pro
deleted file mode 100644
index f35a19d38745..000000000000
--- a/multimedia/QtAV/files/patch-src_libQtAV.pro
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/libQtAV.pro.orig 2017-06-21 01:47:15 UTC
-+++ src/libQtAV.pro
-@@ -614,7 +614,7 @@ mac {
-
- unix:!mac:!cross_compile {
- icon.files = $$PWD/$${TARGET}.svg
--icon.path = /usr/share/icons/hicolor/scalable/apps
-+icon.path = $$[QT_INSTALL_PREFIX]/share/icons/hicolor/scalable/apps
- INSTALLS += icon
- #debian
- DEB_INSTALL_LIST = .$$[QT_INSTALL_LIBS]/libQt*AV.so.*
diff --git a/multimedia/QtAV/pkg-descr b/multimedia/QtAV/pkg-descr
deleted file mode 100644
index 61eead2def81..000000000000
--- a/multimedia/QtAV/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-A cross-platform multimedia framework based on Qt and FFmpeg.
-High performance. User & developer friendly. Supports Android,
-iOS, Windows store and desktops.
diff --git a/multimedia/QtAV/pkg-plist b/multimedia/QtAV/pkg-plist
deleted file mode 100644
index d5aab177336e..000000000000
--- a/multimedia/QtAV/pkg-plist
+++ /dev/null
@@ -1,108 +0,0 @@
-include/QtAV/%%QT_VERSION%%/QtAV/private/AVCompat.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/AVDecoder_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/AVEncoder_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/AVOutput_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/AudioOutputBackend.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/AudioResampler_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/Filter_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/Frame_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/MediaIO_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/OpenGLRendererBase_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/PlayerSubtitle.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/QPainterRenderer_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/SubtitleProcessor.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/VideoRenderer_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/VideoShader_p.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/factory.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/mkid.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/prepost.h
-include/QtAV/%%QT_VERSION%%/QtAV/private/singleton.h
-include/QtAV/AVClock.h
-include/QtAV/AVDecoder.h
-include/QtAV/AVDemuxer.h
-include/QtAV/AVEncoder.h
-include/QtAV/AVError.h
-include/QtAV/AVMuxer.h
-include/QtAV/AVOutput.h
-include/QtAV/AVPlayer.h
-include/QtAV/AVTranscoder.h
-include/QtAV/AudioDecoder.h
-include/QtAV/AudioEncoder.h
-include/QtAV/AudioFormat.h
-include/QtAV/AudioFrame.h
-include/QtAV/AudioOutput.h
-include/QtAV/AudioResampler.h
-include/QtAV/ConvolutionShader.h
-include/QtAV/EncodeFilter.h
-include/QtAV/FactoryDefine.h
-include/QtAV/Filter.h
-include/QtAV/FilterContext.h
-include/QtAV/Frame.h
-include/QtAV/FrameReader.h
-include/QtAV/GLSLFilter.h
-include/QtAV/Geometry.h
-include/QtAV/GeometryRenderer.h
-include/QtAV/LibAVFilter.h
-include/QtAV/MediaIO.h
-include/QtAV/OpenGLRendererBase.h
-include/QtAV/OpenGLTypes.h
-include/QtAV/OpenGLVideo.h
-include/QtAV/OpenGLWindowRenderer.h
-include/QtAV/Packet.h
-include/QtAV/QPainterRenderer.h
-include/QtAV/QtAV
-include/QtAV/QtAV.h
-include/QtAV/QtAV_Global.h
-include/QtAV/Statistics.h
-include/QtAV/SubImage.h
-include/QtAV/Subtitle.h
-include/QtAV/SubtitleFilter.h
-include/QtAV/SurfaceInterop.h
-include/QtAV/VideoCapture.h
-include/QtAV/VideoDecoder.h
-include/QtAV/VideoEncoder.h
-include/QtAV/VideoFormat.h
-include/QtAV/VideoFrame.h
-include/QtAV/VideoFrameExtractor.h
-include/QtAV/VideoOutput.h
-include/QtAV/VideoRenderer.h
-include/QtAV/VideoShader.h
-include/QtAV/VideoShaderObject.h
-include/QtAV/dptr.h
-include/QtAV/version.h
-include/QtAVWidgets/GLWidgetRenderer2.h
-include/QtAVWidgets/GraphicsItemRenderer.h
-include/QtAVWidgets/OpenGLWidgetRenderer.h
-include/QtAVWidgets/QtAVWidgets
-include/QtAVWidgets/QtAVWidgets.h
-include/QtAVWidgets/VideoPreviewWidget.h
-include/QtAVWidgets/WidgetRenderer.h
-include/QtAVWidgets/global.h
-include/QtAVWidgets/version.h
-lib/libQtAV.prl
-lib/libQtAV.so
-lib/libQtAV.so.1
-lib/libQtAV.so.1.13
-lib/libQtAV.so.1.13.0
-lib/libQtAVWidgets.prl
-lib/libQtAVWidgets.so
-lib/libQtAVWidgets.so.1
-lib/libQtAVWidgets.so.1.13
-lib/libQtAVWidgets.so.1.13.0
-%%QT_MKSPECDIR%%/features/av.prf
-%%QT_MKSPECDIR%%/features/avwidgets.prf
-%%QT_MKSPECDIR%%/modules/qt_lib_av.pri
-%%QT_MKSPECDIR%%/modules/qt_lib_av_private.pri
-%%QT_MKSPECDIR%%/modules/qt_lib_avwidgets.pri
-%%QT_MKSPECDIR%%/modules/qt_lib_avwidgets_private.pri
-%%QT_QMLDIR%%/QtAV/Video.qml
-%%QT_QMLDIR%%/QtAV/libQmlAV.so
-%%QT_QMLDIR%%/QtAV/plugins.qmltypes
-%%QT_QMLDIR%%/QtAV/qmldir
-%%DOCSDIR%%/README
-%%DOCSDIR%%/changelog
-%%DOCSDIR%%/copyright
-%%DOCSDIR%%Widgets/README
-%%DOCSDIR%%Widgets/changelog
-%%DOCSDIR%%Widgets/copyright
-share/icons/hicolor/scalable/apps/QtAV.svg