From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 831111584F2 for ; Wed, 12 Mar 2025 10:15:11 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6F18234315C for ; Wed, 12 Mar 2025 10:15:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A7C66110471; Wed, 12 Mar 2025 10:14:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 96431110471 for ; Wed, 12 Mar 2025 10:14:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D799343160 for ; Wed, 12 Mar 2025 10:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65F4928ED for ; Wed, 12 Mar 2025 10:14:46 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1741774303.f7c56f93021e3b1c4c357377779742787144a4cd.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/subtitlecomposer/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/subtitlecomposer/subtitlecomposer-0.8.1-r1.ebuild X-VCS-Directories: media-video/subtitlecomposer/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: f7c56f93021e3b1c4c357377779742787144a4cd X-VCS-Branch: master Date: Wed, 12 Mar 2025 10:14:46 +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: 92233148-b8d8-43bb-a184-d180bf50cf35 X-Archives-Hash: 194a45937f2507fb54c9cd0f2ed7c9b1 commit: f7c56f93021e3b1c4c357377779742787144a4cd Author: Ionen Wolkens gentoo org> AuthorDate: Wed Mar 12 06:03:26 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Mar 12 10:11:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c56f93 media-video/subtitlecomposer: use ffmpeg-compat It is possible fixes already exist for ffmpeg-7 on this package, but not planning to look into that myself. Given no code changes, plans are to sync keywords back with stable when ready. Bug: https://bugs.gentoo.org/948852 Signed-off-by: Ionen Wolkens gentoo.org> .../subtitlecomposer-0.8.1-r1.ebuild | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.8.1-r1.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.8.1-r1.ebuild new file mode 100644 index 000000000000..5f07e28dfc2a --- /dev/null +++ b/media-video/subtitlecomposer/subtitlecomposer-0.8.1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm ffmpeg-compat kde.org + +DESCRIPTION="Text-based subtitles editor" +HOMEPAGE="https://subtitlecomposer.kde.org/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + PATCHSET="${PN}-0.7.1-patchset-1" + SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz + https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="5" +IUSE="unicode" + +DEPEND=" + dev-libs/openssl:= + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${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/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/sonnet-${KFMIN}:5 + media-libs/openal + media-video/ffmpeg-compat:6= + unicode? ( dev-libs/icu:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +# TODO: upstream +PATCHES=( "${WORKDIR}/${PATCHSET}/${PN}-0.7.1-tests-optional.patch" ) + +src_configure() { + # TODO: fix with >=ffmpeg-7 then drop compat (bug #948852) + ffmpeg_compat_setup 6 + + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_PocketSphinx=ON # bugs 616706, 610434 + $(cmake_use_find_package unicode ICU) + ) + + ecm_src_configure +}