mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
pkgname=ffmpegthumbs
|
|
pkgver=24.08.1
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
# not useful on s390x
|
|
arch="all !s390x !armhf"
|
|
url="https://www.kde.org/applications/multimedia/"
|
|
pkgdesc="FFmpeg-based thumbnail creator for video files"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
ffmpeg-dev
|
|
kconfig-dev
|
|
ki18n-dev
|
|
kio-dev
|
|
qt6-qtbase-dev
|
|
samurai
|
|
taglib-dev
|
|
"
|
|
_repo_url="https://invent.kde.org/multimedia/ffmpegthumbs.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/ffmpegthumbs-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DBUILD_WITH_QT6=ON \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
6acd3ea2ca56d63025aada8831f01f9ed93b34eafa5bd67f7cbdab5ea99f72b12a574b20eae0431749f2b24141eb36aac199b75606b05725a78b8ebe0c503f8f ffmpegthumbs-24.08.1.tar.xz
|
|
"
|