wok-next view appstream-glib/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents f10e4fa916b0
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="appstream-glib"
4 VERSION="0.7.13"
5 CATEGORY="libs"
6 SHORT_DESC="Library for AppStream metadata"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://people.freedesktop.org/~hughsient/appstream-glib/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://people.freedesktop.org/~hughsient/appstream-glib/releases/$TARBALL"
14 BUILD_DEPENDS="meson ninja util-linux-uuid-dev glib-dev libarchive-dev \
15 libsoup-dev json-glib-dev gdk-pixbuf-dev gtk3-dev yaml-dev gperf \
16 gobject-introspection-dev gettext libxslt docbook-xsl"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 mkdir build
21 cd build
23 meson-wrapper \
24 -D rpm=false \
25 -D stemmer=false &&
26 ninja &&
27 ninja install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 appstream-glib)
33 copy bin/ *.so*
34 DEPENDS="cairo fontconfig freetype gdk-pixbuf glib gtk3 json-glib \
35 libarchive libsoup pango util-linux-uuid yaml"
36 ;;
37 *-dev)
38 copy @std @dev @rm
39 DEPENDS="appstream-glib gdk-pixbuf-dev glib-dev libarchive-dev \
40 util-linux-uuid-dev"
41 ;;
42 esac
43 }