diff options
author | Johannes Huber <johu@gentoo.org> | 2016-03-26 19:14:20 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-03-26 19:14:20 +0100 |
commit | 94c860b8352c0579bc7fef7c0b9356551125b1c0 (patch) | |
tree | 303acf8cdce5f6a34e586235026ce5a928e7ba79 /media-video/subtitlecomposer | |
parent | kde5.eclass: Improve translation handling (diff) | |
download | kde-94c860b8352c0579bc7fef7c0b9356551125b1c0.tar.gz kde-94c860b8352c0579bc7fef7c0b9356551125b1c0.tar.bz2 kde-94c860b8352c0579bc7fef7c0b9356551125b1c0.zip |
media-video/subtitlecomposer: KF5, EAPI 6
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-video/subtitlecomposer')
-rw-r--r-- | media-video/subtitlecomposer/metadata.xml | 3 | ||||
-rw-r--r-- | media-video/subtitlecomposer/subtitlecomposer-9999.ebuild | 57 |
2 files changed, 44 insertions, 16 deletions
diff --git a/media-video/subtitlecomposer/metadata.xml b/media-video/subtitlecomposer/metadata.xml index 32f5b1c2c7..bd0879e135 100644 --- a/media-video/subtitlecomposer/metadata.xml +++ b/media-video/subtitlecomposer/metadata.xml @@ -9,6 +9,9 @@ <email>kde@gentoo.org</email> <name>Gentoo KDE Project</name> </maintainer> + <use> + <flag name="mpv">Build mpv backend support</flag> + </use> <upstream> <remote-id type="github">maxrd2/subtitlecomposer</remote-id> </upstream> diff --git a/media-video/subtitlecomposer/subtitlecomposer-9999.ebuild b/media-video/subtitlecomposer/subtitlecomposer-9999.ebuild index a2c2460a6f..47c2f41924 100644 --- a/media-video/subtitlecomposer/subtitlecomposer-9999.ebuild +++ b/media-video/subtitlecomposer/subtitlecomposer-9999.ebuild @@ -2,11 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -KDE_LINGUAS="bg cs de el es fr hu pl pt_BR ru sr sr@latin uk" -KDE_LINGUAS_LIVE_OVERRIDE="true" -inherit kde4-base +CMAKE_MIN_VERSION="3.3" +KDE_PUNT_BOGUS_DEPS=true +KDE_TEST=true +inherit kde5 DESCRIPTION="Text-based subtitles editor" HOMEPAGE="https://github.com/maxrd2/subtitlecomposer" @@ -14,30 +15,54 @@ EGIT_REPO_URI="git://github.com/maxrd2/${PN}" LICENSE="GPL-2" KEYWORDS="" -SLOT="4" -IUSE="debug gstreamer unicode xine" +IUSE="mpv unicode xine" -RDEPEND=" - media-libs/phonon[qt4] - gstreamer? ( media-libs/gstreamer:0.10 ) +CDEPEND=" + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kross) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep sonnet) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + dev-libs/glib:2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-libs/phonon[qt5] + mpv? ( media-video/mpv ) unicode? ( dev-libs/icu:= ) - xine? ( media-libs/xine-lib ) + xine? ( + media-libs/xine-lib + x11-libs/libxcb + ) +" +RDEPEND="${CDPEEND} + !media-video/subtitlecomposer:5 " -DEPEND="${RDEPEND} +DEPEND="${CDEPEND} sys-devel/gettext " src_configure() { local mycmakeargs=( - $(cmake-utils_use_with gstreamer GStreamer) - $(cmake-utils_use_with unicode ICU) - $(cmake-utils_use_with xine) + $(cmake-utils_use_find_package mpv MPV) + $(cmake-utils_use_find_package unicode ICU) + $(cmake-utils_use_find_package xine Xine) + $(cmake-utils_use_find_package xine XCB) ) - kde4-base_src_configure + + kde5_src_configure } pkg_postinst() { - kde4-base_pkg_postinst + kde5_pkg_postinst echo elog "Some example scripts provided by ${PV} require dev-lang/ruby" |