mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-11 19:04:38 +08:00
36 lines
908 B
Bash
36 lines
908 B
Bash
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=kdemultimedia-ffmpegthumbs
|
|
_pkgname=ffmpegthumbs
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
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=('kdelibs' 'ffmpeg')
|
|
makedepends=('cmake' 'extra-cmake-modules')
|
|
options=('debug')
|
|
replaces=('ffmpegthumbs<=15.08.0-2')
|
|
conflics=('ffmpegthumbs<=15.08.0-2')
|
|
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 ../${_pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKDE4_BUILD_TESTS=OFF \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|