2015-02-23 07:23:41 +08:00
|
|
|
#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kfilemetadata5
|
2014-06-22 19:11:36 +08:00
|
|
|
source ../plasma.conf
|
|
|
|
|
|
|
|
pkgname=kfilemetadata5
|
|
|
|
_pkgname=kfilemetadata
|
2015-01-15 05:23:15 +08:00
|
|
|
pkgver=${PAltSubVersion}
|
2014-08-13 05:28:08 +08:00
|
|
|
pkgrel=1
|
2015-02-23 07:23:41 +08:00
|
|
|
pkgdesc='A library for extracting file metadata'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://projects.kde.org/projects/kde/kdelibs/kfilemetadata'
|
2014-06-22 19:11:36 +08:00
|
|
|
license=('LGPL')
|
2015-02-23 07:23:41 +08:00
|
|
|
depends=('ki18n' 'qt5-base' 'karchive' 'kservice')
|
|
|
|
makedepends=('extra-cmake-modules' 'python2' 'exiv2' 'poppler-qt5' 'taglib' 'ffmpeg' 'ebook-tools')
|
2015-01-15 06:56:56 +08:00
|
|
|
optdepends=('ffmpeg: extract video data'
|
|
|
|
'exiv2: extract image data'
|
|
|
|
'taglib: extract audio data'
|
|
|
|
'poppler-qt5: extract document data'
|
|
|
|
'ebook-tools: extract epub file data')
|
2014-07-11 00:48:32 +08:00
|
|
|
groups=('plasma')
|
2014-06-22 19:11:36 +08:00
|
|
|
options=("debug")
|
2015-05-27 06:10:00 +08:00
|
|
|
source=("${PServer}/${PVersion}/${_pkgname}-${PAltSubVersion}.tar.xz")
|
2014-07-18 06:19:21 +08:00
|
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
2014-06-22 19:11:36 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
2015-02-24 05:41:32 +08:00
|
|
|
cmake_kf5 ../${_pkgname}-${pkgver}
|
2014-06-22 19:11:36 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|