From 04020396dba0a02f569c658e74bb7551079e6ca1 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Fri, 27 Dec 2019 17:42:36 +0100 Subject: community/ffmpegthumbs: move from testing --- community/ffmpegthumbs/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 community/ffmpegthumbs/APKBUILD (limited to 'community/ffmpegthumbs') diff --git a/community/ffmpegthumbs/APKBUILD b/community/ffmpegthumbs/APKBUILD new file mode 100644 index 0000000000..eb66445299 --- /dev/null +++ b/community/ffmpegthumbs/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=ffmpegthumbs +pkgver=19.12.0 +pkgrel=0 +arch="all" +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 qt5-qtbase-dev kio-dev ki18n-dev kconfig-dev ffmpeg-dev" +source="https://download.kde.org/stable/release-service/$pkgver/src/ffmpegthumbs-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # No tests + +prepare() { + default_prepare + + mkdir "$builddir"/build +} + +build() { + cd "$builddir"/build + cmake "$builddir" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir"/build + DESTDIR="$pkgdir" make install +} + +sha512sums="69db3a49d5596d5df30e6dd5a95e9f8bc3d18c2bd5aeac6bd89468338ef4b983af8e67b4c56875dd1cb7b9206c6803732e5151a74c116e6154486221247e9762 ffmpegthumbs-19.12.0.tar.xz" -- cgit v1.2.3