commit:     8e117a171eaff4ef363bce8d656366415662e234
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 13 05:27:08 2018 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Thu Nov  1 09:43:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e117a17

media-video/subtitlecomposer: patch 0.6.6 to work with CMake 3.3

Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>

 .../files/subtitlecomposer-0.6.6-cmake.patch                 | 12 ++++++++++++
 media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild   |  6 +++++-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git 
a/media-video/subtitlecomposer/files/subtitlecomposer-0.6.6-cmake.patch 
b/media-video/subtitlecomposer/files/subtitlecomposer-0.6.6-cmake.patch
new file mode 100644
index 00000000000..4c97e15a9e1
--- /dev/null
+++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.6.6-cmake.patch
@@ -0,0 +1,12 @@
+diff -ruN subtitlecomposer-0.6.6/CMakeLists.txt 
subtitlecomposer-my/CMakeLists.txt
+--- subtitlecomposer-0.6.6/CMakeLists.txt      2018-02-11 03:08:46.000000000 
+0100
++++ subtitlecomposer-my/CMakeLists.txt 2018-10-13 07:19:22.163074971 +0200
+@@ -12,7 +12,7 @@
+ 
+ cmake_policy(SET CMP0043 NEW)
+ cmake_policy(SET CMP0063 NEW)
+-cmake_policy(SET CMP0071 NEW)
++#cmake_policy(SET CMP0071 NEW) # since cmake-3.10
+ 
+ include(KDEInstallDirs)
+ include(KDECMakeSettings)

diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild 
b/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild
index 57cb8983dbf..55b113a40f8 100644
--- a/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild
+++ b/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -54,6 +54,10 @@ DEPEND="${COMMON_DEPEND}
        virtual/pkgconfig
 "
 
+PATCHES=(
+       "${FILESDIR}/${P}-cmake.patch"
+)
+
 src_configure() {
        local mycmakeargs=(
                -DCMAKE_DISABLE_FIND_PACKAGE_PocketSphinx=ON # bug 616706

Reply via email to