Gentoo Archives: gentoo-commits

From: Maciej Mrozowski <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/subtitlecomposer/, media-video/subtitlecomposer/files/
Date: Thu, 01 Nov 2018 09:45:19
Message-Id: 1541065409.8e117a171eaff4ef363bce8d656366415662e234.reavertm@gentoo
1 commit: 8e117a171eaff4ef363bce8d656366415662e234
2 Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 13 05:27:08 2018 +0000
4 Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 1 09:43:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e117a17
7
8 media-video/subtitlecomposer: patch 0.6.6 to work with CMake 3.3
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.11
11 Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>
12
13 .../files/subtitlecomposer-0.6.6-cmake.patch | 12 ++++++++++++
14 media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild | 6 +++++-
15 2 files changed, 17 insertions(+), 1 deletion(-)
16
17 diff --git a/media-video/subtitlecomposer/files/subtitlecomposer-0.6.6-cmake.patch b/media-video/subtitlecomposer/files/subtitlecomposer-0.6.6-cmake.patch
18 new file mode 100644
19 index 00000000000..4c97e15a9e1
20 --- /dev/null
21 +++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.6.6-cmake.patch
22 @@ -0,0 +1,12 @@
23 +diff -ruN subtitlecomposer-0.6.6/CMakeLists.txt subtitlecomposer-my/CMakeLists.txt
24 +--- subtitlecomposer-0.6.6/CMakeLists.txt 2018-02-11 03:08:46.000000000 +0100
25 ++++ subtitlecomposer-my/CMakeLists.txt 2018-10-13 07:19:22.163074971 +0200
26 +@@ -12,7 +12,7 @@
27 +
28 + cmake_policy(SET CMP0043 NEW)
29 + cmake_policy(SET CMP0063 NEW)
30 +-cmake_policy(SET CMP0071 NEW)
31 ++#cmake_policy(SET CMP0071 NEW) # since cmake-3.10
32 +
33 + include(KDEInstallDirs)
34 + include(KDECMakeSettings)
35
36 diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild
37 index 57cb8983dbf..55b113a40f8 100644
38 --- a/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild
39 +++ b/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild
40 @@ -1,4 +1,4 @@
41 -# Copyright 1999-2018 Gentoo Foundation
42 +# Copyright 1999-2018 Gentoo Authors
43 # Distributed under the terms of the GNU General Public License v2
44
45 EAPI=6
46 @@ -54,6 +54,10 @@ DEPEND="${COMMON_DEPEND}
47 virtual/pkgconfig
48 "
49
50 +PATCHES=(
51 + "${FILESDIR}/${P}-cmake.patch"
52 +)
53 +
54 src_configure() {
55 local mycmakeargs=(
56 -DCMAKE_DISABLE_FIND_PACKAGE_PocketSphinx=ON # bug 616706