From 8e117a171eaff4ef363bce8d656366415662e234 Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Sat, 13 Oct 2018 07:27:08 +0200 Subject: 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 --- .../files/subtitlecomposer-0.6.6-cmake.patch | 12 ++++++++++++ media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 media-video/subtitlecomposer/files/subtitlecomposer-0.6.6-cmake.patch (limited to 'media-video/subtitlecomposer') 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 000000000000..4c97e15a9e13 --- /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 57cb8983dbf1..55b113a40f88 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 -- cgit v1.2.3-65-gdbad