2017-09-23 16:40:35 +02:00
|
|
|
# Template file for 'kdegraphics-mobipocket'
|
|
|
|
pkgname=kdegraphics-mobipocket
|
2018-01-14 18:28:11 +01:00
|
|
|
version=17.12.1
|
2017-09-23 16:40:35 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
|
|
hostmakedepends="extra-cmake-modules"
|
|
|
|
makedepends="kio-devel"
|
|
|
|
short_desc="A collection of plugins to handle mobipocket files"
|
|
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://projects.kde.org/projects/kde/kdegraphics-mobipocket"
|
|
|
|
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
|
2018-01-14 18:28:11 +01:00
|
|
|
checksum=86e5231fae4ee80e870bec772f72a32efd794bbf3d7b56fe9eff88fc25067025
|
2017-09-23 16:40:35 +02:00
|
|
|
|
|
|
|
libqmobipocket_package() {
|
2018-01-14 18:28:11 +01:00
|
|
|
short_desc+=" - runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
2017-09-23 16:40:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
libqmobipocket-devel_package() {
|
2018-01-14 18:28:11 +01:00
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="libq${sourcepkg#kdegraphics-}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
2017-09-23 16:40:35 +02:00
|
|
|
}
|
2017-12-30 18:48:16 +01:00
|
|
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
|
|
|
fi
|