diff options
author | Felix Neumärker <xdch47@posteo.de> | 2024-02-21 13:55:35 +0100 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-02-22 00:47:09 +0000 |
commit | ef3622326d7553482503514c4c1175d7ca25fa9a (patch) | |
tree | 12305083bad242cc8ad96ccc2d4954c46d6048bc /media-video/shotcut | |
parent | dev-util/android-udev-rules: drop 20231207 (diff) | |
download | gentoo-ef3622326d7553482503514c4c1175d7ca25fa9a.tar.gz gentoo-ef3622326d7553482503514c4c1175d7ca25fa9a.tar.bz2 gentoo-ef3622326d7553482503514c4c1175d7ca25fa9a.zip |
media-video/shotcut: add 24.02.19
Closes: #924015
Signed-off-by: Felix Neumärker <xdch47@posteo.de>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'media-video/shotcut')
-rw-r--r-- | media-video/shotcut/Manifest | 1 | ||||
-rw-r--r-- | media-video/shotcut/shotcut-24.02.19.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-video/shotcut/Manifest b/media-video/shotcut/Manifest index 922450a8419c..08afdd270386 100644 --- a/media-video/shotcut/Manifest +++ b/media-video/shotcut/Manifest @@ -1,2 +1,3 @@ DIST shotcut-22.12.21.tar.gz 9857227 BLAKE2B 94739b1f2d66c8d4ebc69ded7c90a75f973b17889fce538855403f92b5232514df45f6e3648ef772b9a22c27b547ce2b7f0f6eb391cc47dfebaf9907f0c6525f SHA512 95ca399657934becedd71c3daa74749bca1b625a0cedf8df4bfd212476602f83f5b807b26ec7c8275ee720e54893102931bf109c95153fc16f348d344e50395b DIST shotcut-23.09.29.tar.gz 11908874 BLAKE2B e107d5f0284afd54b31eff72220d4224621da7b46fff6345d729ea0464b8967bc3329a12121aeedcdec6bcce7f4c6394065463269708a4bd4d29cc4389bc1706 SHA512 a829c2eda51db4fe20fa207e3e98ce0fb1e777af8ac495aa1ad20407bb91a41fed569298611288e04a528f1120fc89292d0333d3e445dce1ab86a799dea78e16 +DIST shotcut-24.02.19.tar.gz 12077171 BLAKE2B ac7ab500f8817007ec981a94a2b7a414a4d981c630bd289fdf70eb2f1d493391dc74e372d82273aa4d81a2a9b685b1275e30ab47f6d6c5ce44812c286f43ed54 SHA512 60fc8874622db7ebb3e345ac8ba23a0d7c5e60c929c5955189b71540bbd5946e4dc0db0ad119a4ba3659f2d6e4dd64652be3dabc82b3c01feefb5619685ec454 diff --git a/media-video/shotcut/shotcut-24.02.19.ebuild b/media-video/shotcut/shotcut-24.02.19.ebuild new file mode 100644 index 000000000000..e631c4436c6a --- /dev/null +++ b/media-video/shotcut/shotcut-24.02.19.ebuild @@ -0,0 +1,52 @@ +# 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 + +IUSE="debug" + +LICENSE="GPL-3+" +SLOT="0" + +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 +} |