Update phonon for Qt5 to 4.10.3

This commit is contained in:
rsadowski 2019-09-01 18:55:12 +00:00
parent b350c49de0
commit e49209c96a
4 changed files with 53 additions and 17 deletions

View File

@ -1,19 +1,19 @@
# $OpenBSD: Makefile,v 1.6 2019/07/12 20:47:57 sthen Exp $
# $OpenBSD: Makefile,v 1.7 2019/09/01 18:55:12 rsadowski Exp $
COMMENT = multimedia layer for Qt5/KDE5
VERSION = 4.10.1
VERSION = 4.10.3
DISTNAME = phonon-${VERSION}
PKGNAME = phonon-qt5-${VERSION}
REVISION = 0
# XXX major should be tweaked on any update, to unbreak
# IMPORTED_LINK_INTERFACE_LIBRARIES CMake feature.
SHARED_LIBS += phonon4qt5 2.0
SHARED_LIBS += phonon4qt5experimental 2.0
SHARED_LIBS += phonon4qt5 3.0
SHARED_LIBS += phonon4qt5experimental 3.0
CATEGORIES = multimedia devel
HOMEPAGE = https://phonon.kde.org/
MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# LGPL v2.1
PERMIT_PACKAGE = Yes
@ -32,12 +32,12 @@ RUN_DEPENDS = x11/qt5/qtdeclarative
PHONON_INCLUDE_DIR = include/phonon4qt5
# Clashes with the one provided by Qt itself.
CONFIGURE_ARGS += -DPHONON_BUILD_DESIGNER_PLUGIN:Bool=No \
-DPHONON_INSTALL_QT_COMPAT_HEADERS=No
CONFIGURE_ARGS += -DPHONON_BUILD_DESIGNER_PLUGIN=OFF \
-DPHONON_INSTALL_QT_COMPAT_HEADERS=OFF
CONFIGURE_ARGS += -DPHONON_BUILD_PHONON4QT5=Yes \
CONFIGURE_ARGS += -DPHONON_BUILD_PHONON4QT5=ON \
-DINCLUDE_INSTALL_DIR=${PHONON_INCLUDE_DIR} \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=Yes
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON
SUBST_VARS = PHONON_INCLUDE_DIR

View File

@ -1,2 +1,2 @@
SHA256 (phonon-4.10.1.tar.xz) = 5amN8xrv/CJJOvyNatvKXW8MJ8wu7XOzvgUZUyHgjbc=
SIZE (phonon-4.10.1.tar.xz) = 322100
SHA256 (phonon-4.10.3.tar.xz) = LosUVmmvoOk4M+QGS2V2d6vJQT5AB/pd3JE5fJvdwpU=
SIZE (phonon-4.10.3.tar.xz) = 336724

View File

@ -1,10 +1,11 @@
$OpenBSD: patch-phonon_CMakeLists_txt,v 1.1.1.1 2017/07/17 21:06:37 zhuk Exp $
$OpenBSD: patch-phonon_CMakeLists_txt,v 1.2 2019/09/01 18:55:12 rsadowski Exp $
Revert upstream commit 457492e97dd1435021cff15d4fbb8f1fd7be9b24, it breaks
due to changing "-I/usr/local/include/kde4" to
"-isystem /usr/local/include/kde4".
--- phonon/CMakeLists.txt.orig Tue Jul 7 02:46:03 2015
+++ phonon/CMakeLists.txt Tue Jul 7 02:46:41 2015
@@ -172,8 +172,6 @@ set_target_properties(${PHONON_LIB_SONAME} PROPERTIES
Index: phonon/CMakeLists.txt
--- phonon/CMakeLists.txt.orig
+++ phonon/CMakeLists.txt
@@ -176,8 +176,6 @@ set_target_properties(${PHONON_LIB_SONAME} PROPERTIES
# This reduces inter-package dependencies and makes it easier to remove
# dependencies of shared libraries without breaking binary compatibility.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2017/07/17 21:11:49 zhuk Exp $
@comment $OpenBSD: PLIST,v 1.3 2019/09/01 18:55:12 rsadowski Exp $
@pkgpath multimedia/phonon,qt5
${PHONON_INCLUDE_DIR}/
${PHONON_INCLUDE_DIR}/KDE/
@ -178,6 +178,41 @@ lib/cmake/phonon4qt5/PhononTargets.cmake
lib/pkgconfig/phonon4qt5.pc
lib/qt5/mkspecs/modules/qt_phonon4qt5.pri
share/dbus-1/interfaces/org.kde.Phonon4Qt5.AudioOutput.xml
share/locale/ca/LC_MESSAGES/libphonon_qt.qm
share/locale/ca@valencia/LC_MESSAGES/libphonon_qt.qm
share/locale/cs/LC_MESSAGES/libphonon_qt.qm
share/locale/de/LC_MESSAGES/libphonon_qt.qm
share/locale/en_GB/LC_MESSAGES/libphonon_qt.qm
share/locale/es/LC_MESSAGES/libphonon_qt.qm
share/locale/eu/LC_MESSAGES/libphonon_qt.qm
share/locale/fi/LC_MESSAGES/libphonon_qt.qm
share/locale/fr/LC_MESSAGES/libphonon_qt.qm
share/locale/gl/LC_MESSAGES/libphonon_qt.qm
share/locale/id/LC_MESSAGES/libphonon_qt.qm
share/locale/is/LC_MESSAGES/libphonon_qt.qm
share/locale/it/LC_MESSAGES/libphonon_qt.qm
share/locale/ja/LC_MESSAGES/libphonon_qt.qm
share/locale/ko/LC_MESSAGES/libphonon_qt.qm
share/locale/nb/LC_MESSAGES/libphonon_qt.qm
share/locale/nl/LC_MESSAGES/libphonon_qt.qm
share/locale/nn/LC_MESSAGES/libphonon_qt.qm
share/locale/pl/LC_MESSAGES/libphonon_qt.qm
share/locale/pt_BR/LC_MESSAGES/libphonon_qt.qm
share/locale/se/
share/locale/se/LC_MESSAGES/
share/locale/se/LC_MESSAGES/libphonon_qt.qm
share/locale/sk/LC_MESSAGES/libphonon_qt.qm
share/locale/sr/LC_MESSAGES/libphonon_qt.qm
share/locale/sr@ijekavian/
share/locale/sr@ijekavian/LC_MESSAGES/
share/locale/sr@ijekavian/LC_MESSAGES/libphonon_qt.qm
share/locale/sr@ijekavianlatin/
share/locale/sr@ijekavianlatin/LC_MESSAGES/
share/locale/sr@ijekavianlatin/LC_MESSAGES/libphonon_qt.qm
share/locale/sr@latin/LC_MESSAGES/libphonon_qt.qm
share/locale/sv/LC_MESSAGES/libphonon_qt.qm
share/locale/uk/LC_MESSAGES/libphonon_qt.qm
share/locale/zh_CN/LC_MESSAGES/libphonon_qt.qm
share/phonon4qt5/
share/phonon4qt5/buildsystem/
share/phonon4qt5/buildsystem/COPYING-CMAKE-SCRIPTS