aports/community/ffmpegthumbs/APKBUILD
2025-04-24 20:45:31 +02:00

47 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=ffmpegthumbs
pkgver=25.04.0
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !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"
options="!check" # No usable tests
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
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
8482d25b26b9a93c054b8f5f637a0262d4f1d6160f1923bd93850757ec4f496fc44078f9e624c0916cef104a2224caeaa5e21ae430ca2e02346d409bc33e9ea1 ffmpegthumbs-25.04.0.tar.xz
"