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.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 B91EB158042 for ; Sat, 19 Oct 2024 08:37:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10F4EE0833; Sat, 19 Oct 2024 08:37:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id F120FE0833 for ; Sat, 19 Oct 2024 08:37:02 +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 479E53430A7 for ; Sat, 19 Oct 2024 08:37:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA297AE7 for ; Sat, 19 Oct 2024 08:37:00 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1729327018.f4e23866b1f186cb4adc6575c8b3e59d2051d950.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/shotcut/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/shotcut/shotcut-24.09.13.ebuild X-VCS-Directories: media-video/shotcut/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: f4e23866b1f186cb4adc6575c8b3e59d2051d950 X-VCS-Branch: master Date: Sat, 19 Oct 2024 08:37:00 +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: b351a7b3-b1ae-48f8-9036-d9256c4e484a X-Archives-Hash: 18ea2395396e88b819ace7e94bdd91ad commit: f4e23866b1f186cb4adc6575c8b3e59d2051d950 Author: zukas97 proton me> AuthorDate: Mon Sep 16 20:42:20 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Oct 19 08:36:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e23866 media-video/shotcut: add 24.09.13 Signed-off-by: Lukas Zuercher proton.me> Closes: https://github.com/gentoo/gentoo/pull/38634 Signed-off-by: Joonas Niilola gentoo.org> media-video/shotcut/shotcut-24.09.13.ebuild | 53 +++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/media-video/shotcut/shotcut-24.09.13.ebuild b/media-video/shotcut/shotcut-24.09.13.ebuild new file mode 100644 index 000000000000..b72aafd2d6c0 --- /dev/null +++ b/media-video/shotcut/shotcut-24.09.13.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic xdg + +DESCRIPTION="A free, open source, cross-platform video editor" +HOMEPAGE="https://www.shotcut.org/ https://github.com/mltframework/shotcut/" +if [[ ${PV} != 9999* ]] ; then + SRC_URI="https://github.com/mltframework/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/mltframework/shotcut/" +fi + +LICENSE="GPL-3+" + +SLOT="0" + +IUSE="debug" + +BDEPEND=" + dev-qt/qttools:6[linguist] +" +DEPEND=" + dev-qt/qtbase:6[concurrent,gui,network,opengl,sql,widgets,xml] + dev-qt/qtdeclarative:6[widgets] + dev-qt/qtmultimedia:6 + dev-qt/qtcharts:6 + >=media-libs/mlt-7.18.0[ffmpeg,frei0r,jack,opengl,sdl,xml] + media-video/ffmpeg +" + +RDEPEND="${DEPEND} + virtual/jack +" + +src_configure() { + CMAKE_BUILD_TYPE=$(usex debug Debug Release) + if [[ ${PV} != 9999* ]] ; then + SHOTCUT_VERSION="${PV}" + else + SHOTCUT_VERSION="$(git log --date=format:'%y.%m.%d' -1 --format='%ad')" + fi + local mycmakeargs=( + -DSHOTCUT_VERSION="${SHOTCUT_VERSION}" + ) + use debug || append-cxxflags "-DNDEBUG" + append-cxxflags "-DSHOTCUT_NOUPGRADE" + cmake_src_configure +}