34 lines
919 B
Text
34 lines
919 B
Text
|
pkgname=kfilemetadata
|
||
|
pkgver=5.36.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="A library for extracting file metadata"
|
||
|
arch="all"
|
||
|
url='https://community.kde.org/Frameworks'
|
||
|
license="LGPL"
|
||
|
depends="ki18n karchive exiv2 poppler-qt5 taglib ffmpeg"
|
||
|
makedepends="extra-cmake-modules python doxygen qt5-qttools-dev attr-dev ki18n"
|
||
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
||
|
subpackages="$pkgname-doc $pkgname-lang"
|
||
|
|
||
|
prepare() {
|
||
|
mkdir $srcdir/build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/build
|
||
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DKDE_INSTALL_LIBDIR=lib \
|
||
|
-DBUILD_TESTING=OFF \
|
||
|
-DBUILD_QCH=ON
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|
||
|
|
||
|
sha512sums="1d90af90b5f3cc735214183d101a3b2aeab178edac36acadfdea34146e50e34f5870290139a0f3e6057c883ed38f006667f9eaaf279b78903199db8d1c1cd0eb kfilemetadata-5.36.0.tar.xz"
|