summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2018-10-13 07:27:08 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2018-11-01 10:43:29 +0100
commit8e117a171eaff4ef363bce8d656366415662e234 (patch)
tree0aaeb3bef13c074b6223265186c5fe4256f06943 /media-video/subtitlecomposer
parentdev-cpp/libjson-rpc-cpp: Fix test dep to require dev-cpp/catch-1 (diff)
downloadgentoo-8e117a171eaff4ef363bce8d656366415662e234.tar.gz
gentoo-8e117a171eaff4ef363bce8d656366415662e234.tar.bz2
gentoo-8e117a171eaff4ef363bce8d656366415662e234.zip
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@gentoo.org>
Diffstat (limited to 'media-video/subtitlecomposer')
-rw-r--r--media-video/subtitlecomposer/files/subtitlecomposer-0.6.6-cmake.patch12
-rw-r--r--media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild6
2 files changed, 17 insertions, 1 deletions
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