summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-09-16 01:51:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-09-16 02:25:10 +0200
commitf5c2267881780e4b4785695e87616695e0063d1c (patch)
treea8ae7800a174d8140629dfa915db9a9ad97e1a37 /media-video
parentmedia-libs/waffle: Bump 1.5.2 to EAPI-6 (diff)
downloadgentoo-f5c2267881780e4b4785695e87616695e0063d1c.tar.gz
gentoo-f5c2267881780e4b4785695e87616695e0063d1c.tar.bz2
gentoo-f5c2267881780e4b4785695e87616695e0063d1c.zip
media-video/subtitlecomposer: 0.6.6 version bump
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'media-video')
-rw-r--r--media-video/subtitlecomposer/Manifest1
-rw-r--r--media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/media-video/subtitlecomposer/Manifest b/media-video/subtitlecomposer/Manifest
index b0c310a58d92..e0900c73d7f1 100644
--- a/media-video/subtitlecomposer/Manifest
+++ b/media-video/subtitlecomposer/Manifest
@@ -1 +1,2 @@
DIST subtitlecomposer-0.6.4.tar.gz 1638176 BLAKE2B b71de34df7f9e98d94a541d029bf5a06aafd6c67ded1b87647c176f0579b3f6e6fe79c797e9f438d850f9aad93cc461704ea43590b31ed855673249f6227f4d0 SHA512 585471b7fbcbe21da31fc5f67b7803bac5820ba1dd13135ab17d86121b105926712fd2c726541153e0223ca9a72a717f80229f3a32f526319357ae0ef47af18e
+DIST subtitlecomposer-0.6.6.tar.gz 1637272 BLAKE2B 0a3a7cc7f0301b5ea8cb7affd4600349c8b65bf8a856480e706a3549d8deb7ddc687faad11258d7753e6484783b50fff99ddbd1fc9f68a35fbd0b4346a7a2748 SHA512 0f1513d3ff0abcbd0979b370e1ec4cd0b92f7e65adef8c922ddbf37e2dbc73fb4cd821356df6dc1ba3d8832ab8cba25573f68297f4f6be05b5c4d824a663872a
diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild
new file mode 100644
index 000000000000..4ab2ad9041d1
--- /dev/null
+++ b/media-video/subtitlecomposer/subtitlecomposer-0.6.6.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+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="gstreamer libav mpv unicode xine"
+
+COMMON_DEPEND="
+ $(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)
+ media-libs/phonon[qt5(+)]
+ gstreamer? (
+ dev-libs/glib:2
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ )
+ libav? ( media-video/libav:= )
+ !libav? ( media-video/ffmpeg:0= )
+ mpv? ( media-video/mpv )
+ unicode? ( dev-libs/icu:= )
+ xine? (
+ media-libs/xine-lib
+ x11-libs/libX11
+ x11-libs/libxcb
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ !media-video/subtitlecomposer:4
+"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_PocketSphinx=ON # bug 616706
+ $(cmake-utils_use_find_package gstreamer GStreamer)
+ $(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 X11)
+ )
+
+ kde5_src_configure
+}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ elog "Some example scripts provided by ${PV} require dev-lang/ruby"
+ elog "or dev-lang/python to be installed."
+}