mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kfilemetadata5
|
|
source ../plasma.conf
|
|
|
|
pkgname=kfilemetadata5
|
|
_pkgname=kfilemetadata
|
|
pkgver=${PAltSubVersion}
|
|
pkgrel=1
|
|
pkgdesc='A library for extracting file metadata'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kde/kdelibs/kfilemetadata'
|
|
license=('LGPL')
|
|
depends=('ki18n' 'qt5-base' 'karchive' 'kservice')
|
|
makedepends=('extra-cmake-modules' 'python2' 'exiv2' 'poppler-qt5' 'taglib' 'ffmpeg' 'ebook-tools')
|
|
optdepends=('ffmpeg: extract video data'
|
|
'exiv2: extract image data'
|
|
'taglib: extract audio data'
|
|
'poppler-qt5: extract document data'
|
|
'ebook-tools: extract epub file data')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${PVersion}/${_pkgname}-${PAltSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${_pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|