From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/phonon-qt7/Manifest | 8 +++++ ...on-qt7-0_pre20110424-QWidget-cast-dynamic.patch | 28 +++++++++++++++ .../files/phonon-qt7-0_pre20110424-darwin11.patch | 29 ++++++++++++++++ .../phonon-qt7/files/phonon-qt7-noshow.patch | 17 +++++++++ media-libs/phonon-qt7/metadata.xml | 12 +++++++ .../phonon-qt7/phonon-qt7-0_pre20110424.ebuild | 40 ++++++++++++++++++++++ 6 files changed, 134 insertions(+) create mode 100644 media-libs/phonon-qt7/Manifest create mode 100644 media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-QWidget-cast-dynamic.patch create mode 100644 media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch create mode 100644 media-libs/phonon-qt7/files/phonon-qt7-noshow.patch create mode 100644 media-libs/phonon-qt7/metadata.xml create mode 100644 media-libs/phonon-qt7/phonon-qt7-0_pre20110424.ebuild (limited to 'media-libs/phonon-qt7') diff --git a/media-libs/phonon-qt7/Manifest b/media-libs/phonon-qt7/Manifest new file mode 100644 index 000000000000..64250b4ea5be --- /dev/null +++ b/media-libs/phonon-qt7/Manifest @@ -0,0 +1,8 @@ +AUX phonon-qt7-0_pre20110424-QWidget-cast-dynamic.patch 941 SHA256 78117c305bb2bdd9bcae7879c3e7775e86b9ca4fda98c07a3fa2e5500a3b7158 SHA512 fd8ed1410d5b74eb24ae1c78265d26684234b25578d1e2155619de75a587eef83a37c85d86de04b5437fddd6eba40358f307a70dedeff3b0ca693132c23e751e WHIRLPOOL 377a14311d3645858a25c2afd913e796dd67029ad901cf6beef458685b55cf21707460d3bc38e2b40e40abfd06fc1dec5b90fcdd4daace44af3b33249b6aa781 +AUX phonon-qt7-0_pre20110424-darwin11.patch 1043 SHA256 50117c1054cc7678b3c5cd2234e9eb2115c08780350243d2e7d93c87087f39a5 SHA512 1d713b42ef8fa80d8ac40497287731b3f42cd7b6cf9a67e46ee579a69ce53243d89082b2e52742c49127ddd5df1991735a761d57bc1cfee84e3963b31c0d8232 WHIRLPOOL 85ae85d4ce2e86116d1c8d6b8ab0021bf54a185be353bff82d91f7f440c526fba6595ca7cc8702bcce8064c9e1339baa753c4b6f3de5c1cd8d9952ce348cc20d +AUX phonon-qt7-noshow.patch 493 SHA256 3d3c82cba91f324b9eb4c1b198289114ac4a6797d3a46887d16888d4ee194109 SHA512 bf407a587ed5a280f5b0a0ce7035aaa9c453297fb66d1ee8b4a40c7be16419b7fc3f1f69ea9e4c7b5fa66ba3c683a165d2c70f85e7b941c7638cc75cdd8de5ed WHIRLPOOL 8bc87587f71008fa649dc148b4a5cf9eb4cc6d1414d38d8a1ca74680e6fafa84958e1ddc780749c2f1edae355d5458efc647a72b2c2244b3fc4f5ff64a9536c0 +DIST phonon-qt7-0_pre20110424.tar.bz2 54610 SHA256 c8a96c3053a534ec8e33e105a861a846b8f970f1583ec4054ff046d6785d5cbd SHA512 9e694c2effdf2b044118e4afb101e098d479bfc4c97f8f8069dcadbaa44f4dc6371ad15c1487bb1786e1096cbc93b660c0edde87e61f6a9483fce5a7587df2b9 WHIRLPOOL e193e83bcc62d06cd50fa55e5c99d0827c49cfc77a1879e06579809669d264a856f9f89269c7099f50953c887cea22456076c4b8bd61c8588c95d98a841c3f4b +EBUILD phonon-qt7-0_pre20110424.ebuild 977 SHA256 fb72d169a0bdffe809404b2004df5cb36142422696ce9cc88759e2e9841df416 SHA512 a40483e369a27c782d4a9fb88d43bd71782c2d278635fcb05bfe064777a90d7f96b226aad5ec7fc9143482a2501595d73f61933fac14ec1eb836ec5f68b69c48 WHIRLPOOL 330120ffc9e528bfad4f8fc23992ce88e8669a6a6628f5e6710f8c2763e63baa0dc27a6c8d54eafb5ca0f8ec8f316dcbfdafa89196b61abbdacda05bf69ed5cc +MISC ChangeLog 2635 SHA256 feec9ef02168c0ea9377c85c1c4fa3a4c4e66b71e6289cd8ae810f7a3f301772 SHA512 23604f74b062d1212be4c8961d9520853bb150d2db698d0e4f689a7702580a23bc8266bbce6c1728c5d94747225691214917569897bf6363dc9762679ac70f14 WHIRLPOOL 6ba7bc28405fdd7f9770e736c3956e28a7b10dbca346be3146dedcbc839339a00d210dc31023acc031cb17c0e273262427b68a1ea229523a5444d7ae182ef3a3 +MISC ChangeLog-2015 1359 SHA256 5af95a04692de8ae0cd3479d35883ebd80bc1811706185c29e13b84bf909c836 SHA512 f9a4dd3b99c8b864f4cc4713a8c562b4e0ac317a130d2e74c07db846c6927db6650e202c1338c485b58ac2f28205b0c0469a215180e01ebe3af45e3510feca87 WHIRLPOOL 1952fb550c273fa14ebe93927750694230b446773088adcd82182bb1276ffb832e3e61924d4f36ebe8a8a102f4cff4e56c66dfbc7769e045238e1b5b5d1f80e8 +MISC metadata.xml 357 SHA256 f18a61cfc1c7503e6af118edd0243da013ea1e16a947cf733eba93ed8868afd3 SHA512 e7b6fac10e6f156201caa5ccea95e1f8ab99db2c99127a12e710b50bd5cded5ae716ea2f153aa6325bff3f97b02ac22af40a270227f092d6ad064803bc93e3b7 WHIRLPOOL ec369b81796009de210cd0a030a8abd2f2400e76a2b1f5059f373cecdbedeb08e4e9132aa33f75c6c66b1b164c9952fbdbb7135fadbec4d61f9686871be164dc diff --git a/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-QWidget-cast-dynamic.patch b/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-QWidget-cast-dynamic.patch new file mode 100644 index 000000000000..ae222027b892 --- /dev/null +++ b/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-QWidget-cast-dynamic.patch @@ -0,0 +1,28 @@ +Revert commit: + +commit b22b86f6940d2605e78398eca4ae05c3ea44a92c +Author: Ritt Konstantin +Date: Thu Jun 10 07:38:14 2010 +0400 + + fix build with -fno-rtti + + m_renderDrawWidget object inherits QWidget and can be safely static_cast-ed + +as it yields in: + +error: invalid static_cast from type ‘Phonon::QT7::IVideoRenderDrawWidget*’ to type ‘QWidget*’ + + +diff --git a/qt7/videowidget.mm b/qt7/videowidget.mm +index 736dcdf..e471140 100644 +--- a/qt7/videowidget.mm ++++ b/qt7/videowidget.mm +@@ -578,7 +578,7 @@ public: + PhononAutoReleasePool pool; + updateDrawFrameRect(); + if (m_renderDrawWidget) +- static_cast(m_renderDrawWidget)->resize(size()); ++ dynamic_cast(m_renderDrawWidget)->resize(size()); + break; } + case QEvent::Paint:{ + PhononAutoReleasePool pool; diff --git a/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch b/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch new file mode 100644 index 000000000000..6d1a5626a207 --- /dev/null +++ b/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch @@ -0,0 +1,29 @@ +disable AUGraphAddNode, it needs an AudioComponent iso Component +need a definition for gnuOrtho2D + +--- phonon-qt7/qt7/audionode.mm ++++ phonon-qt7/qt7/audionode.mm +@@ -69,9 +69,9 @@ + + OSStatus err = noErr; + #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 +- if (QSysInfo::MacintoshVersion >= QSysInfo::MV_10_5) +- err = AUGraphAddNode(m_audioGraph->audioGraphRef(), &description, &m_auNode); +- else ++// if (QSysInfo::MacintoshVersion >= QSysInfo::MV_10_5) ++// err = AUGraphAddNode(m_audioGraph->audioGraphRef(), &description, &m_auNode); ++// else + #endif + err = AUGraphNewNode(m_audioGraph->audioGraphRef(), &description, 0, 0, &m_auNode); + +--- phonon-qt7/qt7/videowidget.mm ++++ phonon-qt7/qt7/videowidget.mm +@@ -35,6 +35,8 @@ + #import + #import + ++#import ++ + ///////////////////////////////////////////////////////////////////////////////////////// + + #ifdef QT_MAC_USE_COCOA // Rendering to a QTMovieView can only be done in Cocoa diff --git a/media-libs/phonon-qt7/files/phonon-qt7-noshow.patch b/media-libs/phonon-qt7/files/phonon-qt7-noshow.patch new file mode 100644 index 000000000000..e05c2c4d9957 --- /dev/null +++ b/media-libs/phonon-qt7/files/phonon-qt7-noshow.patch @@ -0,0 +1,17 @@ +diff -ruN phonon-qt7.orig/CMakeLists.txt phonon-qt7/CMakeLists.txt +--- phonon-qt7.orig/CMakeLists.txt 2011-04-24 20:22:59.000000000 +0200 ++++ phonon-qt7/CMakeLists.txt 2011-04-24 20:42:15.000000000 +0200 +@@ -2,6 +2,8 @@ + + cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR) + ++set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") ++ + find_package(Phonon REQUIRED) + find_package(OpenGL REQUIRED) + +@@ -17,4 +19,3 @@ + add_subdirectory(qt7) + endif (Q_WS_MAC) + +-macro_display_feature_log() diff --git a/media-libs/phonon-qt7/metadata.xml b/media-libs/phonon-qt7/metadata.xml new file mode 100644 index 000000000000..465cd64145b1 --- /dev/null +++ b/media-libs/phonon-qt7/metadata.xml @@ -0,0 +1,12 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + prefix@gentoo.org + Gentoo Prefix + + diff --git a/media-libs/phonon-qt7/phonon-qt7-0_pre20110424.ebuild b/media-libs/phonon-qt7/phonon-qt7-0_pre20110424.ebuild new file mode 100644 index 000000000000..e844131a519a --- /dev/null +++ b/media-libs/phonon-qt7/phonon-qt7-0_pre20110424.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Phonon QuickTime7 backend" +HOMEPAGE="https://projects.kde.org/projects/kdesupport/phonon/phonon-quicktime" +SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +KEYWORDS="~ppc-macos ~x64-macos" +SLOT="0" +IUSE="debug" + +RDEPEND=">=media-libs/phonon-4.5" +DEPEND="${RDEPEND} + >=dev-util/automoc-0.9.87 + media-libs/opengl-apple + sys-devel/gcc-apple[objc] + virtual/pkgconfig +" + +# needs OpenGL, how do I specify this properly? +# I just depended on opengl-apple, hope this is what you meant -- grobian + +S="${WORKDIR}/${PN}" + +PATCHES=( + "${FILESDIR}/${PN}-noshow.patch" + "${FILESDIR}"/${P}-QWidget-cast-dynamic.patch + "${FILESDIR}"/${P}-darwin11.patch +) + +src_prepare() { + cmake-utils_src_prepare # for PATCHES + sed -i -e "/^include_directories/s:): ${EPREFIX}/usr/include):" \ + CMakeLists.txt || die +} -- cgit v1.2.3