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

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents
children f10e4fa916b0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="appstream-glib"
4 VERSION="0.7.12"
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 gtk+3-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 gtk+3 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 }