aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-06-27 19:02:08 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2022-06-27 19:28:30 +0000
commit9c62f766658487c908265574a5107afe980cfdf4 (patch)
tree14843738c7df2cabe5cb35371f2a39616b5cf615
parent4e8a20b7b1d5a9e1f2c593c80c4c636006d157dd (diff)
downloadaports-9c62f766658487c908265574a5107afe980cfdf4.tar.gz
aports-9c62f766658487c908265574a5107afe980cfdf4.tar.bz2
aports-9c62f766658487c908265574a5107afe980cfdf4.tar.xz
community/shotcut: upgrade to 22.06.23
-rw-r--r--community/shotcut/APKBUILD26
1 files changed, 18 insertions, 8 deletions
diff --git a/community/shotcut/APKBUILD b/community/shotcut/APKBUILD
index 789f5fe85f..9098640098 100644
--- a/community/shotcut/APKBUILD
+++ b/community/shotcut/APKBUILD
@@ -1,14 +1,16 @@
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=shotcut
-pkgver=22.04.25
+pkgver=22.06.23
pkgrel=0
pkgdesc="Cross-platform video editor"
url="https://www.shotcut.org"
arch="all !armhf !armv7 !aarch64" # no opengl1.1 support, only 2
license="GPL-3.0-or-later"
makedepends="
+ cmake
ffmpeg-dev
+ fftw-dev
mlt-dev
qt5-qtbase-dev
qt5-qtmultimedia-dev
@@ -16,22 +18,30 @@ makedepends="
qt5-qttools-dev
qt5-qtwebsockets-dev
qt5-qtx11extras-dev
+ samurai
"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-lang"
source="shotcut-$pkgver.tar.gz::https://github.com/mltframework/shotcut/archive/v$pkgver.tar.gz"
options="!check" # No test suite present
build() {
- qmake-qt5 \
- PREFIX="/usr" \
- DEFINES+=SHOTCUT_NOUPGRADE
- make
+ export CXXFLAGS="$CXXFLAGS -DSHOTCUT_NOUPGRADE"
+ cmake -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build --target all translations
+}
+
+lang() {
+ pkgdesc="Languages for package shotcut"
+ install_if="$pkgname=$pkgver-r$pkgrel lang"
+ amove usr/share/shotcut/translations
}
package() {
- make INSTALL_ROOT="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
-e5c51868a7f6e2ead3993d8577b5439408e9c54ee20274658c822666e2ca5fceb7d2360d02b8808b464c69005d83b6742a3a750ec244ffe69f82f2abd5ad39fc shotcut-22.04.25.tar.gz
+fc1fb6738e38784702ef2319d7e8563506f37ad1071f204cf91c958443df2e145b199e9ed0d6ceca693450718625a944520bf865705e1696072e89bfcfe1e752 shotcut-22.06.23.tar.gz
"