summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2016-07-11 01:57:55 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2016-07-11 01:58:17 +0200
commit1ebefcab40e2e4375f455633d134db8efee54165 (patch)
tree070cfbc15a444aa3761baedf7c778b26a932bd65 /media-video/subtitlecomposer
parentdev-php/xcache: new revision for v3.2.0. (diff)
downloadgentoo-1ebefcab40e2e4375f455633d134db8efee54165.tar.gz
gentoo-1ebefcab40e2e4375f455633d134db8efee54165.tar.bz2
gentoo-1ebefcab40e2e4375f455633d134db8efee54165.zip
media-video/subtitlecomposer: Version bump 0.6.4, KF5 compatible release.
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-video/subtitlecomposer')
-rw-r--r--media-video/subtitlecomposer/Manifest1
-rw-r--r--media-video/subtitlecomposer/metadata.xml3
-rw-r--r--media-video/subtitlecomposer/subtitlecomposer-0.6.4.ebuild70
3 files changed, 74 insertions, 0 deletions
diff --git a/media-video/subtitlecomposer/Manifest b/media-video/subtitlecomposer/Manifest
index abb90606fdbf..fc01f4f3d3da 100644
--- a/media-video/subtitlecomposer/Manifest
+++ b/media-video/subtitlecomposer/Manifest
@@ -1 +1,2 @@
DIST subtitlecomposer-0.5.6.tar.gz 1489710 SHA256 f55f3330e72a9a9f19f00674651d7d4c6cd7e19993a14d1deedfa6d34737cf0f SHA512 f06f25d746870886669a66875d4d772e10d18136b9107c2f7d23f177ff3979785b7f73a7e723139fe1757298ef7b0a791a95f40fe585ab3239c82d71d2ab4db0 WHIRLPOOL 0aa86a1a58d7a4f2551774725655223ae2847337ea877db11aff01da55af3be31e941d09fa68468924b47db359b584ee0d9c3d1939e350b7b023a264f9a27010
+DIST subtitlecomposer-0.6.4.tar.gz 1638176 SHA256 030f3a33dccdc95b890c06de6f2566c4e6ec85264c8bc47430c72c137ce74f91 SHA512 585471b7fbcbe21da31fc5f67b7803bac5820ba1dd13135ab17d86121b105926712fd2c726541153e0223ca9a72a717f80229f3a32f526319357ae0ef47af18e WHIRLPOOL dd8d230e010fce0099fff13b421e2df27f3f74799b542dd9f61c0b9cb08ae6973e3aa3f8d8d49a278a85e0e022524ec3bdd7473136a77b5169d0c0e2ab1305cf
diff --git a/media-video/subtitlecomposer/metadata.xml b/media-video/subtitlecomposer/metadata.xml
index 32f5b1c2c73a..bd0879e135d9 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-0.6.4.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.6.4.ebuild
new file mode 100644
index 000000000000..4873d5e90f3b
--- /dev/null
+++ b/media-video/subtitlecomposer/subtitlecomposer-0.6.4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CMAKE_MIN_VERSION="3.3"
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="Text-based subtitles editor"
+HOMEPAGE="https://github.com/maxrd2/subtitlecomposer"
+SRC_URI="https://github.com/maxrd2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="mpv unicode xine"
+
+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
+ x11-libs/libxcb
+ )
+"
+RDEPEND="${CDPEEND}
+ !media-video/subtitlecomposer:4
+"
+DEPEND="${CDEPEND}
+ sys-devel/gettext
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(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)
+ )
+
+ kde5_src_configure
+}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ echo
+ elog "Some example scripts provided by ${PV} require dev-lang/ruby"
+ elog "or dev-lang/python to be installed."
+ echo
+}