From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37290158086 for ; Wed, 6 Oct 2021 18:50:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AAA5E09DA; Wed, 6 Oct 2021 18:50:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58679E09DA for ; Wed, 6 Oct 2021 18:50:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4503E343323 for ; Wed, 6 Oct 2021 18:50:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7A1DDC for ; Wed, 6 Oct 2021 18:50:47 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1633546231.1d7b4505bb86fecd77252f1da108825ba02a90af.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/subtitlecomposer/files/, media-video/subtitlecomposer/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/subtitlecomposer/Manifest media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-tests-optional.patch media-video/subtitlecomposer/subtitlecomposer-0.7.1.ebuild X-VCS-Directories: media-video/subtitlecomposer/files/ media-video/subtitlecomposer/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1d7b4505bb86fecd77252f1da108825ba02a90af X-VCS-Branch: master Date: Wed, 6 Oct 2021 18:50:47 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33fe9358-a498-4d08-9dea-079e76485c43 X-Archives-Hash: cfbd30a88a28af82598f4620419173b2 commit: 1d7b4505bb86fecd77252f1da108825ba02a90af Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Oct 6 17:33:31 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Oct 6 18:50:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d7b4505 media-video/subtitlecomposer: 0.7.1 version bump See also: https://subtitlecomposer.kde.org/2021/10/05/subtitle-composer-0.7.1-released.html Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> media-video/subtitlecomposer/Manifest | 1 + .../subtitlecomposer-0.7.1-tests-optional.patch | 27 ++++++++++ .../subtitlecomposer/subtitlecomposer-0.7.1.ebuild | 62 ++++++++++++++++++++++ 3 files changed, 90 insertions(+) diff --git a/media-video/subtitlecomposer/Manifest b/media-video/subtitlecomposer/Manifest index 26cef857979..1cfc4ac2ee5 100644 --- a/media-video/subtitlecomposer/Manifest +++ b/media-video/subtitlecomposer/Manifest @@ -1 +1,2 @@ DIST subtitlecomposer-0.7.0.tar.gz 1649840 BLAKE2B a60d3917cc9bd8025d75782e850ba2507ab140ffaeff84e995d58994e848ebe4e103a87824a20dd689132235f67102e7fec39bf0f99d827c78883165e01e9fb7 SHA512 b1c71496a2609686946af2377862b86d70e357565646a3de2f158481bc9e397f649d0907499ecd21a193ec07eaf2135b7f5831697e6b20ba6721a743227fbe04 +DIST subtitlecomposer-0.7.1.tar.xz 636808 BLAKE2B 4c71277c9646a64d59a0cd6923084b39292916e9edf154c026a051253fe8aabab1bdfb9e10c6fab5eb0d754ba428567c2259c637915e93d8d391b7f247c6dc79 SHA512 b486a1be8b414409af4ec2d2ccc86a7e9f34040f114b0efbbf817b5157d85b5f9a37d80272b468a389128f10c12316bf028dd86e2a7434a2b001bfd185208b92 diff --git a/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-tests-optional.patch b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-tests-optional.patch new file mode 100644 index 00000000000..75d4f71a2ff --- /dev/null +++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-tests-optional.patch @@ -0,0 +1,27 @@ +From 6e25dd4670f0d14bdc8aff050bdacb050e0327ff Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Wed, 6 Oct 2021 20:30:03 +0200 +Subject: [PATCH] Make tests optional + +Signed-off-by: Andreas Sturmlechner +--- + src/CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 1cb7098..97d60a3 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -124,7 +124,9 @@ else() + message(STATUS "ICU Library not found. KEncodingProber fallback will be used for charset detection.") + endif() + ++if(BUILD_TESTING) + add_subdirectory(tests) ++endif() + add_subdirectory(scripting) + + add_executable(subtitlecomposer WIN32 main.cpp ${subtitlecomposer_RES_SRC}) +-- +2.33.0 + diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.7.1.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.7.1.ebuild new file mode 100644 index 00000000000..6f8b7b63356 --- /dev/null +++ b/media-video/subtitlecomposer/subtitlecomposer-0.7.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KFMIN=5.82.0 +QTMIN=5.15.2 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="Text-based subtitles editor" +HOMEPAGE="https://subtitlecomposer.kde.org/" +SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="5" +KEYWORDS="~amd64 ~x86" +IUSE="unicode" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kcodecs-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kross-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/sonnet-${KFMIN}:5 + media-libs/openal + media-video/ffmpeg:0= + unicode? ( dev-libs/icu:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/${P}-tests-optional.patch" ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_PocketSphinx=ON # bug 616706 + $(cmake_use_find_package unicode ICU) + ) + + ecm_src_configure +} + +pkg_postinst() { + ecm_pkg_postinst + + elog "Some example scripts provided by ${PN} require dev-lang/ruby" + elog "or dev-lang/python to be installed." +}