commit:     86971fddb835dedf661ee0e27f6ba8b13b000813
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  3 22:25:45 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 22:25:45 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=86971fdd

media-libs/phonon-qt7: Drop unbuildable package

media-libs/opengl-apple was last-rited in 2017

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...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                 |  5 ---
 .../phonon-qt7/phonon-qt7-0_pre20110424.ebuild     | 40 ----------------------
 5 files changed, 119 deletions(-)

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
deleted file mode 100644
index ae222027..00000000
--- 
a/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-QWidget-cast-dynamic.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Revert commit:
-
-commit b22b86f6940d2605e78398eca4ae05c3ea44a92c
-Author: Ritt Konstantin <[email protected]>
-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<QWidget 
*>(m_renderDrawWidget)->resize(size());
-+                    dynamic_cast<QWidget 
*>(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
deleted file mode 100644
index 6d1a5626..00000000
--- a/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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 <AppKit/NSImage.h>
- #import <QTKit/QTMovieView.h>
- 
-+#import <OpenGL/glu.h>
-+
- 
/////////////////////////////////////////////////////////////////////////////////////////
- 
- #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
deleted file mode 100644
index e05c2c4d..00000000
--- a/media-libs/phonon-qt7/files/phonon-qt7-noshow.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-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
deleted file mode 100644
index 7a38bb90..00000000
--- a/media-libs/phonon-qt7/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-</pkgmetadata>

diff --git a/media-libs/phonon-qt7/phonon-qt7-0_pre20110424.ebuild 
b/media-libs/phonon-qt7/phonon-qt7-0_pre20110424.ebuild
deleted file mode 100644
index e844131a..00000000
--- a/media-libs/phonon-qt7/phonon-qt7-0_pre20110424.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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
-}

Reply via email to