2018-07-23 20:33:40 +02:00
|
|
|
# Template file for 'AppStream'
|
|
|
|
pkgname=AppStream
|
2018-10-23 04:58:59 +02:00
|
|
|
version=0.12.3
|
|
|
|
revision=1
|
2018-07-23 20:33:40 +02:00
|
|
|
wrksrc="appstream-APPSTREAM_${version//./_}"
|
|
|
|
build_style=meson
|
2018-09-25 08:58:24 +02:00
|
|
|
configure_args="-Dgir=false -Dstemming=false -Dapidocs=false -Dqt=true"
|
|
|
|
hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config
|
|
|
|
qt5-host-tools"
|
|
|
|
makedepends="libglib-devel libxml2-devel libyaml-devel qt5-devel"
|
2018-07-23 20:33:40 +02:00
|
|
|
short_desc="Tools and libraries to work with AppStream metadata"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="https://github.com/ximion/appstream"
|
2018-08-05 04:17:15 +02:00
|
|
|
changelog="https://raw.githubusercontent.com/ximion/appstream/master/NEWS"
|
2018-07-23 20:33:40 +02:00
|
|
|
distfiles="https://github.com/ximion/appstream/archive/APPSTREAM_${version//./_}.tar.gz"
|
2018-10-23 04:58:59 +02:00
|
|
|
checksum=74558879c8ec956ed0d931c952ec95a0d36ca790718001a0646d9139339014fd
|
2018-07-23 20:33:40 +02:00
|
|
|
conf_files="/etc/appstream.conf"
|
2018-08-22 03:44:49 +02:00
|
|
|
triggers="appstream-cache"
|
2018-07-23 20:33:40 +02:00
|
|
|
|
|
|
|
AppStream-devel_package() {
|
2018-09-25 08:58:24 +02:00
|
|
|
depends="AppStream-${version}_${revision} AppStream-qt-${version}_${revision}"
|
2018-07-23 20:33:40 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|
2018-09-25 08:58:24 +02:00
|
|
|
|
|
|
|
AppStream-qt_package() {
|
|
|
|
short_desc+=" - qt5 interface library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libAppStreamQt.so.*"
|
|
|
|
}
|
|
|
|
}
|