libgepub: fix -devel dependencies.

This commit is contained in:
maxice8 2018-09-13 10:13:22 -03:00
parent f718803660
commit 32c2fe6f19
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,7 +1,7 @@
# Template file for 'libgepub'
pkgname=libgepub
version=0.6.0
revision=1
revision=2
build_style=meson
configure_args="-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="pkg-config vala-devel $(vopt_if gir gobject-introspection)"
@ -10,7 +10,7 @@ short_desc="Library to read epub files using glib"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://live.gnome.org/"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=c78a395cc1d9c57b4485958ed83ffb96ed442750cfafa7797dd6d986b9f7b399
# Package build options
@ -21,7 +21,8 @@ if [ -z "$CROSS_BUILD" ]; then
fi
libgepub-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
depends="libarchive-devel libglib-devel libsoup-devel libxml2-devel
webkit2gtk-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include