diff options
author | markd <markd@pkgsrc.org> | 2021-03-30 09:03:32 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2021-03-30 09:03:32 +0000 |
commit | 263d03f0d824661bb3da3b9efedecdfd21e5051b (patch) | |
tree | f77190b6d17f2f0e48d0f2a459beff1a38378eee /multimedia | |
parent | 9fd10d7ecbe0be5ef7247fcd47a1a5a91f17f772 (diff) | |
download | pkgsrc-263d03f0d824661bb3da3b9efedecdfd21e5051b.tar.gz |
phonon-{qt5-backend-gstreamer,backend-gstreamer-shared}: update to 4.10.0
backends require the new version of Phonon to build!
Diffstat (limited to 'multimedia')
6 files changed, 88 insertions, 17 deletions
diff --git a/multimedia/phonon-backend-gstreamer-shared/Makefile b/multimedia/phonon-backend-gstreamer-shared/Makefile index 8512a49070d..7990a7d52d5 100644 --- a/multimedia/phonon-backend-gstreamer-shared/Makefile +++ b/multimedia/phonon-backend-gstreamer-shared/Makefile @@ -1,12 +1,17 @@ -# $NetBSD: Makefile,v 1.4 2020/03/08 16:50:46 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2021/03/30 09:03:32 markd Exp $ -DISTNAME= phonon-backend-gstreamer-4.9.1 +DISTNAME= phonon-backend-gstreamer-4.10.0 PKGNAME= ${DISTNAME:S/-4/-shared-4/} -PKGREVISION= 1 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_KDE:=phonon/phonon-backend-gstreamer/4.10.0/} +EXTRACT_SUFX= .tar.xz +MAINTAINER= markd@NetBSD.org COMMENT= Multimedia API for KF5 - GStreamer backend shared files +HOMEPAGE= https://phonon.kde.org/ +LICENSE= gnu-lgpl-v2.1 -.include "../../multimedia/phonon-backend-gstreamer/Makefile.common" +DISTINFO_FILE= ${.CURDIR}/../../multimedia/phonon-qt5-backend-gstreamer/distinfo do-configure: @@ -14,11 +19,11 @@ do-build: do-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps - ${INSTALL_DATA} ${WRKSRC}/gstreamer/icons/hisc-apps-phonon-gstreamer.svgz \ - ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/phonon-gstreamer.svgz + ${INSTALL_DATA} ${WRKSRC}/gstreamer/icons/sc-apps-phonon-gstreamer.svg \ + ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/phonon-gstreamer.svg .for i in 128 64 48 22 16 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps - ${INSTALL_DATA} ${WRKSRC}/gstreamer/icons/hi${i}-apps-phonon-gstreamer.png \ + ${INSTALL_DATA} ${WRKSRC}/gstreamer/icons/${i}-apps-phonon-gstreamer.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/phonon-gstreamer.png .endfor diff --git a/multimedia/phonon-backend-gstreamer-shared/PLIST b/multimedia/phonon-backend-gstreamer-shared/PLIST index 1ce5e618a27..c1c3060240e 100644 --- a/multimedia/phonon-backend-gstreamer-shared/PLIST +++ b/multimedia/phonon-backend-gstreamer-shared/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1 2016/03/01 09:21:01 markd Exp $ +@comment $NetBSD: PLIST,v 1.2 2021/03/30 09:03:32 markd Exp $ share/icons/hicolor/128x128/apps/phonon-gstreamer.png share/icons/hicolor/16x16/apps/phonon-gstreamer.png share/icons/hicolor/22x22/apps/phonon-gstreamer.png share/icons/hicolor/48x48/apps/phonon-gstreamer.png share/icons/hicolor/64x64/apps/phonon-gstreamer.png -share/icons/hicolor/scalable/apps/phonon-gstreamer.svgz +share/icons/hicolor/scalable/apps/phonon-gstreamer.svg diff --git a/multimedia/phonon-qt5-backend-gstreamer/Makefile b/multimedia/phonon-qt5-backend-gstreamer/Makefile index 7cd9d9fa37d..214dcd9b917 100644 --- a/multimedia/phonon-qt5-backend-gstreamer/Makefile +++ b/multimedia/phonon-qt5-backend-gstreamer/Makefile @@ -1,18 +1,36 @@ -# $NetBSD: Makefile,v 1.27 2020/11/05 09:08:49 ryoon Exp $ +# $NetBSD: Makefile,v 1.28 2021/03/30 09:03:32 markd Exp $ -DISTNAME= phonon-backend-gstreamer-4.9.1 +DISTNAME= phonon-backend-gstreamer-4.10.0 PKGNAME= ${DISTNAME:S/-/-qt5-/} -PKGREVISION= 8 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_KDE:=phonon/phonon-backend-gstreamer/4.10.0/} +EXTRACT_SUFX= .tar.xz +MAINTAINER= markd@NetBSD.org +HOMEPAGE= https://phonon.kde.org/ COMMENT= Multimedia API for KF5 - GStreamer backend +LICENSE= gnu-lgpl-v2.1 -.include "../../multimedia/phonon-backend-gstreamer/Makefile.common" +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ +USE_CMAKE= yes +CMAKE_ARG_PATH= .. +CONFIGURE_DIRS= _build + +CMAKE_ARGS+= -DKDE_INSTALL_QTPLUGINDIR=${QTDIR}/plugins + +#WRKSRC= ${WRKDIR}/phonon-gstreamer-4.9.1 + +pre-configure: + ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/ + ${MKDIR} ${WRKSRC}/_build + +.include "../../multimedia/gstreamer1/buildlink3.mk" +.include "../../multimedia/gst-plugins1-base/buildlink3.mk" BUILD_DEPENDS+= extra-cmake-modules>=5.19.0:../../devel/extra-cmake-modules DEPENDS+= phonon-backend-gstreamer-shared-${PKGVERSION_NOREV}{,nb*}:../../multimedia/phonon-backend-gstreamer-shared -CMAKE_ARGS+= -DPHONON_BUILD_PHONON4QT5=ON - .include "../../multimedia/phonon-qt5/buildlink3.mk" .include "../../x11/qt5-qtx11extras/buildlink3.mk" diff --git a/multimedia/phonon-qt5-backend-gstreamer/PLIST b/multimedia/phonon-qt5-backend-gstreamer/PLIST index 4a658eabaae..83917168ca1 100644 --- a/multimedia/phonon-qt5-backend-gstreamer/PLIST +++ b/multimedia/phonon-qt5-backend-gstreamer/PLIST @@ -1,31 +1,60 @@ -@comment $NetBSD: PLIST,v 1.2 2019/08/27 06:56:32 markd Exp $ -lib/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so +@comment $NetBSD: PLIST,v 1.3 2021/03/30 09:03:32 markd Exp $ +qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so +share/locale/ar/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/ast/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/bg/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/bs/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/ca/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/ca@valencia/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/cs/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/da/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/de/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/el/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/en_GB/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/eo/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/es/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/et/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/eu/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/fi/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/fr/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/ga/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/gl/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/he/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/hr/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/hsb/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/hu/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/id/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/is/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/it/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/ja/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/kk/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/ko/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/lt/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/lv/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/mai/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/mr/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/nb/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/nds/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/nl/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/nn/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/pa/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/pl/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/pt/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/pt_BR/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/ro/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/ru/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/se/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/sk/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/sl/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/sq/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/sr/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/sr@ijekavian/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/sr@ijekavianlatin/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/sr@latin/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/sv/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/th/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/tr/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/ug/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/uk/LC_MESSAGES/phonon_gstreamer_qt.qm share/locale/zh_CN/LC_MESSAGES/phonon_gstreamer_qt.qm +share/locale/zh_TW/LC_MESSAGES/phonon_gstreamer_qt.qm diff --git a/multimedia/phonon-qt5-backend-gstreamer/distinfo b/multimedia/phonon-qt5-backend-gstreamer/distinfo new file mode 100644 index 00000000000..b38f4bd8260 --- /dev/null +++ b/multimedia/phonon-qt5-backend-gstreamer/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2021/03/30 09:03:32 markd Exp $ + +SHA1 (phonon-backend-gstreamer-4.10.0.tar.xz) = 63173a1f083e78f2c2a9e4cf88cee0953ea03b2b +RMD160 (phonon-backend-gstreamer-4.10.0.tar.xz) = 6566cfed6ebfa426142c0ee770e7af7906390fc4 +SHA512 (phonon-backend-gstreamer-4.10.0.tar.xz) = 3beaba9ea3a332a6908ebdaa966958e8e8056d79cfb210e82a8edaf08f0a8bacbf8094e91b1b1b936406aa634dabb962e6c1468e4dde3febd9efac1a63ea70a4 +Size (phonon-backend-gstreamer-4.10.0.tar.xz) = 98532 bytes +SHA1 (patch-gstreamer_CMakeLists.txt) = a47ca128cd99edfd9aaddf2af419947bff02f63d diff --git a/multimedia/phonon-qt5-backend-gstreamer/patches/patch-gstreamer_CMakeLists.txt b/multimedia/phonon-qt5-backend-gstreamer/patches/patch-gstreamer_CMakeLists.txt new file mode 100644 index 00000000000..4fe9a67db30 --- /dev/null +++ b/multimedia/phonon-qt5-backend-gstreamer/patches/patch-gstreamer_CMakeLists.txt @@ -0,0 +1,12 @@ +$NetBSD: patch-gstreamer_CMakeLists.txt,v 1.1 2021/03/30 09:03:32 markd Exp $ + +Dont install icons. Separated out into separate package. + +--- gstreamer/CMakeLists.txt.orig 2019-08-27 13:27:22.000000000 +0000 ++++ gstreamer/CMakeLists.txt +@@ -136,4 +136,4 @@ install(TARGETS phonon_gstreamer DESTINA + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/phonon-gstreamer.json.in + ${CMAKE_CURRENT_BINARY_DIR}/phonon-gstreamer.json @ONLY) + +-add_subdirectory(icons) ++#add_subdirectory(icons) |