Appstream: enable gir and vala; unmark nocross
- Add gettext to hostmakedepends - Move cmake rules to -devel subpkg
This commit is contained in:
parent
ab9477dea8
commit
e047f55431
1 changed files with 15 additions and 5 deletions
|
@ -1,12 +1,14 @@
|
|||
# Template file for 'AppStream'
|
||||
pkgname=AppStream
|
||||
version=0.12.11
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="appstream-${version}"
|
||||
build_style=meson
|
||||
configure_args="-Dgir=false -Dstemming=false -Dapidocs=false -Dqt=true"
|
||||
hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config
|
||||
qt5-host-tools"
|
||||
build_helper="gir qemu"
|
||||
configure_args="$(vopt_bool gir gir) $(vopt_bool vala vapi)
|
||||
-Dstemming=false -Dapidocs=false -Dqt=true"
|
||||
hostmakedepends="docbook-xsl gettext glib-devel gperf libxslt pkg-config
|
||||
qt5-host-tools $(vopt_if vala vala)"
|
||||
makedepends="libglib-devel libxml2-devel libyaml-devel qt5-devel lmdb-devel libsoup-devel"
|
||||
short_desc="Tools and libraries to work with AppStream metadata"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
@ -18,15 +20,23 @@ checksum=c44e1e8f0684a7c3bfce4c366148956ac29fa0b7c8298ef9952faf79bbb34fef
|
|||
conf_files="/etc/appstream.conf"
|
||||
triggers="appstream-cache"
|
||||
|
||||
nocross="https://api.travis-ci.org/v3/job/592923595/log.txt"
|
||||
build_options="gir vala"
|
||||
build_options_default="gir vala"
|
||||
|
||||
AppStream-devel_package() {
|
||||
depends="AppStream-${version}_${revision} AppStream-qt-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
if [ "$build_option_vala" ]; then
|
||||
vmove usr/share/vala
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue