New package: qolibri-2.1.2

This commit is contained in:
Matthias von Faber 2019-11-16 17:13:23 +01:00 committed by Juan RP
parent 5564271d5b
commit 06993ee6b0

29
srcpkgs/qolibri/template Normal file
View file

@ -0,0 +1,29 @@
# Template file for 'qolibri'
pkgname=qolibri
version=2.1.2
revision=1
wrksrc="${pkgname}-${version}"
build_style=cmake
hostmakedepends="qt5-tools-devel"
makedepends="libeb-devel qt5-declarative-devel qt5-devel qt5-location-devel
qt5-multimedia-devel qt5-tools-devel qt5-webchannel-devel qt5-webengine-devel
zlib-devel"
short_desc="EPWING Dictionary/Book Viewer"
maintainer="Matthias von Faber <mvf@gmx.eu>"
license="GPL-2.0-or-later"
homepage="https://github.com/ludios/qolibri"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=796e426b9a35251756c53a70a377922d32df1f6e37c53f549066ba607aa65f97
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
case "$XBPS_TARGET_MACHINE" in
arm*) broken="qt5-webengine-devel unavailable" ;;
esac
post_install() {
vinstall ${wrksrc}/qolibri.desktop 644 usr/share/applications
vinstall ${wrksrc}/images/qolibri-128.png 644 usr/share/pixmaps qolibri.png
}