diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
commit | 51af5f0eb4cddbe6aa7953717873691d77aae9ff (patch) | |
tree | 1541525274162b033ebbc3ed38abaf335fbbd49a /media-video/subtitlecomposer | |
parent | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (diff) |
gentoo resync : 11.07.2019
Diffstat (limited to 'media-video/subtitlecomposer')
3 files changed, 89 insertions, 0 deletions
diff --git a/media-video/subtitlecomposer/Manifest b/media-video/subtitlecomposer/Manifest index 6dd8eb362712..ea8a7407f7a1 100644 --- a/media-video/subtitlecomposer/Manifest +++ b/media-video/subtitlecomposer/Manifest @@ -1,4 +1,7 @@ AUX subtitlecomposer-0.6.6-cmake.patch 454 BLAKE2B 61bce9ca11c64c243aefdee08994d18e0e11a9dc4f985198ab83131b328da20cfe4d92a439395cda3a4d0b3eae6fc9f05531adf41a2955bdf124fc160421c653 SHA512 cbcfba8c34430640eb6351012e1d0358041b5dbd7b1565ab170b5937d51300c85be4331c52181e1176d60a97a0d995685b71559ead096a188fa3879c487fa9df +AUX subtitlecomposer-0.7.0-tests-optional.patch 242 BLAKE2B 6a3d88a537ad39a151b8a6ac071376eda0d1e5d504e92052b9f55e4693633b47fc2b6986d560bd086adf76630ad24bc3671b88f3bc97f9cb429a9e14ad9376bc SHA512 65f5c8db0c5e99b51600db772c918acb7154c7999bbbbbed18ed859f4defcb70d4f907c02a08d9a7529f3aaf4867d6154b9987fb3528cb100f4daa4466e33e74 DIST subtitlecomposer-0.6.6.tar.gz 1637272 BLAKE2B 0a3a7cc7f0301b5ea8cb7affd4600349c8b65bf8a856480e706a3549d8deb7ddc687faad11258d7753e6484783b50fff99ddbd1fc9f68a35fbd0b4346a7a2748 SHA512 0f1513d3ff0abcbd0979b370e1ec4cd0b92f7e65adef8c922ddbf37e2dbc73fb4cd821356df6dc1ba3d8832ab8cba25573f68297f4f6be05b5c4d824a663872a +DIST subtitlecomposer-0.7.0.tar.gz 1649840 BLAKE2B a60d3917cc9bd8025d75782e850ba2507ab140ffaeff84e995d58994e848ebe4e103a87824a20dd689132235f67102e7fec39bf0f99d827c78883165e01e9fb7 SHA512 b1c71496a2609686946af2377862b86d70e357565646a3de2f158481bc9e397f649d0907499ecd21a193ec07eaf2135b7f5831697e6b20ba6721a743227fbe04 EBUILD subtitlecomposer-0.6.6-r1.ebuild 1887 BLAKE2B 9831047dcacaf709f98c3c6b675985393c2576cef8c0611aa8026b7dd0e82026e87e36434f00b3b2bccf2640e91719745ab8de22d881422aabf51d85d1bc322e SHA512 2195648b03d14a6981f04a63c866de1f062bdcd64d0c1409c6dfb461e8f23393455b399bc034bec14ebb21f757506366194d82bf13246dd3a5ba1829818ba764 +EBUILD subtitlecomposer-0.7.0.ebuild 1873 BLAKE2B d7909e43abc21d4bb3f241b33d486e0fa5f864a9350c66bf5ec1d1f9e00e7e1c1ae86a8c32ffbf9cb0845a4a037d29703bb44226b3f2f29f6d753f7d389363b8 SHA512 b50a4e390eab135c8ec2ea1203d5332a0f3975ae20d2016fc159a337932c50ac475c29f71dda5dc492d806e8b8a0145e3fb0a601ec972d2450706b56efc7ffd2 MISC metadata.xml 524 BLAKE2B 662474bada941eadcab48ae4432e72af4f786ff61d2bc1db20115e2f70ca4953e01c38fd550cce72908fe5c36077d9e1b240f53e24142c7556802f3a7783d1bd SHA512 c2ef5d88d2b12534ba76ba4949c4ceee405f88b546f3b749704d8f7529d1b19b3ce8b20b18b496203259dcbde74ba7bf948ae9e4fa4601984554f8f0664a6efe diff --git a/media-video/subtitlecomposer/files/subtitlecomposer-0.7.0-tests-optional.patch b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.0-tests-optional.patch new file mode 100644 index 000000000000..b2db3d9975e6 --- /dev/null +++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.0-tests-optional.patch @@ -0,0 +1,9 @@ +--- a/src/core/CMakeLists.txt 2019-07-04 21:15:26.000891815 +0200 ++++ b/src/core/CMakeLists.txt 2019-07-04 21:15:26.005891858 +0200 +@@ -13,4 +13,6 @@ + CACHE INTERNAL EXPORTEDVARIABLE + ) + ++if(BUILD_TESTING) + add_subdirectory(tests) ++endif() diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild new file mode 100644 index 000000000000..210696b121d1 --- /dev/null +++ b/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" +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[libmpv] ) + unicode? ( dev-libs/icu:= ) + xine? ( + media-libs/xine-lib + x11-libs/libX11 + x11-libs/libxcb + ) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-tests-optional.patch" ) + +S="${WORKDIR}/SubtitleComposer-${PV}" + +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 ${PN} require dev-lang/ruby" + elog "or dev-lang/python to be installed." +} |