gnome-documents: switch to meson, add workaround to link against libgepub-0.6
This commit is contained in:
parent
08157903ad
commit
c3a1191d8b
1 changed files with 7 additions and 1 deletions
|
@ -3,7 +3,7 @@ pkgname=gnome-documents
|
|||
version=3.28.0
|
||||
revision=1
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
build_style=meson
|
||||
hostmakedepends="pkg-config intltool itstool docbook-xsl $(vopt_if gir gobject-introspection)"
|
||||
makedepends="
|
||||
clutter-gtk-devel gnome-desktop-devel libzapojit-devel
|
||||
|
@ -23,3 +23,9 @@ build_options="gir"
|
|||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default+=" gir"
|
||||
fi
|
||||
|
||||
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libgepub-0.6/"
|
||||
LDFLAGS="-lgepub-0.6"
|
||||
pre_configure() {
|
||||
sed '/libgepub-0.6/d' -i meson.build;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue