summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2022-07-05 07:42:04 +0200
committerSven Eden <sven.eden@prydeworx.com>2022-07-05 07:42:04 +0200
commit112354a1a2875e66ceb78af860a10480c7018d39 (patch)
tree97efb5aa15981d3ab2ba654750dbd7cacb56cfc3 /media-video
parentnet-p2p/gridcoin: r1 with a few fixes and cleanups. (diff)
downloadseden-112354a1a2875e66ceb78af860a10480c7018d39.tar.gz
seden-112354a1a2875e66ceb78af860a10480c7018d39.tar.bz2
seden-112354a1a2875e66ceb78af860a10480c7018d39.zip
media-video/shotcut: Version 22.06.23 Bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/shotcut/Manifest2
-rw-r--r--media-video/shotcut/files/shotcut-22.06.23-fix_CuteLogger_install_dir.patch8
-rw-r--r--media-video/shotcut/shotcut-22.06.23.ebuild (renamed from media-video/shotcut/shotcut-22.04.25.ebuild)22
3 files changed, 18 insertions, 14 deletions
diff --git a/media-video/shotcut/Manifest b/media-video/shotcut/Manifest
index 1ec43cc..1e5830a 100644
--- a/media-video/shotcut/Manifest
+++ b/media-video/shotcut/Manifest
@@ -1 +1 @@
-DIST shotcut-22.04.25.tar.gz 4600941 SHA256 5531d513afcb807a25a1659c2ec013a42600a2a53a00f4aec0e631bd1baa3398 SHA512 e5c51868a7f6e2ead3993d8577b5439408e9c54ee20274658c822666e2ca5fceb7d2360d02b8808b464c69005d83b6742a3a750ec244ffe69f82f2abd5ad39fc WHIRLPOOL c3357a6acaf9dc766c0387ae5cd59e584a1877deb33da6547d5a3a65a8bf6cf0c635d570995885b5b0c1525b67ff11da736caa1e243438afa7684a9bf53d9cda
+DIST shotcut-22.06.23.tar.gz 4587440 SHA256 78486651ec86ecfdf813d43d8e27c4ecf6869d0940c87e9a569160d604595d27 SHA512 fc1fb6738e38784702ef2319d7e8563506f37ad1071f204cf91c958443df2e145b199e9ed0d6ceca693450718625a944520bf865705e1696072e89bfcfe1e752 WHIRLPOOL 8e0761c2906fe50435911158efbf9f3cb224118bc21e70c5830253f2bba78d7ea9f76f654c2aaf5c9678e3b2330aa53f239337925c69c030a12b08e4aec5ba88
diff --git a/media-video/shotcut/files/shotcut-22.06.23-fix_CuteLogger_install_dir.patch b/media-video/shotcut/files/shotcut-22.06.23-fix_CuteLogger_install_dir.patch
new file mode 100644
index 0000000..0b68d5e
--- /dev/null
+++ b/media-video/shotcut/files/shotcut-22.06.23-fix_CuteLogger_install_dir.patch
@@ -0,0 +1,8 @@
+--- a/CuteLogger/CMakeLists.txt 2022-07-05 07:36:57.047248494 +0200
++++ b/CuteLogger/CMakeLists.txt 2022-07-05 07:37:18.280249141 +0200
+@@ -39,4 +39,4 @@
+
+ ADD_LIBRARY(${library_target} SHARED ${sources} ${includes})
+ TARGET_LINK_LIBRARIES(${library_target} Qt5::Core)
+-INSTALL(TARGETS ${library_target} DESTINATION lib)
++INSTALL(TARGETS ${library_target} DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
diff --git a/media-video/shotcut/shotcut-22.04.25.ebuild b/media-video/shotcut/shotcut-22.06.23.ebuild
index 8a42b2a..b43cc6d 100644
--- a/media-video/shotcut/shotcut-22.04.25.ebuild
+++ b/media-video/shotcut/shotcut-22.06.23.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit qmake-utils xdg
+inherit cmake
DESCRIPTION="A free, open source, cross-platform video editor"
HOMEPAGE="https://www.shotcut.org/ https://github.com/mltframework/shotcut/"
@@ -36,7 +36,7 @@ COMMON_DEPEND="
dev-qt/qtwebsockets:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
- >=media-libs/mlt-7.6.0[ffmpeg,frei0r,fftw(+),jack,opengl,qt5,sdl,xml]
+ >=media-libs/mlt-7.8.0[ffmpeg,frei0r,jack,opengl,qt5,sdl,xml]
>=media-libs/libvmaf-2.3.0
"
DEPEND="${COMMON_DEPEND}
@@ -49,18 +49,14 @@ RDEPEND="${COMMON_DEPEND}
virtual/jack
"
+PATCHES=(
+ "${FILESDIR}"/${P}-fix_CuteLogger_install_dir.patch
+)
+
src_configure() {
- local myqmakeargs=(
- PREFIX="${EPREFIX}/usr"
- SHOTCUT_VERSION="${PV}"
- DEFINES+=SHOTCUT_NOUPGRADE
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
)
- use debug || myqmakeargs+=(DEFINES+=NDEBUG)
-
- eqmake5 "${myqmakeargs[@]}"
-}
-src_install() {
- emake INSTALL_ROOT="${D}" install
- einstalldocs
+ cmake_src_configure
}