desktop/ffmpegthumbs/PKGBUILD
2015-08-20 18:31:50 +00:00

33 lines
793 B
Bash

source ../kdeapps.conf
pkgname=ffmpegthumbs
pkgver=${_kdever}
pkgrel=3
pkgdesc='FFmpeg-based thumbnail creator for video files'
url='https://projects.kde.org/projects/kde/kdemultimedia/ffmpegthumbs'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdemultimedia')
depends=('kio' 'ffmpeg')
makedepends=('cmake' 'extra-cmake-modules')
options=('debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../ffmpegthumbs-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}