1 |
commit: b87dc24348ad3823ae7f793abe8ecb3ad4ebf02c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 12 17:19:57 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 12 17:45:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b87dc243 |
7 |
|
8 |
media-video/subtitlecomposer: Port to ecm.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../subtitlecomposer/subtitlecomposer-0.7.0.ebuild | 41 ++++++++++++---------- |
14 |
1 file changed, 22 insertions(+), 19 deletions(-) |
15 |
|
16 |
diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild |
17 |
index 4466c1784b9..f974a2076cb 100644 |
18 |
--- a/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild |
19 |
+++ b/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild |
20 |
@@ -1,17 +1,20 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
-KDE_TEST="forceoptional" |
28 |
+ECM_TEST="forceoptional" |
29 |
+KFMIN=5.60.0 |
30 |
+QTMIN=5.12.3 |
31 |
VIRTUALX_REQUIRED="test" |
32 |
-inherit kde5 |
33 |
+inherit ecm |
34 |
|
35 |
DESCRIPTION="Text-based subtitles editor" |
36 |
HOMEPAGE="https://github.com/maxrd2/subtitlecomposer" |
37 |
SRC_URI="https://github.com/maxrd2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
38 |
|
39 |
LICENSE="GPL-2" |
40 |
+SLOT="5" |
41 |
KEYWORDS="amd64 x86" |
42 |
IUSE="gstreamer libav mpv unicode xine" |
43 |
|
44 |
@@ -20,20 +23,20 @@ BDEPEND=" |
45 |
virtual/pkgconfig |
46 |
" |
47 |
DEPEND=" |
48 |
- $(add_frameworks_dep kcodecs) |
49 |
- $(add_frameworks_dep kcompletion) |
50 |
- $(add_frameworks_dep kconfig) |
51 |
- $(add_frameworks_dep kconfigwidgets) |
52 |
- $(add_frameworks_dep kcoreaddons) |
53 |
- $(add_frameworks_dep ki18n) |
54 |
- $(add_frameworks_dep kio) |
55 |
- $(add_frameworks_dep kross) |
56 |
- $(add_frameworks_dep ktextwidgets) |
57 |
- $(add_frameworks_dep kwidgetsaddons) |
58 |
- $(add_frameworks_dep kxmlgui) |
59 |
- $(add_frameworks_dep sonnet) |
60 |
- $(add_qt_dep qtgui) |
61 |
- $(add_qt_dep qtwidgets) |
62 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
63 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
64 |
+ >=kde-frameworks/kcodecs-${KFMIN}:5 |
65 |
+ >=kde-frameworks/kcompletion-${KFMIN}:5 |
66 |
+ >=kde-frameworks/kconfig-${KFMIN}:5 |
67 |
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
68 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
69 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
70 |
+ >=kde-frameworks/kio-${KFMIN}:5 |
71 |
+ >=kde-frameworks/kross-${KFMIN}:5 |
72 |
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5 |
73 |
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
74 |
+ >=kde-frameworks/kxmlgui-${KFMIN}:5 |
75 |
+ >=kde-frameworks/sonnet-${KFMIN}:5 |
76 |
media-libs/phonon[qt5(+)] |
77 |
gstreamer? ( |
78 |
dev-libs/glib:2 |
79 |
@@ -66,11 +69,11 @@ src_configure() { |
80 |
$(cmake_use_find_package xine X11) |
81 |
) |
82 |
|
83 |
- kde5_src_configure |
84 |
+ ecm_src_configure |
85 |
} |
86 |
|
87 |
pkg_postinst() { |
88 |
- kde5_pkg_postinst |
89 |
+ ecm_pkg_postinst |
90 |
|
91 |
elog "Some example scripts provided by ${PN} require dev-lang/ruby" |
92 |
elog "or dev-lang/python to be installed." |