diff options
author | Sven Eden <sven.eden@prydeworx.com> | 2025-01-01 19:52:47 +0100 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2025-01-01 19:52:47 +0100 |
commit | 2481a95a89e10a54144b4c7315d27a83e61a9693 (patch) | |
tree | 137abcb4c4209f3a13cce661c1ebccd33940a28d | |
parent | games-strategy/endless-sky: Hard code resource path in live ebuild (diff) | |
download | seden-master.tar.gz seden-master.tar.bz2 seden-master.zip |
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
-rw-r--r-- | media-video/shotcut/Manifest | 3 | ||||
-rw-r--r-- | media-video/shotcut/metadata.xml | 15 | ||||
-rw-r--r-- | media-video/shotcut/shotcut-24.11.17.ebuild | 53 |
3 files changed, 71 insertions, 0 deletions
diff --git a/media-video/shotcut/Manifest b/media-video/shotcut/Manifest new file mode 100644 index 0000000..b8eef83 --- /dev/null +++ b/media-video/shotcut/Manifest @@ -0,0 +1,3 @@ +DIST shotcut-24.11.17.tar.gz 12605202 BLAKE2B 1bf5a20655a644207fcd2350d81fb927c4d1b5b9b9271668479768fcb155b3922c5cb92975aa0911daaca4757838d2979d9adf7a4991985d2ce892a8cccdd09b SHA512 30cb6be16dc7dfd3d0fc5a67cf573494b474836df3825fd7d9b750a5bf76114ad487786df8903e55be0b36cb16ff2c084fac2c6b63e6c511baa1e0795d11602f +EBUILD shotcut-24.11.17.ebuild 1227 BLAKE2B bb9aa080001de74595dbdc227a9d849b4e996f4917deaaa428b893e38e64362f67ff1f71a0220b19740cc3bd99cc6d5f315129caf15b89470295fb00314611ad SHA512 7cf83fe343cdae3d06e9f5c274d0ebc11ec735730507e596c2fae5035d5d67ba508b582148820691ead7655bd2ed6d81f73a98933f475fc529c6e2f206329335 +MISC metadata.xml 481 BLAKE2B 183f296894a3deb21038399eec0a637f2080d029fb8ea539a5a165206868704e472ed554bec67325fb54a4d8aeea54c01857635e32abdd229c91f3ba7855d095 SHA512 95af90837128290393f798b1561ebcbad057da1b5dafb583f9f9ba56878ff1d48245438ea3605601fad608e749235619d2195290c04c5c31eb8bbe627b58f4a7 diff --git a/media-video/shotcut/metadata.xml b/media-video/shotcut/metadata.xml new file mode 100644 index 0000000..c199e92 --- /dev/null +++ b/media-video/shotcut/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>xdch47@posteo.de</email> + <name>Felix Neumärker</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">mltframework/shotcut</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-video/shotcut/shotcut-24.11.17.ebuild b/media-video/shotcut/shotcut-24.11.17.ebuild new file mode 100644 index 0000000..9ddb198 --- /dev/null +++ b/media-video/shotcut/shotcut-24.11.17.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 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 +} |