From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C8FCC59CA9 for ; Sat, 26 Mar 2016 18:14:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0278BE0864; Sat, 26 Mar 2016 18:14:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79384E0864 for ; Sat, 26 Mar 2016 18:14:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7C53340C08 for ; Sat, 26 Mar 2016 18:14:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BF4E846 for ; Sat, 26 Mar 2016 18:14:39 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1459016060.94c860b8352c0579bc7fef7c0b9356551125b1c0.johu@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: media-video/subtitlecomposer/ X-VCS-Repository: proj/kde X-VCS-Files: media-video/subtitlecomposer/metadata.xml media-video/subtitlecomposer/subtitlecomposer-9999.ebuild X-VCS-Directories: media-video/subtitlecomposer/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 94c860b8352c0579bc7fef7c0b9356551125b1c0 X-VCS-Branch: master Date: Sat, 26 Mar 2016 18:14:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c89229dd-2b76-4ffd-ac5b-829cf4ff00da X-Archives-Hash: 19324b50e3467e47d424bc680fddd161 commit: 94c860b8352c0579bc7fef7c0b9356551125b1c0 Author: Johannes Huber gentoo org> AuthorDate: Sat Mar 26 18:14:20 2016 +0000 Commit: Johannes Huber gentoo org> CommitDate: Sat Mar 26 18:14:20 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=94c860b8 media-video/subtitlecomposer: KF5, EAPI 6 Package-Manager: portage-2.2.28 media-video/subtitlecomposer/metadata.xml | 3 ++ .../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 32f5b1c..bd0879e 100644 --- a/media-video/subtitlecomposer/metadata.xml +++ b/media-video/subtitlecomposer/metadata.xml @@ -9,6 +9,9 @@ kde@gentoo.org Gentoo KDE Project + + Build mpv backend support + maxrd2/subtitlecomposer diff --git a/media-video/subtitlecomposer/subtitlecomposer-9999.ebuild b/media-video/subtitlecomposer/subtitlecomposer-9999.ebuild index a2c2460..47c2f41 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"